pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Firefox 24 doesn't restore session
Hi,
From: Martin Husemann <martin%duskware.de@localhost>, Date: Thu, 7 Nov 2013
15:10:01 +0100
> https://bugzilla.mozilla.org/show_bug.cgi?id=935962
>
> (the patch includes the st_size change)
I have another patch for stze_t/off_t.
It may be useful too.
$NetBSD$
* Use off_t for st_size
--- toolkit/components/osfile/modules/osfile_unix_front.jsm.orig
2013-10-25 22:27:41.000000000 +0000
+++ toolkit/components/osfile/modules/osfile_unix_front.jsm
@@ -734,7 +734,7 @@
File.Info = function Info(stat) {
let isDir = (stat.st_mode & OS.Constants.libc.S_IFMT) ==
OS.Constants.libc.S_IFDIR;
let isSymLink = (stat.st_mode & OS.Constants.libc.S_IFMT) ==
OS.Constants.libc.S_IFLNK;
- let size = exports.OS.Shared.Type.size_t.importFromC(stat.st_size);
+ let size = exports.OS.Shared.Type.off_t.importFromC(stat.st_size);
let lastAccessDate = new Date(stat.st_atime * 1000);
let lastModificationDate = new Date(stat.st_mtime * 1000);
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index