Date: Tue, 5 Dec 2000 19:15:49 -0800 (PST) From: Daniel Eischen <deischen@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen closedir.c directory.3 opendir.c readdir.c telldir.c Message-ID: <200012060315.eB63FnE48013@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
deischen 2000/12/05 19:15:49 PST
Modified files:
lib/libc/gen closedir.c directory.3 opendir.c
readdir.c telldir.c
Log:
Cleanup XXXdir functions to eliminate global hash table of
telldir positions. This will allow (future) locking on a
per-DIR basis (for MT-safety). For now, this change does
the following:
o Remove the hash table from telldir.c. Recode to use queue
macros.
o Remove 'const' from 'telldir(const DIR *)'.
o Remove 'register' variables as suggested in a recent
thread.
No response from: -current
Revision Changes Path
1.7 +4 -4 src/lib/libc/gen/closedir.c
1.10 +2 -2 src/lib/libc/gen/directory.3
1.11 +3 -1 src/lib/libc/gen/opendir.c
1.7 +6 -5 src/lib/libc/gen/readdir.c
1.5 +24 -46 src/lib/libc/gen/telldir.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012060315.eB63FnE48013>
