From e364b0d6b8a24cddae13c8055c1805e1ebc2f761 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 12 May 2001 16:06:36 +0000 Subject: *** empty log message *** --- old/sh-utils/ChangeLog | 42 ++++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) (limited to 'old/sh-utils') diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog index dd776b6ae..d18657822 100644 --- a/old/sh-utils/ChangeLog +++ b/old/sh-utils/ChangeLog @@ -1,17 +1,22 @@ -2001-03-09 Jim Meyering +2001-05-11 Paul Eggert - * src/factor.c: Include wheel-size.h. - (WHEEL_START): Adjust definition. - (wheel_tab[]): Remove body of definition. - Include generated file, wheel.h, instead. + dirname code cleanup. base_name now behaves more compatibly + with POSIX basename when given file names that have trailing + slashes, and similarly for dir_name. Add new primitives + base_len and dir_len. Put the directory-name-related decls + into dirname.h. - * src/wheel-gen.pl: New file. - * src/Makefile.am (noinst_HEADERS): Add wheel.h wheel-size.h. - (EXTRA_DIST): Add wheel-gen.pl. - (PERL): Define. - (wheel-size.h, wheel.h): New rules. - (BUILT_SOURCES): Add wheel.h and wheel-size.h. - (MAINTAINERCLEANFILES): Define. + * basename.c: Include "dirname.h". + (base_name, strip_trailing_slashes): Remove decls; now in dirname.h. + (main): Use base_len instead of strip_trailing_slashes to strip + trailing slashes. + + * dirname.c (strip_trailing_slashes): Remove decl; + now in dirname.h. + (main): Use dir_len rather than dir_name_r. + + * su.c: Include "dirname.h". + (base_name): Remove decl; now in dirname.h. 2001-04-20 Jim Meyering @@ -30,6 +35,19 @@ * doc/sh-utils.texi (date invocation): Correct the description of how date works when given no format. Reported by Ole Laursen. + * src/factor.c: Include wheel-size.h. + (WHEEL_START): Adjust definition. + (wheel_tab[]): Remove body of definition. + Include generated file, wheel.h, instead. + + * src/wheel-gen.pl: New file. + * src/Makefile.am (noinst_HEADERS): Add wheel.h wheel-size.h. + (EXTRA_DIST): Add wheel-gen.pl. + (PERL): Define. + (wheel-size.h, wheel.h): New rules. + (BUILT_SOURCES): Add wheel.h and wheel-size.h. + (MAINTAINERCLEANFILES): Define. + 2001-03-09 Jim Meyering * Makefile.maint (my_distdir): Define new variable, and use this -- cgit v1.2.3-70-g09d2