diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-10-23 08:17:48 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-10-23 08:17:58 +0200 |
commit | e496d39130b8b3e0eb7637c917a0c88c59d40e43 (patch) | |
tree | 031dd3bbc87347cb1ce8e144db8bb365eb9a8adc /package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp | |
parent | 71055053b241c7aa8186b0281d58e0237ebdb010 (diff) |
firefox: update to latest
Diffstat (limited to 'package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp')
-rw-r--r-- | package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp b/package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp deleted file mode 100644 index 71899d1a6..000000000 --- a/package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp +++ /dev/null @@ -1,21 +0,0 @@ ---- mozilla-release.orig/xpcom/io/nsLocalFileUnix.cpp 2015-01-09 05:38:29.000000000 +0100 -+++ mozilla-release/xpcom/io/nsLocalFileUnix.cpp 2015-01-30 14:13:49.000000000 +0100 -@@ -1407,10 +1407,18 @@ nsLocalFile::GetDiskSpaceAvailable(int64 - #endif - && dq.dqb_bhardlimit) { - int64_t QuotaSpaceAvailable = 0; -+#if defined(__UCLIBC__) -+ if (dq.dqb_bhardlimit > dq.dqb_curblocks) { -+ QuotaSpaceAvailable = -+ int64_t(fs_buf.F_BSIZE * (dq.dqb_bhardlimit - dq.dqb_curblocks)); -+ } -+#else - if (dq.dqb_bhardlimit > dq.dqb_curspace) { - QuotaSpaceAvailable = - int64_t(fs_buf.F_BSIZE * (dq.dqb_bhardlimit - dq.dqb_curspace)); - } -+#endif -+ - if (QuotaSpaceAvailable < *aDiskSpaceAvailable) { - *aDiskSpaceAvailable = QuotaSpaceAvailable; - } |