gnulib.git
26 years ago. TEXTUTILS-1_22a
Jim Meyering [Sun, 21 Sep 1997 13:24:12 +0000 (13:24 +0000)]
.

26 years ago(IN_CTYPE_DOMAIN): Define.
Jim Meyering [Sun, 21 Sep 1997 13:22:20 +0000 (13:22 +0000)]
(IN_CTYPE_DOMAIN): Define.
(ISSPACE): Guard with IN_CTYPE_DOMAIN.
(ISDIGIT): Guard with IN_CTYPE_DOMAIN.
(TOUPPER): Guard with IN_CTYPE_DOMAIN.
From Bruno Haible.

26 years ago(IN_CTYPE_DOMAIN): Define.
Jim Meyering [Sun, 21 Sep 1997 13:19:19 +0000 (13:19 +0000)]
(IN_CTYPE_DOMAIN): Define.
(ISSPACE): Define.
(ISDIGIT): Define.
(TOLOWER): Define.

26 years ago(IN_CTYPE_DOMAIN): Define.
Jim Meyering [Sun, 21 Sep 1997 13:15:48 +0000 (13:15 +0000)]
(IN_CTYPE_DOMAIN): Define.
(ISSPACE): Define.
(readname): Use ISSPACE, not isspace.

26 years ago(libfu_a_SOURCES): Use hash.c, not oa-hash.c.
Jim Meyering [Sun, 21 Sep 1997 04:54:52 +0000 (04:54 +0000)]
(libfu_a_SOURCES): Use hash.c, not oa-hash.c.
(noinst_HEADERS): Use hash.h, not oa-hash.h.

26 years ago(hash_free_0): Remove prototype.
Jim Meyering [Sun, 21 Sep 1997 04:41:19 +0000 (04:41 +0000)]
(hash_free_0): Remove prototype.
Move function to precede first use.

26 years ago(ZALLOC): Take Ht parameter instead of relying on one being in scope.
Jim Meyering [Sat, 20 Sep 1997 19:38:29 +0000 (19:38 +0000)]
(ZALLOC): Take Ht parameter instead of relying on one being in scope.

