mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-31 17:30:54 -08:00
* fileio.c (Fexpand_file_name): Omit confusing pointer comparison
that was not needed.
This commit is contained in:
parent
8b0590de7e
commit
7ba11bee64
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2013-02-10 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* fileio.c (Fexpand_file_name): Omit confusing pointer comparison
|
||||
that was not needed.
|
||||
|
||||
2013-02-09 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Minor hashing refactoring.
|
||||
|
|
|
|||
|
|
@ -1348,8 +1348,8 @@ filesystem tree, not (expand-file-name ".." dirname). */)
|
|||
#ifdef WINDOWSNT
|
||||
char *prev_o = o;
|
||||
#endif
|
||||
while (o != target && (--o) && !IS_DIRECTORY_SEP (*o))
|
||||
;
|
||||
while (o != target && (--o, !IS_DIRECTORY_SEP (*o)))
|
||||
continue;
|
||||
#ifdef WINDOWSNT
|
||||
/* Don't go below server level in UNC filenames. */
|
||||
if (o == target + 1 && IS_DIRECTORY_SEP (*o)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue