summaryrefslogtreecommitdiff
path: root/old/sh-utils
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-12 16:06:36 +0000
committerJim Meyering <jim@meyering.net>2001-05-12 16:06:36 +0000
commite364b0d6b8a24cddae13c8055c1805e1ebc2f761 (patch)
treeba247a8e98c53fdcd6bedc44d75e1f69bc3f59cc /old/sh-utils
parent2227cb6a07cb8dcfcc6de1e9dc0d0475143a49ab (diff)
downloadcoreutils-e364b0d6b8a24cddae13c8055c1805e1ebc2f761.tar.xz
*** empty log message ***
Diffstat (limited to 'old/sh-utils')
-rw-r--r--old/sh-utils/ChangeLog42
1 files changed, 30 insertions, 12 deletions
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 <meyering@lucent.com>
+2001-05-11 Paul Eggert <eggert@twinsun.com>
- * 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 <meyering@lucent.com>
@@ -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 <meyering@lucent.com>
* Makefile.maint (my_distdir): Define new variable, and use this