diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-03-09 21:51:00 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-03-09 21:51:00 +0000 |
commit | b1aae492d01d8124298d25eeac96e18dc9c09119 (patch) | |
tree | 51e3a45d589ab63fd81723a70ed60d94f6925b9e /winsup/cygwin/cygwin.din | |
parent | f882fd15b0e665bd9da3c8edb7cddcb22b1085af (diff) | |
download | cygnal-b1aae492d01d8124298d25eeac96e18dc9c09119.tar.gz cygnal-b1aae492d01d8124298d25eeac96e18dc9c09119.tar.bz2 cygnal-b1aae492d01d8124298d25eeac96e18dc9c09119.zip |
Switch to 32/64 datatypes:
* Makefile.in (OBSOLETE_FUNCTIONS): Add open acl aclcheck aclfrommode
aclfrompbits aclfromtext aclsort acltomode acltopbits acltotext chown
facl fchown fgetpos fopen freopen fseeko fsetpos fstat ftello
ftruncate getegid geteuid getgid getgrent getgrgid getgrnam getgroups
getpwuid getpwuid_r getuid initgroups lchown lseek lstat mknod mmap
seekdir setegid seteuid setgid setgroups setregid setreuid setuid stat
telldir truncate.
(NEW_FUNCTIONS): Add _open64 acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 chown32 facl32 fchown32 fgetpos64 fopen64 freopen64
fseeko64 fsetpos64 fstat64 ftello64 ftruncate64 getegid32 geteuid32
getgid32 getgrent32 getgrgid32 getgrnam32 getgroups32 getpwuid32
getpwuid_r32 getuid32 initgroups32 lchown32 lseek64 lstat64 mknod32
mmap64 seekdir64 setegid32 seteuid32 setgid32 setgroups32 setregid32
setreuid32 setuid32 stat64 telldir64 truncate64 to substitute the
above.
* cygserver_shm.h (class client_request_shm): Change uid_t and gid_t
members to __uid32_t and __gid32_t.
* cygwin.din: Add symbols acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 facl32 fgetpos64 fopen64 freopen64 fseeko64 fsetpos64
_fstat64 ftello64 _lseek64 mknod32 _open64.
* glob.c: Include perprocess.h.
(globtilde): Call getpwuid32 and getuid32 instead of getpwuid and
getuid.
(g_lstat): Check for applications API version to call the appropriate
typed gl_lstat function.
(g_stat): Ditto for gl_stat.
* shm.cc (client_request_shm::client_request_shm): Call geteuid32
and getegid32 instead of geteuid and getegid throughout.
* syscalls.cc (_open64): New alias for open.
(_lseek64): New alias for lseek64.
(_fstat64): New alias for fseek64.
(mknod32): New function.
(mknod): Calls mknod32 now.
* winsup.h: Make function declarations for getuid32, geteuid32,
and getpwuid32 accessible for plain C sources. Add declarations
for getegid32 and getpwnam.
* include/cygwin/version.h: Bum API minor number to 78.
* include/sys/cygwin.h: Guard C++ specific members of struct
per_process against inclusion in plain C sources.
* include/sys/mman.h (mman): Add guard to avoid type clash when
compiling Cygwin.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r-- | winsup/cygwin/cygwin.din | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index 1e54f0c99..e7e7494c6 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -102,22 +102,31 @@ access _access = access acl _acl = acl +acl32 aclcheck _aclcheck = aclcheck +aclcheck32 aclfrommode _aclfrommode = aclfrommode +aclfrommode32 aclfrompbits _aclfrompbits = aclfrompbits +aclfrompbits32 aclfromtext _aclfromtext = aclfromtext +aclfromtext32 aclsort _aclsort = aclsort +aclsort32 acltomode _acltomode = acltomode +acltomode32 acltopbits _acltopbits = acltopbits +acltopbits32 acltotext _acltotext = acltotext +acltotext32 acos _acos = acos acosf @@ -389,6 +398,7 @@ fabsf _fabsf = fabsf facl _facl = facl +facl32 fchdir _fchdir = fchdir fchmod @@ -424,6 +434,7 @@ fgetc _fgetc = fgetc fgetpos _fgetpos = fgetpos +fgetpos64 fgets _fgets = fgets fileno @@ -452,6 +463,7 @@ fnmatch _fnmatch = fnmatch fopen _fopen = fopen +fopen64 fork _fork = fork fpathconf @@ -467,6 +479,7 @@ free _free = free freopen _freopen = freopen +freopen64 frexp _frexp = frexp frexpf @@ -477,9 +490,12 @@ fseek _fseek = fseek fseeko _fseeko = fseeko +fseeko64 fsetpos _fsetpos = fsetpos +fsetpos64 fstat64 +_fstat64 = fstat64 fstatfs _fstatfs = fstatfs fsync @@ -488,6 +504,7 @@ ftell _ftell = ftell ftello _ftello = ftello +ftello64 ftime _ftime = ftime ftruncate @@ -766,6 +783,7 @@ lroundf lseek _lseek = lseek lseek64 +_lseek64 = lseek64 lstat64 mallinfo mallinfo @@ -806,6 +824,7 @@ _mkdir = mkdir mkfifo mknod _mknod = mknod +mknod32 mkstemp _mkstemp = mkstemp mktemp @@ -849,6 +868,7 @@ _ntohs = ntohs on_exit open _open = open +_open64 opendir _opendir = opendir openlog |