NEWS
[4.5.11]
* seq no longer requires that a field width be specified
* seq no longer fails when given a field width of `0'
* seq now accepts ` ' and `'' as valid format flag characters
* df now shows a HOSTNAME: prefix for each remote-mounted file system on AIX 5.1
* portability tweaks for HP-UX, AIX 5.1, DJGPP
ChangeLog entries:
**********************************************************************
ChangeLog
**********************************************************************
2003-03-20 Jim Meyering <address@hidden>
* Version 4.5.11.
* src/seq.c (valid_format): Also accept ` ' and `'' as valid
format flag characters.
Do not require that a field width be specified.
Do not fail when given a field width of `0'.
Reported by Dan Jacobson.
* tests/seq/basic: Add new tests for the above-fixed bug.
* src/Makefile.am (all-local): Append $(EXEEXT) to use of `su'
(install-root): Likewise.
(install-exec-local): Likewise.
Based on a patch from Richard Dawe.
2003-03-19 Jim Meyering <address@hidden>
* man/Makefile.am (.x.1): Use $(LN_S) instead of 'ln -s',
because the DJGPP 2.03 port of 'ln -s' doesn't work.
Include $(EXEEXT) in program names.
Since $(LN_S) may degenerate to `cp -p', be careful
to invoke it from the destination directory.
Mostly from Richard Dawe.
* configure.ac: Use AC_PROG_LN_S.
* tests/mv/part-symlink: Unset CDPATH. Otherwise, having the
CDPATH shell variable set could cause this test to fail.
Reported by Karl Berry.
2003-03-18 Jim Meyering <address@hidden>
* src/fmt.c [struct Word] (paren, period, punct, final): Change the
type of each member from bool <MEMBER>:1 to unsigned int <MEMBER>:1.
AIX 5.1's xlc could not compile the former.
Patch by Petter Reinholdtsen. Also reported by Mike Jetzer.
2003-03-17 Richard Dawe <address@hidden>
* configure.ac: Include $(EXEEXT) in OPTIONAL_BIN_PROGS'
program names, since automake only adds $(EXEEXT) to programs
in its *_PROGRAMS.
2003-03-16 Jim Meyering <address@hidden>
* src/remove.c (rm): Put two local variables in static storage,
so they can't be clobbered by the potential longjmp.
2003-03-15 Jim Meyering <address@hidden>
* Makefile.cfg (gnu_rel_host): Fix code to match the comment
so that a version number with a two-digit component can still count
as an alpha release. Reported by Richard A Downing.
(gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.
2003-03-14 Jim Meyering <address@hidden>
* src/ansi2knr.c: Remove no-longer-used file.
* src/ansi2knr.1: Likewise.
* Makefile.maint (prev_version_file): Don't use ?= for this particular
assignment, since it causes trouble with old versions of GNU make
(e.g. 3.76.1). The other uses of `?=' are inoffensive. Details here.
http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00028.html
Patch from Alexandre Duret-Lutz.
* Use patched automake-1.7.3. Regenerate Makefile.in files in
subdirectories so that each includes a definition of ACLOCAL_M4.
* announce-gen (main): Label the compressed source URLs.
**********************************************************************
lib/ChangeLog
**********************************************************************
2003-03-19 Jim Meyering <address@hidden>
DJGPP doesn't have S_ISLNK, so provide a replacement.
* ftw.c (S_IFMT): Define, if necessary.
[STAT_MACROS_BROKEN]: Undefine S_ISLNK.
(S_ISLNK): Define, if necessary.
Based on a patch from Rich Dawe.
* exclude.h (PARAMS): Remove definition and uses.
* exclude.c: Remove uses of `PARAMS'.
* fnmatch_.h: Don't define __const.
(fnmatch): Use const, not __const in prototype.
From Paul Eggert.
2003-03-17 Richard Dawe <address@hidden>
* fchdir-stub.c: New file: trivial stub for fchdir.
2003-03-18 Jim Meyering <address@hidden>
* mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Detect any
error from mntctl.
Use mntctl's return value to drive the entry-processing loop, since
we can't rely on the value of the vmt_length member in the last
entry. On some systems doing so could result in exhausting
virtual memory. Based in part on a patch from Mike Jetzer.
* quote.c (quote_n): Fix typo in comment.
2003-03-17 Jim Meyering <address@hidden>
* raise.c (raise): Rename from rpl_raise.
Without that change, systems lacking raise (SunOS4) would not be
able to link programs using raise. Reported by Volker Borchert.
* ftw.c (FTW_STAT): Rename from `STAT', to avoid conflict
with STAT definition from <sys/dir.h> on AIX 5.1.
Suggestion from Mike Jetzer and Petter Reinholdtsen.
* fchown-stub.c (fchown): Put function type on its own line.
* readlink-stub.c (readlink): Likewise.
* lstat-stub.c (lstat): Likewise.
2003-03-14 Jim Meyering <address@hidden>
* Makefile.am (AUTOMAKE_OPTIONS): Remove definition --
before it pointed to ../src/ansi2knr. Some of these files
have required an ANSI (c89) compiler for a year or two.
(libfetish_a_SOURCES): Remove unused files: c-stack.c, c-stack.h.
2003-02-04 Dmitry V. Levin <address@hidden>
* stat.c: Include "xalloc.h".
2003-03-13 Paul Eggert <address@hidden>
Merge changes from Bison.
* obstack.h: (__INT_TO_PTR) [__STDC__]: Cast result to
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
* obstack.h (obstack_object_size): Declare temporary, __o,
to be const, in order to avoid warnings.
**********************************************************************
m4/ChangeLog
**********************************************************************
2003-03-19 Jim Meyering <address@hidden>
* ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
2003-03-17 Richard Dawe <address@hidden>
* jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
Arrange to compile the corresponding stub function if fchdir is missing.
2003-03-18 Jim Meyering <address@hidden>
* ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
systems would end up using the latter. MOUNTED_GETMNTENT1 support
is inadequate on such systems: 1) detecting whether a file system
is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
merely /MOUNT_POINT. Reported by Mike Jetzer.
2003-03-17 Jim Meyering <address@hidden>
* dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
that is guaranteed to be `no'. Use `no_such_member' to indicate
that condition, rather than `-1' which is slightly misleading.
Change the name of the cache variable to have the gl_ prefix.
Prompted by a patch from Richard Dawe for DJGPP.
2003-03-14 Jim Meyering <address@hidden>
* prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
Don't require jm_PREREQ_C_STACK.
2003-03-13 Paul Eggert <address@hidden>
[from gnulib]
* onceonly.m4 (m4_quote): New macro.
(AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
Quote AC_FOREACH variable-expansions properly.
**********************************************************************
po/ChangeLog
**********************************************************************
2003-03-18 Jim Meyering <address@hidden>
* POTFILES.in: Remove lib/c-stack.c.