lib


Log

Author Commit Date CI Message
Bruno Haible 692e80d3 2007-09-18T22:04:19 New module 'areadlink'.
Bruno Haible 9e1c363a 2007-09-18T22:03:42 New module 'areadlink'. File based on lib/xreadlink.c.
Jim Meyering df048d48 2007-09-17T16:51:01 * lib/savewd.c (ESTALE) [!defined]: Define. Reported to be required on Interix by Martin Koeppe.
Simon Josefsson a3379e2f 2007-09-13T11:53:38 (gc_hash_open): Catch NULL calloc return value. Reported by Bruno Haible <bruno@clisp.org>.
Bruno Haible 3ba9dca2 2007-09-09T17:38:23 Oops, avoid an infinite recursion.
Jim Meyering 6bfae955 2007-09-09T14:48:10 * lib/hash.c (hash_initialize): Detect calloc failure. Reported by Bruno Haible.
Bruno Haible 9c3b84f6 2007-09-09T14:32:21 Set errno to ENOMEM when malloc/realloc fails. Needed on mingw.
Bruno Haible 23631b7e 2007-09-09T13:01:44 New module 'malloc-posix'.
Bruno Haible 471d58a5 2007-09-09T12:56:27 New module 'realloc-posix'.
Bruno Haible e8b82791 2007-09-09T12:29:37 New module 'calloc-posix'.
Jim Meyering 3d9dacd0 2007-09-08T19:25:52 Rename __fpending.c -> fpending.c and __fpending.h -> fpending.h * lib/fpending.h: Rename from __fpending.h. * lib/fpending.c: Rename from __fpending.c. Include "fpending.h", not "__fpending.h". * lib/__fpending.h, lib/__fpending.c: Remove files. * modules/fpending (Files): Reflect new file names. * lib/close-stream.c: Include "fpending.h", not "__fpending.h".
Bruno Haible 56f19906 2007-09-02T11:13:02 Fix mis-recognition of 'mcs' on QNX 6.
Bruno Haible 443311a8 2007-09-01T16:24:55 Add double-inclusion guard.
Bruno Haible f582cd8f 2007-09-01T15:52:06 Let linebreak rely on uniwidth/width.
Jim Meyering 39756f7a 2007-08-28T09:13:04 Rename mreadlink_with_size to areadlink_with_size. * NEWS: Document the change. * lib/mreadlink-with-size.c (mreadlink_with_size): Rename this to... * lib/areadlink-with-size.c (areadlink_with_size): ...this. * lib/mreadlink.h: Rename this to... * lib/areadlink.h: ...this. * modules/mreadlink-with-size: Rename this to... * modules/areadlink-with-size: ...this. * lib/canonicalize.c: Reflect the renaming. * modules/canonicalize: Likewise.
Simon Josefsson 6f41b3a4 2007-08-23T15:44:35 lib/readline.c: Don't include getline.h, the prototype is now found in stdio.h.
Jim Meyering 3156a948 2007-08-23T08:33:16 Getdelim touchup. * lib/getdelim.c (getdelim): Don't bother to save/restore errno around the funlockfile call, since funlockfile never sets errno. Don't set errno upon failed realloc.
Eric Blake 33c8286e 2007-08-23T02:00:18 Getline touchups. * lib/getdelim.c (getdelim): Revert regression that required *n to be 0 when *lineptr is NULL. Preserve errno across funlockfile. * m4/getdelim.m4 (gl_FUNC_GETDELIM): Check for declaration of getdelim, rather than whether implementation is missing. * m4/getline.m4 (gl_FUNC_GETLINE): Likewise for getline. * lib/stdio_.h (getline): Also declare if replacement is required. * doc/functions/getdelim.texi: New file. * doc/functions/getline.texi: Likewise. * doc/gnulib.texi (Function Substitutes): Add new files. Reported by Bruno Haible.
Eric Blake cef82862 2007-08-22T14:04:30 * tests/test-getdelim.c (main): Use remove, not unlink. * tests/test-getline.c (main): Likewise.
Eric Blake d68417c0 2007-08-22T12:54:21 Move getline and getdelim into stdio.h, per POSIX 200x. * modules/getline (Files): Remove getline.h. (Depends-on): Add stdio. (configure.ac): Add module indicator. * modules/getdelim (Files): Remove getdelim.h. (Depends-on): Add stdio. (configure.ac): Add module indicator. * modules/stdio (Makefile.am): Work with new indicators. * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add new defaults. * m4/getdelim.m4 (gl_FUNC_GETDELIM): Work with stdio needs. * m4/getline.m4 (gl_FUNC_GETLINE): Likewise. * lib/getdelim.h: Delete. * lib/getline.h: Delete. * lib/stdio_.h (getdelim, getline): Declare. * modules/getdelim-tests: New module. * modules/getline-tests: Likewise. * tests/test-getdelim.c: New file. * tests/test-getline.c: Likewise. * NEWS: Document the change. * lib/getline.c: Update choice of header. * lib/csharpcomp.c: Likewise. * lib/getpass.c: Likewise. * lib/javacomp.c: Likewise. * lib/javaversion.c: Likewise. * lib/yesno.c: Likewise. * lib/getdelim.c: Likewise. (getdelim): Set errno on failure, and avoid memory leak.
Bruno Haible 70427758 2007-08-20T22:09:08 Optimization: no need to flush stdin if we can determine quickly that stdin's input buffer is empty.
Bruno Haible 865db7af 2007-08-19T17:42:40 New module 'freadahead'.
Eric Blake 1cf55d29 2007-08-19T15:47:14 Test yesno in combination with closein. * lib/yesno.c (yesno): Document use of stdin. * modules/yesno-tests (Files): New module. * tests/test-yesno.c (main): New file. * tests/test-yesno.sh: Likewise.
Bruno Haible 1561b0ad 2007-08-19T09:37:45 Add tentative support for Solaris/AMD64.
Bruno Haible d2d41220 2007-08-19T09:08:05 Work around lseek bug on BeOS.
Bruno Haible 76eb5db6 2007-08-18T11:07:07 Fuzzy string comparison.
Bruno Haible 0023b193 2007-08-18T10:53:41 - Comment style. - Change 'heuristic' from 'int' to 'bool'. - Remove the 'const' from the context parameter. Needed because in the fstrcmp case, the NOTE_INSERT and NOTE_DELETE macros modify fields in the context, and an extra indirection would only cost performance: #define EXTRA_CONTEXT_FIELDS \ /* The number of elements inserted or deleted. */ \ int xvec_edit_count; \ int yvec_edit_count; #define NOTE_DELETE(ctxt, xoff) ctxt->xvec_edit_count++ #define NOTE_INSERT(ctxt, yoff) ctxt->yvec_edit_count++ - In 'diag', keep two blocks of code in sync (lines 191 and 224). - Undefine the macro USE_HEURISTIC after use.
Jim Meyering dc9484f5 2007-08-18T07:16:52 New file: lib/idcache.h * NEWS: Mention the addition. * modules/idcache (Files): Add lib/idcache.h * lib/idcache.c: Include "idcache.h". Don't include <sys/types.h>. Add a FIXME comment. Move file-scoped "static" declarations to the top. * lib/idcache.h: New file. Include <sys/types.h> here, instead.
Paul Eggert a29749fa 2007-08-17T23:29:23 * MODULES.html.sh: Add diffseq. * modules/diffseq: New file. * lib/diffseq.h: New file, from GNU gettext with a few minor changes, extracted from GNU gettext's fstrcmp.c and GNU diff's analyze.c.
Ben Pfaff 6684d992 2007-08-15T03:37:54 * lib/count-one-bits.h: Add comments. (From Bruno Haible.) * lib/count-one-bits.h: Don't include <limits.h>; no longer needed given the changes below. (COUNT_ONE_BITS): Use 'verify' rather than 'verify_true'. Work even on hosts that have padding bits beyond the supported 64. (From Paul Eggert.)
Paul Eggert e9c57721 2007-08-10T19:02:31 * NEWS: In xstrtol, remove STRTOL_FATAL_ERROR and add xstrtol_fatal. * lib/xstrtol.h: Don't include exitfail.h; that's now internal to xstrtol.c. Include getopt.h, since xstrtol_fatal's signature depends on it. (xstrtol_error): Remove. (xstrtol_fatal): New decl, replacing the functionality of xstrtol_error but with a different signature. (ATTRIBUTE_NORETURN, __attribute__): New macros. * lib/xstrtol-error.c: Include exitfail.h. (xstrtol_fatal): New function, with a different signature from the old xstrtol_error, so that the caller need not worry about passing in an exit status, or about storage management of the option argument. (xstrtol_error): Now a static function. Redo signature to implement xstrtol_fatal. Output the correct number of hyphens in front of the option so that the caller need not worry about storage management. (N_): New macro. (_): Remove; not used now. * modules/xstrtol: Depend on getopt. * tests/test-xstrtol.c (main): Use new xstrtol_error function instead of old STRTOL_FATAL_ERROR macro. * tests/test-xstrtol.sh (t-xstrtol.xo): Adjust to match new behavior of test program.
Eric Blake 88cc26bb 2007-08-08T16:05:58 * lib/xstrtol-error.c: Add missing include.
Eric Blake c7110f3b 2007-08-08T12:45:54 Move xstrtol messages into gnulib domain, when --pobase is used. * lib/xstrtol.h (_STRTOL_ERROR): Move messages out of macro... * lib/xstrtol-error.c (xstrtol_error): ...into new file. * modules/xstrtol (Files): Distribute new file. * m4/xstrtol.m4 (gl_XSTRTOL): Build new file. * lib/xstrtol.c (TESTING_XSTRTO): Move tests... * tests/test-xstrtol.c: ...into new file. * tests/test-xstrtoul.c: Also test xstrtoul. * tests/test-xstrtoimax.c: Also test xstrtoimax. * tests/test-xstrtoumax.c: Also test xstrtoumax. * tests/test-xstrtol.sh: Drive the tests. * tests/test-xstrtoimax.sh: Likewise. * tests/test-xstrtoumax.sh: Likewise. * modules/xstrtol-tests: New module. * modules/xstrtoimax-tests: Likewise. * modules/xstrtoumax-tests: Likewise.
Jim Meyering fe32d831 2007-08-08T06:43:35 New function: mfile_name_concat. * lib/filenamecat.c (mfile_name_concat): New function, just like file_name_concat, but return NULL upon failure rather than exiting with a diagnostic. * lib/filenamecat.h: Declare it.
Paul Eggert 0253ee27 2007-08-06T16:44:24 * NEWS: Describe interface changes to human, xstrtol. * lib/human.h: Include <xstrtol.h>. (human_options): Return enum strtol_error, not int. Remove bool arg; take int * instead. * lib/human.c: Don't include "gettext.h". (_): Remove; no longer used. Don't include <xstrtol.h>, since human.h does it. (human_options): Adjust to abovementioned interface changes. Do not report error to stderr; that's now the caller's responsibility. * lib/xstrtol.c (main) [defined TESTING_XSTRTO]: Adjust to interface change. * lib/xstrtol.h (_STRTOL_ERROR): Take Option, Arg rather than Str, Argument_type_string. All uses changed. Put " argument" in diagnostics to make them clearer. Change wording of suffix message for clarity. (STRTOL_FATAL_ERROR): Take Option, Arg rather than Str, Argument_type_string. (STRTOL_FATAL_WARN): Remove; no longer used. * modules/human (Depends-on): Remove gettext-h.
Bruno Haible 9faed5de 2007-07-31T22:15:00 Use a slightly cleaner hack on BSD systems.
Jim Meyering 09c479eb 2007-07-30T12:16:34 * lib/fts.c (fts_read): Upon failure to chdir into a subdirectory, set fts_info to FTS_DNR, not to FTS_ERR, so that the caller knows it has valid stat data. This bug would cause du not to count the sizes of inaccessible directories. Patch by Jose Maria Plans, reported in http://bugzilla.redhat.com/250077
Bruno Haible ae758e2c 2007-07-26T08:28:56 Revert last patch.
Bruno Haible c03635e1 2007-07-25T22:42:36 2007-07-25 Jim Meyering <jim@meyering.net> Bruno Haible <bruno@clisp.org> * lib/xstrtol.h (_STRTOL_ERROR): Change third argument from a localized noun to an option name. (STRTOL_FATAL_ERROR, STRTOL_FAIL_WARN): Likewise. * lib/human.h (human_options): Insert a third argument. * lib/human.h (human_options): Likewise. Pass it to STRTOL_FATAL_ERROR.
Ben Pfaff e9cfd9f2 2007-07-25T03:13:19 Improve name: "count-one-bits" is better than "popcount". * MODULES.html.sh: Update name. * lib/popcount.h: Renamed lib/count-one-bits.h. (popcount): Renamed count_one_bits. (popcountl): Renamed count_one_bits_l. (popcountll): Renamed count_one_bits_ll. * m4/popcount.m4: Renamed m4/count-one-bits.m4. * modules/popcount: Renamed module/count-one-bits. * modules/popcount-tests: Renamed module/count-one-bits-tests. * tests/test-popcount.c: Renamed tests/test-count-one-bits.c.
Ben Pfaff 27699186 2007-07-24T02:35:09 (popcount32): Reduce size of constants, to allow better code generation, and add U to large constants to avoid warnings, in non-GCC case. Suggested by Bruno Haible.
Ben Pfaff bec5215d 2007-07-24T02:13:14 * lib/popcount.h: Use verify_true instead of if...abort. * modules/popcount: Depend on verify module. Suggested by Jim Meyering.
Ben Pfaff 1520cd43 2007-07-23T04:17:50 Use faster, branchless algorithm for non-GCC case. Suggested by Eric Blake.
Ben Pfaff da8a3eac 2007-07-23T00:21:20 New module: popcount. * MODULES.html.sh: Add popcount. * modules/popcount: New file. * modules/popcount-tests: New file. * tests/test-popcount.c: New file. * lib/popcount.h: New file. * m4/popcount.m4: New file.
Bruno Haible 0facee04 2007-07-21T08:10:38 Add missing definition of _ macro.
Bruno Haible 91562b11 2007-07-15T00:14:51 Emit a "do not edit" line to the generated file.
Bruno Haible 22c449ec 2007-07-14T00:09:08 Fix a #if error that causes a build failure on Linux/PowerPC with glibc-2.3.6.
Paul Eggert 6c1b57f5 2007-07-13T18:01:12 * lib/stdint_.h: Fix typo: _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H was misspelled as _GL_JUST_INCLUDE_ABSOLUTE_INTTYPES_H.
Eric Blake 1629697b 2007-07-10T12:22:36 * lib/version-etc.c (version_etc_va): Default to GPLv3+. * NEWS: Document this change.
Bruno Haible 3e531ad7 2007-07-08T14:43:55 Update copyright year.
Bruno Haible 20794a11 2007-07-08T14:38:01 Update to Unicode 5.0.
Bruno Haible e5df82f1 2007-07-08T12:00:12 Regenerated for Unicode 5.0.
Bruno Haible 0b34902e 2007-07-08T11:59:51 Update to Unicode 5.0.
Bruno Haible 7599e817 2007-07-07T21:38:16 Work around MacOS X wcwidth(0x0301) bug.
Bruno Haible b7f0f487 2007-07-07T21:34:12 wcwidth.h is gone.
Bruno Haible 9e8ce574 2007-07-07T20:59:43 Remove the wcwidth.h file. Move wcwidth's declaration to wchar_.h.
Bruno Haible 2b381755 2007-07-07T19:27:06 Provide wcwidth replacement in separate file wcwidth.c.
Bruno Haible 61c84cd2 2007-07-07T16:27:35 New module 'uniwidth/u32-strwidth'.
Bruno Haible bfc49603 2007-07-07T16:26:16 New module 'uniwidth/u16-strwidth'.
Bruno Haible b5fc65bf 2007-07-07T16:24:12 New module 'uniwidth/u8-strwidth'.
Bruno Haible 0a7bf947 2007-07-07T16:22:01 New module 'uniwidth/u32-width'.
Bruno Haible 31380fda 2007-07-07T16:20:40 New module 'uniwidth/u16-width'.
Bruno Haible c03f2a06 2007-07-07T16:18:59 New module 'uniwidth/u8-width'.
Bruno Haible c7a31c81 2007-07-07T16:16:53 New module 'uniwidth/width'.
Bruno Haible 7ea8f232 2007-07-07T16:15:17 New module 'uniwidth/base'.
Bruno Haible 9d4b4746 2007-07-07T13:23:02 Comments.
Bruno Haible 919363c0 2007-07-07T12:49:35 New modules uniname/base and uniname/uniname.
Paul Eggert 1b9bd2b9 2007-07-06T16:42:06 * lib/sys_time_.h: Use a recursion-safe inclusion guard rather than a split double-inclusion guard. Needed for cygwin, where <sys/time.h> includes <cygwin/sys_time.h> which includes <sys/select.h> which include <sys/time.h>. Reported by Eric Blake.
Jim Meyering 66e59ae7 2007-07-06T05:01:03 * lib/getugroups.c (getugroups): Detect getgrent failure. Adjust comment to reflect reality: this function may return -1.
Jim Meyering 72c48440 2007-07-05T08:06:33 Don't let endgrent clobber errno, no matter how improbable. * lib/getugroups.c (getugroups): Save and restore errno around endgrent call.
Jim Meyering 22341687 2007-07-05T07:28:20 Close the group DB even when failing with 2^31 or more members. * lib/getugroups.c (getugroups): Don't return without calling endgrent.
Jim Meyering c471cb38 2007-07-04T21:46:44 * lib/getugroups.h: New file. * lib/getugroups.c: Include "getugroups.h". Remove uses of "register" keyword. Move local variable, "cp", down into scope where used. Give "username" parameter the "const" attribute. * modules/getugroups (Files): Add lib/getugroups.h
Paul Eggert f08d5f7f 2007-07-02T08:19:55 * lib/inttypes_.h [defined __cplusplus&&!defined __STDC_LIMIT_MACROS]: #define __STDC_LIMIT_MACROS temporarily while including <stdint.h>, so that __STDC_LIMIT_MACROS is defined. Problem reported by Joel E. Denny in <http://lists.gnu.org/archive/html/bug-gnulib/2007-07/msg00008.html>.
Bruno Haible 2625ca90 2007-07-02T01:34:46 Formatted output functions for Unicode strings.
Bruno Haible 7c832224 2007-07-02T00:56:18 Avoid address wraparound inside system functions.
Paul Eggert d90f751e 2007-06-23T19:47:10 * lib/time_.h: Port to Solaris 8 with Sun Studio 11, using a method that I hope also handles the double-include problem noted by Bruno Haible in <http://lists.gnu.org/archive/html/bug-gnulib/2007-05/msg00186.html>.
Sergey Poznyakoff 8c390823 2007-06-22T15:30:37 (until_short): Remove `inline' qualifier. Otherwise, passing function as argument to `hol_entry_first_short' fails on some systems.
Paul Eggert 73f2a1c0 2007-06-21T17:08:44 * m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise. * m4/iconv_h.m4 (gl_ICONV_H): Likewise. * m4/locale_h.m4 (gl_LOCALE_H): Likewise. * m4/netinet_in_h.m4 (gl_HEADER_NETINET_IN): Likewise. * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. * m4/sysexits.m4 (gl_SYSEXITS): Likewise. SCALAR(0x828a248) * lib/dirent_.h: Likewise. * lib/iconv_.h: Likewise. * lib/locale_.h: Likewise. * lib/netinet_in_.h: Likewise. * lib/sys_select_.h: Likewise. * lib/sys_socket_.h: Likewise. * lib/sysexits_.h: Likewise. * modules/fchdir: Likewise. * modules/iconv_open: Likewise. * modules/locale: Likewise. * modules/netinet_in: Likewise. * modules/sys_select: Likewise. * modules/sys_socket: Likewise. * modules/sysexits: Likewise.
Paul Eggert b6a9d33e 2007-06-21T04:39:09 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST INCLUDE_NEXT. (gl_CHECK_NEXT_HEADERS): New macro. * m4/fcntl_h.m4 (gl_FCNTL_H): use gl_CHECK_NEXT_HEADERS instead of the obsolescent gl_ABSOLUTE_HEADER. * m4/float_h.m4 (gl_FLOAT_H): Likewise. * m4/inttypes.m4 (gl_INTTYPES_H): Likewise. * m4/math_h.m4 (gl_MATH_H): Likewise. * m4/search_h.m4 (gl_SEARCH_H): Likewise. * m4/signal_h.m4 (gl_SIGNAL_H): Likewise. * m4/stdint.m4 (gl_STDINT_H): Likewise. * m4/stdio_h.m4 (gl_STDIO_H): Likewise. * m4/stdlib_h.m4 (gl_STDLIB_H): Likewise. * m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Likewise. * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Likewise. * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Likewise. * m4/time_h.m4 (gl_HEADER_TIME_H_BODY): Likewise. * m4/unistd_h.m4 (gl_UNISTD_H): Likewise. * m4/wchar.m4 (gl_WCHAR_H): Likewise. * m4/wctype.m4 (gl_WCTYPE_H): Likewise. * m4/inttypes.m4 (gl_INTTYPES_H): Define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H to avoid the problem of unclean builds, since ABSOLUTE_INTTYPES_H is no longer being defined. * m4/stdint.m4 (gl_STDINT_H): Likewise, for _GL_JUST_INCLUDE_SYSTEM_STDINT_H. * lib/fcntl_.h: Use @INCLUDE_NEXT@ @NEXT_foo_H@ rather than @HAVE_INCLUDE_NEXT@ and @ABSOLUTE_foo_H@. * lib/float_.h: Likewise. * lib/inttypes_.h: Likewise. * lib/math_.h: Likewise. * lib/search_.h: Likewise. * lib/signal_.h: Likewise. * lib/stdint_.h: Likewise. * lib/stdio_.h: Likewise. * lib/stdlib_.h: Likewise. * lib/string_.h: Likewise. * lib/sys_stat_.h: Likewise. * lib/sys_time_.h: Likewise. * lib/time_.h: Likewise. * lib/unistd_.h: Likewise. * lib/wchar_.h: Likewise. * lib/wctype_.h: Likewise. * modules/fcntl (Depends-on): Depend on absolute-header, not include_next. (Makefile): Substitute INCLUDE_NEXT and NEXT_foo_H, not HAVE_INCLUDE_NEXT and ABSOLUTE_foo_H. * modules/float: Likewise. * modules/inttypes: Likewise. * modules/math: Likewise. * modules/search: Likewise. * modules/signal: Likewise. * modules/stdint: Likewise. * modules/stdio: Likewise. * modules/stdlib: Likewise. * modules/string: Likewise. * modules/sys_stat: Likewise. * modules/sys_time: Likewise. * modules/time: Likewise. * modules/unistd: Likewise. * modules/wchar: Likewise. * modules/wctype: Likewise. * modules/sys_stat: Change maintainer to "all". * modules/unistd: Likewise.
Jim Meyering 8dc56b53 2007-06-19T06:43:37 xreadlink-with-size: Remove module. No longer used. Ex-callers now use xreadlink or mreadlink-with-size. * modules/xreadlink-with-size: Remove module. * lib/xreadlink-with-size.c: Remove file. * lib/xreadlink.h (xreadlink_with_size): Remove prototype. (xreadlink): Remove inaccurate comment. The one in xreadlink.c, just before the function definition *is* accurate.
Jim Meyering 8adc35bb 2007-06-19T06:13:40 Eliminate one way canonicalize_filename_mode could exit. * lib/canonicalize.c (canonicalize_filename_mode): Use mreadlink_with_size, not xreadlink_with_size.
Paul Eggert 589b85d1 2007-06-18T23:09:12 Detect porting problems to FreeBSD/arm, which has time_t wider than long int. Original problem reported for GNU diff by Xin Li in <http://lists.gnu.org/archive/html/bug-gnu-utils/2007-06/msg00091.html>. * modules/getdate (Depends-on): Add intprops, verify. * lib/getdate.y: Include intprops.h, verify.h. Verify that time_t is an integer type no wider than long int.
Jim Meyering 07b83208 2007-06-18T12:21:16 New module: mreadlink-with-size. * MODULES.html.sh: Add mreadlink-with-size. * modules/mreadlink-with-size: New module * modules/canonicalize (Depends-on): Depend on mreadlink-with-size, not xreadlink-with-size. * lib/mreadlink-with-size.c, lib/mreadlink.h: New files.
Paul Eggert 20b5ea91 2007-06-16T06:10:44 Revamp lchown so that it lives in unistd.h where it belongs. * lib/lchown.h: Remove. * lib/dirchownmod.c: Don't include lib/lchown.h. * lib/fchownat.c: Likewise. * lib/openat.c: Likewise. * lib/lchown.c (REPLACE_CHOWN): Define to 0 if the system chown does not follow symlinks. (EOPNOTSUPP): Define if not defined. * lib/unistd_.h (chown): Do not replace if REPLADE_CHOWN is defined to 0. (lchown): New decl. * m4/lchown.m4 (gl_FUNC_LCHOWN): Require gl_UNISTD_H_DEFAULTS. Do not check for lchown decl. Set REPLACE_LCHOWN. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Set GNULIB_LCHOWN, REPLACE_LCHOWN. * modules/chown: Make it clear it follows symlinks. * modules/lchown: Make it clear it doesn't follow symlinks. (Files): Remove lib/lchown.h (Depends-on): Add unistd. (configure.ac): Add gl_UNISTD_MODULE_INDICATOR([lchown]). (Include): Include <unistd.h>, not "lchown.h". * modules/unistd (unistd.h): Substitude GNULIB_LCHOWN and REPLACE_LCHOWN.
Bruno Haible 234a74b6 2007-06-11T22:24:31 Fix small mistake, reported by Eric Blake.
Bruno Haible cce88f34 2007-06-11T01:10:07 Add support for Unicode strings (both as output format and as arguments to the %U directive).
Bruno Haible 20218089 2007-06-11T00:34:23 New module unistr/u32-mbsnlen
Bruno Haible 8a6003eb 2007-06-11T00:33:46 New module 'unistr/u16-mbsnlen'.
Bruno Haible 3125b88b 2007-06-11T00:33:04 New module 'unistr/u8-mbsnlen'.
Bruno Haible fa662f81 2007-06-11T00:32:04 New modules unistr/u*-mbsnlen.
Bruno Haible 60ed215d 2007-06-11T00:29:30 New module 'mbsnlen'.
Bruno Haible 06dc0a84 2007-06-11T00:20:36 Include <stdlib.h>.
Bruno Haible a797135e 2007-06-11T00:17:50 Include <stddef.h>, needed for ptrdiff_t.
Bruno Haible 790c99d3 2007-06-10T12:02:55 Tweak the size computations and reallocations.
Bruno Haible 8f71f4a4 2007-06-10T11:18:49 Tweak last patch.
Bruno Haible 47feb4d5 2007-06-09T23:32:28 More type parameters.
Bruno Haible 059dfc71 2007-06-09T21:51:51 New modules uniconv/u{8,16,32}-conv-to-enc.
Bruno Haible 103c202d 2007-06-09T21:50:50 New module 'uniconv/u32-conv-to-enc'.
Bruno Haible ec667689 2007-06-09T21:50:08 New modules 'uniconv/u16-conv-to-enc' and 'uniconv/u32-conv-to-enc'.
Bruno Haible 7b89bc93 2007-06-09T21:49:42 New module 'uniconv/u16-conv-to-enc'.