ed 2008-07-29 16:29:59 UTC
FreeBSD src repository
Modified files:
lib/libc/gen popen.c
Log:
SVN rev 180963 on 2008-07-29 16:29:59Z by ed
Convert popen()'s `pidlist' to a SLIST, for consistency.
I guess the original author of the popen() code didn't want to use our
<sys/queue.h> macro's, because the single linked list macro's didn't
offer O(1) deletion. Because I introduced SLIST_REMOVE_NEXT() some time
ago, we can now use the macro's here.
By converting the code to an SLIST, it is more consistent with other
parts of the C library and the operating system.
Reviewed by: csjp
Approved by: philip (mentor, implicit)
Revision Changes Path
1.20 +13 -11 src/lib/libc/gen/popen.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"