[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:02:43 UTC 2012
The following commit has been merged in the wheezy branch:
commit 0e4f98ea0969c2fc192f37f40933103185452a29
Author: Christian Costa <titan.costa at gmail.com>
Date: Mon Mar 26 22:05:45 2012 +0200
attrib: Skip processing of . and .. entries.
(cherry picked from commit a575c6d93a698f558d85f6de298dc24e602e4dfc)
diff --git a/programs/attrib/attrib.c b/programs/attrib/attrib.c
index 34b8592..865f59c 100644
--- a/programs/attrib/attrib.c
+++ b/programs/attrib/attrib.c
@@ -180,6 +180,12 @@ int wmain(int argc, WCHAR *argv[])
}
else {
do {
+ const WCHAR dot[] = {'.', 0};
+ const WCHAR dotdot[] = {'.', '.', 0};
+
+ if (!strcmpW(fd.cFileName, dot) || !strcmpW(fd.cFileName, dotdot))
+ continue;
+
if (attrib_set || attrib_clear) {
fd.dwFileAttributes &= ~attrib_clear;
fd.dwFileAttributes |= attrib_set;
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list