gnulib.git
17 years agoautoupdate
Karl Berry [Wed, 8 Nov 2006 16:07:50 +0000 (16:07 +0000)]
autoupdate

17 years agoNotice when GCC doesn't do inlining.
Bruno Haible [Wed, 8 Nov 2006 14:03:04 +0000 (14:03 +0000)]
Notice when GCC doesn't do inlining.

17 years ago* lib/fts.c (fts_safe_changedir): Add a comment.
Jim Meyering [Wed, 8 Nov 2006 13:49:24 +0000 (13:49 +0000)]
* lib/fts.c (fts_safe_changedir): Add a comment.

17 years ago.
Karl Berry [Wed, 8 Nov 2006 09:05:19 +0000 (09:05 +0000)]
.

17 years ago* lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
Jim Meyering [Wed, 8 Nov 2006 07:42:26 +0000 (07:42 +0000)]
* lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
It's already included if !_LIBC.

17 years ago* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Paul Eggert [Wed, 8 Nov 2006 06:21:38 +0000 (06:21 +0000)]
* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
Matthew Woehlke.

17 years ago* lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Move
Paul Eggert [Wed, 8 Nov 2006 00:22:30 +0000 (00:22 +0000)]
* lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Move
definitions up, to avoid colliding with change below.
(static_inline) [HAVE_INLINE]: New macro.
(xnmalloc, xnrealloc, x2nrealloc, xcharalloc):
Provide extern decls when !HAVE_INLINE.  Do not define unless
static_inline is defined, either by us or by xmalloc.c.  Use
static_inline rather than static inline.
(XCALLOC): Optimize sizeof(T) = 1 case.
* lib/xmalloc.c (static_inline) [!HAVE_INLINE]: New macro.

2006-11-07  Bruno Haible  <bruno@clisp.org>

* lib/xalloc.h (XNMALLOC): Restore optimization of sizeof(T) = 1 case.
* m4/xalloc.m4 (gl_PREREQ_XALLOC): Require gl_INLINE instead of
AC_C_INLINE.
* modules/xalloc (Files): Add m4/inline.m4.

17 years ago* README: Fix typo.
Ralf Wildenhues [Tue, 7 Nov 2006 19:51:40 +0000 (19:51 +0000)]
* README: Fix typo.
* doc/gnulib.texi (Miscellaneous Notes): Likewise, rename...
(Miscellanous Notes): ...from this.

17 years ago* m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER):
Paul Eggert [Tue, 7 Nov 2006 17:20:07 +0000 (17:20 +0000)]
* m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER):
Mention that offsetof should be used instead of sizeof.
From Bruno Haible.

17 years agoautoupdate
Karl Berry [Tue, 7 Nov 2006 14:57:19 +0000 (14:57 +0000)]
autoupdate

17 years agoMore uses of XMALLOC, XNMALLOC and XCALLOC.
Bruno Haible [Tue, 7 Nov 2006 14:24:05 +0000 (14:24 +0000)]
More uses of XMALLOC, XNMALLOC and XCALLOC.

17 years agoANSI C comment style.
Bruno Haible [Tue, 7 Nov 2006 13:53:52 +0000 (13:53 +0000)]
ANSI C comment style.

17 years agoNew macro gl_INLINE.
Bruno Haible [Tue, 7 Nov 2006 13:46:03 +0000 (13:46 +0000)]
New macro gl_INLINE.

17 years ago.
Karl Berry [Tue, 7 Nov 2006 10:31:33 +0000 (10:31 +0000)]
.

17 years ago* lib/idcache.c: Include <stddef.h>, for offsetof.
Paul Eggert [Mon, 6 Nov 2006 22:02:53 +0000 (22:02 +0000)]
* lib/idcache.c: Include <stddef.h>, for offsetof.
(struct userid.name): Change from char * to a flexible array member.
All uses changed.
* modules/idcache (Depends-on): Add flexmember.

17 years ago* MODULES.html.sh (Core language properties): New module flexmember.
Paul Eggert [Mon, 6 Nov 2006 21:58:29 +0000 (21:58 +0000)]
* MODULES.html.sh (Core language properties): New module flexmember.
* modules/flexmember, m4/flexmember.m4: New files.

