gnulib.git
23 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:40:18 +0000 (20:40 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:05:40 +0000 (20:05 +0000)]
*** empty log message ***

23 years agoAdd support for FreeBSD. Improve support for HP-UX and IRIX 6.
Jim Meyering [Mon, 17 Jul 2000 20:05:30 +0000 (20:05 +0000)]
Add support for FreeBSD. Improve support for HP-UX and IRIX 6.

23 years ago.
Jim Meyering [Mon, 17 Jul 2000 19:43:38 +0000 (19:43 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jul 2000 13:27:37 +0000 (13:27 +0000)]
*** empty log message ***

23 years agoInclude quote.h.
Jim Meyering [Sat, 15 Jul 2000 13:27:30 +0000 (13:27 +0000)]
Include quote.h.
(make_path): Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Give better diagnostics.

23 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jul 2000 09:58:14 +0000 (09:58 +0000)]
*** empty log message ***

23 years ago(libfetish_a_SOURCES): Add quote.c.
Jim Meyering [Sat, 15 Jul 2000 09:58:10 +0000 (09:58 +0000)]
(libfetish_a_SOURCES): Add quote.c.
(noinst_HEADERS): Add quote.h.

23 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jul 2000 09:57:38 +0000 (09:57 +0000)]
*** empty log message ***

23 years ago(quote, quote_n): New file. Two functions taken verbatim
Jim Meyering [Sat, 15 Jul 2000 09:57:19 +0000 (09:57 +0000)]
(quote, quote_n): New file.  Two functions taken verbatim
from tar's src/misc.c.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 21:18:00 +0000 (21:18 +0000)]
*** empty log message ***

