Mercurial > hg > octave-lyh > gnulib-hg
changeset 9644:42367c277240
Prefer <config.h> over "config.h". See autoconf doc for explanation.
* lib/poll.c: Include <config.h>, not "config.h".
* tests/test-getaddrinfo.c: Likewise.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Fri, 25 Jan 2008 21:52:02 +0100 |
parents | 73fbf8ba5948 |
children | c8174371956e |
files | ChangeLog lib/poll.c tests/test-getaddrinfo.c |
diffstat | 3 files changed, 11 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-25 Jim Meyering <meyering@redhat.com> + + Prefer <config.h> over "config.h". See autoconf doc for explanation. + * lib/poll.c: Include <config.h>, not "config.h". + * tests/test-getaddrinfo.c: Likewise. + 2008-01-25 Simon Josefsson <simon@josefsson.org> * modules/sockets-tests: New file.
--- a/lib/poll.c +++ b/lib/poll.c @@ -1,7 +1,7 @@ /* Emulation for poll(2) Contributed by Paolo Bonzini. - Copyright 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of gnulib. @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "config.h" +#include <config.h> #include <sys/types.h> #include "poll.h" @@ -132,7 +132,7 @@ maxfd = pfd[i].fd; /* Windows use a linear array of sockets (of size FD_SETSIZE). The - descriptor value is not used to address the array. */ + descriptor value is not used to address the array. */ #if defined __CYGWIN__ || (!defined _WIN32 && !defined __WIN32__) if (maxfd > FD_SETSIZE) {
--- a/tests/test-getaddrinfo.c +++ b/tests/test-getaddrinfo.c @@ -1,6 +1,6 @@ /* Test the getaddrinfo module. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ /* Written by Simon Josefsson. */ -#include "config.h" +#include <config.h> #include "getaddrinfo.h" #include "inet_ntop.h" #include <stdio.h>