From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 05:55:14 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DEAB1065670 for ; Mon, 15 Nov 2010 05:55:14 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1BCC58FC16 for ; Mon, 15 Nov 2010 05:55:13 +0000 (UTC) Received: by wyb36 with SMTP id 36so2184020wyb.13 for ; Sun, 14 Nov 2010 21:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=peQMW/OYpFMA0njPGWfN5XJU4TyH4d0aupC8xVDjBhk=; b=W2ajH9gGXlcjAFfYqV8y36p70XTdmxhO0vbAC1O2oCZFIJVAJmfZVVM2Pfp06tqTOe 4Dg/ddQhWg69MEw671adQ8wetJGk4N/9EFsPGoGFXL0MkAhbDyDpsAKq4FE38XRsDWWv W920M8sfrk3/RUIRzINk4LXT6fR5m3CcBGIrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jVk0dWILt/MLWwM+dFgFJKQd1EimYj37CTN2aAybDyPgpR1YKXRNE/QHTnurudnSd5 mc58b8N76TXqcMiCFigvUH9VUkvcGlvy1d7F2SsoZJpTdQWAZS1EcsM/h7Z3Hiq6Z5N3 SWCo/zBKMfPROzsw9PPeqpYeIAu1oMqEkucGM= MIME-Version: 1.0 Received: by 10.216.82.197 with SMTP id o47mr5388602wee.45.1289800512782; Sun, 14 Nov 2010 21:55:12 -0800 (PST) Received: by 10.216.198.27 with HTTP; Sun, 14 Nov 2010 21:55:12 -0800 (PST) In-Reply-To: References: Date: Sun, 14 Nov 2010 21:55:12 -0800 Message-ID: From: Garrett Cooper To: freebsd-hackers@freebsd.org Content-Type: multipart/mixed; boundary=001636eefd2a6543a0049511152a Subject: Re: [PATCH] Fix lib/libpam's include of sys/time.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 05:55:14 -0000 --001636eefd2a6543a0049511152a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Nov 14, 2010 at 9:14 PM, Garrett Cooper wrote: > =A0 =A0libpam uses sys/time.h to pick up ctime, but it's actually defined > in time.h according to POSIX and the ctime manpage. > =A0 =A0If someone could help review and commit this patch, it would be > much appreciated. This is part of a much larger change to fix > namespace pollution with time.h in sys/time.h. Sorry... missed the gettimeofday requirement in the lib. The library fully compiles with this patch (where sys/time.h isn't removed). This is POSIX compliant. Thanks, -Garrett --001636eefd2a6543a0049511152a Content-Type: text/x-patch; charset=US-ASCII; name="lib-libpam-use-time-dot-h.patch" Content-Disposition: attachment; filename="lib-libpam-use-time-dot-h.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ggixwadn1 SW5kZXg6IC91c3Ivc3JjL2xpYi9saWJwYW0vbW9kdWxlcy9wYW1fdW5peC9wYW1fdW5peC5jCj09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT0KLS0tIC91c3Ivc3JjL2xpYi9saWJwYW0vbW9kdWxlcy9wYW1fdW5peC9wYW1fdW5p eC5jCShyZXZpc2lvbiAyMTUzMzMpCisrKyAvdXNyL3NyYy9saWIvbGlicGFtL21vZHVsZXMvcGFt X3VuaXgvcGFtX3VuaXguYwkod29ya2luZyBjb3B5KQpAQCAtNTAsNiArNTAsNyBAQAogI2luY2x1 ZGUgPHN0cmluZy5oPgogI2luY2x1ZGUgPHN0ZGlvLmg+CiAjaW5jbHVkZSA8c3lzbG9nLmg+Cisj aW5jbHVkZSA8dGltZS5oPgogI2luY2x1ZGUgPHVuaXN0ZC5oPgogCiAjaW5jbHVkZSA8bGlidXRp bC5oPgo= --001636eefd2a6543a0049511152a--