delorie.com/archives/browse.cgi | search |
On Sat, Feb 17, 2001 at 10:24:00AM -0500, Norman Vine wrote: >Christopher Faylor writes: >> >>On Fri, Feb 16, 2001 at 09:55:07PM -0500, Norman Vine wrote: >>>The attached test program demonstrates this. >>>I have looked at the mktime source in newlib >>>and can not see why this should be happening ? >> >>Have you debugged the problem in gdb? It should be fairly easy >>to figure out what is going on. > >Yes I have stepped thru this in gdb >And it wasn't 'obvious' to me how to find out >how errno was even being touched. Do a "display impure_ptr->_errno" (or whatever errno translates to) and step into mktime. You should be able to see which instruction changes errno. cgf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |