From 81aee2e13ed8ee21ea2a6878865312765d73b695 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 18 Dec 2006 05:02:37 +0000 Subject: [PATCH] Don't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner) * tests/Makefile.am: Don't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner) --- ChangeLog | 12 ++++++++++++ tests/Makefile.am | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 89292438e..6479e7dc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-18 Matthias Clasen + + * tests/Makefile.am: Don't use $RANDOM if the shell doesn't + have it. (#346373, Thomas Klausner) + 2006-12-17 Behdad Esfahbod * glib/gstring.c: Improve docs about string functions taking a @@ -5,6 +10,13 @@ 2006-12-17 Matthias Clasen + * glib/gconvert.c: + * glib/gutf8.c (_g_charset_get_aliases): Put the G_GNUC_INTERNAL + where gcc doesn't complain about it. + + * glib/ghash.c: Make ref_count an int to avoid compiler + warnings. + * configure.in: Use AC_LANG_SOURCE for the clock test. * glib/gthreadpool.h: diff --git a/tests/Makefile.am b/tests/Makefile.am index 5128f6042..affb6b10f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -121,7 +121,7 @@ TESTS = $(test_programs) $(test_scripts) TESTS_ENVIRONMENT = srcdir=$(srcdir) \ LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \ MALLOC_CHECK_=2 \ - MALLOC_PERTURB_=$$(($$RANDOM % 256)) + if test "$$RANDOM" != "" ; then MALLOC_PERTURB_=$$(($$RANDOM % 256)); fi progs_ldadd = $(EFENCE) $(libglib) $(EFENCE) thread_ldadd = $(libgthread) $(G_THREAD_LIBS) $(progs_ldadd)