aboutsummaryrefslogtreecommitdiff
path: root/lib/libedit/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-08-18 13:36:09 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-08-18 13:36:09 +0000
commit653fae1761049bd4a099be7648aa04b11516fec0 (patch)
tree7c1d03da4d82fc7d9b6d4e2a34dae2c1bd40f64c /lib/libedit/Makefile
parent9a69494e8b3a590ca055a256d8f9e59b441ef667 (diff)
downloadsrc-653fae1761049bd4a099be7648aa04b11516fec0.tar.gz
src-653fae1761049bd4a099be7648aa04b11516fec0.zip
Rework pfs_iterate() a bit to eliminate a bug related to process
directories. Previously, pfs_iterate() would return -1 when it reached the end of the process list while processing a process directory node, even if the parent directory contained further nodes (which is the case for the linprocfs root directory, where the process directory node is actually first in the list). With this patch, pfs_iterate() will continue to traverse the parent directory's node list after exhausting the process list (as was the intention all along). The code should hopefully be easier to read as well. While I'm here, have pfs_iterate() assert that the allproc lock is held.
Notes
Notes: svn path=/head/; revision=119069
Diffstat (limited to 'lib/libedit/Makefile')
0 files changed, 0 insertions, 0 deletions