Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2010 14:06:01 +0530
From:      ashish@freebsd.org (Ashish SHUKLA)
To:        Dan Nelson <dnelson@allantgroup.com>, Jens Rehsack <rehsack@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: getpwent bug?
Message-ID:  <86d3unrfgu.fsf@chateau.d.if>
In-Reply-To: <AANLkTilSum3vumQhv4qtOQhCaSHo832Ub3b9bEhP0zSt@mail.gmail.com> (Jens Rehsack's message of "Fri, 16 Jul 2010 08:39:31 %2B0200")
References:  <AANLkTin5RGYfu_Xt5HWxKFO8GMTOi3YWQ8dyr95ZDW-Y@mail.gmail.com> <20100715172615.GC5485@dan.emsphone.com> <86tyo0qd19.fsf@chateau.d.if> <20100716043056.GF5485@dan.emsphone.com> <AANLkTilSum3vumQhv4qtOQhCaSHo832Ub3b9bEhP0zSt@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Jens Rehsack writes:
> 2010/7/16 Dan Nelson <dnelson@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 act=
ively).
> 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).

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

=E2=80=9CProgress doesn't come from early risers =E2=80=93 progress is made=
 by lazy
men looking for easier ways to do things.=E2=80=9D (Robert A. Heinlein, 197=
3)

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iQIcBAEBCgAGBQJMQBn0AAoJEMdGz6nnT6SwrDkQAKPTvDFSa1GgXWjorrXwfCKY
BRFvKaJQs+2b7FWsxkIwG+Njp0A8CLThUndW8w8a/PpO4Y3F65wYR+OEslnjTGOz
fMnfdTK21CLUKGyBrgE949/tM8cSuWcKkrpaZty85ipX9ctH/PTj9Ut4a+cR9uXo
yY2OiydIw3O755oI0/U+4WS3Ui5LUeqVgDUb5NhRAc0/RT1VGTHW4sbrXfxZxEyp
q/RP1lYoCOjLUVBKvyKhJTwDY8nAXR0imy/ZKMXu0jEEfZWVdcmDzELXXfeo3YwB
7P1oo6ziB8KcnlYdyP4u8v24vrHexOGRq/4YHHYqjNEMneIhAW118BdXtEpr1ela
GEvyY1tE8rNyl/STkGoC0bynQALo9Qiv+WB1QT8TL1Zkcp72yd1wxPI4WSG2PyZp
dcHgNR5lWwDrrU6IXL5Ow2LQHhed4XoSTGSzZ9iQXBkvi2P1TkBWJN07bQ7cxM7V
+n+5HfD+Gxcseqyw1P3nDh48r5qc2lkcFeQeDKIZ3YukcnReDHtLong6ZWJcIJgM
PgskaB0TBp+cAFZfZg19qqC9kL+j9UdBLNuPGk2sbYtSzCM/e1XNi3d5ZcoxThgE
e3e7QQi9OqF459JRWFyCcsVz9xAQ/WDVyhdYqeDMqBMAC3WYMp6i3aNtgywNQHqb
+TjWYphQIhTGNkt4jCqm
=K9pV
-----END PGP SIGNATURE-----
--=-=-=--



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