0.11: fix major oops in DNS routines (only with WANT_FULL_RESOLV_CONF enabled). fix vsscanf bug (Thanks, David Chappell). add floor, ceil and memchr prototypes. add __builtin_expect and expect #defines for gcc versions below 3.0 cleaner errno vs __errno_location handling add placeholder iconv (iconv_open will always return EINVAL) try to remove kernel 2.4 header dependency in IPv6 sockaddr_in6 initialization of getaddrinfo. fix vsnprintf %X (printed lower case) I wrote a new getopt. It appears to actually work (it is POSIX compliant, it does not sort argv like the GNU version) and is only a little over 300 bytes on x86. Guillaume Cottenceau just wrote me that strncat should be even more broken than it already is: it should append n bytes AND THEN \0! I wonder how many programmers have produces off-by-one errors here... Fix regexec offset return. autoconf now believes that diet libc has POSIX regular expressions. Fix fnmatch (a/b/* matched a/b/c/d even if FNM_PATHNAME was set) Fix regular expression match for x* when there is no x at all. Fix memory leak in error case in gethostbyname(2|). Thanks, Dietz Pröpper. Add %h to vsnprintf. Add FAQ. Make %h work for signed numbers and add %hh to vsnprintf. initgroups ignored the group argument :-( remove printf references and nested functions from glob. added an errno in libpthread that will display a prominent linker warning. started getting rid of kernel headers. Big task! :-( add res_mkquery. The diet libc can now compile and link mtr. Olaf: added a lot of code in libdl (not yet complete), changed the startup code to make it work with his libdl and ld.so (needs still work too) __dns_readstartfiles only took the first domain or search path. Thanks, Anthony de Boer Olaf: added clone and a new unified_syscall for PowerPC also dynlinker is now available (i386 only at this time) crufted together a stdarg.h implementation from the various gcc headers. implement getopt_long (ugh, the GNU people need professional help) fixed word delimiters in regex (they looked for space, i.e. "," did not work as delimiter) errno.h now declares sys_errlist and sys_nerr. added mkdtemp. Uwe Ohse reported all of the following bugs: ttyname should return 0 if !isatty. realpath returns NULL if "." cannot be opened putenv erroneously accepted (and mishandled) entries without "=". popen returned 255 instead of 127 if /bin/sh could not be run. fgetc did not set the internal EOF indicator on EOF. bsearch contained an assumption about integer arithmetic overflow behavior. system did not set SIGCHLD and thus contained a race. popen did not set close-on-exec and could leak an fd on malloc error. daemon did not check whether open returns an fd below 3 perror did not save errno. Olaf: Peter Jones reported some problems with perror; strerror had the same problem. Peter also posted a patch to atexit/exit. With some modifications it is now implemented. Unbuffered stdio and ungetc can no longer be disabled. I will try to implement part of it using ELF weak symbols. Added minimal sysconf (tehe) from David Chappell. Added overflow handling for strtoul and strtol. Added WANT_ETC_HOSTS in dietfeatures.h and made gethostbyname/2 use it before falling back to DNS if enabled. Added a littie backwards compatibility cruft for gpm (man, do these sources stink!) Added openpty. Squeeze a few bytes off the is* routines, courtesy of Peter Jones. Fix fseek return value. Add dirname and basename. Add a few i386 math routines contributed by Frank Klemm. Fixed getservent (did not allow _ and - in the aliases). Thanks, Oden Eriksson Added a float.h so configure believes we have ANSI header files. Fix a lot more stdio bugs that Uwe Ohse pointed out. Olaf: has added a new scanf and printf core that is suitable for all scanf and printf function implementations Imported a few more functions and optimizations from Frank Klemm (he also rewrote dtostr to have more precision) Olaf: checked in a new sig* function family (based on rt_sig*). legacy <2.2 signal-handling doesn't work at the moment. Made rudimentary iconv that can convert back and forth between iso-8859-1, utf-8 and ucs-4 (for debugging). Thanks to Markus Kuhn for the excellent utf-8(7)!