projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git]
/
lib
/
stripslash.c
diff --git
a/lib/stripslash.c
b/lib/stripslash.c
index
1212440
..
6f802d4
100644
(file)
--- a/
lib/stripslash.c
+++ b/
lib/stripslash.c
@@
-1,6
+1,6
@@
/* stripslash.c -- remove redundant trailing slashes from a file name
/* stripslash.c -- remove redundant trailing slashes from a file name
- Copyright (C) 1990, 2001, 2003-2006, 2009-201
1
Free Software Foundation,
+ Copyright (C) 1990, 2001, 2003-2006, 2009-201
4
Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
Inc.
This program is free software: you can redistribute it and/or modify
@@
-35,7
+35,7
@@
strip_trailing_slashes (char *file)
bool had_slash;
/* last_component returns "" for file system roots, but we need to turn
bool had_slash;
/* last_component returns "" for file system roots, but we need to turn
-
`///' into `/'
. */
+
"///" into "/"
. */
if (! *base)
base = file;
base_lim = base + base_len (base);
if (! *base)
base = file;
base_lim = base + base_len (base);