aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-05-09 22:11:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-05-09 22:11:25 +0000
commit3e66a81cd11fc823e8117b8f092a7a3c0139917d (patch)
tree2e59b63a913c43b9d8af2b7d5dc948de276642e2
parenta3cc5851381793081b02b4547b5f226ed99d3920 (diff)
downloadnewlib-3e66a81cd11fc823e8117b8f092a7a3c0139917d.zip
newlib-3e66a81cd11fc823e8117b8f092a7a3c0139917d.tar.gz
newlib-3e66a81cd11fc823e8117b8f092a7a3c0139917d.tar.bz2
* Makefile.in (NEW_FUNCTIONS): All 32/64 from 0.79 API get
leading underscore. * cygwin.din: Ditto. * include/cygwin/version.h: Bump API minor number.
-rw-r--r--winsup/cygwin/ChangeLog7
-rw-r--r--winsup/cygwin/Makefile.in94
-rw-r--r--winsup/cygwin/cygwin.din90
-rw-r--r--winsup/cygwin/include/cygwin/version.h6
4 files changed, 104 insertions, 93 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 2bf5e5e..0cd6e49 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-10 Corinna Vinschen <corinna@vinschen.de>
+
+ * Makefile.in (NEW_FUNCTIONS): All 32/64 from 0.79 API get
+ leading underscore.
+ * cygwin.din: Ditto.
+ * include/cygwin/version.h: Bump API minor number.
+
2003-05-09 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/config.h: New file.
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index c4d7a91..4c3339c 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -183,53 +183,53 @@ NEW_FUNCTIONS:=regcomp posix_regcomp \
regexec posix_regexec \
regfree posix_regfree \
open _open64 \
- acl acl32 \
- aclcheck aclcheck32 \
- aclfrommode aclfrommode32 \
- aclfrompbits aclfrompbits32 \
- aclfromtext aclfromtext32 \
- aclsort aclsort32 \
- acltomode acltomode32 \
- acltopbits acltopbits32 \
- acltotext acltotext32 \
- chown chown32 \
- facl facl32 \
- fchown fchown32 \
- fgetpos fgetpos64 \
- fopen fopen64 \
- freopen freopen64 \
- fseeko fseeko64 \
- fsetpos fsetpos64 \
- fstat fstat64 \
- ftello ftello64 \
- ftruncate ftruncate64 \
- getegid getegid32 \
- geteuid geteuid32 \
- getgid getgid32 \
- getgrent getgrent32 \
- getgrgid getgrgid32 \
- getgrnam getgrnam32 \
- getgroups getgroups32 \
- getpwuid getpwuid32 \
- getpwuid_r getpwuid_r32 \
- getuid getuid32 \
- initgroups initgroups32 \
- lchown lchown32 \
- lseek lseek64 \
- lstat lstat64 \
- mknod mknod32 \
- mmap mmap64 \
- seekdir seekdir64 \
- setegid setegid32 \
- seteuid seteuid32 \
- setgid setgid32 \
- setgroups setgroups32 \
- setregid setregid32 \
- setreuid setreuid32 \
- setuid setuid32 \
- stat stat64 \
- telldir telldir64 \
- truncate truncate64
+ acl _acl32 \
+ aclcheck _aclcheck32 \
+ aclfrommode _aclfrommode32 \
+ aclfrompbits _aclfrompbits32 \
+ aclfromtext _aclfromtext32 \
+ aclsort _aclsort32 \
+ acltomode _acltomode32 \
+ acltopbits _acltopbits32 \
+ acltotext _acltotext32 \
+ chown _chown32 \
+ facl _facl32 \
+ fchown _fchown32 \
+ fgetpos _fgetpos64 \
+ fopen _fopen64 \
+ freopen _freopen64 \
+ fseeko _fseeko64 \
+ fsetpos _fsetpos64 \
+ fstat _fstat64 \
+ ftello _ftello64 \
+ ftruncate _ftruncate64 \
+ getegid _getegid32 \
+ geteuid _geteuid32 \
+ getgid _getgid32 \
+ getgrent _getgrent32 \
+ getgrgid _getgrgid32 \
+ getgrnam _getgrnam32 \
+ getgroups _getgroups32 \
+ getpwuid _getpwuid32 \
+ getpwuid_r _getpwuid_r32 \
+ getuid _getuid32 \
+ initgroups _initgroups32 \
+ lchown _lchown32 \
+ lseek _lseek64 \
+ lstat _lstat64 \
+ mknod _mknod32 \
+ mmap _mmap64 \
+ seekdir _seekdir64 \
+ setegid _setegid32 \
+ seteuid _seteuid32 \
+ setgid _setgid32 \
+ setgroups _setgroups32 \
+ setregid _setregid32 \
+ setreuid _setreuid32 \
+ setuid _setuid32 \
+ stat _stat64 \
+ telldir _telldir64 \
+ truncate _truncate64
API_VER:=$(srcdir)/include/cygwin/version.h
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index efac0e0..2b53498 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -103,31 +103,31 @@ access
_access = access
acl
_acl = acl
-acl32
+_acl32 = acl32
aclcheck
_aclcheck = aclcheck
-aclcheck32
+_aclcheck32 = aclcheck32
aclfrommode
_aclfrommode = aclfrommode
-aclfrommode32
+_aclfrommode32 = aclfrommode32
aclfrompbits
_aclfrompbits = aclfrompbits
-aclfrompbits32
+_aclfrompbits32 = aclfrompbits32
aclfromtext
_aclfromtext = aclfromtext
-aclfromtext32
+_aclfromtext32 = aclfromtext32
aclsort
_aclsort = aclsort
-aclsort32
+_aclsort32 = aclsort32
acltomode
_acltomode = acltomode
-acltomode32
+_acltomode32 = acltomode32
acltopbits
_acltopbits = acltopbits
-acltopbits32
+_acltopbits32 = acltopbits32
acltotext
_acltotext = acltotext
-acltotext32
+_acltotext32 = acltotext32
acos
_acos = acos
acosf
@@ -209,7 +209,7 @@ chmod
_chmod = chmod
chown
_chown = chown
-chown32
+_chown32 = chown32
chroot
_chroot = chroot
cleanup_glue
@@ -400,14 +400,14 @@ fabsf
_fabsf = fabsf
facl
_facl = facl
-facl32
+_facl32 = facl32
fchdir
_fchdir = fchdir
fchmod
_fchmod = fchmod
fchown
_fchown = fchown
-fchown32
+_fchown32 = fchown32
fclose
_fclose = fclose
fcloseall
@@ -436,7 +436,7 @@ fgetc
_fgetc = fgetc
fgetpos
_fgetpos = fgetpos
-fgetpos64
+_fgetpos64 = fgetpos64
fgets
_fgets = fgets
fileno
@@ -465,7 +465,7 @@ fnmatch
_fnmatch = fnmatch
fopen
_fopen = fopen
-fopen64
+_fopen64 = fopen64
fork
_fork = fork
fpathconf
@@ -481,7 +481,7 @@ free
_free = free
freopen
_freopen = freopen
-freopen64
+_freopen64 = freopen64
frexp
_frexp = frexp
frexpf
@@ -492,11 +492,10 @@ fseek
_fseek = fseek
fseeko
_fseeko = fseeko
-fseeko64
+_fseeko64 = fseeko64
fsetpos
_fsetpos = fsetpos
-fsetpos64
-fstat64
+_fsetpos64 = fsetpos64
_fstat64 = fstat64
fstatfs
_fstatfs = fstatfs
@@ -506,12 +505,12 @@ ftell
_ftell = ftell
ftello
_ftello = ftello
-ftello64
+_ftello64 = ftello64
ftime
_ftime = ftime
ftruncate
_ftruncate = ftruncate
-ftruncate64
+_ftruncate64 = ftruncate64
fwrite
_fwrite = fwrite
gamma
@@ -544,27 +543,27 @@ getdtablesize
_getdtablesize = getdtablesize
getegid
_getegid = getegid
-getegid32
+_getegid32 = getegid32
getenv
_getenv = getenv
geteuid
_geteuid = geteuid
-geteuid32
+_geteuid32 = geteuid32
getgid
_getgid = getgid
-getgid32
+_getgid32 = getgid32
getgrent
_getgrent = getgrent
-getgrent32
+_getgrent32 = getgrent32
getgrgid
_getgrgid = getgrgid
-getgrgid32
+_getgrgid32 = getgrgid32
getgrnam
_getgrnam = getgrnam
-getgrnam32
+_getgrnam32 = getgrnam32
getgroups
_getgroups = getgroups
-getgroups32
+_getgroups32 = getgroups32
gethostid
getitimer
getlogin
@@ -593,9 +592,9 @@ _getpwnam = getpwnam
getpwnam_r
getpwuid
_getpwuid = getpwuid
-getpwuid32
+_getpwuid32 = getpwuid32
getpwuid_r
-getpwuid_r32
+_getpwuid_r32 = getpwuid_r32
getrlimit
_getrlimit = getrlimit
getrusage
@@ -607,7 +606,7 @@ gettimeofday
_gettimeofday = gettimeofday
getuid
_getuid = getuid
-getuid32
+_getuid32 = getuid32
getutent
_getutent = getutent
getutid
@@ -654,7 +653,7 @@ _infinity = infinity
infinityf
_infinityf = infinityf
initgroups
-initgroups32
+_initgroups32 = initgroups32
initstate
ioctl
_ioctl = ioctl
@@ -732,7 +731,7 @@ lacl
_lacl = lacl
lchown
_lchown = lchown
-lchown32
+_lchown32 = lchown32
lcong48
_lcong48 = lcong48
ldexp
@@ -785,9 +784,8 @@ lround
lroundf
lseek
_lseek = lseek
-lseek64
_lseek64 = lseek64
-lstat64
+_lstat64 = lstat64
mallinfo
mallinfo
malloc
@@ -827,7 +825,7 @@ _mkdir = mkdir
mkfifo
mknod
_mknod = mknod
-mknod32
+_mknod32 = mknod32
mkstemp
_mkstemp = mkstemp
mktemp
@@ -835,7 +833,7 @@ _mktemp = mktemp
mktime
_mktime = mktime
mmap
-mmap64
+_mmap64 = mmap64
modf
_modf = modf
modff
@@ -1062,7 +1060,7 @@ seed48
_seed48 = seed48
seekdir
_seekdir = seekdir
-seekdir64
+_seekdir64 = seekdir64
sem_destroy
sem_init
sem_post
@@ -1075,20 +1073,20 @@ setdtablesize
_setdtablesize = setdtablesize
setegid
_setegid = setegid
-setegid32
+_setegid32 = setegid32
setenv
_setenv = setenv
seteuid
_seteuid = seteuid
-seteuid32
+_seteuid32 = seteuid32
setgid
_setgid = setgid
-setgid32
+_setgid32 = setgid32
setgrent
_setgrent = setgrent
setgroups
_setgroups = setgroups
-setgroups32
+_setgroups32 = setgroups32
sethostent
setitimer
setjmp
@@ -1112,9 +1110,11 @@ _setpwent = setpwent
setregid
_setregid = setregid
setregid32
+_setregid32 = setregid32
setreuid
_setreuid = setreuid
setreuid32
+_setreuid32 = setreuid32
setrlimit
_setrlimit = setrlimit
setsid
@@ -1124,7 +1124,7 @@ settimeofday
_settimeofday = settimeofday
setuid
_setuid = setuid
-setuid32
+_setuid32 = setuid32
setutent
_setutent = setutent
setvbuf
@@ -1210,7 +1210,7 @@ _srand48 = srand48
srandom
sscanf
_sscanf = sscanf
-stat64
+_stat64 = stat64
statfs
_statfs = statfs
strcasecmp
@@ -1328,7 +1328,7 @@ tdelete
tdestroy
telldir
_telldir = telldir
-telldir64
+_telldir64 = telldir64
tempnam
_tempnam = tempnam
tfind
@@ -1354,7 +1354,7 @@ towlower
towupper
truncate
_truncate = truncate
-truncate64
+_truncate64 = truncate64
truncf
tsearch
ttyname
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index b9deb50..cd49fa5 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -201,12 +201,16 @@ details. */
82: Export wcscoll wcswidth wcwidth
83: Export gethostid
84: Pty open allocates invisible console. 64 bit interface
+ 85: Export new 32/64 functions from API 0.79 only with leading
+ underscore. No problems with backward compatibility since no
+ official release has been made so far. This change removes
+ exported symbols like fopen64, which might confuse configure.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 84
+#define CYGWIN_VERSION_API_MINOR 85
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible