[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:47 UTC 2012
The following commit has been merged in the wheezy branch:
commit a8d466b5ecbe765de722a51a5c21454c3558ed4f
Author: Christian Costa <titan.costa at gmail.com>
Date: Mon Mar 26 22:06:09 2012 +0200
attrib: Do not hardcode number of characters in flags array.
(cherry picked from commit 5d57fc998aa835928b08b995d6c11a115fc6c353)
diff --git a/programs/attrib/attrib.c b/programs/attrib/attrib.c
index 1bf4f47..a00e104 100644
--- a/programs/attrib/attrib.c
+++ b/programs/attrib/attrib.c
@@ -219,7 +219,7 @@ int wmain(int argc, WCHAR *argv[])
strcpyW(name, curdir);
strcatW(name, fd.cFileName);
ATTRIB_wprintf(fmt, flags, name);
- for (count=0; count < 8; count++) flags[count] = ' ';
+ for (count = 0; count < (sizeof(flags)/sizeof(WCHAR) - 1); count++) flags[count] = ' ';
}
} while (FindNextFileW(hff, &fd) != 0);
}
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list