[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDate oddity

From: David Relson
Subject: NSDate oddity
Date: Thu, 03 May 2001 09:43:44 -0400


I'm using gnustep-base-1.0.0 with linux-2.4.4 on top of a Mandrake 8.0 distribution and have noticed an odd interaction between NSCalendarDate and gdb. The test case is trival - a program that creates 2 or more NSCalendarDate objects (and formats them as does NSLog()). Run from the command line, the program output is fine. Run inside gdb, the first date is garbled.

Anybody familiar with this anomaly or know what causes it?

The problem was initially noticed when using NSLog() calls in a large, multithreaded program. However, for once, the problem reduced nicely to a nearly trivial program.

FWIW, I've attached the program (date.m) and two output files - prog.out and gdb.out


Attachment: date.m
Description: Binary data

Attachment: prog.out
Description: Text document

Attachment: gdb.out
Description: Text document

David Relson                   Osage Software Systems, Inc.
address@hidden       Ann Arbor, MI 48103
www.osagesoftware.com          tel:  734.821.8800

reply via email to

[Prev in Thread] Current Thread [Next in Thread]