Menu

Code Commit Log


Commit Date  
[r351] by obarthel

- When the main() function returns directly or indirectly by way of
calling exit(), the IoErr() value set at this time will now be
preserved until the program really returns control to the shell.
This turned out to be easier to implement than I had originally
thought, thanks to the fact that the atexit() functions are all
invoked straight after the exit() call.

2005-09-28 10:28:38 Tree
[r350] by obarthel

- The ERANGE initialization is not necessary.

2005-09-28 09:51:16 Tree
[r349] by obarthel

- strtoimax(), strtoumax(), strtod(), strtof(), strtol(), strtoll(),
strtoul() and strtoull() now count how many digits were converted.
If that number is zero, then the conversion is considered to have
failed: 0 is returned, errno is set to ERANGE and the 'ptr' parameter
reference is initialized with a pointer to the string to be converted.
This has two consequences:

1) A floating point number that has no digits in the significand
is no longer converted to zero. For example ".e10" can no longer
result in a successful conversion.

2) You can detect if a conversion is successful by comparing pointers
after the conversion function has returned:

char * str;
char * ptr;
long n;

n = strtol(str,&ptr,10);
if(n == 0 && str == ptr)
printf("conversion has failed");

2005-09-28 09:28:39 Tree
[r348] by obarthel

- tmpnam() wrote more than L_tmpnam bytes to the name buffer. Also, the
TMP_MAX value was off by one.

2005-09-04 11:28:00 Tree
[r347] by obarthel

- Following detection of a stack overflow, the startup code eventually
called _exit(). It should have called exit() instead.

2005-09-04 07:38:51 Tree
[r346] by --none--

This commit was manufactured by cvs2svn to create tag 'V1_195'.

2005-09-03 14:45:15 Tree
[r345] by obarthel

- Fixed a typo in the new tag item list.

2005-09-03 14:45:14 Tree
[r344] by obarthel

- Getting ready for release...

2005-09-03 14:09:56 Tree
[r343] by obarthel

- DoTimer() did not allocate the local MsgPort correctly. Fixed.

2005-08-31 07:26:13 Tree
[r342] by obarthel

- The 68020/030/040/060 versions of the library now include the
64 bit integer conversion code. The plain 68000 version does not.

- The 64 bit integer conversion code used in by the scanf() family
was broken due to a misplaced overflow check, which had the cruel
effect of triggering for 32 bit integers as well. Fixed.

2005-08-27 12:57:26 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.