Re: cvs commit: src/lib/libc/gen closedir.c

2007-12-06 Thread Bruce Evans
On Thu, 6 Dec 2007, [utf-8] Dag-Erling Sm??rgrav wrote: Bruce Evans <[EMAIL PROTECTED]> writes: dd_lock cannot be declared as struct pthread_mutex *, since pthread_mutex is not permitted in the application namespace of dirent.h. dirent.h is (was) careful about namespaces. E.g., it keeps out o

Re: cvs commit: src/lib/libc/gen closedir.c

2007-12-06 Thread Dag-Erling Smørgrav
Bruce Evans <[EMAIL PROTECTED]> writes: > dd_lock cannot be declared as struct pthread_mutex *, since pthread_mutex > is not permitted in the application namespace of dirent.h. dirent.h > is (was) careful about namespaces. E.g., it keeps out of the application > namespace for its own struct _dird

Re: cvs commit: src/lib/libc/gen closedir.c

2007-12-03 Thread Bruce Evans
On Mon, 3 Dec 2007, [utf-8] Dag-Erling Sm??rgrav wrote: Olivier Houchard <[EMAIL PROTECTED]> writes: Log: Change the casts from (pthread_mutex_t *) to (void *) to keep gcc quiet. Anybody with a cleaner solution feel free to change it. Declare dd_lock as a struct pthread_mutex * instead

cvs commit: src/lib/libc/gen closedir.c readdir.c seekdir.c telldir.c

2007-12-03 Thread Dag-Erling Smorgrav
des 2007-12-03 14:33:51 UTC FreeBSD src repository Modified files: lib/libc/gen closedir.c readdir.c seekdir.c telldir.c Log: Since jb@ fixed the type of dd_lock in , these casts are no longer required. Revision ChangesPath 1.13 +3 -3 src/lib/l

Re: cvs commit: src/lib/libc/gen closedir.c

2007-12-03 Thread Dag-Erling Smørgrav
Olivier Houchard <[EMAIL PROTECTED]> writes: > Log: > Change the casts from (pthread_mutex_t *) to (void *) to keep gcc quiet. > Anybody with a cleaner solution feel free to change it. Declare dd_lock as a struct pthread_mutex * instead of a void * in src/include/dirent.h. DES -- Dag-Erlin

cvs commit: src/lib/libc/gen closedir.c

2007-11-19 Thread Olivier Houchard
cognet 2007-11-19 21:57:28 UTC FreeBSD src repository Modified files: lib/libc/gen closedir.c Log: Change the casts from (pthread_mutex_t *) to (void *) to keep gcc quiet. Anybody with a cleaner solution feel free to change it. Revision ChangesPath 1.12