[Xcircuit-dev] Xcircuit Mac Crash

Tim Edwards tim at opencircuitdesign.com
Wed Mar 28 20:11:23 EDT 2012


Hello Charles,

> It looks like the "sprintf" call in "menucalls.c".  Your "cstr[5]" is 
> sprintf'd to as "%5d", and this results in six actual characters being 
> written (including the null).  But I'm guessing you know that.

And although you don't say so, I'm guessing that changing cstr[5]
to cstr[6] fixes it, which change I have already made to the git
repository.

Thanks for tracking it down!
						---Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim at opencircuitdesign.com    |
| Open Circuit Design, Inc.      | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-5030               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+


More information about the Xcircuit-dev mailing list