mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 15:00:27 +02:00
Merge commits 41973, 43427 and 45937
------------------------------------------------------------------------ r41973 | pierre | 2019-05-02 12:59:11 +0000 (Thu, 02 May 2019) | 1 line Add flags field to TStatfs record ------------------------------------------------------------------------ --- Merging r41973 into '.': U rtl/linux/ptypes.inc --- Recording mergeinfo for merge of r41973 into '.': U . ------------------------------------------------------------------------ r43427 | florian | 2019-11-09 18:27:21 +0000 (Sat, 09 Nov 2019) | 1 line * TIOCtlRequest is declared as unsigned long according to man 2 ioctl ------------------------------------------------------------------------ --- Merging r43427 into '.': G rtl/linux/ptypes.inc --- Recording mergeinfo for merge of r43427 into '.': G . ------------------------------------------------------------------------ r45837 | pierre | 2020-07-23 21:03:19 +0000 (Thu, 23 Jul 2020) | 1 line Define __USE_LARGEFILE64 for sparc-linux, and adapt filed ffree type to that macro ------------------------------------------------------------------------ --- Merging r45837 into '.': G rtl/linux/ptypes.inc --- Recording mergeinfo for merge of r45837 into '.': G . git-svn-id: branches/fixes_3_2@46284 -
This commit is contained in:
parent
1e64c9947e
commit
c39c8c1794
@ -29,6 +29,9 @@ and all three 32-bit systems returned completely identical types too
|
|||||||
(everything 32-bit except dev_t, which is assumed to be a result of devfs
|
(everything 32-bit except dev_t, which is assumed to be a result of devfs
|
||||||
introduction)
|
introduction)
|
||||||
}
|
}
|
||||||
|
{$ifdef CPUSPARC}
|
||||||
|
{$define __USE_LARGEFILE64}
|
||||||
|
{$endif}
|
||||||
|
|
||||||
{$if defined(CPUMIPS) or defined(cpuaarch64) or defined(cpusparc64)}
|
{$if defined(CPUMIPS) or defined(cpuaarch64) or defined(cpusparc64)}
|
||||||
{$define USE_PTHREAD_SIZEOF}
|
{$define USE_PTHREAD_SIZEOF}
|
||||||
@ -155,11 +158,7 @@ Type
|
|||||||
TGid = gid_t;
|
TGid = gid_t;
|
||||||
pGid = ^gid_t;
|
pGid = ^gid_t;
|
||||||
|
|
||||||
{$ifdef cpusparc64}
|
|
||||||
TIOCtlRequest = culong;
|
TIOCtlRequest = culong;
|
||||||
{$else cpusparc64}
|
|
||||||
TIOCtlRequest = cInt;
|
|
||||||
{$endif cpusparc64}
|
|
||||||
|
|
||||||
socklen_t= cuint32;
|
socklen_t= cuint32;
|
||||||
TSockLen = socklen_t;
|
TSockLen = socklen_t;
|
||||||
@ -195,7 +194,8 @@ Type
|
|||||||
fsid : array[0..1] of cint; { File system ID }
|
fsid : array[0..1] of cint; { File system ID }
|
||||||
namelen : clong; { Maximum name length in system }
|
namelen : clong; { Maximum name length in system }
|
||||||
frsize : clong;
|
frsize : clong;
|
||||||
spare : array [0..4] of clong; { For later use }
|
flags : clong;
|
||||||
|
spare : array [0..3] of clong; { For later use }
|
||||||
end;
|
end;
|
||||||
{$else}
|
{$else}
|
||||||
TStatfs = record
|
TStatfs = record
|
||||||
@ -205,11 +205,17 @@ Type
|
|||||||
bfree, { free blocks in system }
|
bfree, { free blocks in system }
|
||||||
bavail, { Available free blocks to non-root users }
|
bavail, { Available free blocks to non-root users }
|
||||||
files, { File nodes in system }
|
files, { File nodes in system }
|
||||||
ffree : culong; { Free file nodes in system }
|
ffree :
|
||||||
|
{$ifdef __USE_LARGEFILE64}
|
||||||
|
culonglong; { Free file nodes in system }
|
||||||
|
{$else}
|
||||||
|
culong; { Free file nodes in system }
|
||||||
|
{$endif}
|
||||||
fsid : array[0..1] of cint; { File system ID }
|
fsid : array[0..1] of cint; { File system ID }
|
||||||
namelen, { Maximum name length in system }
|
namelen, { Maximum name length in system }
|
||||||
frsize : cint;
|
frsize : cint;
|
||||||
spare : array [0..4] of cint; { For later use }
|
flags : cint;
|
||||||
|
spare : array [0..3] of cint; { For later use }
|
||||||
end;
|
end;
|
||||||
{$endif}
|
{$endif}
|
||||||
PStatFS=^TStatFS;
|
PStatFS=^TStatFS;
|
||||||
|
Loading…
Reference in New Issue
Block a user