getpwent bug?

Ashish SHUKLA ashish at freebsd.org
Fri Jul 16 08:36:13 UTC 2010


Jens Rehsack writes:
> 2010/7/16 Dan Nelson <dnelson at allantgroup.com>:

[...]


>> Try the following patch:

Thanks, I'll try it when I'm on my FreeBSD box.

> Can I do this without a full world rebuild? (I do not develop in FBSD actively).
> Otherwise I recommend (the test case was in OP) that someone with a
> separate test box tries it out and commit it etc.

I don't think you need full world rebuild, just rebuilding world should do it.

> I had to develop a workaround for all other boxes anyway.

As a workaround you can use setpwent(3).

-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

“Progress doesn't come from early risers – progress is made by lazy
men looking for easier ways to do things.” (Robert A. Heinlein, 1973)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100716/ff6b353c/attachment.pgp


More information about the freebsd-questions mailing list