23 years ago(jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
Jim Meyering [Fri, 14 Jul 2000 21:17:51 +0000 (21:17 +0000)]
(jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.

23 years ago(jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
Jim Meyering [Fri, 14 Jul 2000 15:58:34 +0000 (15:58 +0000)]
(jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 15:57:09 +0000 (15:57 +0000)]
*** empty log message ***

23 years ago(AC_MBSTATE_T): Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
Jim Meyering [Fri, 14 Jul 2000 15:56:42 +0000 (15:56 +0000)]
(AC_MBSTATE_T): Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
and mbstate_t, to a single-part test that simply defines mbstate_t.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 15:55:13 +0000 (15:55 +0000)]
*** empty log message ***

23 years ago(mbrtowc): Do not use HAVE_WCHAR_H in the definition.
Jim Meyering [Fri, 14 Jul 2000 13:56:07 +0000 (13:56 +0000)]
(mbrtowc): Do not use HAVE_WCHAR_H in the definition.
Use defined mbstate_t, not HAVE_MBSTATE_T_OBJECT,
to decide whether to define the BeOS workaround macro;
this adjusts to the change to AC_MBSTATE_T.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 11:27:06 +0000 (11:27 +0000)]
*** empty log message ***

23 years ago(enum quoting style): New enum clocale_quoting_style.
Jim Meyering [Fri, 14 Jul 2000 11:27:00 +0000 (11:27 +0000)]
(enum quoting style): New enum clocale_quoting_style.

23 years ago(quoting_style_args, quoting_style_vals,
Jim Meyering [Fri, 14 Jul 2000 11:26:28 +0000 (11:26 +0000)]
(quoting_style_args, quoting_style_vals,
quotearg_buffer_restyled): Add support for
clocale_quoting_style.  Undo previous change to
locale_quoting_style behavior, and undo the "{LEFT QUOTATION MARK}"
and "{RIGHT QUOTATION MARK}" msgids.

23 years agoTweak a comment to make it less negative about BeOS.
Jim Meyering [Mon, 10 Jul 2000 11:41:50 +0000 (11:41 +0000)]
Tweak a comment to make it less negative about BeOS.
From Bruno Haible.

23 years ago*** empty log message ***
Jim Meyering [Mon, 10 Jul 2000 11:30:54 +0000 (11:30 +0000)]
*** empty log message ***

23 years agoMirror the correction made in autoconf.
Jim Meyering [Mon, 10 Jul 2000 11:30:50 +0000 (11:30 +0000)]
Mirror the correction made in autoconf.

23 years ago*** empty log message ***
Jim Meyering [Mon, 10 Jul 2000 08:26:51 +0000 (08:26 +0000)]
*** empty log message ***

23 years agoOutput to confdefs.h directly.
Jim Meyering [Mon, 10 Jul 2000 08:26:36 +0000 (08:26 +0000)]
Output to confdefs.h directly.

23 years ago.
Jim Meyering [Sun, 9 Jul 2000 17:53:14 +0000 (17:53 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 17:46:16 +0000 (17:46 +0000)]
*** empty log message ***

23 years ago(jm_MACROS): Add a test to see if -lm is required
Jim Meyering [Sun, 9 Jul 2000 17:46:11 +0000 (17:46 +0000)]
(jm_MACROS): Add a test to see if -lm is required
to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.

23 years ago.
Jim Meyering [Sun, 9 Jul 2000 17:25:35 +0000 (17:25 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 17:25:03 +0000 (17:25 +0000)]
*** empty log message ***

23 years ago(AC__GNU_SOURCE): New file/macro.
Jim Meyering [Sun, 9 Jul 2000 17:24:41 +0000 (17:24 +0000)]
(AC__GNU_SOURCE): New file/macro.

23 years ago(jm_CHECK_ALL_TYPES): Require it.
Jim Meyering [Sun, 9 Jul 2000 17:24:27 +0000 (17:24 +0000)]
(jm_CHECK_ALL_TYPES): Require it.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 15:48:14 +0000 (15:48 +0000)]
*** empty log message ***

23 years agoThe old behavior of quoting `like this' doesn't look good with
Jim Meyering [Sun, 9 Jul 2000 15:46:46 +0000 (15:46 +0000)]
The old behavior of quoting `like this' doesn't look good with
newer, ISO-style fonts.  See:
http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html

Instead, quote "like this" by default.  Let the translator
tailor the locale-specific quoting behavior by providing
translations for {LEFT QUOTATION MARK} and {RIGHT QUOTATION MARK}.

(N_): New macro.
(gettext_default): New function.
(quotearg_buffer_restyled): Use
gettext_default ("{LEFT QUOTATION MARK}", "\"") for left quote, and
gettext_default ("{RIGHT QUOTATION MARK}", "\"") for right quote.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 07:26:44 +0000 (07:26 +0000)]
*** empty log message ***

23 years ago(ENAMETOOLONG): Define to an unlikely value if not defined.
Jim Meyering [Sun, 9 Jul 2000 07:26:34 +0000 (07:26 +0000)]
(ENAMETOOLONG): Define to an unlikely value if not defined.
(xgethostname): Remove now-unnecessary #ifdef.
Move declaration of `err' into loop where it's used.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 07:23:19 +0000 (07:23 +0000)]
*** empty log message ***

23 years agoupdate copyright date
Jim Meyering [Sun, 9 Jul 2000 07:22:43 +0000 (07:22 +0000)]
update copyright date

23 years ago(xgethostname): Protect against the SunOS5.5 bug
Jim Meyering [Sat, 8 Jul 2000 21:48:07 +0000 (21:48 +0000)]
(xgethostname): Protect against the SunOS5.5 bug
by allocating a larger buffer. Test the gethostname return value for
being >= 0, not == 0, for BeOS.  Don't exhaust memory if gethostname
returns an error and ENAMETOOLONG isn't defined.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 05:22:57 +0000 (05:22 +0000)]
*** empty log message ***

23 years agoInclude <ctype.h> for use of isalpha.
Jim Meyering [Thu, 6 Jul 2000 05:22:55 +0000 (05:22 +0000)]
Include <ctype.h> for use of isalpha.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 05:20:18 +0000 (05:20 +0000)]
*** empty log message ***

23 years ago(AC_FUNC_STRERROR_R): Pass a reasonably large buffer to strerror_r.
Jim Meyering [Thu, 6 Jul 2000 05:20:15 +0000 (05:20 +0000)]
(AC_FUNC_STRERROR_R): Pass a reasonably large buffer to strerror_r.

23 years ago.
Jim Meyering [Thu, 6 Jul 2000 04:48:11 +0000 (04:48 +0000)]
.

23 years ago(mbrtowc): Declare returned type, since BeOS doesn't.
Jim Meyering [Thu, 6 Jul 2000 04:47:28 +0000 (04:47 +0000)]
(mbrtowc): Declare returned type, since BeOS doesn't.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 04:46:57 +0000 (04:46 +0000)]
*** empty log message ***

23 years ago(AC_MBSTATE_T_OBJECT): Test for mbstate_t
Jim Meyering [Thu, 6 Jul 2000 04:46:48 +0000 (04:46 +0000)]
(AC_MBSTATE_T_OBJECT): Test for mbstate_t
only if the test for an object-type mbstate_t fails.  This
prevents us from mistakenly reporting that mbstate_t is a
system object type after we "#define mbstate_t int" to work
around its lack.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 04:32:11 +0000 (04:32 +0000)]
*** empty log message ***

23 years ago(struct quoting_options): Simplify quote_these_too dimension.
Jim Meyering [Thu, 6 Jul 2000 04:31:59 +0000 (04:31 +0000)]
(struct quoting_options): Simplify quote_these_too dimension.

23 years ago*** empty log message *** SH-UTILS-2_0j
Jim Meyering [Tue, 4 Jul 2000 17:37:47 +0000 (17:37 +0000)]
*** empty log message ***

23 years ago[!HAVE_DECL_STRNLEN]: Declare strnlen.
Jim Meyering [Tue, 4 Jul 2000 17:37:43 +0000 (17:37 +0000)]
[!HAVE_DECL_STRNLEN]: Declare strnlen.

23 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2000 17:32:00 +0000 (17:32 +0000)]
*** empty log message ***

23 years agoMake inclusion of <wchar.h> independent of whether
Jim Meyering [Tue, 4 Jul 2000 17:31:56 +0000 (17:31 +0000)]
Make inclusion of <wchar.h> independent of whether
HAVE_MBRTOWC is set.  Required at least for irix-5.6, which lacks mbrtowc.

23 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2000 17:19:27 +0000 (17:19 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2000 17:17:30 +0000 (17:17 +0000)]
*** empty log message ***

23 years ago(jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead of deprecated AC_CHECKING.
Jim Meyering [Tue, 4 Jul 2000 17:15:45 +0000 (17:15 +0000)]
(jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead of deprecated AC_CHECKING.

23 years ago(AC_CHECK_DECLS): Add strnlen.
Jim Meyering [Tue, 4 Jul 2000 09:03:26 +0000 (09:03 +0000)]
(AC_CHECK_DECLS): Add strnlen.

23 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2000 09:03:09 +0000 (09:03 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2000 08:44:35 +0000 (08:44 +0000)]
*** empty log message ***

23 years ago[HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H.
Jim Meyering [Tue, 4 Jul 2000 08:44:28 +0000 (08:44 +0000)]
[HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H.
This is necessary to get a definition of e.g., UTMP_FILE on HP-UX 10.20.
From Bob Proulx.

23 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2000 07:11:55 +0000 (07:11 +0000)]
*** empty log message ***

23 years ago(AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
Jim Meyering [Tue, 4 Jul 2000 07:11:28 +0000 (07:11 +0000)]
(AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.

23 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2000 07:03:26 +0000 (07:03 +0000)]
*** empty log message ***

23 years ago(mbrtowc): Assign to *pwc, and return 1 only if result is nonzero.
Jim Meyering [Tue, 4 Jul 2000 07:03:16 +0000 (07:03 +0000)]
(mbrtowc): Assign to *pwc, and return 1 only if result is nonzero.
(iswprint): Use ISPRINT when substituting our own mbrtowc.

23 years ago. TEXTUTILS-2_0f
Jim Meyering [Sun, 2 Jul 2000 20:21:44 +0000 (20:21 +0000)]
.

23 years agoAlso define mbstate_t, if necessary.
Jim Meyering [Sun, 2 Jul 2000 20:21:30 +0000 (20:21 +0000)]
Also define mbstate_t, if necessary.

23 years ago(mbstate_t): Don't define here.
Jim Meyering [Sun, 2 Jul 2000 18:32:05 +0000 (18:32 +0000)]
(mbstate_t): Don't define here.

23 years ago*** empty log message ***
Jim Meyering [Sun, 2 Jul 2000 18:23:56 +0000 (18:23 +0000)]
*** empty log message ***

23 years ago(SIGCONT): Define if not already defined.
Jim Meyering [Sun, 2 Jul 2000 18:23:51 +0000 (18:23 +0000)]
(SIGCONT): Define if not already defined.

23 years ago*** empty log message ***
Jim Meyering [Sun, 2 Jul 2000 15:27:08 +0000 (15:27 +0000)]
*** empty log message ***

23 years agofix typo in last change
Jim Meyering [Sun, 2 Jul 2000 15:14:04 +0000 (15:14 +0000)]
fix typo in last change

23 years ago*** empty log message ***
Jim Meyering [Sun, 2 Jul 2000 12:59:32 +0000 (12:59 +0000)]
*** empty log message ***

23 years agoReplace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with AC_LIBOBJ([function_name]).
Jim Meyering [Sun, 2 Jul 2000 12:58:27 +0000 (12:58 +0000)]
Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with AC_LIBOBJ([function_name]).

23 years ago. FILEUTILS-4_0w
Jim Meyering [Sat, 1 Jul 2000 13:58:19 +0000 (13:58 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 13:43:51 +0000 (13:43 +0000)]
*** empty log message ***

23 years agoRemove a `FIXME' comment and fix the associated problem.
Jim Meyering [Sat, 1 Jul 2000 13:43:46 +0000 (13:43 +0000)]
Remove a `FIXME' comment and fix the associated problem.

23 years ago.
Jim Meyering [Sat, 1 Jul 2000 13:35:52 +0000 (13:35 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 13:35:33 +0000 (13:35 +0000)]
*** empty log message ***

23 years agoUse MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV,
Jim Meyering [Sat, 1 Jul 2000 13:35:28 +0000 (13:35 +0000)]
Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV,
per change in ../m4/ls-mntd-fs.m4.
(read_filesystem_list): Ignore symbolic links.

23 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
Jim Meyering [Sat, 1 Jul 2000 13:31:20 +0000 (13:31 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.

23 years ago*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 09:05:13 +0000 (09:05 +0000)]
*** empty log message ***

23 years agoPut double quotes around use of $cross_compiling.
Jim Meyering [Sat, 1 Jul 2000 09:04:56 +0000 (09:04 +0000)]
Put double quotes around use of $cross_compiling.

23 years ago.
Jim Meyering [Sat, 1 Jul 2000 07:13:53 +0000 (07:13 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 11:30:16 +0000 (11:30 +0000)]
*** empty log message ***

23 years agoInclude <string.h> or <strings.h>, as appropriate, for declaration of strcmp.
Jim Meyering [Thu, 29 Jun 2000 11:29:55 +0000 (11:29 +0000)]
Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.

23 years ago*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 11:24:14 +0000 (11:24 +0000)]
*** empty log message ***

23 years agoInclude <stdlib.h>, for declaration of exit.
Jim Meyering [Thu, 29 Jun 2000 11:24:09 +0000 (11:24 +0000)]
Include <stdlib.h>, for declaration of exit.

23 years ago*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 08:37:00 +0000 (08:37 +0000)]
*** empty log message ***

23 years ago(fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]:
Jim Meyering [Thu, 29 Jun 2000 08:30:03 +0000 (08:30 +0000)]
(fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]:
Avoid warning by casting result to `char *' to remove `const'.

23 years ago*** empty log message ***
Jim Meyering [Wed, 28 Jun 2000 20:30:59 +0000 (20:30 +0000)]
*** empty log message ***

23 years agoUse stdlib.h, not stdio.h. The latter is not included
Jim Meyering [Wed, 28 Jun 2000 20:29:27 +0000 (20:29 +0000)]
Use stdlib.h, not stdio.h.  The latter is not included
by quotearg.c, for which we perform this test.  From Bruno Haible.

23 years ago.
Jim Meyering [Tue, 27 Jun 2000 10:10:13 +0000 (10:10 +0000)]
.

23 years ago(libfetish_a_SOURCES): Remove readutmp.c.
Jim Meyering [Tue, 27 Jun 2000 10:09:49 +0000 (10:09 +0000)]
(libfetish_a_SOURCES): Remove readutmp.c.

23 years ago*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 10:08:15 +0000 (10:08 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
Jim Meyering [Tue, 27 Jun 2000 10:08:09 +0000 (10:08 +0000)]
(jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
<utmpx.h> exists, put readutmp.o into LIBOBJS.

23 years ago(_jm_DECL_HEADERS): Check for utmp.h as well.
Jim Meyering [Tue, 27 Jun 2000 10:01:30 +0000 (10:01 +0000)]
(_jm_DECL_HEADERS): Check for utmp.h as well.

23 years ago*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 07:08:52 +0000 (07:08 +0000)]
*** empty log message ***

23 years agosavedir now sets errno on failure and invokes xmalloc to get memory.
Jim Meyering [Tue, 27 Jun 2000 07:08:48 +0000 (07:08 +0000)]
savedir now sets errno on failure and invokes xmalloc to get memory.
Fix a couple of other minor bugs while we're at it.

(<unistd.h>): Do not include; there's no need.
(NAMLEN): Remove macro.
(malloc, realloc): Remove decls.
(stpcpy): Likewise.
("xalloc.h"): Include.
(NAME_SIZE_DEFAULT): New macro.
(savedir): Use xmalloc / xrealloc to allocate memory.
Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero.
Skip "" directory entries.
Use strlen to calculate directory entry length, since the old method
is rarely used these days and isn't worth supporting.
Don't use a pointer after freeing it.
Check for integer overflow when calculating allocation size.
Use memcpy to copy entries, instead of stpcpy.
Set errno properly when returning NULL.
Check for readdir error.

23 years ago*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 10:55:57 +0000 (10:55 +0000)]
*** empty log message ***

23 years ago[HAVE_STDLIB_H]: Include stdlib.h.
Jim Meyering [Mon, 26 Jun 2000 10:55:18 +0000 (10:55 +0000)]
[HAVE_STDLIB_H]: Include stdlib.h.