diff options
author | Jay Freeman <saurik@saurik.com> | 2009-04-22 01:03:34 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-04-22 01:03:34 +0000 |
commit | acbc714acbaf253bf121a217a755089c74c7f01b (patch) | |
tree | 3ce08044b81687d87e402253cd60d5ee4690946d /data/apt7/printf.diff | |
parent | b7f32003140cce0188e8a2fc66368a860e474a44 (diff) |
The beginning of the future: futzing with APT.
git-svn-id: http://svn.telesphoreo.org/trunk@601 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()); |