Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2008 16:29:59 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/gen popen.c
Message-ID:  <200807291630.m6TGU8PJ042619@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807291630.m6TGU8PJ042619>