From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Triplett Subject: Re: [PATCH] __DATE__ & __TIME expansion v2 Date: Sun, 20 May 2007 17:40:18 -0700 Message-ID: <4650EA72.7010101@freedesktop.org> References: <11797043663721-git-send-email-damien.lespiau@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3C6955A7CFA9659BB6BACE23" Return-path: Received: from mail7.sea5.speakeasy.net ([69.17.117.9]:48330 "EHLO mail7.sea5.speakeasy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758524AbXEUAkc (ORCPT ); Sun, 20 May 2007 20:40:32 -0400 In-Reply-To: <11797043663721-git-send-email-damien.lespiau@gmail.com> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Damien Lespiau Cc: linux-sparse@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3C6955A7CFA9659BB6BACE23 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Damien Lespiau wrote: > Makes __DATE__expand to a character string literal of > the form "Mmm dd yyyy" where the names of the months > are the same as those generated by the asctime function, > and the first character of dd is a space character if the > value is less than 10. > Makes __TIME__ expand to a a character string literal of > the form "hh:mm:ss" as in the time generated by the > asctime function. Applied, thanks! $ ./sparse -E /dev/stdin <<<'__DATE__ __TIME__' ; date "May 20 2007" "17:39:38" Sun May 20 17:39:38 PDT 2007 - Josh Triplett --------------enig3C6955A7CFA9659BB6BACE23 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGUOpyGJuZRtD+evsRAm9WAJ9u5ANhl8z4BdT20TEupn+pwIECsACgk57d dqRGTaonr2PCATWxAWBKYl4= =eO+Y -----END PGP SIGNATURE----- --------------enig3C6955A7CFA9659BB6BACE23--