From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4920 Path: news.gmane.org!not-for-mail From: John Mudd Newsgroups: gmane.linux.lib.musl.general Subject: Re: asctime(0) Segmentation fault Date: Sat, 19 Apr 2014 18:46:42 -0400 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3439e487fe9104f76d0b07 X-Trace: ger.gmane.org 1397947645 4487 80.91.229.3 (19 Apr 2014 22:47:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2014 22:47:25 +0000 (UTC) To: musl Original-X-From: musl-return-4924-gllmg-musl=m.gmane.org@lists.openwall.com Sun Apr 20 00:47:19 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Wbe2W-00027m-UR for gllmg-musl@plane.gmane.org; Sun, 20 Apr 2014 00:47:17 +0200 Original-Received: (qmail 27903 invoked by uid 550); 19 Apr 2014 22:47:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 27895 invoked from network); 19 Apr 2014 22:47:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=T9JT5rIC/shl6XNiW4IaNp+Gir0vJit6lCr6hnUToS8=; b=v6rhZkV6WCZ4OFLN8ZMFv2c7AixtBA5FIfBUFY73qjMlmYACWBjXh8xwRkGfbsLrot u9ogC6ZBt1zvXKphzHIlBGUuFPjenqoDTlzEZWaKDwvXLy5xDVyozLmXQuRRe9Q77NJj a1UmCdDYYLNyoPVbMp78u1+4s4q8zZtH4kVbVktZuzfheQJHRlcpR2appEj2mOINtufl 6JFACFunJZvfLIxEQyXjLuwVwq93inlTVQ6vHx2XzyxlWScxNuMnKLsUptXSOdlxaE3U VnpesyzvwDZIVbwPvAjMgJBQzHUFa+0UBB0ej7E+fiApCIvnpodOVd+uhWzcqyclxYQw +bkA== X-Received: by 10.112.131.65 with SMTP id ok1mr380653lbb.51.1397947623798; Sat, 19 Apr 2014 15:47:03 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:4920 Archived-At: --047d7b3439e487fe9104f76d0b07 Content-Type: text/plain; charset=ISO-8859-1 It looks like asctime(0) should return 0 instead of Segmentation fault. On Sat, Apr 19, 2014 at 6:16 PM, John Mudd wrote: > > $ musl-gcc test_asctime.c -o test_asctime > $ test_asctime > Segmentation fault (core dumped) > $ > > --047d7b3439e487fe9104f76d0b07 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
It looks like=A0asctime(0) should return 0 instead of=A0Se= gmentation fault.


On Sat, Apr 19, 2014 at 6:16 PM, John Mudd <johnbmudd@gmail.com&= gt; wrote:

$ musl-= gcc test_asctime.c =A0 -o test_asctime
$ test_asctime
S= egmentation fault (core dumped)
$=A0


--047d7b3439e487fe9104f76d0b07--