diff lib/ChangeLog @ 7308:eac21c5dbf2f

* rename-dest-slash.c (has_trailing_slash): Use FILE_SYSTEM_PREFIX_LEN, for non-POSIX systems. (rpl_rename_dest_slash): Perform the cheaper trailing slash test before testing whether SRC is a directory. Suggestions from Bruno Haible.
author Jim Meyering <jim@meyering.net>
date Fri, 15 Sep 2006 18:48:09 +0000
parents 87cb6e41fd09
children 796e1837ac66
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,11 @@
 2006-09-15  Jim Meyering  <jim@meyering.net>
 
+	* rename-dest-slash.c (has_trailing_slash): Use
+	FILE_SYSTEM_PREFIX_LEN, for non-POSIX systems.
+	(rpl_rename_dest_slash): Perform the cheaper trailing slash
+	test before testing whether SRC is a directory.
+	Suggestions from Bruno Haible.
+
 	Avoid a warning about an unused variable.
 	* regex_internal.c (re_dfa_add_node): Move declaration of "type"
 	into the #ifdef block where it's used.