Hello, my idea is to get rid of the different handling of errno (and h_errno, res_state). Currently errno is differently defined if THREADS are enabled (based on __errno_location), but for the case without threads it does not use depend on __errno_location. In __uClibc_main.c __errno_location is initialized to 0 (to be sure that we start with errno unset), but it does not affect errno if THREADS are disabled. To be consistent, in __uClibc_main.c errno would have to be set to 0 as well for disabled THREADS. I would propose to define errno always by __errno_location independently of THREADS enabled/disabled (similarly h_errno and res_state). This change can only be done after release of course.
Opinions? Thanks, Peter -- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
