|
590547f8
|
2003-01-31T15:47:03
|
|
Make this module usable in shared libraries.
|
|
87b04f99
|
2003-01-30T13:48:21
|
|
New modules vasnprintf and vasprintf.
|
|
1080617a
|
2003-01-29T16:47:24
|
|
New module stpncpy.
|
|
a57f5d74
|
2003-01-28T20:55:20
|
|
Optimization and comments.
|
|
f02c0a8f
|
2003-01-28T13:47:46
|
|
New module c-ctype.
|
|
dd2c1e84
|
2003-01-27T13:37:35
|
|
New module xsetenv.
|
|
3ad2305c
|
2003-01-24T15:25:16
|
|
Comments.
|
|
fdaa9692
|
2003-01-23T18:29:34
|
|
New module minmax.
|
|
f22c999c
|
2003-01-22T12:37:16
|
|
New module 'exit'.
|
|
6a638f79
|
2003-01-15T12:45:54
|
|
Use ANSI C function declarations.
|
|
450606da
|
2003-01-14T14:46:04
|
|
.
|
|
e49a8409
|
2003-01-14T14:38:32
|
|
*** empty log message ***
|
|
e5894c7e
|
2003-01-14T13:51:17
|
|
Optimization: Avoid unnecessary stat() calls.
|
|
40ea7eb6
|
2003-01-14T12:39:42
|
|
Avoid bug with non-ASCII characters.
|
|
ab352dae
|
2003-01-14T12:38:51
|
|
Add comment about low quality of this function.
|
|
ffdc9a19
|
2003-01-13T21:58:31
|
|
Change copyright to LGPL, so it can be used by libasprintf.
|
|
096169d9
|
2003-01-13T07:10:59
|
|
Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
to avoid collisions with libcurses and libreadline.
|
|
971f57ee
|
2003-01-13T07:09:45
|
|
(readlinebuffer): Renamed from readline.
|
|
7987825e
|
2003-01-13T07:09:16
|
|
(readlinebuffer): Renamed from readline.
All uses changed.
|
|
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.
|
|
7376e904
|
2003-01-13T07:06:56
|
|
(libfetish_a_SOURCES): Remove getstr.c, getstr.h.
|
|
9efd8249
|
2003-01-12T08:51:30
|
|
*** empty log message ***
|
|
dbabcd9b
|
2003-01-12T08:51:10
|
|
Don't test HAVE_ERRNO_H. It's not necessary.
|
|
48dbf2c1
|
2003-01-10T21:06:49
|
|
Make it possibly to simply write: #include <alloca.h>.
|
|
458e682c
|
2003-01-09T13:35:14
|
|
Make it possible to #include <stdbool.h> without any #ifdefs.
|
|
9516d965
|
2003-01-08T18:42:38
|
|
Include specification first.
|
|
609f9cb7
|
2003-01-08T15:41:44
|
|
*** empty log message ***
|
|
89f93c2e
|
2003-01-08T15:41:33
|
|
Undefine and define-away `const' after inclusion
of errno.h, not before. Suggestion from Bruno Haible.
|
|
8ba97824
|
2003-01-07T14:11:03
|
|
*** empty log message ***
|
|
ba86e57a
|
2003-01-07T14:10:53
|
|
Rework so that it may serve to define full_read, too.
|
|
520b0796
|
2003-01-07T14:10:40
|
|
Simply #define FULL_READ and include full-write.c.
|
|
f41e1656
|
2003-01-07T13:09:32
|
|
More consistent inttypes.h / stdint.h handling.
|
|
90a4f378
|
2003-01-06T13:20:22
|
|
*** empty log message ***
|
|
ff003f84
|
2003-01-06T13:20:08
|
|
Update year in translatable copyright string.
|
|
511a4370
|
2003-01-06T12:38:36
|
|
More consistent inttypes.h / stdint.h handling.
|
|
7b1bd5ca
|
2002-12-31T22:13:07
|
|
* memcoll.c (memcoll): Fall back on a simple algorithm using
memcmp if strcoll doesn't work.
|
|
45d311ec
|
2002-12-31T22:11:34
|
|
(memcoll): Fall back on a simple algorithm using
memcmp if strcoll doesn't work.
|
|
000ad744
|
2002-12-31T13:20:21
|
|
New file localcharset.h.
|
|
d2dc6c74
|
2002-12-31T13:02:48
|
|
Don't call ftruncate() when it's not needed.
|
|
1d94e291
|
2002-12-31T13:01:56
|
|
Don't use strcoll if it is broken.
|
|
6fd120ff
|
2002-12-31T12:59:53
|
|
Avoid function names used in standard libraries.
|
|
0183445c
|
2002-12-31T12:57:56
|
|
Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
|
|
b3228efa
|
2002-12-31T12:56:28
|
|
Make getline.h and unicodeio.h self-contained.
|
|
b6d0ee89
|
2002-12-20T22:05:45
|
|
Remove stime.c (was supposed to be done 2002-02-27).
|
|
4707e73c
|
2002-12-17T11:49:10
|
|
Misc changes.
|
|
f098d82f
|
2002-12-17T11:48:43
|
|
Update for changed signature of safe_read.
|
|
d32523a5
|
2002-12-17T11:48:24
|
|
Use full_read instead of safe_read.
|
|
d066717a
|
2002-12-17T11:48:11
|
|
Remove unused declaration.
|
|
bc3ce846
|
2002-12-16T15:47:55
|
|
Rewritten to cope with systems that have setenv() but not unsetenv().
|
|
cdb16e44
|
2002-12-11T20:34:41
|
|
Add setenv, unsetenv.
|
|
336175d0
|
2002-12-11T20:31:00
|
|
setenv and unsetenv.
|
|
58929106
|
2002-12-10T19:41:43
|
|
Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.
|
|
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.
|
|
1cb322cb
|
2002-12-10T19:40:58
|
|
(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS):
Choose values that are less likely to collide with system fnmatch
options.
|
|
fc66004e
|
2002-12-06T08:08:23
|
|
*** empty log message ***
|
|
88cade9d
|
2002-12-06T08:08:13
|
|
Be consistent: change `#ifndef _LIBC' to `#if !_LIBC'.
|
|
98b49ee9
|
2002-12-06T08:00:59
|
|
*** empty log message ***
|
|
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.
|
|
4f918c7e
|
2002-12-05T20:46:37
|
|
Merge some alloca.c changes from Emacs.
|
|
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.
|
|
5f2f444d
|
2002-12-04T20:53:19
|
|
Do not generate unlocked-io.h automatically, since it's easier to
maintain it by hand.
|
|
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.
|
|
7cb4af5f
|
2002-12-04T20:52:00
|
|
unlocked-io.h is now maintained by hand.
|
|
3f3d02ed
|
2002-12-04T20:51:07
|
|
New file, from GNU diffutils, but with proper copyright notice and
attribution.
|
|
88880f53
|
2002-12-04T10:12:32
|
|
*** empty log message ***
|
|
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.
|
|
b33c6186
|
2002-12-04T10:11:39
|
|
New file. Simply #define LSTAT and include stat.c.
|
|
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.
|
|
6bf40f41
|
2002-12-04T10:08:47
|
|
* xstat.in: Remove file. Contents moved into stat.c.
|
|
1e0b42fb
|
2002-12-04T08:03:39
|
|
*** empty log message ***
|
|
f01f4ae4
|
2002-12-04T08:03:16
|
|
Simply #define SAFE_WRITE and include safe-read.c.
|
|
b5655547
|
2002-12-04T08:02:56
|
|
Rework so that it may serve to define safe_write, too.
|
|
f877e390
|
2002-12-03T10:59:31
|
|
(safe_write): Change comment to mention SAFE_WRITE_ERROR.
|
|
7f70cfc6
|
2002-12-03T10:59:09
|
|
(safe_read): Change comment to mention SAFE_READ_ERROR.
|
|
b21c351e
|
2002-12-03T10:57:11
|
|
.
|
|
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.
|
|
ee9c5749
|
2002-12-03T09:48:30
|
|
* safe-read.c (IS_EINTR): Define.
(safe_read): Use IS_EINTR in place of in-function cpp directives.
|
|
3336e16f
|
2002-12-03T09:48:14
|
|
(IS_EINTR): Define.
(safe_read): Use IS_EINTR in place of in-function cpp directives.
|
|
2cb98f7c
|
2002-12-02T18:53:53
|
|
Synchronize safe-write with safe-read.
|
|
9a756aa3
|
2002-12-02T17:32:05
|
|
* safe-read.c (EINTR): Define.
(safe_read): Rewrite to iterate IFF the read fails with EINTR.
|
|
9b59e362
|
2002-12-02T17:31:49
|
|
(EINTR): Define.
(safe_read): Rewrite to iterate IFF the read fails with EINTR.
|
|
7ec179ff
|
2002-12-02T06:40:15
|
|
* safe-read.h (SAFE_READ_ERROR): Define.
|
|
c1db407f
|
2002-12-02T06:40:00
|
|
(SAFE_READ_ERROR): Define.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
8ee0415d
|
2002-11-26T22:58:57
|
|
copy strdup.c from libc again.
|
|
41d8937a
|
2002-11-25T15:31:05
|
|
Really sync with libc, not with my locally-modified copy.
Thanks, Karl!
|
|
2bf674b2
|
2002-11-25T14:23:57
|
|
.
|
|
a253e9ad
|
2002-11-25T14:23:38
|
|
copy from libc, meaning we now #include <strtol.c>
instead of "strtol.c".
|
|
21ea99a0
|
2002-11-25T14:13:38
|
|
.
|
|
a9fc78e0
|
2002-11-25T13:22:47
|
|
*** empty log message ***
|
|
1bc47090
|
2002-11-25T13:22:20
|
|
Sync from libc, now that it has the latest fix.
|
|
b7476078
|
2002-11-25T00:17:33
|
|
change license to gpl.
|
|
a2eedc75
|
2002-11-24T10:40:09
|
|
.
|
|
fd8e762e
|
2002-11-24T10:39:54
|
|
Merge in changes from libc.
|
|
4edf1ba2
|
2002-11-24T10:06:26
|
|
.
|
|
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.
|
|
c250d830
|
2002-11-23T16:17:51
|
|
.
|