gnulib.git
25 years ago(read_filesystem_list) [MOUNTED_GETMNTENT2]: FILEUTILS-3_16q
Jim Meyering [Tue, 30 Jun 1998 03:56:57 +0000 (03:56 +0000)]
(read_filesystem_list) [MOUNTED_GETMNTENT2]:
Always close stream and file descriptor before returning.

25 years ago(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
Jim Meyering [Tue, 30 Jun 1998 02:15:43 +0000 (02:15 +0000)]
(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
to avoid race conditions (e.g. with the automounter on Solaris 2.6).

Include <errno.h>, <fcntl.h>, <unistd.h>.

25 years agoprotoize
Jim Meyering [Mon, 29 Jun 1998 20:29:28 +0000 (20:29 +0000)]
protoize

25 years ago.
Jim Meyering [Mon, 29 Jun 1998 17:03:13 +0000 (17:03 +0000)]
.

25 years ago(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.
Jim Meyering [Mon, 29 Jun 1998 17:01:48 +0000 (17:01 +0000)]
(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.

25 years agoInclude sys/param.h. NetBSD 1.3.1 requires this
Jim Meyering [Mon, 29 Jun 1998 16:57:09 +0000 (16:57 +0000)]
Include sys/param.h.  NetBSD 1.3.1 requires this
for the definition of NGROUPS (used in a system header included
by sys/mount.h).

25 years ago * lib/xstrtol.c (bkm_scale): Don't assume that you can convert
Jim Meyering [Mon, 29 Jun 1998 15:24:43 +0000 (15:24 +0000)]
* lib/xstrtol.c (bkm_scale): Don't assume that you can convert
unsigned long to double without losing information.
(bkm_scale_by_power): New function.

* lib/xstrtol.c (__xstrtol), src/dd.c (parse_integer):
Add support for SI-like suffixes like "GB" and "TD".
* src/dd.c (usage): Describe it.

25 years ago(__ZLONG_MAX): Remove.
Jim Meyering [Mon, 29 Jun 1998 15:24:15 +0000 (15:24 +0000)]
(__ZLONG_MAX): Remove.

25 years ago(human_readable): Coalesce last two args into one, for convenience.
Jim Meyering [Mon, 29 Jun 1998 15:23:45 +0000 (15:23 +0000)]
(human_readable): Coalesce last two args into one, for convenience.

25 years ago * lib/human.c, lib/human.h (human_readable): Coalesce last two args
Jim Meyering [Mon, 29 Jun 1998 15:23:04 +0000 (15:23 +0000)]
* lib/human.c, lib/human.h (human_readable): Coalesce last two args
into one, for convenience.  All callers changed.
(human_block_size): New function.
* lib/human.c: Include <config.h> only if HAVE_CONFIG_H.
Include <stdlib.h> if HAVE_STDLIB_H;
declare getenv unless HAVE_DECL_GETENV.
(_): New macro.
Include <argmatch.h>, <error.h>, <xstrtoul.h>.
(DEFAULT_BLOCK_SIZE): New macro.
(block_size_args, block_size_types): New constants.
(humblock): New function.

25 years ago.
Jim Meyering [Mon, 29 Jun 1998 02:15:29 +0000 (02:15 +0000)]
.

25 years ago(fsp_to_string): Clean out some crufty #ifdefs
Jim Meyering [Mon, 29 Jun 1998 01:10:24 +0000 (01:10 +0000)]
(fsp_to_string): Clean out some crufty #ifdefs
now that we're using the jm_FSTYPENAME autoconf macro.

25 years ago.
Jim Meyering [Sun, 28 Jun 1998 23:51:58 +0000 (23:51 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 28 Jun 1998 23:51:47 +0000 (23:51 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 28 Jun 1998 23:12:10 +0000 (23:12 +0000)]
.

25 years agoRequire the new macro: jm_FUNC_GLIBC_UNLOCKED_IO.
Jim Meyering [Sun, 28 Jun 1998 21:41:08 +0000 (21:41 +0000)]
Require the new macro: jm_FUNC_GLIBC_UNLOCKED_IO.

25 years ago.
Jim Meyering [Sun, 28 Jun 1998 21:40:12 +0000 (21:40 +0000)]
.

25 years ago(PTR_TO_OFFSET): Alternate definition if not `emacs'.
Richard Stallman [Tue, 9 Jun 1998 20:12:44 +0000 (20:12 +0000)]
(PTR_TO_OFFSET): Alternate definition if not `emacs'.

25 years ago(POS_AS_IN_BUFFER): Add 1 only if operating on a buffer.
Richard Stallman [Sat, 6 Jun 1998 21:59:21 +0000 (21:59 +0000)]
(POS_AS_IN_BUFFER): Add 1 only if operating on a buffer.
(re_match_2, re_search_2): Adjust startpos or pos by 1
only if acting on a buffer.
nil for re_match_object means a buffer.
(re_match_2_internal <notwordbeg>): Assume POS1 is positive.

25 years ago(re_search_2): Don't use ++ inside RE_TRANSLATE.
Richard Stallman [Mon, 25 May 1998 20:14:54 +0000 (20:14 +0000)]
(re_search_2): Don't use ++ inside RE_TRANSLATE.
(re_match_2_internal): Likewise.

25 years ago. FILEUTILS-3_16p
Jim Meyering [Mon, 25 May 1998 03:41:02 +0000 (03:41 +0000)]
.

25 years ago.
Jim Meyering [Sun, 24 May 1998 14:20:58 +0000 (14:20 +0000)]
.

25 years agoFix braino: check S_ISLNK only if lstat succeeds.
Jim Meyering [Sun, 24 May 1998 14:00:03 +0000 (14:00 +0000)]
Fix braino: check S_ISLNK only if lstat succeeds.

25 years agofix typo: s/chat/char/
Jim Meyering [Sun, 24 May 1998 13:41:57 +0000 (13:41 +0000)]
fix typo: s/chat/char/

25 years ago.
Jim Meyering [Wed, 20 May 1998 01:09:12 +0000 (01:09 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Wed, 20 May 1998 01:08:28 +0000 (01:08 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Tue, 19 May 1998 16:22:58 +0000 (16:22 +0000)]
*** empty log message ***

25 years agoAdd jm_FUNC_LCHOWN.
Jim Meyering [Tue, 19 May 1998 16:05:23 +0000 (16:05 +0000)]
Add jm_FUNC_LCHOWN.

25 years ago*** empty log message ***
Jim Meyering [Tue, 19 May 1998 16:04:24 +0000 (16:04 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Tue, 19 May 1998 16:02:59 +0000 (16:02 +0000)]
.

25 years ago.
Jim Meyering [Tue, 19 May 1998 16:01:48 +0000 (16:01 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Tue, 19 May 1998 16:01:31 +0000 (16:01 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Tue, 19 May 1998 15:51:10 +0000 (15:51 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Tue, 19 May 1998 15:49:18 +0000 (15:49 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Tue, 19 May 1998 15:15:09 +0000 (15:15 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Tue, 19 May 1998 15:06:49 +0000 (15:06 +0000)]
.

25 years ago.
Jim Meyering [Sat, 16 May 1998 23:46:05 +0000 (23:46 +0000)]
.

25 years ago.
Jim Meyering [Sat, 16 May 1998 20:33:44 +0000 (20:33 +0000)]
.

25 years ago(read_utmp): Add variant for systems that have the utmpname function.
Jim Meyering [Sat, 16 May 1998 20:26:54 +0000 (20:26 +0000)]
(read_utmp): Add variant for systems that have the utmpname function.
Ansideclify.

25 years agoremove jm_FUNC_GNU_STRFTIME
Jim Meyering [Sat, 16 May 1998 04:44:48 +0000 (04:44 +0000)]
remove jm_FUNC_GNU_STRFTIME

25 years ago(is_prime): Ansideclify.
Jim Meyering [Sat, 16 May 1998 04:39:24 +0000 (04:39 +0000)]
(is_prime): Ansideclify.
(next_prime): Ansideclify.  Add an assertion.

25 years ago(EXTRA_DIST): Remove. Automake groks the `LIBOBJS='
Jim Meyering [Sat, 16 May 1998 04:37:45 +0000 (04:37 +0000)]
(EXTRA_DIST): Remove.  Automake groks the `LIBOBJS='
lines in the m4/*.m4 macros, so the hack of including some
custom-replaced C source file names here is no longer needed.

25 years ago.
Jim Meyering [Sat, 16 May 1998 04:30:42 +0000 (04:30 +0000)]
.

25 years ago.
Jim Meyering [Thu, 14 May 1998 16:03:15 +0000 (16:03 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Wed, 13 May 1998 03:51:10 +0000 (03:51 +0000)]
*** empty log message ***

25 years ago(EXTRA_DIST): Add isc-posix.m4.
Jim Meyering [Wed, 13 May 1998 03:50:35 +0000 (03:50 +0000)]
(EXTRA_DIST): Add isc-posix.m4.

25 years ago.
Jim Meyering [Wed, 13 May 1998 03:48:43 +0000 (03:48 +0000)]
.

26 years agoundefine before redefining
Jim Meyering [Mon, 11 May 1998 15:16:40 +0000 (15:16 +0000)]
undefine before redefining

26 years ago.
Jim Meyering [Mon, 11 May 1998 12:39:16 +0000 (12:39 +0000)]
.

26 years ago.
Jim Meyering [Mon, 11 May 1998 12:33:07 +0000 (12:33 +0000)]
.

26 years agoUse am_cv_func_working_getline, not `jm_'-prefixed version.
Jim Meyering [Sun, 10 May 1998 20:58:09 +0000 (20:58 +0000)]
Use am_cv_func_working_getline, not `jm_'-prefixed version.

26 years ago*** empty log message ***
Jim Meyering [Sun, 10 May 1998 16:11:13 +0000 (16:11 +0000)]
*** empty log message ***

26 years agoUse AM_FUNC_MKTIME, now that it's up to date.
Jim Meyering [Sun, 10 May 1998 16:10:40 +0000 (16:10 +0000)]
Use AM_FUNC_MKTIME, now that it's up to date.

26 years agoDon't declare strdup if it's defined as a macro.
Jim Meyering [Sun, 10 May 1998 16:04:39 +0000 (16:04 +0000)]
Don't declare strdup if it's defined as a macro.
Reported by Lorne Baker.

26 years ago.
Jim Meyering [Sat, 9 May 1998 17:37:10 +0000 (17:37 +0000)]
.

26 years ago(EXTRA_DIST): Remove mktime.m4, now that the new version is included
Jim Meyering [Sat, 9 May 1998 17:18:55 +0000 (17:18 +0000)]
(EXTRA_DIST): Remove mktime.m4, now that the new version is included
with automake.

26 years ago(EXTRA_DIST): Add ssize_t.m4.
Jim Meyering [Sat, 9 May 1998 17:00:48 +0000 (17:00 +0000)]
(EXTRA_DIST): Add ssize_t.m4.

26 years ago. TEXTUTILS-1_22f
Jim Meyering [Sat, 9 May 1998 17:00:38 +0000 (17:00 +0000)]
.

26 years ago(regex_compile): When checking after exactn
Richard Stallman [Wed, 6 May 1998 20:46:35 +0000 (20:46 +0000)]
(regex_compile): When checking after exactn
for a repetition operator, don't look beyond end of pattern arg.

26 years ago.
Jim Meyering [Mon, 4 May 1998 00:27:15 +0000 (00:27 +0000)]
.

26 years ago.
Jim Meyering [Sun, 3 May 1998 22:15:00 +0000 (22:15 +0000)]
.

26 years ago.
Jim Meyering [Sun, 3 May 1998 22:14:55 +0000 (22:14 +0000)]
.

26 years ago.
Jim Meyering [Sun, 3 May 1998 21:56:10 +0000 (21:56 +0000)]
.

26 years ago.
Jim Meyering [Sat, 2 May 1998 15:31:13 +0000 (15:31 +0000)]
.

26 years ago.
Jim Meyering [Sat, 2 May 1998 15:25:56 +0000 (15:25 +0000)]
.

26 years ago(re_search_2): Fix indentation.
Andreas Schwab [Wed, 29 Apr 1998 09:23:15 +0000 (09:23 +0000)]
(re_search_2): Fix indentation.

26 years agotweak from FSF
Jim Meyering [Tue, 28 Apr 1998 12:19:53 +0000 (12:19 +0000)]
tweak from FSF

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 05:04:05 +0000 (05:04 +0000)]
.

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 04:41:41 +0000 (04:41 +0000)]
.

26 years ago(EXTRA_DIST): Add assert.m4.
Jim Meyering [Sun, 26 Apr 1998 20:48:58 +0000 (20:48 +0000)]
(EXTRA_DIST): Add assert.m4.

26 years ago.
Jim Meyering [Sun, 26 Apr 1998 20:48:00 +0000 (20:48 +0000)]
.

26 years ago(re_search_2): Fix handling of at_dot.
Richard Stallman [Sat, 25 Apr 1998 03:37:36 +0000 (03:37 +0000)]
(re_search_2): Fix handling of at_dot.
Fix the way RANGE is set when handling begbuf.

26 years agoUse RE_TRANSLATE_P to check whether translation is
Andreas Schwab [Wed, 15 Apr 1998 10:33:18 +0000 (10:33 +0000)]
Use RE_TRANSLATE_P to check whether translation is
needed.

26 years ago(RE_TRANSLATE_P): New macro.
Andreas Schwab [Wed, 15 Apr 1998 10:32:29 +0000 (10:32 +0000)]
(RE_TRANSLATE_P): New macro.

26 years ago(realloc) <emacs>: Define to xrealloc.
Andreas Schwab [Wed, 15 Apr 1998 09:39:40 +0000 (09:39 +0000)]
(realloc) <emacs>: Define to xrealloc.

26 years ago(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Mon, 13 Apr 1998 16:29:58 +0000 (16:29 +0000)]
(noinst_HEADERS): Add safe-read.h.

26 years ago.
Jim Meyering [Mon, 13 Apr 1998 13:51:27 +0000 (13:51 +0000)]
.

26 years ago.
Jim Meyering [Sun, 12 Apr 1998 15:16:37 +0000 (15:16 +0000)]
.

26 years ago(TYPE_MAXIMUM): Update from system.h.
Jim Meyering [Sun, 12 Apr 1998 09:39:30 +0000 (09:39 +0000)]
(TYPE_MAXIMUM): Update from system.h.

26 years ago(re_match_2, re_search_2): Convert position to a charpos,
Karl Heuer [Sun, 12 Apr 1998 06:57:47 +0000 (06:57 +0000)]
(re_match_2, re_search_2): Convert position to a charpos,
before calling SETUP_SYNTAX_TABLE_FOR_OBJECT.

26 years ago(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Sat, 11 Apr 1998 17:53:09 +0000 (17:53 +0000)]
(noinst_HEADERS): Add safe-read.h.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 17:52:28 +0000 (17:52 +0000)]
.

26 years agosplit a couple long lines
Jim Meyering [Sat, 11 Apr 1998 15:37:35 +0000 (15:37 +0000)]
split a couple long lines

26 years agoAdd curly braces around statements in if/else/while/do/etc. that
Jim Meyering [Sat, 11 Apr 1998 15:35:06 +0000 (15:35 +0000)]
Add curly braces around statements in if/else/while/do/etc. that
span more than a line -- even around multiline simple statements or
single-line simple statements preceded by a comment line.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 15:04:39 +0000 (15:04 +0000)]
.

26 years agoindent cpp directives
Jim Meyering [Thu, 9 Apr 1998 07:28:10 +0000 (07:28 +0000)]
indent cpp directives

26 years agomake there be two spaces after `.' in comments
Jim Meyering [Thu, 9 Apr 1998 07:22:52 +0000 (07:22 +0000)]
make there be two spaces after `.' in comments

26 years ago(re_match_2) <anychar>: In unibyte case, set buf_ch as unsigned.
Karl Heuer [Tue, 7 Apr 1998 04:07:58 +0000 (04:07 +0000)]
(re_match_2) <anychar>: In unibyte case, set buf_ch as unsigned.

26 years ago(re_match_2_internal): Declare buf_ch unsigned int.
Richard Stallman [Tue, 7 Apr 1998 03:21:46 +0000 (03:21 +0000)]
(re_match_2_internal): Declare buf_ch unsigned int.

26 years agoLots of minor spec and name changes, and new comments.
Jim Meyering [Mon, 6 Apr 1998 08:09:36 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
From François Pinard.

26 years agoLots of minor spec and name changes, and new comments.
Jim Meyering [Mon, 6 Apr 1998 08:09:11 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
(hash_rehash): Rewritten to be easier on the allocator.
From François Pinard.

26 years ago*** empty log message ***
Jim Meyering [Mon, 6 Apr 1998 00:26:54 +0000 (00:26 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 23:44:12 +0000 (23:44 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sun, 5 Apr 1998 23:43:58 +0000 (23:43 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 21:35:33 +0000 (21:35 +0000)]
*** empty log message ***

26 years agoadd braces to disambiguate ambiguous else
Jim Meyering [Sun, 5 Apr 1998 21:32:26 +0000 (21:32 +0000)]
add braces to disambiguate ambiguous else

26 years ago.
Jim Meyering [Sun, 5 Apr 1998 18:24:45 +0000 (18:24 +0000)]
.

26 years ago(WIDE_CHAR_SUPPORT): Define.
Jim Meyering [Sun, 5 Apr 1998 18:24:18 +0000 (18:24 +0000)]
(WIDE_CHAR_SUPPORT): Define.
This now depends on HAVE_BTOWC so systems that lack btowc (like
solaris-2.5.1) don't lose.

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 18:22:30 +0000 (18:22 +0000)]
*** empty log message ***

26 years ago(jm_PREREQ_REGEX): New macro.
Jim Meyering [Sun, 5 Apr 1998 18:22:11 +0000 (18:22 +0000)]
(jm_PREREQ_REGEX): New macro.
(jm_PREREQ): Use it here.