From: Alexander Shiryaev Date: Sat, 9 Mar 2019 22:46:02 +0000 (+0300) Subject: OpenBSD HostFiles64: lseek → fseeko (in order to be regular with Linux HostFiles64) X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=d2aa4fc6a556885258187a9578b03f32fc7d56cd;p=bbcp.git OpenBSD HostFiles64: lseek → fseeko (in order to be regular with Linux HostFiles64) --- diff --git a/BlackBox/_OpenBSD_/Host/Mod/Files64.odc b/BlackBox/_OpenBSD_/Host/Mod/Files64.odc index 461c8e1..233680c 100644 Binary files a/BlackBox/_OpenBSD_/Host/Mod/Files64.odc and b/BlackBox/_OpenBSD_/Host/Mod/Files64.odc differ diff --git a/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt b/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt index d3a79db..cc2f3d7 100644 --- a/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt +++ b/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt @@ -620,6 +620,9 @@ MODULE LinLibc ["libc.so.90"]; PROCEDURE [ccall] lseek* (d: int; offset: off_t; whence: int): off_t; + (* XPG4 *) + PROCEDURE [ccall] fseeko* (stream: PtrFILE; offset: off_t; whence: int): int; + (* POSIX.1 *) PROCEDURE [ccall] sigsetjmp* (VAR env: sigjmp_buf; savemask: int): int; diff --git a/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom b/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom index ebfac0e..8ad3935 100644 --- a/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom +++ b/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom @@ -16,5 +16,8 @@ PROCEDURE [ccall] lseek* (d: int; offset: off_t; whence: int): off_t; + (* XPG4 *) + PROCEDURE [ccall] fseeko* (stream: PtrFILE; offset: off_t; whence: int): int; + (* POSIX.1 *) PROCEDURE [ccall] sigsetjmp* (VAR env: sigjmp_buf; savemask: int): int; diff --git a/BlackBox/_OpenBSD_/blackbox b/BlackBox/_OpenBSD_/blackbox index 58d6778..0ec1339 100755 Binary files a/BlackBox/_OpenBSD_/blackbox and b/BlackBox/_OpenBSD_/blackbox differ diff --git a/BlackBox/_OpenBSD_/dev0 b/BlackBox/_OpenBSD_/dev0 index cae64f6..2645d00 100755 Binary files a/BlackBox/_OpenBSD_/dev0 and b/BlackBox/_OpenBSD_/dev0 differ