This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Minor bug on an error case in tmpnam.c: Sun Oct 5 12:06:38 CDT 1997 Joel Sherrill <joel@oarcorp.com>. * libc/stdlib/tmpnam.c (worker): set char to '\0' not '0'. *** /tmp/tmpnam.c Sun Oct 5 12:05:59 1997 --- tmpnam.c Sun Oct 5 12:05:25 1997 *************** *** 124,130 **** { if (ptr->_errno == ENOSYS) { ! result[0] = '0'; return 0; } break; --- 124,130 ---- { if (ptr->_errno == ENOSYS) { ! result[0] = '\0'; return 0; } break;