diff options
author | Clint Adams <clint@debian.org> | 2013-05-09 01:03:12 -0400 |
---|---|---|
committer | Clint Adams <clint@debian.org> | 2013-05-09 01:03:12 -0400 |
commit | d75f3c567505ad7acd2c1943207b367593652739 (patch) | |
tree | e519be160770e6b20bfe88eb923ea6aa8edb3e58 /lib/stripslash.c | |
parent | 86bbc911e93efe1f0957ee887182b3d64bb0eec4 (diff) |
Imported Upstream version 4.2.2
Diffstat (limited to 'lib/stripslash.c')
-rw-r--r-- | lib/stripslash.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stripslash.c b/lib/stripslash.c index 4084410..ef458c6 100644 --- a/lib/stripslash.c +++ b/lib/stripslash.c @@ -1,6 +1,7 @@ /* stripslash.c -- remove redundant trailing slashes from a file name - Copyright (C) 1990, 2001, 2003-2006 Free Software Foundation, Inc. + Copyright (C) 1990, 2001, 2003-2006, 2009-2012 Free Software Foundation, + Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,7 +35,7 @@ strip_trailing_slashes (char *file) 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); |