<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/revnetgroup, branch release/2.2.5</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F2.2.5</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F2.2.5'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>1996-12-22T15:13:03Z</updated>
<entry>
<title>YAMFC (Close PR #2193: support backslash line continuations.)</title>
<updated>1996-12-22T15:13:03Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>1996-12-22T15:13:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d67bce6c2c4d9098bd17f2561db97d13323733a5'/>
<id>urn:sha1:d67bce6c2c4d9098bd17f2561db97d13323733a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use err() instead of perror()/exit() and remember to #include &lt;errno.h&gt;</title>
<updated>1996-08-04T19:17:15Z</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>1996-08-04T19:17:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=09cd72056a504e1dc547437b3d4a183dddf71937'/>
<id>urn:sha1:09cd72056a504e1dc547437b3d4a183dddf71937</id>
<content type='text'>
and &lt;err.h&gt;.
</content>
</entry>
<entry>
<title>Small touchups:</title>
<updated>1996-05-12T17:17:45Z</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>1996-05-12T17:17:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7b71c676e8144df99554c15e86e2e6575171913'/>
<id>urn:sha1:d7b71c676e8144df99554c15e86e2e6575171913</id>
<content type='text'>
- Fix typos in comments in hash.c.
- Remove unneeded and unused member from grouplist struct in hash.h.
  (Curiously, the compiler never complained about this even though the
   member was of type 'struct grps' which is not defined anywhere in
   this program.)
- char ch -&gt; int ch in revnetgroup.c.
- char *argv[0]; -&gt; char *argv[]; also in revnetgroup.c.
- Force the user to specify at least one of the -u or -h flags
  and complain if they specify both.
</content>
</entry>
<entry>
<title>Import the first cut of my (finally finished) revnetgroup program. This</title>
<updated>1995-10-26T16:25:29Z</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>1995-10-26T16:25:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a44e4d140757134340807cb35dac2213cfc54b6c'/>
<id>urn:sha1:a44e4d140757134340807cb35dac2213cfc54b6c</id>
<content type='text'>
program parses the /etc/netgroup file into netgroup.byuser and netgroup.byhost
format for NIS.

I used hash tables to store the initial netgroup data in memory and to
construct the 'reverse' netgroup output. It seems just as fast as the
SunOS revnetgroup, which is surprising considering this is my first
attempt at using hash tables in a real application. :)

Note that I canibalized a large chunk of getnetgrent.c to save myself
from having to write my own netgroup parsing functions.
</content>
</entry>
</feed>
