lib


Log

Author Commit Date CI Message
Bruno Haible 590547f8 2003-01-31T15:47:03 Make this module usable in shared libraries.
Bruno Haible 87b04f99 2003-01-30T13:48:21 New modules vasnprintf and vasprintf.
Bruno Haible 1080617a 2003-01-29T16:47:24 New module stpncpy.
Bruno Haible a57f5d74 2003-01-28T20:55:20 Optimization and comments.
Bruno Haible f02c0a8f 2003-01-28T13:47:46 New module c-ctype.
Bruno Haible dd2c1e84 2003-01-27T13:37:35 New module xsetenv.
Bruno Haible 3ad2305c 2003-01-24T15:25:16 Comments.
Bruno Haible fdaa9692 2003-01-23T18:29:34 New module minmax.
Bruno Haible f22c999c 2003-01-22T12:37:16 New module 'exit'.
Bruno Haible 6a638f79 2003-01-15T12:45:54 Use ANSI C function declarations.
Jim Meyering 450606da 2003-01-14T14:46:04 .
Jim Meyering e49a8409 2003-01-14T14:38:32 *** empty log message ***
Bruno Haible e5894c7e 2003-01-14T13:51:17 Optimization: Avoid unnecessary stat() calls.
Bruno Haible 40ea7eb6 2003-01-14T12:39:42 Avoid bug with non-ASCII characters.
Bruno Haible ab352dae 2003-01-14T12:38:51 Add comment about low quality of this function.
Bruno Haible ffdc9a19 2003-01-13T21:58:31 Change copyright to LGPL, so it can be used by libasprintf.
Paul Eggert 096169d9 2003-01-13T07:10:59 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer, to avoid collisions with libcurses and libreadline.
Paul Eggert 971f57ee 2003-01-13T07:09:45 (readlinebuffer): Renamed from readline.
Paul Eggert 7987825e 2003-01-13T07:09:16 (readlinebuffer): Renamed from readline. All uses changed.
Paul Eggert ffffff66 2003-01-13T07:07:30 Include "getline.h", to check interface. Move body of old getstr.c here: this defines MIN_CHUNK and declares getdelim2, which is renamed from getstr. (getline, getdelim): Adjust to renaming of getstr -> getdelim2.
Paul Eggert 7376e904 2003-01-13T07:06:56 (libfetish_a_SOURCES): Remove getstr.c, getstr.h.
Jim Meyering 9efd8249 2003-01-12T08:51:30 *** empty log message ***
Jim Meyering dbabcd9b 2003-01-12T08:51:10 Don't test HAVE_ERRNO_H. It's not necessary.
Bruno Haible 48dbf2c1 2003-01-10T21:06:49 Make it possibly to simply write: #include <alloca.h>.
Bruno Haible 458e682c 2003-01-09T13:35:14 Make it possible to #include <stdbool.h> without any #ifdefs.
Bruno Haible 9516d965 2003-01-08T18:42:38 Include specification first.
Jim Meyering 609f9cb7 2003-01-08T15:41:44 *** empty log message ***
Jim Meyering 89f93c2e 2003-01-08T15:41:33 Undefine and define-away `const' after inclusion of errno.h, not before. Suggestion from Bruno Haible.
Jim Meyering 8ba97824 2003-01-07T14:11:03 *** empty log message ***
Jim Meyering ba86e57a 2003-01-07T14:10:53 Rework so that it may serve to define full_read, too.
Jim Meyering 520b0796 2003-01-07T14:10:40 Simply #define FULL_READ and include full-write.c.
Bruno Haible f41e1656 2003-01-07T13:09:32 More consistent inttypes.h / stdint.h handling.
Jim Meyering 90a4f378 2003-01-06T13:20:22 *** empty log message ***
Jim Meyering ff003f84 2003-01-06T13:20:08 Update year in translatable copyright string.
Bruno Haible 511a4370 2003-01-06T12:38:36 More consistent inttypes.h / stdint.h handling.
Paul Eggert 7b1bd5ca 2002-12-31T22:13:07 * memcoll.c (memcoll): Fall back on a simple algorithm using memcmp if strcoll doesn't work.
Paul Eggert 45d311ec 2002-12-31T22:11:34 (memcoll): Fall back on a simple algorithm using memcmp if strcoll doesn't work.
Bruno Haible 000ad744 2002-12-31T13:20:21 New file localcharset.h.
Bruno Haible d2dc6c74 2002-12-31T13:02:48 Don't call ftruncate() when it's not needed.
Bruno Haible 1d94e291 2002-12-31T13:01:56 Don't use strcoll if it is broken.
Bruno Haible 6fd120ff 2002-12-31T12:59:53 Avoid function names used in standard libraries.
Bruno Haible 0183445c 2002-12-31T12:57:56 Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
Bruno Haible b3228efa 2002-12-31T12:56:28 Make getline.h and unicodeio.h self-contained.
Paul Eggert b6d0ee89 2002-12-20T22:05:45 Remove stime.c (was supposed to be done 2002-02-27).
Bruno Haible 4707e73c 2002-12-17T11:49:10 Misc changes.
Bruno Haible f098d82f 2002-12-17T11:48:43 Update for changed signature of safe_read.
Bruno Haible d32523a5 2002-12-17T11:48:24 Use full_read instead of safe_read.
Bruno Haible d066717a 2002-12-17T11:48:11 Remove unused declaration.
Bruno Haible bc3ce846 2002-12-16T15:47:55 Rewritten to cope with systems that have setenv() but not unsetenv().
Bruno Haible cdb16e44 2002-12-11T20:34:41 Add setenv, unsetenv.
Bruno Haible 336175d0 2002-12-11T20:31:00 setenv and unsetenv.
Paul Eggert 58929106 2002-12-10T19:41:43 Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.
Paul Eggert ae37c409 2002-12-10T19:41:28 (FNM_CASEFOLD, FNM_LEADING_DIR): Define to 0 if not defined (e.g., a pure POSIX system). (EXCLUDE_macros_do_not_collide_with_FNM_macros): Use FNM_PATHNAME instead of FNM_FILE_NAME, for compatibility with pure POSIX sytems.
Paul Eggert 1cb322cb 2002-12-10T19:40:58 (EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS): Choose values that are less likely to collide with system fnmatch options.
Jim Meyering fc66004e 2002-12-06T08:08:23 *** empty log message ***
Jim Meyering 88cade9d 2002-12-06T08:08:13 Be consistent: change `#ifndef _LIBC' to `#if !_LIBC'.
Jim Meyering 98b49ee9 2002-12-06T08:00:59 *** empty log message ***
Jim Meyering ccd26a7b 2002-12-06T08:00:45 Merge in changes from libc's misc/error.c, in preparation for the merge of gnulib's changes back into libc. (_): Define only if not already defined. Move definition to follow all #include directives. Include unlocked-io.h only if !_LIBC. [_LIBC]: Include <libio/libioP.h>. [USE_IN_LIBIO]: Include <libio/iolibio.h> (fflush): Tweak definition to use INTUSE. (putc): Define.
Paul Eggert 4f918c7e 2002-12-05T20:46:37 Merge some alloca.c changes from Emacs.
Paul Eggert a60e4adb 2002-12-05T20:46:03 [defined emacs]: Include "lisp.h". (xalloc_die) [defined emacs]: New macro. (free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE. [! defined emacs]: Include <xalloc.h>. (POINTER_TYPE) [!defined POINTER_TYPE]: New macro. (pointer): Typedef to POINTER_TYPE *. (malloc): Remove decl; we now always use xmalloc. (alloca): Use old-style definition, since Emacs needs this. Check for arithmetic overflow when computing combined size.
Paul Eggert 5f2f444d 2002-12-04T20:53:19 Do not generate unlocked-io.h automatically, since it's easier to maintain it by hand.
Paul Eggert 75e74f9d 2002-12-04T20:52:56 Add copyright notice. (libfetish_a_SOURCES): Add unlocked-io.h. (BUILT_SOURCES, all-local): Remove unlocked-io.h. (DISTCLEANFILES, io_functions): Remove macros. (EXTRA_DIST): Remove gen_uio. (unlocked-io.h): Remove rule.
Paul Eggert 7cb4af5f 2002-12-04T20:52:00 unlocked-io.h is now maintained by hand.
Paul Eggert 3f3d02ed 2002-12-04T20:51:07 New file, from GNU diffutils, but with proper copyright notice and attribution.
Jim Meyering 88880f53 2002-12-04T10:12:32 *** empty log message ***
Jim Meyering 36413c57 2002-12-04T10:12:13 Reflect the fact that stat.c and lstat.c are no longer generated. (BUILT_SOURCES): Remove stat.c and lstat.c. (DISTCLEANFILES): Likewise. (EXTRA_DIST): Likewise. (all_local): Don't depend on stat.c or lstat.c. (stat.c, lstat.c): Remove rules. (EXTRA_DIST): Remove xstat.in.
Jim Meyering b33c6186 2002-12-04T10:11:39 New file. Simply #define LSTAT and include stat.c.
Jim Meyering 6cb5549d 2002-12-04T10:11:15 * stat.c: New file. Contents mostly from xstat.in. Rework so that it may serve to define rpl_lstat, too.
Jim Meyering 6bf40f41 2002-12-04T10:08:47 * xstat.in: Remove file. Contents moved into stat.c.
Jim Meyering 1e0b42fb 2002-12-04T08:03:39 *** empty log message ***
Jim Meyering f01f4ae4 2002-12-04T08:03:16 Simply #define SAFE_WRITE and include safe-read.c.
Jim Meyering b5655547 2002-12-04T08:02:56 Rework so that it may serve to define safe_write, too.
Jim Meyering f877e390 2002-12-03T10:59:31 (safe_write): Change comment to mention SAFE_WRITE_ERROR.
Jim Meyering 7f70cfc6 2002-12-03T10:59:09 (safe_read): Change comment to mention SAFE_READ_ERROR.
Jim Meyering b21c351e 2002-12-03T10:57:11 .
Jim Meyering 32c761fe 2002-12-03T10:55:51 safe-read.c, safe-write.c: Change variable names and comments, but not semantics, to minimize the differences between these two files.
Jim Meyering ee9c5749 2002-12-03T09:48:30 * safe-read.c (IS_EINTR): Define. (safe_read): Use IS_EINTR in place of in-function cpp directives.
Jim Meyering 3336e16f 2002-12-03T09:48:14 (IS_EINTR): Define. (safe_read): Use IS_EINTR in place of in-function cpp directives.
Bruno Haible 2cb98f7c 2002-12-02T18:53:53 Synchronize safe-write with safe-read.
Jim Meyering 9a756aa3 2002-12-02T17:32:05 * safe-read.c (EINTR): Define. (safe_read): Rewrite to iterate IFF the read fails with EINTR.
Jim Meyering 9b59e362 2002-12-02T17:31:49 (EINTR): Define. (safe_read): Rewrite to iterate IFF the read fails with EINTR.
Jim Meyering 7ec179ff 2002-12-02T06:40:15 * safe-read.h (SAFE_READ_ERROR): Define.
Jim Meyering c1db407f 2002-12-02T06:40:00 (SAFE_READ_ERROR): Define.
Jim Meyering eb076222 2002-12-01T21:40:23 * safe-read.c: (safe_read): Also exit the loop when read returns zero. (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
Jim Meyering e325242e 2002-12-01T21:40:08 (safe_read): Also exit the loop when read returns zero. (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
Paul Eggert 4820c85b 2002-11-28T00:37:08 * hash.c (hash_lookup, hash_get_first, hash_get_next, hash_find_entry, hash_rehash): Replace `if (limit <= value) abort ();' with `if (! (value < limit)) abort ();', for readability.
Paul Eggert 4a105521 2002-11-28T00:34:24 (hash_lookup, hash_get_first, hash_get_next, hash_find_entry, hash_rehash): Replace `if (limit <= value) abort ();' with `if (! (value < limit)) abort ();', for readability.
Karl Berry 8ee0415d 2002-11-26T22:58:57 copy strdup.c from libc again.
Jim Meyering 41d8937a 2002-11-25T15:31:05 Really sync with libc, not with my locally-modified copy. Thanks, Karl!
Karl Berry 2bf674b2 2002-11-25T14:23:57 .
Karl Berry a253e9ad 2002-11-25T14:23:38 copy from libc, meaning we now #include <strtol.c> instead of "strtol.c".
Karl Berry 21ea99a0 2002-11-25T14:13:38 .
Jim Meyering a9fc78e0 2002-11-25T13:22:47 *** empty log message ***
Jim Meyering 1bc47090 2002-11-25T13:22:20 Sync from libc, now that it has the latest fix.
Karl Berry b7476078 2002-11-25T00:17:33 change license to gpl.
Jim Meyering a2eedc75 2002-11-24T10:40:09 .
Jim Meyering fd8e762e 2002-11-24T10:39:54 Merge in changes from libc.
Jim Meyering 4edf1ba2 2002-11-24T10:06:26 .
Jim Meyering 9d7d2eaf 2002-11-24T10:06:16 Avoid a link-time failure on some Linux systems. (STATIC): Define to be empty (_LIBC) or `static' (otherwise). (__mon_yday): Declare with the STATIC attribute. (__mktime_internal): Likewise.
Jim Meyering c250d830 2002-11-23T16:17:51 .