Corinna Vinschen
807dfb3d4a
* mmap.cc (mmap64): Change address types from caddr_t to void *
...
according to SUSv3.
(mmap): Ditto.
(munmap): Ditto.
(msync): Ditto.
(mprotect): Ditto. Move to before the fhandler methods.
* include/sys/mman.h: Change prototypes accordingly.
2003-09-09 09:41:18 +00:00
Corinna Vinschen
b1aae492d0
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.
2003-03-09 21:51:00 +00:00
Corinna Vinschen
a887211b00
* include/a.out.h: Add copyright hint.
...
* include/fcntl.h: Ditto.
* include/lastlog.h: Ditto.
* include/memory.h: Ditto.
* include/mntent.h: Ditto.
* include/paths.h: Ditto.
* include/poll.h: Ditto.
* include/syslog.h: Ditto.
* include/termio.h: Ditto.
* include/tzfile.h: Ditto.
* include/arpa/inet.h: Ditto.
* include/asm/byteorder.h: Ditto.
* include/asm/socket.h: Ditto.
* include/asm/types.h: Ditto.
* include/cygwin/if.h: Ditto.
* include/cygwin/mtio.h: Ditto.
* include/cygwin/rdevio.h: Ditto.
* include/cygwin/socket.h: Ditto.
* include/net/if.h: Ditto.
* include/netinet/in.h: Ditto.
* include/netinet/in_systm.h: Ditto.
* include/netinet/ip.h: Ditto.
* include/netinet/ip_icmp.h: Ditto.
* include/netinet/tcp.h: Ditto.
* include/sys/cdefs.h: Ditto.
* include/sys/cygwin.h: Ditto.
* include/sys/ioctl.h: Ditto.
* include/sys/mman.h: Ditto.
* include/sys/mount.h: Ditto.
* include/sys/mtio.h: Ditto.
* include/sys/procfs.h: Ditto.
* include/sys/resource.h: Ditto.
* include/sys/smallprint.h: Ditto.
* include/sys/socket.h: Ditto.
* include/sys/strace.h: Ditto.
* include/sys/syslog.h: Ditto.
* include/sys/sysmacros.h: Ditto.
* include/sys/termio.h: Ditto.
* include/sys/termios.h: Ditto.
* include/sys/uio.h: Ditto.
* include/sys/un.h: Ditto.
* include/sys/utsname.h: Ditto.
* include/sys/vfs.h: Ditto.
* include/sys/wait.h: Ditto.
* regexp/regerror.c: Ditto.
* regexp/regexp.h: Ditto.
* regexp/regmagic.h: Ditto.
2001-03-05 21:29:24 +00:00
Corinna Vinschen
95436d7cdb
* include/sys/mman.h: Add missing MAP_FAILED macro.
2000-10-04 23:17:01 +00:00
Christopher Faylor
1fd5e000ac
import winsup-2000-02-17 snapshot
2000-02-17 19:38:33 +00:00