26 years ago*** empty log message ***
Jim Meyering [Sat, 20 Sep 1997 19:33:46 +0000 (19:33 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 20 Sep 1997 19:33:05 +0000 (19:33 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 20 Sep 1997 18:32:40 +0000 (18:32 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Wed, 17 Sep 1997 17:06:52 +0000 (17:06 +0000)]
.

26 years agouse malloc, not xmalloc in obstack #define
Jim Meyering [Wed, 17 Sep 1997 17:06:26 +0000 (17:06 +0000)]
use malloc, not xmalloc in obstack #define
use Uli's prime code, not near-prime
(hash_initialize): don't require prime table size as input
(hash_insert_if_absent): When rehashing, choose new size that is 2N+1, not 2N.

26 years agouse HASH_H, not _hash_h_ in #ifndef
Jim Meyering [Wed, 17 Sep 1997 17:04:21 +0000 (17:04 +0000)]
use HASH_H, not _hash_h_ in #ifndef
fix comment: hash_rehash does *not* use hash_key_freer
(HASH_INSERT_NEW_ITEM): Take new arg: Failp.

26 years agofrom ti/hdlsv
Jim Meyering [Wed, 17 Sep 1997 16:03:32 +0000 (16:03 +0000)]
from ti/hdlsv

26 years agoupdate from FSF .../copies
Jim Meyering [Wed, 17 Sep 1997 12:46:45 +0000 (12:46 +0000)]
update from FSF .../copies

26 years ago.
Jim Meyering [Mon, 15 Sep 1997 14:03:35 +0000 (14:03 +0000)]
.

26 years agodeclare malloc
Jim Meyering [Mon, 15 Sep 1997 13:26:09 +0000 (13:26 +0000)]
declare malloc

26 years ago.
Jim Meyering [Mon, 15 Sep 1997 04:11:30 +0000 (04:11 +0000)]
.

26 years ago.
Jim Meyering [Mon, 15 Sep 1997 03:59:24 +0000 (03:59 +0000)]
.

26 years ago.
Jim Meyering [Mon, 15 Sep 1997 03:20:53 +0000 (03:20 +0000)]
.

26 years ago(EXTRA_DIST): Add realloc.m4.
Jim Meyering [Mon, 15 Sep 1997 03:20:45 +0000 (03:20 +0000)]
(EXTRA_DIST): Add realloc.m4.

26 years ago(EXTRA_DIST): Add realloc.c.
Jim Meyering [Mon, 15 Sep 1997 03:19:52 +0000 (03:19 +0000)]
(EXTRA_DIST): Add realloc.c.

26 years ago(PARAMS): Define.
Jim Meyering [Sun, 14 Sep 1997 03:36:38 +0000 (03:36 +0000)]
(PARAMS): Define.
Guard prototype with PARAMS.

26 years ago[HAVE_CONFIG_H]: Include config.h.
Jim Meyering [Sun, 14 Sep 1997 03:32:09 +0000 (03:32 +0000)]
[HAVE_CONFIG_H]: Include config.h.

26 years agoUse `1' not `+1' -- some compilers (sunos' cc) can't parse it.
Jim Meyering [Sun, 14 Sep 1997 03:22:39 +0000 (03:22 +0000)]
Use `1' not `+1' -- some compilers (sunos' cc) can't parse it.

26 years ago[HAVE_CONFIG_H]: Include config.h.
Jim Meyering [Sun, 14 Sep 1997 03:20:38 +0000 (03:20 +0000)]
[HAVE_CONFIG_H]: Include config.h.

26 years agoInclude config.h.
Jim Meyering [Sun, 14 Sep 1997 03:12:35 +0000 (03:12 +0000)]
Include config.h.

26 years ago.
Jim Meyering [Tue, 2 Sep 1997 05:00:43 +0000 (05:00 +0000)]
.

26 years ago(EXTRA_DIST): Remove mvdir.c and rmdir.c.
Jim Meyering [Tue, 2 Sep 1997 04:58:17 +0000 (04:58 +0000)]
(EXTRA_DIST): Remove mvdir.c and rmdir.c.
Add lstat.c and stat.c.

26 years ago.
Jim Meyering [Tue, 2 Sep 1997 04:57:10 +0000 (04:57 +0000)]
.

26 years agoupdate from libc
Jim Meyering [Tue, 2 Sep 1997 02:15:10 +0000 (02:15 +0000)]
update from libc

26 years ago(EXTRA_DIST): Add stat.m4.
Jim Meyering [Tue, 2 Sep 1997 02:08:52 +0000 (02:08 +0000)]
(EXTRA_DIST): Add stat.m4.

26 years ago.
Jim Meyering [Tue, 2 Sep 1997 02:07:40 +0000 (02:07 +0000)]
.

26 years ago.
Jim Meyering [Tue, 2 Sep 1997 01:46:30 +0000 (01:46 +0000)]
.

26 years ago.
Jim Meyering [Mon, 1 Sep 1997 20:25:23 +0000 (20:25 +0000)]
.

26 years ago.
Jim Meyering [Mon, 1 Sep 1997 16:30:41 +0000 (16:30 +0000)]
.

26 years ago.
Jim Meyering [Mon, 1 Sep 1997 02:15:13 +0000 (02:15 +0000)]
.

26 years ago.
Jim Meyering [Sun, 31 Aug 1997 21:22:13 +0000 (21:22 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 31 Aug 1997 21:02:35 +0000 (21:02 +0000)]
*** empty log message ***

26 years ago(EXTRA_DIST): Add lstat.m4.
Jim Meyering [Sun, 31 Aug 1997 21:00:36 +0000 (21:00 +0000)]
(EXTRA_DIST): Add lstat.m4.

26 years ago.
Jim Meyering [Sun, 31 Aug 1997 21:00:05 +0000 (21:00 +0000)]
.

26 years ago.
Jim Meyering [Sun, 31 Aug 1997 20:52:51 +0000 (20:52 +0000)]
.

26 years agoadd description
Jim Meyering [Sun, 31 Aug 1997 20:08:26 +0000 (20:08 +0000)]
add description

26 years agoIfdef out dcl of now-unused nogroup_alist.
Jim Meyering [Sun, 31 Aug 1997 18:13:56 +0000 (18:13 +0000)]
Ifdef out dcl of now-unused nogroup_alist.

26 years ago.
Jim Meyering [Sun, 31 Aug 1997 15:28:07 +0000 (15:28 +0000)]
.

26 years ago.
Jim Meyering [Sun, 31 Aug 1997 15:21:13 +0000 (15:21 +0000)]
.

26 years ago(libfu_a_SOURCES): Add oa-hash.c.
Jim Meyering [Sun, 31 Aug 1997 15:20:57 +0000 (15:20 +0000)]
(libfu_a_SOURCES): Add oa-hash.c.
(noinst_HEADERS): Add oa-hash.h.

26 years ago.
Jim Meyering [Sun, 31 Aug 1997 13:09:27 +0000 (13:09 +0000)]
.

26 years ago(EXTRA_DIST): Add d-ino.m4 and d-type.m4.
Jim Meyering [Sun, 31 Aug 1997 13:09:01 +0000 (13:09 +0000)]
(EXTRA_DIST): Add d-ino.m4 and d-type.m4.

26 years agoupdate from glibc
Jim Meyering [Fri, 22 Aug 1997 14:55:01 +0000 (14:55 +0000)]
update from glibc

26 years ago. SH-UTILS-1_16d
Jim Meyering [Mon, 18 Aug 1997 20:03:36 +0000 (20:03 +0000)]
.

26 years ago.
Jim Meyering [Sat, 16 Aug 1997 12:25:56 +0000 (12:25 +0000)]
.

26 years agoWhitespace change. EMACS_20_2
Richard Stallman [Wed, 6 Aug 1997 06:31:13 +0000 (06:31 +0000)]
Whitespace change.

26 years ago(mode_create_from_ref): Remove dcl of unused local, I.
Jim Meyering [Sun, 3 Aug 1997 20:28:45 +0000 (20:28 +0000)]
(mode_create_from_ref): Remove dcl of unused local, I.

26 years ago.
Jim Meyering [Sun, 3 Aug 1997 17:53:25 +0000 (17:53 +0000)]
.

26 years ago(mode_create_from_ref): Don't use umask.
Jim Meyering [Tue, 29 Jul 1997 03:03:49 +0000 (03:03 +0000)]
(mode_create_from_ref): Don't use umask.
Don't use MODE_X_IF_ANY_X.

26 years agoreplace with new version from libc
Jim Meyering [Sat, 26 Jul 1997 02:55:14 +0000 (02:55 +0000)]
replace with new version from libc

26 years agocorrect cpp-indentation
Jim Meyering [Tue, 15 Jul 1997 14:05:07 +0000 (14:05 +0000)]
correct cpp-indentation

26 years agoMerge with FSF.
Jim Meyering [Tue, 15 Jul 1997 14:03:22 +0000 (14:03 +0000)]
Merge with FSF.

26 years ago.
Jim Meyering [Mon, 14 Jul 1997 15:42:10 +0000 (15:42 +0000)]
.

26 years agodon't include error.h.
Jim Meyering [Sun, 13 Jul 1997 13:31:30 +0000 (13:31 +0000)]
don't include error.h.

26 years ago(PARAMS): Update prototype. SH-UTILS-1_16c
Jim Meyering [Sun, 13 Jul 1997 03:55:38 +0000 (03:55 +0000)]
(PARAMS): Update prototype.
(utmp_contents): Remove dcl.

26 years ago(read_utmp): Take new params: count and buffer.
Jim Meyering [Sun, 13 Jul 1997 03:54:00 +0000 (03:54 +0000)]
(read_utmp): Take new params: count and buffer.
Return boolean indicating failure.
Now, caller must give diagnostic upon.

26 years ago.
Jim Meyering [Sun, 13 Jul 1997 02:54:48 +0000 (02:54 +0000)]
.

26 years ago.
Jim Meyering [Wed, 9 Jul 1997 18:03:56 +0000 (18:03 +0000)]
.

26 years ago(make_path): Chdir to `/' before starting if necessary.
Jim Meyering [Wed, 9 Jul 1997 18:02:07 +0000 (18:02 +0000)]
(make_path): Chdir to `/' before starting if necessary.
Call save_cwd before while loop rather than from first iteration inside it.

26 years ago.
Jim Meyering [Wed, 9 Jul 1997 17:57:48 +0000 (17:57 +0000)]
.

26 years ago(strverscmp): Add `parenentheses around arithmetic in operand of |'
Jim Meyering [Wed, 9 Jul 1997 15:55:41 +0000 (15:55 +0000)]
(strverscmp): Add `parenentheses around arithmetic in operand of |'
as suggested by gcc -Wall.

26 years agoindent
Jim Meyering [Wed, 9 Jul 1997 15:42:54 +0000 (15:42 +0000)]
indent

26 years agofix typo in comment
Jim Meyering [Wed, 9 Jul 1997 15:33:27 +0000 (15:33 +0000)]
fix typo in comment

26 years ago.
Jim Meyering [Wed, 9 Jul 1997 15:31:29 +0000 (15:31 +0000)]
.

26 years agoAdd comments.
Jim Meyering [Wed, 9 Jul 1997 14:00:27 +0000 (14:00 +0000)]
Add comments.

26 years ago(mode_create_from_ref): New function.
Jim Meyering [Sun, 6 Jul 1997 21:28:04 +0000 (21:28 +0000)]
(mode_create_from_ref): New function.

26 years ago(mode_create_from_ref): Add prototype.
Jim Meyering [Sun, 6 Jul 1997 21:27:44 +0000 (21:27 +0000)]
(mode_create_from_ref): Add prototype.
(MODE_MASK_ALL): New define.
(MODE_BAD_REFERENCE): New define.

26 years ago(getuidbyname): Declare parameter to be const.
Jim Meyering [Sun, 6 Jul 1997 21:27:07 +0000 (21:27 +0000)]
(getuidbyname): Declare parameter to be const.
(getgidbyname): Declare parameter to be const.

26 years ago(noinst_HEADERS): Add strverscmp.h.
Jim Meyering [Sun, 6 Jul 1997 21:25:57 +0000 (21:25 +0000)]
(noinst_HEADERS): Add strverscmp.h.

26 years ago(libfu_a_SOURCES): Add strverscmp.c.
Jim Meyering [Sun, 6 Jul 1997 14:47:50 +0000 (14:47 +0000)]
(libfu_a_SOURCES): Add strverscmp.c.
(noinst_HEADERS): Add strverscmp.h.

26 years ago(getuser): Return NULL (rather than stringified uid) upon lookup failure.
Jim Meyering [Sun, 6 Jul 1997 13:50:29 +0000 (13:50 +0000)]
(getuser): Return NULL (rather than stringified uid) upon lookup failure.
(getgroup): Likewise.
(getuidbyname) [NOT_USED]: #ifdef-out unused function.
(getgidbyname) [NOT_USED]: #ifdef-out unused function.

26 years agoChange some #ifdef to #if.
Jim Meyering [Sun, 6 Jul 1997 11:57:38 +0000 (11:57 +0000)]
Change some #ifdef to #if.
Indent a cpp directive.

26 years ago.
Jim Meyering [Fri, 4 Jul 1997 23:05:22 +0000 (23:05 +0000)]
.

26 years ago(RE_TRANSLATE): Define default assuming simple integers.
Richard Stallman [Fri, 4 Jul 1997 20:46:51 +0000 (20:46 +0000)]
(RE_TRANSLATE): Define default assuming simple integers.

26 years ago(TRANSLATE, re_search_2, re_match_2_internal,bcmp_translate):
Richard Stallman [Fri, 4 Jul 1997 20:46:22 +0000 (20:46 +0000)]
(TRANSLATE, re_search_2, re_match_2_internal,bcmp_translate):
Use RE_TRANSLATE instead of accessing translate array directly.

26 years ago.
Jim Meyering [Fri, 4 Jul 1997 15:01:06 +0000 (15:01 +0000)]
.

26 years ago(re_search_2): Cast result of POS_ADDR_VSTRING.
Richard Stallman [Wed, 2 Jul 1997 06:25:00 +0000 (06:25 +0000)]
(re_search_2): Cast result of POS_ADDR_VSTRING.

26 years ago(make_path): Reorder stat-then-mkdir-if-missing
Jim Meyering [Tue, 1 Jul 1997 11:50:39 +0000 (11:50 +0000)]
(make_path): Reorder stat-then-mkdir-if-missing
calls so that mkdir is called first.  Before make_path would first
`stat' a directory, then call mkdir if it didn't exist.  But if
some other process created the directory between the stat & mkdir,
the mkdir would fail with EEXIST.  Diagnosis and suggestion from
Greg McGary.

26 years ago[putenv]: Undefine before including system headers.
Jim Meyering [Tue, 1 Jul 1997 11:30:08 +0000 (11:30 +0000)]
[putenv]: Undefine before including system headers.
Otherwise, the declaration of *rpl_putenv* conflicts with the system
prototype on at least Irix5.3.  From Marcus Daniels.

26 years ago(base_name_strip_trailing_slashes): Remove. SH-UTILS-1_16b
Jim Meyering [Sun, 29 Jun 1997 22:26:18 +0000 (22:26 +0000)]
(base_name_strip_trailing_slashes): Remove.

26 years ago(base_name_strip_trailing_slashes): new function.
Jim Meyering [Sun, 29 Jun 1997 22:25:54 +0000 (22:25 +0000)]
(base_name_strip_trailing_slashes): new function.

26 years agoRemove _sys_putenv cruft and just rename the function itself.
Jim Meyering [Sun, 29 Jun 1997 21:05:05 +0000 (21:05 +0000)]
Remove _sys_putenv cruft and just rename the function itself.

26 years agofix it right
Jim Meyering [Sun, 29 Jun 1997 20:18:58 +0000 (20:18 +0000)]
fix it right

26 years agoDefine-away putenv only if it's not already defined.
Jim Meyering [Sun, 29 Jun 1997 20:12:52 +0000 (20:12 +0000)]
Define-away putenv only if it's not already defined.

26 years ago.
Jim Meyering [Sun, 29 Jun 1997 13:52:16 +0000 (13:52 +0000)]
.

26 years ago.
Jim Meyering [Sun, 29 Jun 1997 03:27:24 +0000 (03:27 +0000)]
.

26 years ago. SH-UTILS-1_16a
Jim Meyering [Wed, 25 Jun 1997 16:08:03 +0000 (16:08 +0000)]
.

26 years ago.
Jim Meyering [Wed, 25 Jun 1997 15:38:35 +0000 (15:38 +0000)]
.

26 years ago.
Jim Meyering [Mon, 16 Jun 1997 18:02:08 +0000 (18:02 +0000)]
.

26 years agocomment
Jim Meyering [Mon, 16 Jun 1997 17:50:23 +0000 (17:50 +0000)]
comment

26 years ago.
Jim Meyering [Mon, 16 Jun 1997 17:42:33 +0000 (17:42 +0000)]
.

26 years ago.
Jim Meyering [Mon, 16 Jun 1997 16:57:55 +0000 (16:57 +0000)]
.

26 years ago(EXTRA_DIST): Add putenv.m4.
Jim Meyering [Mon, 16 Jun 1997 16:57:02 +0000 (16:57 +0000)]
(EXTRA_DIST): Add putenv.m4.