pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Firefox 24 doesn't restore session
martin@ wrote:
> diff -r 60a097b0d9bd toolkit/components/osfile/modules/osfile_unix_back.jsm
> --- a/toolkit/components/osfile/modules/osfile_unix_back.jsm Wed Nov 06
> 11:25:08 2013 +0100
> +++ b/toolkit/components/osfile/modules/osfile_unix_back.jsm Thu Nov 07
> 11:59:12 2013 +0100
> @@ -547,6 +556,23 @@
> SysFile.fstat = function fstat(fd, buf) {
> return Stat.fxstat(ver, fd, buf);
> };
> + } else if (OS.Constants.Sys.Name == "NetBSD") {
> + // NetBSD 5.0 and newer
> + declareLazyFFI(SysFile, "stat", libc, "__stat50",
> ctypes.default_abi,
:
> - declareLazyFFI(SysFile, "utimes", libc, "utimes", ctypes.default_abi,
> + if (OS.Constants.Sys.Name == "NetBSD")
> + declareLazyFFI(SysFile, "utimes", libc, "__utimes50",
> ctypes.default_abi,
:
__foo50() syscalls are introduced for 64 bit time_t changes in 6.x
and later, so NetBSD 5.x needs different symbols (__stat30() etc)?
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index