* io/Makefile ($(objpfx)ftwtest.out): Use absolute file names.
2003-05-11 Ulrich Drepper <drepper@redhat.com>
* time/tst-strftime.c (do_test): Add tests for - flag.
2003-05-11 Jim Meyering <jim@meyering.net>
* time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect
the space-padded-by-default conversion specifiers, %e, %k, %l.
2003-05-11 Andreas Schwab <schwab@suse.de>
+2003-05-11 Andreas Schwab <schwab@suse.de>
+
+ * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names.
+
+2003-05-11 Ulrich Drepper <drepper@redhat.com>
+
+ * time/tst-strftime.c (do_test): Add tests for - flag.
+
+2003-05-11 Jim Meyering <jim@meyering.net>
+
+ * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect
+ the space-padded-by-default conversion specifiers, %e, %k, %l.
+
2003-05-11 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/sched_setaffinity.c: Fix parameter name.
-# Copyright (C) 1992-1999,2000,01,02 Free Software Foundation, Inc.
+# Copyright (C) 1992-2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
tests: $(objpfx)ftwtest.out
$(objpfx)ftwtest.out: $(objpfx)ftwtest
- $(SHELL) -e ftwtest-sh $(common-objpfx) $(<D)/$(<F) > $@
+ $(SHELL) -e ftwtest-sh $(shell cd $(common-objpfx). && pwd)/ \
+ $(shell cd $(<D) && pwd)/$(<F) > $@
endif
+2003-05-11 Ulrich Drepper <drepper@redhat.com>
+
+ * cond-perf.c (cons): Add missing locking around setting of alldone.
+
2003-05-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove futex
{
if (--ntogo == 0)
{
+ pthread_mutex_lock (&mut2);
alldone = true;
pthread_cond_signal (&cond2);
+ pthread_mutex_unlock (&mut2);
}
pthread_cond_wait (&cond1, &mut1);
pthread_t th[nthreads];
int i;
for (i = 0; i < nthreads; ++i)
- if ((err = pthread_create (&th[i], NULL, cons, (void *) (long) i)) != 0)
+ if (__builtin_expect ((err = pthread_create (&th[i], NULL, cons, (void *) (long) i)) != 0, 0))
printf ("pthread_create: %s\n", strerror (err));
for (i = 0; i < nrounds; ++i)
jump to one of these two labels. */
do_number_spacepad:
- /* Force `_' flag unless overwritten by `0' flag. */
- if (pad != L_('0'))
+ /* Force `_' flag unless overwritten by `0' or '-' flag. */
+ if (pad != L_('0') && pad != L_('-'))
pad = L_('_');
do_number: