diff options
author | Jay Freeman <saurik@saurik.com> | 2009-04-27 10:05:44 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-04-27 10:05:44 +0000 |
commit | 0ab69dd9f7b48237939e03b775fb7b41d3b2438d (patch) | |
tree | 4ff087aaff14b346d8446b6d0ef53c986454c0f8 /data/_apt7/printf.diff | |
parent | a3d69f9e957d210a1b7415ed3d2621d34be48c92 (diff) |
Starting factor of apt7.
git-svn-id: http://svn.telesphoreo.org/trunk@606 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/_apt7/printf.diff')
-rw-r--r-- | data/_apt7/printf.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/_apt7/printf.diff b/data/_apt7/printf.diff new file mode 100644 index 000000000..847758bf2 --- /dev/null +++ b/data/_apt7/printf.diff @@ -0,0 +1,12 @@ +diff -ru apt-0.7.20.2/ftparchive/writer.cc apt-0.7.20.2+iPhone/ftparchive/writer.cc +--- apt-0.7.20.2/ftparchive/writer.cc 2009-02-07 15:09:35.000000000 +0000 ++++ apt-0.7.20.2+iPhone/ftparchive/writer.cc 2009-04-20 17:53:48.000000000 +0000 +@@ -629,7 +629,7 @@ + + // Add the dsc to the files hash list + char Files[1000]; +- snprintf(Files,sizeof(Files),"\n %s %lu %s\n %s", ++ snprintf(Files,sizeof(Files),"\n %s %llu %s\n %s", + string(MD5.Result()).c_str(),St.st_size, + flNotDir(FileName).c_str(), + Tags.FindS("Files").c_str()); |