From owner-cvs-src@FreeBSD.ORG Tue Jul 29 16:30:08 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F67A10656D2; Tue, 29 Jul 2008 16:30:08 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6C28A8FC1B; Tue, 29 Jul 2008 16:30:08 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m6TGU8GW042620; Tue, 29 Jul 2008 16:30:08 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6TGU8PJ042619; Tue, 29 Jul 2008 16:30:08 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200807291630.m6TGU8PJ042619@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Tue, 29 Jul 2008 16:29:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/gen popen.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2008 16:30:08 -0000 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 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