From owner-freebsd-questions@FreeBSD.ORG Fri Jul 16 08:36:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8282E106564A for ; Fri, 16 Jul 2010 08:36:13 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2EABD8FC22 for ; Fri, 16 Jul 2010 08:36:13 +0000 (UTC) Received: by pzk7 with SMTP id 7so660980pzk.13 for ; Fri, 16 Jul 2010 01:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=iqVNeQekvyF17YSTAy3BAnIz6U2sVBxWSPCEeta3Blo=; b=ikSMKzj9uT7SJPwL2QOY8BT7zaAWDZx/UAV1YN7MMvfJC0eMSK3NdKYmI/QW/HCbE8 +okhFw1eA6V8F0yt1K+hLv/iK0wOzF81HRrDUQcWRSKCNCftChcYzj4/M8XRWbHTJiNo 5X79ClYdDt1G/qMnoH3UDwCz45Tm163zstCGI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=k+GDh3BgW682a7hR9X9wbNv3oL1np2nAPtZ/9lrrx4zWa5YA/JMK2XiAC3AURFGJQ9 W3eiojGR525r/Vn1rN4KqX7BOsIuQtyGrzI3zLpK223jh0MLKj1bss374/yKjoJm11lp bz6S8r6bE4Fk7LbfBY+VE4B+78TMKsAiKkxjk= Received: by 10.114.106.14 with SMTP id e14mr1129014wac.51.1279269372628; Fri, 16 Jul 2010 01:36:12 -0700 (PDT) Received: from chateau.d.if ([122.163.158.53]) by mx.google.com with ESMTPS id 33sm18446421wad.18.2010.07.16.01.36.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Jul 2010 01:36:12 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [127.0.0.1]) by chateau.d.if (Postfix) with ESMTP id B05012D8027; Fri, 16 Jul 2010 14:06:04 +0530 (IST) From: ashish@freebsd.org (Ashish SHUKLA) To: Dan Nelson , Jens Rehsack Organization: The FreeBSD Project References: <20100715172615.GC5485@dan.emsphone.com> <86tyo0qd19.fsf@chateau.d.if> <20100716043056.GF5485@dan.emsphone.com> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 14:03:38 up 6:34, 1 user, load average: 0.00, 0.01, 0.00 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.34-ARCH/x86_64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Fri, 16 Jul 2010 14:06:01 +0530 In-Reply-To: (Jens Rehsack's message of "Fri, 16 Jul 2010 08:39:31 +0200") Message-ID: <86d3unrfgu.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: getpwent bug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2010 08:36:13 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jens Rehsack writes: > 2010/7/16 Dan Nelson : [...] >> 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----- --=-=-=--