Bug 713936, land NSPR_4_9_BETA7 for final release testing, r=wtc

This commit is contained in:
Kai Engert 2012-02-14 23:06:50 +01:00
parent 53c6c4e413
commit cbabdaa26e
6 changed files with 27 additions and 10 deletions

View File

@ -1 +1 @@
NSPR_4_9_BETA6
NSPR_4_9_BETA7

View File

@ -43,3 +43,4 @@
#error "Do not include this header file."

6
nsprpub/configure vendored
View File

@ -5849,8 +5849,8 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
fi
fi
_SAVE_LDFLAGS="$LDFLAGS"
LDFLAGS="$OS_LIBS"
_SAVE_LIBS="$LIBS"
LIBS="$LIBS $OS_LIBS"
for ac_func in lchown strerror dladdr
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
@ -5906,7 +5906,7 @@ else
fi
done
LDFLAGS="$_SAVE_LDFLAGS"
LIBS="$_SAVE_LIBS"

View File

@ -2741,10 +2741,10 @@ dnl ========================================================
dnl Checks for library functions.
dnl ========================================================
AC_PROG_GCC_TRADITIONAL
_SAVE_LDFLAGS="$LDFLAGS"
LDFLAGS="$OS_LIBS"
_SAVE_LIBS="$LIBS"
LIBS="$LIBS $OS_LIBS"
AC_CHECK_FUNCS(lchown strerror dladdr)
LDFLAGS="$_SAVE_LDFLAGS"
LIBS="$_SAVE_LIBS"
dnl AC_FUNC_MEMCMP
dnl AC_FUNC_MMAP

View File

@ -354,6 +354,12 @@ typedef long PRInt32;
** for all the supported compilers topday). If PRInt64 and PRUint64
** are defined as structs, the LL_INIT macro defined in prlong.h has
** to be used.
**
** MACROS: PR_INT64_MAX
** PR_INT64_MIN
** PR_UINT64_MAX
** DESCRIPTION:
** The maximum and minimum values of a PRInt64 or PRUint64.
************************************************************************/
#ifdef HAVE_LONG_LONG
/* Keep this in sync with prlong.h. */
@ -378,8 +384,7 @@ typedef unsigned long long PRUint64;
#define PR_INT64(x) x ## LL
#define PR_UINT64(x) x ## ULL
#endif /* PR_BYTES_PER_LONG == 8 */
/* In any case, we want to define our constants, because PR_INT64 */
/* and PR_UINT64 will now be defined. */
#define PR_INT64_MAX PR_INT64(0x7fffffffffffffff)
#define PR_INT64_MIN (-PR_INT64_MAX - 1)
#define PR_UINT64_MAX PR_UINT64(-1)

View File

@ -296,7 +296,18 @@ static void TestLL(void)
LL_INIT(0, 0x7fffffff), /* 2147483647 */
LL_INIT(0xffffffff, 0x80000000), /* -2147483648 */
LL_INIT(0x7fffffff, 0xffffffff), /* 9223372036854775807 */
LL_INIT(0x80000000, 0) /* -9223372036854775808 */
LL_INIT(0x80000000, 0), /* -9223372036854775808 */
PR_INT64(0),
PR_INT64(1),
PR_INT64(-1),
PR_INT64(10),
PR_INT64(-10),
PR_INT64(32767),
PR_INT64(-32768),
PR_INT64(2147483647),
PR_INT64(-2147483648),
PR_INT64(9223372036854775807),
PR_INT64(-9223372036854775808)
};
static char *signs[] = {