delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/13/21:10:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 13 Jan 2003 21:10:25 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: GCC bug with strftime
Message-ID: <20030114021025.GC19823@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0301131738510 DOT 32485-100000 AT denzel DOT in>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.33.0301131738510.32485-100000@denzel.in>
User-Agent: Mutt/1.5.1i

On Mon, Jan 13, 2003 at 05:46:20PM -0800, Richard Troy wrote:
>I recently discovered a bug in strftime(). I downloaded a very recent copy
>of cygwin and tried again, but it's still there. So, I'd like to report
>it. I sent mail to the gcc-bugs list but nobody there seems to care,

Why *would* anyone in gcc care about a library problem?  I believe that
they actually mentioned that the below was a GNU extension.  But,
regardless, the problem has nothing to do with gcc.

>The problem is that this call fails to return an hour:
>
>	strftime(IT,key,"%m/%d/%y %l:%M %p", brokentime);
>
>The l% is supposed to represent a _space_ padded hour, as documented here:
>http://www.gnu.org/manual/glibc-2.0.6/html_chapter/libc_17.html#SEC302

cygwin != glibc.  However, since cygwin uses newlib, and the people in
the newlib project are a cooperative bunch, maybe if you submitted a
patch, they'd consider adding it.  The mailing list is newlib at sources
dot redhat dot com.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019