From aa786f8a2e5b9eed73050632f3d7cc1f3e3dc422 Mon Sep 17 00:00:00 2001 From: cgf Date: Tue, 25 May 2004 03:21:34 +0000 Subject: [PATCH] * include/cygwin/version.h: Bump api minor version number. * cygwin.din: Export atoll. --- winsup/cygwin/ChangeLog | 8 ++++++++ winsup/cygwin/cygwin.din | 1 + winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/winbase.h | 4 ++-- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8a763f9bc0..0b386854ff 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,11 @@ +2004-05-24 Christopher Faylor + + * include/cygwin/version.h: Bump api minor version number. + +2004-05-24 Christopher Faylor + + * cygwin.din: Export atoll. + 2004-05-20 Christopher Faylor * tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index f319062484..a849f41b14 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -208,6 +208,7 @@ atoi NOSIGFE _atoi = atoi NOSIGFE atol NOSIGFE _atol = atol NOSIGFE +atoll NOSIGFE bcmp NOSIGFE _bcmp = bcmp NOSIGFE bcopy NOSIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index cc669604de..d171f40f15 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -243,12 +243,13 @@ details. */ 114: Export rand_r, ttyname_r. 115: Export flockfile, ftrylockfile, funlockfile, getgrgid_r, getgrnam_r, getlogin_r. + 116: Export atoll. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 115 +#define CYGWIN_VERSION_API_MINOR 116 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/winbase.h b/winsup/cygwin/winbase.h index 3dbf116eac..fc9af06fb8 100644 --- a/winsup/cygwin/winbase.h +++ b/winsup/cygwin/winbase.h @@ -34,7 +34,7 @@ ilockexch (long *t, long v) __asm__ __volatile__ ("\n\ 1: lock cmpxchgl %3,(%1)\n\ jne 1b\n\ - ": "=a" (__res), "=q" (t): "1" (t), "q" (v), "0" (*t)); + ": "=a" (__res), "=q" (t): "1" (t), "q" (v), "0" (*t): "memory": "cc"); return __res; } @@ -44,7 +44,7 @@ ilockcmpexch (long *t, long v, long c) register int __res; __asm__ __volatile__ ("\n\ lock cmpxchgl %3,(%1)\n\ - ": "=a" (__res), "=q" (t) : "1" (t), "q" (v), "0" (c)); + ": "=a" (__res), "=q" (t) : "1" (t), "q" (v), "0" (c): "memory": "cc"); return __res; } -- 2.11.0