Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: denzel.in: rtroy owned process doing -bs Date: Mon, 13 Jan 2003 19:00:07 -0800 (PST) From: Richard Troy X-X-Sender: To: Norman Vine cc: Cygwin Subject: Re: GCC bug with strftime In-Reply-To: <031501c2bb75$72f016a0$f836ba8c@sfdev3> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > 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, so I > > thought I'd mention it here. > > > > The problem is that this call fails to return an hour: > > > > strftime(IT,key,"%m/%d/%y %l:%M %p", brokentime); > > hmmm... > > Are you sure that you are not passing a 'el' instead of a capital 'eye' > > it is real hard to differentiate in some typefaces > > note: python just calls the underlying 'C' strftime() implementation > > HTH > > Norman Thanks for the thought, Norman. The answer is yes, I have checked. The code works in my various RedHat environments and has been for a long time. Also capital I is not what I need; As your example illustrated, it returns a zero padded two digit hour, but what I want/need is a non-padded hour, two or one digit, depending. The reason I really care is because there are two programs that have to talk to one another, one written in C and the other in Java. It nearly doesn't matter which is which is which, they just have to agree on the format. All was fine until I compiled the code on my cygwin installation. -shrug- Richard -- 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/