projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update rsyncable patch, etc
[debian/gzip]
/
lib
/
stripslash.c
diff --git
a/lib/stripslash.c
b/lib/stripslash.c
index 3a5996fd90b84a0ee26b08af31b7086322199b56..ef458c63a96f57fd28f5d4a02afad14e3fc257a6 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
0
Free Software Foundation,
+ Copyright (C) 1990, 2001, 2003-2006, 2009-201
2
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);