17 years ago* m4/xalloc.m4 (gl_PREREQ_XMALLOC): Remove AC_C_INLINE since
Paul Eggert [Mon, 6 Nov 2006 21:38:27 +0000 (21:38 +0000)]
* m4/xalloc.m4 (gl_PREREQ_XMALLOC): Remove AC_C_INLINE since
xmalloc.c no longer uses inline directly.  gl_PREREQ_XALLOC now
captures the dependency in AC_C_INLINE.

17 years ago* lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc): Now static
Paul Eggert [Mon, 6 Nov 2006 21:24:35 +0000 (21:24 +0000)]
* lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc): Now static
inline functions that are identical with the old xnmalloc_inline,
xnrealloc_inline, x2nrealloc_inline of lib/xmalloc.c.  This is so
that we can avoid some unnecessary integer multiplications and
divisions in the common case where the element size is known at
compile time.
(XNMALLOC) [HAVE_INLINE]: Remove special case, which is no longer
needed.
(xnboundedmalloc): Remove.
(XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Use lower-case letters for
arguments, for consistency with rest of this header.
(xcharalloc): Rewrite using XNMALLOC.
* lib/xmalloc.c (xnmalloc_inline, xnmalloc, xnrealloc_inline):
(xnrealloc, x2nrealloc_inline, x2nrealloc): Remove.  The *_inline
versions have been moved to lib/xalloc.h and renamed to be the
non-*_inline versions.
(xmalloc, xrealloc): Implement without reference to the xnmalloc
and xnrealloc functions, since those functions are now inline and
now call us.
(x2realloc): Invoke x2realloc, not x2realloc_inline, to accommodate
renaming described above.

17 years agoGive credit to Charles Wilson.
Paul Eggert [Mon, 6 Nov 2006 18:25:01 +0000 (18:25 +0000)]
Give credit to Charles Wilson.

17 years ago* MODULES.html.sh (File system functions): New module
Paul Eggert [Mon, 6 Nov 2006 18:21:34 +0000 (18:21 +0000)]
* MODULES.html.sh (File system functions): New module
canonicalize-lgpl.
* lib/canonicalize.h: Add comments for canonicalize_filename_mode
and canonicalize_file_name.
* lib/canonicalize-lgpl.c, m4/canonicalize-lgpl.m4:
* modules/canonicalize-lgpl: New files.

17 years agoCreate also all needed subdirectories.
Bruno Haible [Mon, 6 Nov 2006 13:04:37 +0000 (13:04 +0000)]
Create also all needed subdirectories.

17 years agoANSI C compliance.
Bruno Haible [Mon, 6 Nov 2006 13:03:51 +0000 (13:03 +0000)]
ANSI C compliance.

17 years agoSimplify xmalloc expressions. Add overflow check in xmalloc arguments.
Bruno Haible [Mon, 6 Nov 2006 13:03:10 +0000 (13:03 +0000)]
Simplify xmalloc expressions. Add overflow check in xmalloc arguments.

17 years agoAvoid name mangling in C++ mode.
Bruno Haible [Mon, 6 Nov 2006 12:55:16 +0000 (12:55 +0000)]
Avoid name mangling in C++ mode.

17 years ago* lib/canonicalize.h: (canonicalize_mode_t, CAN_EXISTING):
Paul Eggert [Fri, 3 Nov 2006 23:17:27 +0000 (23:17 +0000)]
* lib/canonicalize.h: (canonicalize_mode_t, CAN_EXISTING):
(CAN_ALL_BUT_LAST, CAN_MISSING, canonicalize_filename_mode):
Define only if PROVIDE_CANONICALIZE_FILENAME_MODE is defined.
* m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
Check for functions and headers just once.
Check for declaration of canonicalize_file_name.
Define PROVIDE_CANONICALIZE_FILENAME_MODE.

17 years agoFix typo in actioncmd. From Charles WIlson.
Bruno Haible [Thu, 2 Nov 2006 14:47:36 +0000 (14:47 +0000)]
Fix typo in actioncmd. From Charles WIlson.

17 years agoInterpret a backslash-newline sequence in the Makefile.am snippet as a space.
Bruno Haible [Thu, 2 Nov 2006 13:59:13 +0000 (13:59 +0000)]
Interpret a backslash-newline sequence in the Makefile.am snippet as a space.

17 years agoFix clash of strncasecmp prototypes in C++ mode.
Bruno Haible [Wed, 1 Nov 2006 20:48:47 +0000 (20:48 +0000)]
Fix clash of strncasecmp prototypes in C++ mode.

17 years agoAvoid conflict declaration in <string.h> (in C++ mode).
Bruno Haible [Wed, 1 Nov 2006 20:42:35 +0000 (20:42 +0000)]
Avoid conflict declaration in <string.h> (in C++ mode).

17 years agoMake it compile in C++ mode.
Bruno Haible [Wed, 1 Nov 2006 20:30:39 +0000 (20:30 +0000)]
Make it compile in C++ mode.

17 years ago* lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
Eric Blake [Wed, 1 Nov 2006 16:49:05 +0000 (16:49 +0000)]
* lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.

17 years ago* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.
Eric Blake [Wed, 1 Nov 2006 16:32:50 +0000 (16:32 +0000)]
* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.

17 years agoMake it compile in C++ mode.
Bruno Haible [Wed, 1 Nov 2006 13:29:23 +0000 (13:29 +0000)]
Make it compile in C++ mode.

17 years ago2006-10-29 Bruno Haible <bruno@clisp.org>
Bruno Haible [Wed, 1 Nov 2006 13:29:08 +0000 (13:29 +0000)]
2006-10-29  Bruno Haible  <bruno@clisp.org>

        Make it compile in C++ mode.
        * lib/full-write.c (full_rw): Add a cast.

17 years agoChange a sed expression to be POSIX compliant.
Bruno Haible [Wed, 1 Nov 2006 13:20:07 +0000 (13:20 +0000)]
Change a sed expression to be POSIX compliant.

17 years ago* lib/getopt_.h: Fix comments.
Eric Blake [Wed, 1 Nov 2006 13:14:15 +0000 (13:14 +0000)]
* lib/getopt_.h: Fix comments.

17 years ago.
Karl Berry [Wed, 1 Nov 2006 08:40:51 +0000 (08:40 +0000)]
.

17 years ago* modules/tmpdir (Depends-on): Add sys_stat.
Eric Blake [Wed, 1 Nov 2006 03:46:10 +0000 (03:46 +0000)]
* modules/tmpdir (Depends-on): Add sys_stat.
* modules/mkdtemp (Depends-on): Add tempname, drop unistd.
* lib/mkdtemp.c (gen_tempname): Remove; tempname covers this.
* lib/tmpdir.c (S_ISDIR): Simplify, thanks to sys_stat.
* m4/mkdtemp.m4 (gl_PREREQ_MKDTEMP): Simplify, thanks to
tempname.

17 years agoAvoid some C++ diagnostics reported by Bruno Haible.
Paul Eggert [Tue, 31 Oct 2006 21:51:45 +0000 (21:51 +0000)]
Avoid some C++ diagnostics reported by Bruno Haible.
* lib/quotearg.c (clone_quoting_options): Use xmemdup rather than
xmalloc.
(quotearg_alloc): Use xcharalloc rather than xmalloc.
(struct slotvec): Move to top level.
(quotearg_n_options): Rewrite to avoid xmalloc.
* lib/xalloc.h (xcharalloc): New function.
* (xrealloc, xnrealloc, x2realloc, x2nrealloc, xmemdup):
[defined __cplusplus]: Add function template that provides result
type propagation.  This part of the change is from Bruno Haible.

17 years agoMake it compile in C++ mode.
Bruno Haible [Tue, 31 Oct 2006 19:18:54 +0000 (19:18 +0000)]
Make it compile in C++ mode.

17 years agoNew module 'tsearch'.
Bruno Haible [Tue, 31 Oct 2006 19:16:02 +0000 (19:16 +0000)]
New module 'tsearch'.

17 years ago* lib/arcfour.c: Assume config.h.
Eric Blake [Sun, 29 Oct 2006 21:52:55 +0000 (21:52 +0000)]
* lib/arcfour.c: Assume config.h.
* lib/arctwo.c: Likewise.
* lib/base64.c: Likewise.
* lib/check-version.c: Likewise.
* lib/crc.c: Likewise.
* lib/des.c: Likewise.
* lib/gc-gnulib.c: Likewise.
* lib/gc-libgcrypt.c: Likewise.
* lib/gc-pbkdf2-sha1.c: Likewise.
* lib/getaddrinfo.c: Likewise.
* lib/getdelim.c: Likewise.
* lib/getline.c: Likewise.
* lib/hmac-md5.c: Likewise.
* lib/hmac-sha1.c: Likewise.
* lib/iconvme.c: Likewise.
* lib/md2.c: Likewise.
* lib/md4.c: Likewise.
* lib/memxor.c: Likewise.
* lib/read-file.c: Likewise.
* lib/readline.c: Likewise.
* lib/rijndael-alg-fst.c: Likewise.
* lib/rijndael-api-fst.c: Likewise.
* lib/xgetdomainname.c: Likewise.

17 years ago* lib/xstrndup.c: Assume config.h.
Eric Blake [Sat, 28 Oct 2006 18:21:16 +0000 (18:21 +0000)]
* lib/xstrndup.c: Assume config.h.

17 years ago.
Karl Berry [Sat, 28 Oct 2006 07:40:05 +0000 (07:40 +0000)]
.

17 years agoMove stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
Paul Eggert [Fri, 27 Oct 2006 20:46:43 +0000 (20:46 +0000)]
Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
stat-macros.h is now for our own macros, whereas stat_h is for
macros in the <sys/stat.h> name space.
* lib/stat-macros.h: Remove copyright notice, as this file is now tiny.
(STAT_MACROS_H): Remove.
(S_IFMT, S_ISBLK, S_ISCHR, S_ISDIR, S_ISFIFO, S_ISLNK, S_ISNAM):
(S_ISMPB, S_ISMPC, S_ISNWK, S_ISREG, S_ISSOCK, S_ISDOOR, S_ISPORT):
(S_TYPEISMQ, S_TYPEISTMO, S_TYPEISSEM, S_TYPEISSHM, S_ISCTG, S_ISOFD):
(S_ISOFL, S_ISWHT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRGRP):
(S_IROTH, S_IWUSR, S_IWGRP, S_IWOTH, S_IXUSR, S_IXGRP, S_IXOTH):
(S_IRWXU, S_IRWXG, S_IRWXO, S_IXUGO, S_IRWXUGO):
Move these macros to ...
* lib/stat_.h: here.  Don't include stat-macros.h.
* lib/canonicalize.c: Don't include stat-macros.h.
* lib/chown.c: Likewise.
* lib/euidaccess.c: Likewise.
* lib/file-type.c: Likewise.
* lib/filemode.c: Likewise.
* lib/glob.c: Likewise.
* lib/isapipe.c: Likewise.
* lib/lchown.c: Likewise.
* lib/lstat.c: Likewise.
* lib/mkdir-p.c: Likewise.
* lib/rmdir.c: Likewise.
* m4/lchown.m4 (gl_FUNC_LCHOWN): Don't require gl_STAT_MACROS.
* m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Don't check for io.h
unless mkdir isn't declared, to speed up 'configure'.
Always create sys/stat.h, since it's unlikely any real sys/stat.h
would define all the S_* symbols.
* modules/canonicalize (Depends-on):
Depend on sys_stat, not stat-macros.
* modules/chown: Likewise.
* modules/euidaccess: Likewise.
* modules/filemode: Likewise.
* modules/file-type: Likewise.
* modules/glob: Likewise.
* modules/isapipe: Likewise.
* modules/lchown: Likewise.
* modules/lstat: Likewise.
* modules/mkancesdirs: Likewise.
* modules/rmdir: Likewise.
* modules/mkdir-p (Depends-on): Also depend on sys_stat.
* modules/modechange: Likewise.
* modules/stat-macros (Files): Remove m4/stat-macros.m4.
(configure.ac): Remove gl_STAT_MACROS.
* modules/sys_stat (Depends-on): Remove stat-macros.

17 years agoUpdate after gettext-0.16 release.
Bruno Haible [Fri, 27 Oct 2006 17:16:24 +0000 (17:16 +0000)]
Update after gettext-0.16 release.

17 years agoAssume that the C compiler understands the 'signed' keyword.
Bruno Haible [Fri, 27 Oct 2006 17:11:53 +0000 (17:11 +0000)]
Assume that the C compiler understands the 'signed' keyword.

17 years agoUpdate to GNU gettext 0.16.
Bruno Haible [Fri, 27 Oct 2006 17:04:44 +0000 (17:04 +0000)]
Update to GNU gettext 0.16.

17 years agoFix email address in ChangeLog entry.
Bruno Haible [Fri, 27 Oct 2006 17:00:08 +0000 (17:00 +0000)]
Fix email address in ChangeLog entry.

17 years agoUpgrade to GNU gettext 0.16.
Bruno Haible [Fri, 27 Oct 2006 14:06:54 +0000 (14:06 +0000)]
Upgrade to GNU gettext 0.16.

17 years ago* MODULES.html.sh: Document tempname.
Eric Blake [Fri, 27 Oct 2006 13:51:23 +0000 (13:51 +0000)]
* MODULES.html.sh: Document tempname.
* modules/mkstemp (Depends-on): Add tempname, and drop transitive
dependencies.
(Files): Move lib/tempname.c...
* modules/tempname: ...to this new module.
* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Remove tempname checks.
(gl_PREREQ_TEMPNAME): Move...
* m4/tempname.m4: ...to this new file.
* lib/mkstemp.c (includes) [!_LIBC]: Use tempname.h.
* modules/sys_stat (Depends-on): Add stat-macros.
* lib/stat_.h (includes): Pick up stat macros.
* m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Replace <sys/stat.h>
if stat macros are broken.
* lib/tempname.c (includes): No need to include "stat-macros.h".
(__gen_tempname) [!_LIBC]: Expose as gen_tempname.
(direxists, __path_search) [!_LIBC]: Don't compile these in
gnulib; the tmpdir module covers that.
* lib/tempname.h: New file.

17 years ago* COPYING: Explain how gnulib-tool converts licence headers.
Paul Eggert [Thu, 26 Oct 2006 16:20:28 +0000 (16:20 +0000)]
* COPYING: Explain how gnulib-tool converts licence headers.
Almost all wording by Eric Blake.

17 years agoMake read-only array really read-only. Saves a few bytes in the .data segment.
Bruno Haible [Thu, 26 Oct 2006 11:56:02 +0000 (11:56 +0000)]
Make read-only array really read-only. Saves a few bytes in the .data segment.

17 years agoAvoid a gcc warning.
Bruno Haible [Thu, 26 Oct 2006 11:36:41 +0000 (11:36 +0000)]
Avoid a gcc warning.

17 years agoOne more modif.
Bruno Haible [Wed, 25 Oct 2006 18:56:19 +0000 (18:56 +0000)]
One more modif.

17 years agoRemove incorrect comment.
Bruno Haible [Wed, 25 Oct 2006 17:00:04 +0000 (17:00 +0000)]
Remove incorrect comment.

17 years agoOnly g++ supports variable-size arrays nowadays.
Bruno Haible [Wed, 25 Oct 2006 16:56:37 +0000 (16:56 +0000)]
Only g++ supports variable-size arrays nowadays.

17 years agoAvoid compilation errors with some C++ compilers.
Bruno Haible [Wed, 25 Oct 2006 16:14:34 +0000 (16:14 +0000)]
Avoid compilation errors with some C++ compilers.

17 years agoTreat all non-GNU iconv implementations like Irix iconv.
Bruno Haible [Wed, 25 Oct 2006 11:42:18 +0000 (11:42 +0000)]
Treat all non-GNU iconv implementations like Irix iconv.

17 years ago.
Karl Berry [Wed, 25 Oct 2006 07:38:30 +0000 (07:38 +0000)]
.

17 years agoMention that vararrays.m4 is taken from diffutils.
Paul Eggert [Tue, 24 Oct 2006 22:33:32 +0000 (22:33 +0000)]
Mention that vararrays.m4 is taken from diffutils.

17 years ago* modules/vararrays: New file.
Paul Eggert [Tue, 24 Oct 2006 22:32:25 +0000 (22:32 +0000)]
* modules/vararrays: New file.
* m4/vararrays.m4: New file.
* MODULES.html.sh: New module vararrays.

17 years ago.
Karl Berry [Tue, 24 Oct 2006 22:24:52 +0000 (22:24 +0000)]
.

17 years ago* users.txt: Add Libtool.
Ralf Wildenhues [Tue, 24 Oct 2006 20:44:09 +0000 (20:44 +0000)]
* users.txt: Add Libtool.

17 years ago* lib/argz.c: Remove check for HAVE_CONFIG_H, to conform
Ralf Wildenhues [Tue, 24 Oct 2006 20:40:29 +0000 (20:40 +0000)]
* lib/argz.c: Remove check for HAVE_CONFIG_H, to conform
to gnulib's policy of including config.h unconditionally.

17 years agoFix compilation error on platforms without 'wint_t' type.
Bruno Haible [Tue, 24 Oct 2006 20:19:49 +0000 (20:19 +0000)]
Fix compilation error on platforms without 'wint_t' type.

17 years agoGNU/Unix -> GNU, Unix, and
Karl Berry [Tue, 24 Oct 2006 20:10:22 +0000 (20:10 +0000)]
GNU/Unix -> GNU, Unix, and

17 years ago* lib/getdate.y (yyerror): Make the arguments pointer-to-const,
Paul Eggert [Tue, 24 Oct 2006 19:54:55 +0000 (19:54 +0000)]
* lib/getdate.y (yyerror): Make the arguments pointer-to-const,
to pacify GCC with some -W flags enabled.  Problem reported by
Bruno Haible.

17 years ago* MODULES.html.sh: Remove uinttostr. It's not a module.
Jim Meyering [Tue, 24 Oct 2006 18:18:19 +0000 (18:18 +0000)]
* MODULES.html.sh: Remove uinttostr.  It's not a module.
Reported by Karl Berry.

17 years agoPure ANSI C!
Bruno Haible [Tue, 24 Oct 2006 13:31:50 +0000 (13:31 +0000)]
Pure ANSI C!

17 years ago(fts_build): Move variable declaration, for C89 compliance.
Bruno Haible [Tue, 24 Oct 2006 13:31:50 +0000 (13:31 +0000)]
(fts_build): Move variable declaration, for C89 compliance.

17 years agoPure ANSI C!
Bruno Haible [Tue, 24 Oct 2006 13:25:28 +0000 (13:25 +0000)]
Pure ANSI C!

17 years agoAdd back the spaces that Karl removed.
Bruno Haible [Tue, 24 Oct 2006 12:12:49 +0000 (12:12 +0000)]
Add back the spaces that Karl removed.

17 years ago--- instead of --; non-naive naive.
Karl Berry [Mon, 23 Oct 2006 22:37:50 +0000 (22:37 +0000)]
--- instead of --; non-naive naive.

17 years ago* lib/getaddrinfo.c (includes): Add missing include.
Eric Blake [Mon, 23 Oct 2006 22:31:11 +0000 (22:31 +0000)]
* lib/getaddrinfo.c (includes): Add missing include.

17 years agoMake it possible to rename obstack_free.
Bruno Haible [Mon, 23 Oct 2006 19:40:24 +0000 (19:40 +0000)]
Make it possible to rename obstack_free.

17 years agoAvoid clash with mingw's definition of __argc and __argv as macros.
Bruno Haible [Mon, 23 Oct 2006 12:07:37 +0000 (12:07 +0000)]
Avoid clash with mingw's definition of __argc and __argv as macros.

17 years agoAdd an introduction.
Bruno Haible [Mon, 23 Oct 2006 11:27:37 +0000 (11:27 +0000)]
Add an introduction.

17 years agoIntroduction to gnulib.
Bruno Haible [Mon, 23 Oct 2006 11:27:20 +0000 (11:27 +0000)]
Introduction to gnulib.

17 years agoSplit the chapter "Gnulib" into 3 chapters "Introduction",
Bruno Haible [Mon, 23 Oct 2006 11:26:25 +0000 (11:26 +0000)]
Split the chapter "Gnulib" into 3 chapters "Introduction",
"Miscellanous Notes", "Particular Modules".

17 years agoAvoid syntax error from bash 2.00 ... 2.05.
Bruno Haible [Mon, 23 Oct 2006 11:25:20 +0000 (11:25 +0000)]
Avoid syntax error from bash 2.00 ... 2.05.

17 years ago.
Karl Berry [Mon, 23 Oct 2006 07:39:13 +0000 (07:39 +0000)]
.

17 years ago* lib/getaddrinfo.c (getnameinfo): Use new lightweight uinttostr,
Jim Meyering [Mon, 23 Oct 2006 06:03:01 +0000 (06:03 +0000)]
* lib/getaddrinfo.c (getnameinfo): Use new lightweight uinttostr,
in place of snprintf.

* modules/inttostr (Files): Add lib/uinttostr.c.
* lib/uinttostr.c (inttostr): New file/function.
* lib/inttostr.h (uinttostr): Declare.
* m4/inttostr.m4: Add AC_LIBOBJ([uinttostr]).
* MODULES.html.sh (Numeric conversion functions <stdlib.h>):
Add uinttostr.
* modules/getaddrinfo (Depends-on): Remove snprintf.  Add inttostr.

17 years agoremove stray "b" before a date
Jim Meyering [Sun, 22 Oct 2006 08:21:10 +0000 (08:21 +0000)]
remove stray "b" before a date

17 years ago* lib/canonicalize.c (ELOOP): Define if not already defined.
Paul Eggert [Sun, 22 Oct 2006 07:32:17 +0000 (07:32 +0000)]
* lib/canonicalize.c (ELOOP): Define if not already defined.
Problem reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00282.html>.

17 years agob2006-10-21 Paul Eggert <eggert@cs.ucla.edu>
Paul Eggert [Sat, 21 Oct 2006 22:10:06 +0000 (22:10 +0000)]
b2006-10-21  Paul Eggert  <eggert@cs.ucla.edu>

* lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
Problem reported by Perry Smith and Ville Laurikari.

17 years ago* lib/getndelim2.c (SSIZE_MAX): Use same defn that getdelim.c
Paul Eggert [Sat, 21 Oct 2006 21:56:08 +0000 (21:56 +0000)]
* lib/getndelim2.c (SSIZE_MAX): Use same defn that getdelim.c
uses.

17 years agoMake getndelim2 compile on mingw.
Bruno Haible [Fri, 20 Oct 2006 19:59:49 +0000 (19:59 +0000)]
Make getndelim2 compile on mingw.

17 years ago* lib/openat-priv.h (EOPNOTSUPP): Provide fallback definition.
Jim Meyering [Fri, 20 Oct 2006 19:38:02 +0000 (19:38 +0000)]
* lib/openat-priv.h (EOPNOTSUPP): Provide fallback definition.
Needed for mingw.

17 years agoCache a result.
Bruno Haible [Fri, 20 Oct 2006 13:51:48 +0000 (13:51 +0000)]
Cache a result.

17 years agoCache a result.
Bruno Haible [Fri, 20 Oct 2006 13:50:26 +0000 (13:50 +0000)]
Cache a result.

17 years agoCache a result.
Bruno Haible [Fri, 20 Oct 2006 13:50:26 +0000 (13:50 +0000)]
Cache a result.

17 years agoDon't include ftruncate and mountlist by default.
Bruno Haible [Fri, 20 Oct 2006 13:42:39 +0000 (13:42 +0000)]
Don't include ftruncate and mountlist by default.

17 years agoInclude the specification header.
Bruno Haible [Fri, 20 Oct 2006 12:45:19 +0000 (12:45 +0000)]
Include the specification header.

17 years ago.
Karl Berry [Fri, 20 Oct 2006 07:39:41 +0000 (07:39 +0000)]
.

17 years agoFix from Charles Wilson.
Bruno Haible [Thu, 19 Oct 2006 13:24:55 +0000 (13:24 +0000)]
Fix from Charles Wilson.

17 years agoMake it usable by a C++ compiler.
Bruno Haible [Thu, 19 Oct 2006 12:27:16 +0000 (12:27 +0000)]
Make it usable by a C++ compiler.

17 years agoRemove duplicates from the gl_LIBOBJS list.
Bruno Haible [Thu, 19 Oct 2006 12:23:41 +0000 (12:23 +0000)]
Remove duplicates from the gl_LIBOBJS list.

17 years agoAvoid a gcc warning.
Bruno Haible [Thu, 19 Oct 2006 12:22:46 +0000 (12:22 +0000)]
Avoid a gcc warning.

17 years ago* lib/xstrtol.h: Include gettext.h.
Paul Eggert [Thu, 19 Oct 2006 07:51:14 +0000 (07:51 +0000)]
* lib/xstrtol.h: Include gettext.h.
(_STRTOL_ERROR): Wrap English-language formats inside gettext.
Problem reported by Eric Blake.
* modules/xstrtol (Depends-on): Add gettext-h.