comparison 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
comparison
equal deleted inserted replaced
7307:87cb6e41fd09 7308:eac21c5dbf2f
1 2006-09-15 Jim Meyering <jim@meyering.net> 1 2006-09-15 Jim Meyering <jim@meyering.net>
2
3 * rename-dest-slash.c (has_trailing_slash): Use
4 FILE_SYSTEM_PREFIX_LEN, for non-POSIX systems.
5 (rpl_rename_dest_slash): Perform the cheaper trailing slash
6 test before testing whether SRC is a directory.
7 Suggestions from Bruno Haible.
2 8
3 Avoid a warning about an unused variable. 9 Avoid a warning about an unused variable.
4 * regex_internal.c (re_dfa_add_node): Move declaration of "type" 10 * regex_internal.c (re_dfa_add_node): Move declaration of "type"
5 into the #ifdef block where it's used. 11 into the #ifdef block where it's used.
6 12