- fix: "/path/foo.../bar" was losing a dot (#123844).
CVS patchset: 7287 CVS date: 2004/06/01 13:58:57
This commit is contained in:
parent
5aed900edb
commit
9f035a4d8a
1
CHANGES
1
CHANGES
|
@ -6,6 +6,7 @@
|
|||
4.3.1 -> 4.3.2:
|
||||
- use /etc/selinux/targeted/contexts/files/file_contexts for now.
|
||||
- disable file contexts into package metadata during build.
|
||||
- fix: "/path/foo.../bar" was losing a dot (#123844).
|
||||
|
||||
4.3 -> 4.3.1:
|
||||
- fix: don't add leading space to %* argv expansion (#119059).
|
||||
|
|
|
@ -2184,7 +2184,7 @@ char *rpmCleanPath(char * path)
|
|||
/*@switchbreak@*/ break;
|
||||
}
|
||||
/* Trim embedded ./ , trailing /. */
|
||||
if ((t[-1] == '/' && s[1] == '\0') || (t != path && s[1] == '/')) {
|
||||
if ((t[-1] == '/' && s[1] == '\0') || (t > path && t[-1] == '/' && s[1] == '/')) {
|
||||
s++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue