| 1 | /* $Id: ChangeLog.LIBC 2303 2005-08-22 04:36:01Z bird $ */
 | 
|---|
| 2 | 
 | 
|---|
| 3 | TODO: open replace on RAMFS fails with error 32!
 | 
|---|
| 4 | 
 | 
|---|
| 5 | 2005-08-21: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 6 |     - emxbind, emxomfld:
 | 
|---|
| 7 |         o Default stack size set to 1MB.
 | 
|---|
| 8 |           The old defaults were 8MB (emxbind) and 8KB (emxomfld).
 | 
|---|
| 9 |     - libc:
 | 
|---|
| 10 |         o Filled in the NULLs in sys_signame and sys_siglist.
 | 
|---|
| 11 |         o Added __libc_Back_gfProcessHandleHashBangScripts and
 | 
|---|
| 12 |           __libc_Back_gfProcessHandlePCBatchScripts for use in shells which
 | 
|---|
| 13 |           can handle such scripts more efficiently than libc.
 | 
|---|
| 14 |         o Fixed some bugs related to finding the interpreter in the spawn/exec backend.
 | 
|---|
| 15 |         o Merged the signal semaphore handling into the safe sems and
 | 
|---|
| 16 |           made signals use them instead.
 | 
|---|
| 17 |         o Tried to workaround the race conditions in __libc_Back_safesemEvSleep/Wakeup.
 | 
|---|
| 18 |           These might affect SysV sems.
 | 
|---|
| 19 |         o Corrected the declarations of _DLL_InitTerm.
 | 
|---|
| 20 | 
 | 
|---|
| 21 | 2005-08-20: Lorne Sunley <lsunley@mb.sympatico.  >
 | 
|---|
| 22 |     - libc:
 | 
|---|
| 23 |         o Added OBJ_FORK to the allocations in sysv_shm.
 | 
|---|
| 24 | 
 | 
|---|
| 25 | 2005-08-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 26 |     - libc:
 | 
|---|
| 27 |         o Define _EMX_SOURCE (__USE_EMX) along with _BSD_SOURCE and _SVID_SOURCE as
 | 
|---|
| 28 |           defaults in features.h.
 | 
|---|
| 29 |         o Protect the fork operations by the means of must complete so
 | 
|---|
| 30 |           signals won't interrupt us till we're finished. This might leave
 | 
|---|
| 31 |           unkillable processes around if fork goes highwire.
 | 
|---|
| 32 |         o Better exception logging during fork.
 | 
|---|
| 33 |         o Use MMX memcpy in fork (if supported).
 | 
|---|
| 34 |         o The C function __libc_Back_processFork() replaces the pure assembly __fork().
 | 
|---|
| 35 |         o Added _memcpy_amd.
 | 
|---|
| 36 |         o Fixed some logging statements in sharedpm.c.
 | 
|---|
| 37 |         o Log __fmutex_release_internal_must_complete.
 | 
|---|
| 38 |         o Corrected a few prototypes in process.h to use pid_t.
 | 
|---|
| 39 | 
 | 
|---|
| 40 | 2005-08-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 41 |     - libc:
 | 
|---|
| 42 |         o Added SH_COMPAT to share.h and emulate it as SH_DENYNO (just like watcom).
 | 
|---|
| 43 |           The SH_COMPAT shareing mode is not available to OS/2 processes, only DOS / os2krnl.
 | 
|---|
| 44 | 
 | 
|---|
| 45 | 2005-08-02: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 46 |     - libc:
 | 
|---|
| 47 |         o __libc_back_fsNativeFileModeSet(): The long set api is broken
 | 
|---|
| 48 |           in 14.103b & c (at least) so avoid it where it isn't strictly required.
 | 
|---|
| 49 | 
 | 
|---|
| 50 | 2005-07-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 51 |     - libos2:
 | 
|---|
| 52 |         o Added some missing INCL_DOSERRORS #defines (very odd ones).
 | 
|---|
| 53 |     - emximp:
 | 
|---|
| 54 |         o Fixed bad done string allocation.
 | 
|---|
| 55 |     - ld:
 | 
|---|
| 56 |         o Fixed a case of memory access after free.
 | 
|---|
| 57 |         o Switched back to alloca and adding 23 MB of stack.
 | 
|---|
| 58 | 
 | 
|---|
| 59 | 2005-07-21: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 60 |     - libc:
 | 
|---|
| 61 |         o unistd.h prototype of encrypt() shall return void not int.
 | 
|---|
| 62 |         o Fixed __USE_GNU tests in ftw.h and sys/dirent.h.
 | 
|---|
| 63 | 
 | 
|---|
| 64 | 2005-07-17: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 65 |     - libc:
 | 
|---|
| 66 |         o LIBC_ASSERT*() are for internal libc errors, LIBCLOG_ERROR*() are
 | 
|---|
| 67 |           for user related error. Big code adjustements.
 | 
|---|
| 68 |         o Fixed a few smaller issues.
 | 
|---|
| 69 |         o Started fixing exec() backend.
 | 
|---|
| 70 |         o Fixed some more mktime / localtime bugs.
 | 
|---|
| 71 |         o Fixed crash on simple LIBC_ASSERT() caused by NULL format string.
 | 
|---|
| 72 |         o Generate device numbers for devices and pipes too.
 | 
|---|
| 73 |         o Fixed mixup of Dev and Inode during filehandle inheritance.
 | 
|---|
| 74 |         o Fixed __dup and __dup2 bug in relation to the FD_CLOEXEC clearing.
 | 
|---|
| 75 |         o Fixed bug in codepage normalization during setlocale().
 | 
|---|
| 76 |         o Fixed bug in regex where the lock was overwritten after initialization.
 | 
|---|
| 77 |         o Switch the glibc locks to smutex to avoid leaking event semaphores.
 | 
|---|
| 78 |         o Added _smutex_try_request().
 | 
|---|
| 79 |         o Fixed __libc_back_fsResolve to always set fInUnixTree so the result can
 | 
|---|
| 80 |           be adjusted correctly on failure as well.
 | 
|---|
| 81 |     - version.smak:
 | 
|---|
| 82 |         o Changed version number back to 3.3.5 / 0.6 rc1.
 | 
|---|
| 83 | 
 | 
|---|
| 84 | 2005-07-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 85 |     - libos2:
 | 
|---|
| 86 |         o UniStrFromUcs added and UniStrToUcs to uconv.h.
 | 
|---|
| 87 |           Added UniStrFromUcs, UniStrToUcs, UniMalloc and UniFree to unicode.imp.
 | 
|---|
| 88 | 
 | 
|---|
| 89 | 2005-07-10: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 90 |     - libc:
 | 
|---|
| 91 |         o Replaced BSD regex with the new GLIBC implementation.
 | 
|---|
| 92 |         o Fixed two bad bugs in the handling of the list of free
 | 
|---|
| 93 |           SPM notification structures.
 | 
|---|
| 94 |         o Moved the codeset standardization up a bit so nl_langinfo
 | 
|---|
| 95 |           and setlocale reports the same codeset.
 | 
|---|
| 96 | 
 | 
|---|
| 97 | 2005-07-06: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 98 |     - libc:
 | 
|---|
| 99 |         o Changed utimes() to allow NULL pointer parameter.
 | 
|---|
| 100 |           Please note that BSD will crash in if you try it there.
 | 
|---|
| 101 |         o Renamed the BSD setmode to bsd_setmode and put back the
 | 
|---|
| 102 |           PC setmode.
 | 
|---|
| 103 | 
 | 
|---|
| 104 | 2005-07-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 105 |     - libc:
 | 
|---|
| 106 |         o Fixed spawn/fork + fork() + exec/spawn/fork in the child.
 | 
|---|
| 107 |         o Kill any known decentants to prevent them from being
 | 
|---|
| 108 |           adopted by our parent. (On UNIX processes begin made
 | 
|---|
| 109 |           orphants are adopted and killed by the init process.)
 | 
|---|
| 110 |         o Added signal handler types for POSIX, BSD and GNU conformance.
 | 
|---|
| 111 |         o Reap embryos when the waiter thread is querying spm about
 | 
|---|
| 112 |           the death certificate. This, together with a tiny fix
 | 
|---|
| 113 |           in __spawnve() cures the bad spm process leaks when spawning
 | 
|---|
| 114 |           non-libc processes seen with make when building libc.
 | 
|---|
| 115 | 
 | 
|---|
| 116 | 2005-07-04: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 117 |     - libc:
 | 
|---|
| 118 |         o Added the BSD optreset global to getopt.
 | 
|---|
| 119 |         o Changed PC setmode to _setmode. As it collides with a BSD 4.4. interface.
 | 
|---|
| 120 |         o Added the BSD 4.4. setmode/getmode functions from FreeBSD.
 | 
|---|
| 121 |         o Added getsid and getpgid, correcting the getpgrp implementation.
 | 
|---|
| 122 |         o Added/replaced setbuf, setbuffer and setlinebuf from BSD.
 | 
|---|
| 123 | 
 | 
|---|
| 124 | 2005-07-03: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 125 |     - libc:
 | 
|---|
| 126 |         o Collected the different panic routines into one single routine
 | 
|---|
| 127 |           in the backend, __libc_Back_panic[V](). The routine supports
 | 
|---|
| 128 |           very simple printf like message formatting. By default it wil
 | 
|---|
| 129 |           dump any available registers and attempt dumping the process
 | 
|---|
| 130 |           before killing it. This behaviour can be configured with the
 | 
|---|
| 131 |           env var.: LIBC_PANIC=[nodump][terse][quiet][breakpoint]
 | 
|---|
| 132 | 
 | 
|---|
| 133 | 2005-07-02: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 134 |     - libc:
 | 
|---|
| 135 |         o Added obstack.h and it's implementation from GLIBC.
 | 
|---|
| 136 |         o malloc and realloc must set errno to ENOMEM on failure.
 | 
|---|
| 137 |         o Fixed assertion during realloc(p, -256) to return failure
 | 
|---|
| 138 |           instead. Added a few more overflow checks.
 | 
|---|
| 139 |         o Added %m (GLIBC extension) to the printf familiy. %m means
 | 
|---|
| 140 |           priting strerror(errno), it takes no arguments.
 | 
|---|
| 141 |         o Fixed serveral bugs in the C/POSIX locale
 | 
|---|
| 142 |         o Implemented the LC_MESSAGES locale.
 | 
|---|
| 143 |         o Fixed mixup in fts.c port.
 | 
|---|
| 144 |         o Replaced the EMX ftw with the BSD one so we implement the SuS specs.
 | 
|---|
| 145 |         o Clear FD_CLOEXEC on the handle returned by dup, dup2 and fcntl(F_DUPFD,,).
 | 
|---|
| 146 |         o Fixed a buffer size validation bug in the backend for getcwd and
 | 
|---|
| 147 |           friends. Was requiring a byte to much.
 | 
|---|
| 148 |         o Updated some TCPIP headers with GLIBC __USE_MISC #includes. (more to go)
 | 
|---|
| 149 |         o sys/fcntl.h shall include sys/stat.h in XSI mode.
 | 
|---|
| 150 |         o Added stpncpy from GLIBC.
 | 
|---|
| 151 |         o Added sys/builtin.h to sys/smutex.h.
 | 
|---|
| 152 |         o Updated features.h and sys/gnu/cdefs.h with more recent versions from cvs.
 | 
|---|
| 153 |         o Ported from GLIBC 2.3.x CVS.
 | 
|---|
| 154 |         o Fixed some waitid() and waitpid() problems related to stopping and resuming children.
 | 
|---|
| 155 |         o Updated argz.h because of bustage caused by new cdefs.h (THROW).
 | 
|---|
| 156 |     - libcrypt:
 | 
|---|
| 157 |         o Created stub library.
 | 
|---|
| 158 |     - version.smak, libc.smak:
 | 
|---|
| 159 |         o Back to betas, beta6 now.
 | 
|---|
| 160 | 
 | 
|---|
| 161 | 2005-07-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 162 |     - libc:
 | 
|---|
| 163 |         o Made isinf[lf] return -1 for negative infinity like GLIBC does.
 | 
|---|
| 164 |         o Added prototypes for nan[lf] to math.h, gcc inlines these.
 | 
|---|
| 165 |         o Ported GLIBC argp and getopt (argp requires the GLIBC one).
 | 
|---|
| 166 |           This means no optreset anylonger.
 | 
|---|
| 167 |         o Some corrections / hacks in the weak_alias departement.
 | 
|---|
| 168 |         o Shopped missing math stuff from GLIBC.
 | 
|---|
| 169 |         o Added fpu_control.h, ieee754.h and endian.h from the GLIBC tradition.
 | 
|---|
| 170 | 
 | 
|---|
| 171 | 2005-06-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 172 |     - libc:
 | 
|---|
| 173 |         o Added fwide() (dummy until LIBC07).
 | 
|---|
| 174 |         o Renamed struct _FILE to struct __sFILE to match BSD.
 | 
|---|
| 175 |         o Added wait.h for GLIBC compatability, content is #include <sys/wait.h>.
 | 
|---|
| 176 |         o Added _D_EXACT_NAMLEN and _D_ALLOC_NAMLEN macros to sys/dirent.h to
 | 
|---|
| 177 |           make GLIBC code happy.
 | 
|---|
| 178 |         o Added REG_NOERROR to regex.h to make GLIBC code happy.
 | 
|---|
| 179 |         o The three default heap handles can be duplicates of one another, this
 | 
|---|
| 180 |           could cause deadlocks in certain cases usually involing tiled memory.
 | 
|---|
| 181 |         o Added asprintf() and vasprintf().
 | 
|---|
| 182 |         o Added get_current_dir_name() (GLIBC extension).
 | 
|---|
| 183 |         o Added the strdupa() and strndupa() GLIBC extensions. These are macros
 | 
|---|
| 184 |           use alloca() to allocate the memory for the string.
 | 
|---|
| 185 |         o Added the getdelim() and getline() GLIBC extensions.
 | 
|---|
| 186 |         o Added getlogin_r() (still just a fake).
 | 
|---|
| 187 |         o Added TEMP_FAILURE_RETRY() macro to unistd.h. This is yet another GLIBC hack.
 | 
|---|
| 188 | 
 | 
|---|
| 189 | 2005-06-29: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 190 |     - *:
 | 
|---|
| 191 |         o Fixed stack alignment, it must be 16 bytes not 4!
 | 
|---|
| 192 |         o Fixed bustage caused by the include cleanup.
 | 
|---|
| 193 |     - libc:
 | 
|---|
| 194 |         o Added ieeefp.h and functions from FreeBSD - this is
 | 
|---|
| 195 |           the SysV/386 FP control interface. (inline only)
 | 
|---|
| 196 |         o Added fgets_unlocked and gets_unlocked.
 | 
|---|
| 197 | 
 | 
|---|
| 198 | 2005-06-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 199 |     - *:
 | 
|---|
| 200 |         o Released v0.6 beta 5.
 | 
|---|
| 201 |         o Changed versions to v0.6 rc1.
 | 
|---|
| 202 |         o Created the libc06b5 forwarder dll.
 | 
|---|
| 203 |     - libc:
 | 
|---|
| 204 |         o Added _NSIG and making NSIG and _NSIG equal to SIGRTMAX + 1.
 | 
|---|
| 205 |         o Added memrawchr and strchrnul from glibc, enabling us to shop .S
 | 
|---|
| 206 |           files from glibc at the same time.
 | 
|---|
| 207 |         o On glibc lot's of limits.h stuff is included from direct.h because of
 | 
|---|
| 208 |           need for NAME_MAX, let's do something similar.
 | 
|---|
| 209 |         o Corrected MAXNAMLEN / d_name field length.
 | 
|---|
| 210 | 
 | 
|---|
| 211 | 2005-06-27: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 212 |     - emxomfld, ld:
 | 
|---|
| 213 |         o Generate .def-file for dlls without one. (This only makes sense for
 | 
|---|
| 214 |           emxomfld since ld doesn't implement __declspec(dllexport) yet, but
 | 
|---|
| 215 |           anyway.)
 | 
|---|
| 216 |     - emxomf, emxomfld:
 | 
|---|
| 217 |         o Kicked out all the old weak handling (from early 3.2.2 alphas).
 | 
|---|
| 218 | 
 | 
|---|
| 219 | 2005-06-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 220 |     - libc:
 | 
|---|
| 221 |         o Added [__]isinf[fl] which seems to have been mislaid during the
 | 
|---|
| 222 |           math source import.
 | 
|---|
| 223 |         o Rewrote the libcXXXX.dll install rule to not play with emxload since
 | 
|---|
| 224 |           emxload sticks around when first loaded.
 | 
|---|
| 225 |         o Made unsetenv() cause tzset reload just like putenv() and setenv().
 | 
|---|
| 226 |         o Changed putenv() behaviour for removal (no '=' in input) to be identical
 | 
|---|
| 227 |           to unsetenv(). This solves duplicate variable testcase.
 | 
|---|
| 228 |         o Changed filestreams opened for both reading and writing to switch
 | 
|---|
| 229 |           more willingly between read and write mode.
 | 
|---|
| 230 |         o Made sscan() return EOF on EOF.
 | 
|---|
| 231 |         o Made sscan() skip blanks in input for '%%'.
 | 
|---|
| 232 |         o Implemented the stdio_unlocked stuff with BSD and GLIBC extension.
 | 
|---|
| 233 |           TODO: Require a new locktype which support recursive usage! Currently
 | 
|---|
| 234 |                 a hack using 8 free flag bits is used.
 | 
|---|
| 235 |         o Corrected realpath() behaviour to return the path up to the failure
 | 
|---|
| 236 |           point on error. _realrealpath() also does this now.
 | 
|---|
| 237 |           (This also saves us a temp buffer and a copy of the result.)
 | 
|---|
| 238 |         o Fixed a bug in the handling of ".." in the path resolver.
 | 
|---|
| 239 |         o Extended that path resolver to check the directoryness of the input
 | 
|---|
| 240 |           according to flags and any trailing slashes.
 | 
|---|
| 241 |         o Change the path resolver to be very strict about UNC - UNC have exactly
 | 
|---|
| 242 |           two slashes at the start of the path.
 | 
|---|
| 243 | 
 | 
|---|
| 244 | 2005-06-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 245 |     - libc:
 | 
|---|
| 246 |         o Fixed SIGINT and similar issues with fork().
 | 
|---|
| 247 |           TODO: LIBC signals depending on 16-bit OS/2 signals will
 | 
|---|
| 248 |                 still cause trouble, this needs fixing.
 | 
|---|
| 249 |         o Extended the fmutex error message.
 | 
|---|
| 250 |         o Fixed regression in the fmutex must completion code (bad fs handling).
 | 
|---|
| 251 | 
 | 
|---|
| 252 | 2005-06-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 253 |     - libc:
 | 
|---|
| 254 |         o Fixed some more incorrectness of the 'C' locale, it only
 | 
|---|
| 255 |           defines the first 128 chars.
 | 
|---|
| 256 |         o Build hack for math.h.
 | 
|---|
| 257 |         o Updated sys/stat.h, sys/resource.h and sys/_types.h to
 | 
|---|
| 258 |           FreeBSD 5.3 level.
 | 
|---|
| 259 |         o btowc(): WEOF is 32-bit, wchar_t is 16.
 | 
|---|
| 260 |         o *printf(): wide char support.
 | 
|---|
| 261 |         o sysctl(): Changed the boottime alogrithm.
 | 
|---|
| 262 |         o strxfrm(): Corrected the return values.
 | 
|---|
| 263 |         o __ftime(): Corrected regression causing the time to be 35 years wrong.
 | 
|---|
| 264 |         o strftime(): Added C99 %F.
 | 
|---|
| 265 |         o strptime(): Fixed a few parsing and calculation bugs.
 | 
|---|
| 266 | 
 | 
|---|
| 267 | 2005-06-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 268 |     - libc:
 | 
|---|
| 269 |         o File resize optimization: The JFS, HPFS and probably NET
 | 
|---|
| 270 |           will never return space which isn't zeroed when expanding
 | 
|---|
| 271 |           a file. Associate a file system information object with the
 | 
|---|
| 272 |           filehandles to keep track of such features. This also fixes
 | 
|---|
| 273 |           the fsStatFH() implementation trouble.
 | 
|---|
| 274 |           This attribute doesn't apply to CDFS. While RAMFS fails
 | 
|---|
| 275 |           the test, it zeros at open but not at setfilesize.
 | 
|---|
| 276 |         o Fixed invalid inode and dev numbers for new files, was passing
 | 
|---|
| 277 |           the wrong path around.
 | 
|---|
| 278 | 
 | 
|---|
| 279 | 2005-06-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 280 |     - libc:
 | 
|---|
| 281 |         o Auto init fmutexes.
 | 
|---|
| 282 |         o Fixed potential deadlock the first time a must-complete
 | 
|---|
| 283 |           fmutex was entered.
 | 
|---|
| 284 |         o Replaced mktemp and mkstemp with BSD versions. Also adding
 | 
|---|
| 285 |           mkstemps, mkdtemp, arc4random, arc4random_addrandom and
 | 
|---|
| 286 |           arc4random_stir.
 | 
|---|
| 287 |         o Limited the namespace pollution caused by machine/param.h
 | 
|---|
| 288 |           (included by sys/param.h which is used by lot's of tcpip headers).
 | 
|---|
| 289 |           Define _BSD_NAMESPACE_POLLUTION to get it all.
 | 
|---|
| 290 |         o Fixed bug in getitimer/setitmer, it didn't zero the old value struct
 | 
|---|
| 291 |           if the timer wasn't running.
 | 
|---|
| 292 |         o Fixed a bug in __ftime(), the time was jolting around.
 | 
|---|
| 293 | 
 | 
|---|
| 294 | 2005-06-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 295 |     - libc:
 | 
|---|
| 296 |         o Changed the LIBC_PATHREADWRITERS to a generic LIBC_HOOK_DLLS.
 | 
|---|
| 297 |           See src/emx/src/lib/sys/hooks.c for details.
 | 
|---|
| 298 | 
 | 
|---|
| 299 | 2005-06-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 300 |     - libc:
 | 
|---|
| 301 |         o The smallcnv stuff is gone, waste of space since we're not really into
 | 
|---|
| 302 |           static linking. Should've done this when switching to gdtoa.
 | 
|---|
| 303 |         o Ported the msun and some other math bits from current FreeBSD libc.
 | 
|---|
| 304 |           This mostly replaces the EMX math, except for some double long variants
 | 
|---|
| 305 |           and some EMX specific ones. This is a risky change, but it's needed
 | 
|---|
| 306 |           if we're gonna catch up on the C99 bits and make libstdc++ happy.
 | 
|---|
| 307 |           There are some new headers, complex.h and fenv.h being the importan ones.
 | 
|---|
| 308 |           float.h have gotten some updates while math.h is totally replaced.
 | 
|---|
| 309 |           More than 100 standard functions were added!
 | 
|---|
| 310 |           NOTE: msun is using MATH_ERREXCEPT (math_errhandling) and not
 | 
|---|
| 311 |                 MATH_ERRNO for error reporting.
 | 
|---|
| 312 |           I really hope this is not gonna uncover more OS/2 387 mess.
 | 
|---|
| 313 |         o Handle .cmd, .bat, .btm and hash-bang script files if DosExecPgm()
 | 
|---|
| 314 |           fails. (I'm a little bit uncertain about argv[0], but it appears to work.)
 | 
|---|
| 315 | 
 | 
|---|
| 316 | 2005-06-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 317 |     - libc:
 | 
|---|
| 318 |         o the setitimer backend was making incorrect assumptions about the
 | 
|---|
| 319 |           HTIMER range - NULLHANDLE is valid for HTIMER. Changed it to use ~0U
 | 
|---|
| 320 |           as invalid handle. (untested)
 | 
|---|
| 321 |         o Default TCPIP mode is __USB_LIBC_TCPIP. When either TCPV40HDRS or TCPV41HDRS
 | 
|---|
| 322 |           are defined we are in strict mode and __USB_LIBC_TCPIP will not be defined.
 | 
|---|
| 323 |     - libomflib, emxomfar:
 | 
|---|
| 324 |         o Allow multiple modules by the same basename. This is not in tradition with
 | 
|---|
| 325 |           other librarians, but it solves incompatible behaviour between emxomfar and ar.
 | 
|---|
| 326 |     - ld:
 | 
|---|
| 327 |         o Avoid using alloca since we might easily run out of stack for big objects
 | 
|---|
| 328 |           with debuginfo.
 | 
|---|
| 329 |     - emxomf:
 | 
|---|
| 330 |         o Added support for new EMX a.out stab N_EXP (0x6c). This encodes export
 | 
|---|
| 331 |           definitions. (gcc can do __declspec(dllexport) now.)
 | 
|---|
| 332 |           TODO: ld needs updating, probably this is the right time to drop the
 | 
|---|
| 333 |                 old ld and fixup the binutils port!
 | 
|---|
| 334 | 
 | 
|---|
| 335 | 2005-05-08: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 336 |     - libc:
 | 
|---|
| 337 |         o Added _getenv_[int|long|longlong]. Using this for LIBC_THREAD_MIN_STACK_SIZE.
 | 
|---|
| 338 |         o Ported the BSD SysV Semaphore module.
 | 
|---|
| 339 |         o Added a signal notification callback to the thread structure.
 | 
|---|
| 340 |         o Changed tcpip term callback to more generic exitlist callback (SPM).
 | 
|---|
| 341 |         o Ported the BSD SysV Shared Memory module.
 | 
|---|
| 342 | 
 | 
|---|
| 343 | 2005-05-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 344 |     - libc:
 | 
|---|
| 345 |         o Added fts.h and ported the BSD implementation.
 | 
|---|
| 346 |           It's not 100% correct since we're lacking fchdir and cannot open
 | 
|---|
| 347 |           directories - will update it when this is in place.
 | 
|---|
| 348 |         o Disabled the UF_ and SF_ defines in sys/stat.h since we don't have st_flags.
 | 
|---|
| 349 |         o Added mkfifo (stub).
 | 
|---|
| 350 |         o Added lutimes and futimes, replacing __utimes.
 | 
|---|
| 351 | 
 | 
|---|
| 352 | 2005-05-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 353 |     - libc:
 | 
|---|
| 354 |         o Fixed incorrect d_type returned by readdir and readdir_r.
 | 
|---|
| 355 |         o Changed chdir() to unix style, added _chdir_os2() as a backwards compatible
 | 
|---|
| 356 |           api. _chdir2() and chdir() are operating identically now.
 | 
|---|
| 357 |         o Fixed several incorrect/incomplete path resolve cases. Some causing
 | 
|---|
| 358 |           invalid ino values.
 | 
|---|
| 359 |         o Unlock the libc DLL before installing it (cp, make or someone might be using it).
 | 
|---|
| 360 |         o Unix root rewrite rule ends it's pszTo with a slash, this caused
 | 
|---|
| 361 |           two slashes and thus UNC trouble.
 | 
|---|
| 362 |         o Quick rewrite of access() (also affects eaccess()) to work in chroot environment.
 | 
|---|
| 363 |         o Added O_BINARY to all opens in bsd/db.
 | 
|---|
| 364 | 
 | 
|---|
| 365 | 2005-04-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 366 |     - libmoddef:
 | 
|---|
| 367 |         o Allow empty definition strings. (weakld failed on python _curses_m)
 | 
|---|
| 368 |     - weakld:
 | 
|---|
| 369 |         o Fixed incorrect .def-file parse error message.
 | 
|---|
| 370 |     - sys/param.h:
 | 
|---|
| 371 |         o Added MAXBSIZE, BKVASIZE and BKVAMASK which are used by some BSD tools.
 | 
|---|
| 372 |     - libc:
 | 
|---|
| 373 |         o Added fchmod and reimplemented chmod and lchmod. Still missing FS level
 | 
|---|
| 374 |           unix attribute handling, but this is a start.
 | 
|---|
| 375 | 
 | 
|---|
| 376 | 2005-04-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 377 |     - libc:
 | 
|---|
| 378 |         o Added the sysctl interface from BSD. Not all values are
 | 
|---|
| 379 |           supported, nor are we compatible with tcpip41 sysctl yet.
 | 
|---|
| 380 | 
 | 
|---|
| 381 | 2005-04-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 382 |     - libc:
 | 
|---|
| 383 |         o Fixed bug in getfsstate(). (df from coreutils works now!)
 | 
|---|
| 384 |         o Implemented process priority management. Added nice(), setpriority()
 | 
|---|
| 385 |           and getpriority() in the process.
 | 
|---|
| 386 |         o Added process enumeration and access function to sharedpm.
 | 
|---|
| 387 | 
 | 
|---|
| 388 | 2005-04-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 389 |     - emxomf:
 | 
|---|
| 390 |         o Refined the 'G' hack fixing globals in the text segment.
 | 
|---|
| 391 |     - libc:
 | 
|---|
| 392 |         o Added cs:eip to the abnormal termination message. (signals.c)
 | 
|---|
| 393 |         o Default stack size 512KB when caller specifies 0. (beginthr.c)
 | 
|---|
| 394 |         o Use the env.var. LIBC_THREAD_MIN_STACK_SIZE value as a byte count
 | 
|---|
| 395 |           specifying the minimum stack size. When not specified minium size
 | 
|---|
| 396 |           defaults to 4096. (beginthr.c)
 | 
|---|
| 397 |         o Added the libsocket and libsyslog libraries to the libc IMPORT library.
 | 
|---|
| 398 |           There are now two sets of libc_dll.a/lib libraries, one for tcpipv4 and
 | 
|---|
| 399 |           one for tcpipv41+ (default).
 | 
|---|
| 400 |         o Added nanosleep() and changed usleep() and sleep() to use it.
 | 
|---|
| 401 |         o Added wmemcpy(), wmemset(), wmemcmp(), wmemchr() and wmemmove(). (untested)
 | 
|---|
| 402 |         o Added SUN/HP/RTLinux api gethrtime() as a wrapper around the DosTmr* apis.
 | 
|---|
| 403 |         o Rewrote atexit() fixing problem with the callbacks calling exit() recursivly
 | 
|---|
| 404 |           and adding on_exit().
 | 
|---|
| 405 |         o Added stdio_ext.h and implemented __fpending() and __fbufsize().
 | 
|---|
| 406 |           (Just to make coreutils easier to port.)
 | 
|---|
| 407 | 
 | 
|---|
| 408 | 2005-03-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 409 |     - src/lib/sys/__spawnve.c:
 | 
|---|
| 410 |         o Fixed double free of pFS (should've been pSig).
 | 
|---|
| 411 |           Thanks for froloff.
 | 
|---|
| 412 | 
 | 
|---|
| 413 | 2005-03-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 414 |     - 386/builtin.h:
 | 
|---|
| 415 |         o Fixed serveral bugs in the atomic inc/dec functions.
 | 
|---|
| 416 |           Added a testcase for these.
 | 
|---|
| 417 |     - libc:
 | 
|---|
| 418 |         o Fixed various typos in the socket per process counting. Thanks to
 | 
|---|
| 419 |           nickk for point these out.
 | 
|---|
| 420 | 
 | 
|---|
| 421 | 2005-03-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 422 |     - version.smak:
 | 
|---|
| 423 |         o 6b4 -> 6b5.
 | 
|---|
| 424 | 
 | 
|---|
| 425 |     - libc:
 | 
|---|
| 426 |         o Implemented socket duplication.
 | 
|---|
| 427 |         o Fixed various socket close & fork bugs.
 | 
|---|
| 428 |         o Applied parts of tcpipver patches from Lorne and Froloff.
 | 
|---|
| 429 |         o Fixed various UNC trouble reported by David.
 | 
|---|
| 430 |         o Fixed open problem in DosEx.
 | 
|---|
| 431 |         o Fixed incorrect pool allocation in DosEx.
 | 
|---|
| 432 |         o Fixed missing free pool item in DoxEx - *big* leak.
 | 
|---|
| 433 |         o Fixed TID/PID mixup when calling DosVerifyPidTid() from fmutex wait loop.
 | 
|---|
| 434 |         o Applied patch from Nickk for broken settimeofday().
 | 
|---|
| 435 |         o Moved iconv into LIBC.
 | 
|---|
| 436 |         o Ported GLIBC intl and made it a part of LIBC.
 | 
|---|
| 437 |         o Implemented -Zargs-wild and -Zargs-resp crt0 variations.
 | 
|---|
| 438 |         o Added support for single quoted arguments. (pray this doesn't screw up...)
 | 
|---|
| 439 |         o Replaced the __atod implementation with the NETLIB gdtoa implementation
 | 
|---|
| 440 |           used by BSD. (The old routine kept hitting assertions.)
 | 
|---|
| 441 |         o Created libc06a4 forwarder dll.
 | 
|---|
| 442 | 
 | 
|---|
| 443 |     - libiconv, libdl, libm:
 | 
|---|
| 444 |         o Made these empty stub libraries.
 | 
|---|
| 445 | 
 | 
|---|
| 446 |     - emxomf:
 | 
|---|
| 447 |         o Fixed getopt(,,"l::") problem. BSD getopt doesn't pass FLAG_PERMUTE for getopt and
 | 
|---|
| 448 |           thus it would consume the next argument unless it was an option. Using
 | 
|---|
| 449 |           getopt_long(,,"l::", NULL, NULL) solves the problem.
 | 
|---|
| 450 | 
 | 
|---|
| 451 |     - testcases:
 | 
|---|
| 452 |         o Testcases for various new problems/code.
 | 
|---|
| 453 | 
 | 
|---|
| 454 | 2005-02-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 455 |     - libc:
 | 
|---|
| 456 |         o Fixed bogus bubble sort in setlocale/LC_COLLATE.
 | 
|---|
| 457 | 
 | 
|---|
| 458 | 2005-01-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 459 |     - libc:
 | 
|---|
| 460 |         o Applied readdir_r() errno fix from Lorne.
 | 
|---|
| 461 |         o Fixed lstat() backend on request from Lorne.
 | 
|---|
| 462 | 
 | 
|---|
| 463 | 2005-01-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 464 |     - libc:
 | 
|---|
| 465 |         o Applies setlocale patch from Lorne which fixes two bugs in LC_COLLATE.
 | 
|---|
| 466 | 
 | 
|---|
| 467 | 2005-01-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 468 |     - libc:
 | 
|---|
| 469 |         o Applied setlocale patch from Lorne.
 | 
|---|
| 470 |         o Faked the C99 lconv additions by copying the local ones.
 | 
|---|
| 471 | 
 | 
|---|
| 472 | 2005-01-16: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 473 |     - libos2:
 | 
|---|
| 474 |         o Added SafeDosStartSession from Dmitry Froloff.
 | 
|---|
| 475 |     - libc:
 | 
|---|
| 476 |         o Fixed year problem in settimeofday.
 | 
|---|
| 477 |         o Check if fxsave/fxrstor is supported before using them in fork().
 | 
|---|
| 478 |           ASSUMES cpuid eax=1 works on all targets.
 | 
|---|
| 479 |         o Implemented nl_langinfo(CODESET).
 | 
|---|
| 480 |         o Added bunch a of ASCII codeset name conversions.
 | 
|---|
| 481 |         o Fixed bug in socket inherit over exec/spawn. Thanks to Froloff.
 | 
|---|
| 482 |         o Forgot to take the signal semaphore when receiving a signal
 | 
|---|
| 483 |           from the 16bit handler. Thanks to Froloff.
 | 
|---|
| 484 |         o rmdir errno fix from Lorne.
 | 
|---|
| 485 |         o rmdir shall fail on symlink.
 | 
|---|
| 486 |         o rmdir shall return ENOTDIR if the path isn't a directory (but exists).
 | 
|---|
| 487 |         o Fixed setlocale(LC_ALL/LC_MONETARY, "C").
 | 
|---|
| 488 |         o Changed the process reaper to use internal signal api to skip some overhead.
 | 
|---|
| 489 |         o Fixed a return path from signal raise where the signal sem wasn't
 | 
|---|
| 490 |           released. (The out of queue node hang.)
 | 
|---|
| 491 |     - libsocket:
 | 
|---|
| 492 |         o os2_select: Fixed a couple of filehandle conversion bugs. Thanks to Froloff.
 | 
|---|
| 493 |         o soclose shouldn't return EBADF but ENOSOCK according to the specs.
 | 
|---|
| 494 |     - libsocket, libc:
 | 
|---|
| 495 |         o Return ENOSOCK instead of ENOSYS when attempting socket operation on filehandle.
 | 
|---|
| 496 | 
 | 
|---|
| 497 | 
 | 
|---|
| 498 | 2005-01-??: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 499 |     - libc:
 | 
|---|
| 500 |         o Fixed problem with fork'ed children beliving they were
 | 
|---|
| 501 |           still forking after fork() returned. (DLL load issue)
 | 
|---|
| 502 |         o Fixed signal queue node leak. Thanks to Lorne.
 | 
|---|
| 503 | 
 | 
|---|
| 504 | 2004-12-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 505 |     - libc:
 | 
|---|
| 506 |         o Added inode and dev calculation for fstat and stat.
 | 
|---|
| 507 |           TODO: save unix EAs. opendir d_fileno?
 | 
|---|
| 508 |         o Ported all string/w* functions from FreeBSD except wcsxfrm.c.
 | 
|---|
| 509 | 
 | 
|---|
| 510 | 2004-12-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 511 |     - os2emx.h:
 | 
|---|
| 512 |         o Corrected define of NP_NBLK. (thanks to froloff)
 | 
|---|
| 513 |     - __mcount:
 | 
|---|
| 514 |         o Export stub in all builds but the profiling build.
 | 
|---|
| 515 |     - libdl:
 | 
|---|
| 516 |         o Removed and stubbed it (install). It's all in LIBC now.
 | 
|---|
| 517 |           TODO: make libm and libdl stubbing in LIBC!
 | 
|---|
| 518 | 
 | 
|---|
| 519 | 2004-12-09: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 520 |     - waitpid(), waitid(), wait(), wait4(), wait3(),
 | 
|---|
| 521 |       __libc_Back_processWait():
 | 
|---|
| 522 |         o Fixed missing WNOHANG handling.
 | 
|---|
| 523 |           Created waitpid-1.c testcase in testcase/misc for this problem.
 | 
|---|
| 524 |         o Clearified error codes ECHILD and EINVAL, use the waitpid() specs.
 | 
|---|
| 525 | 
 | 
|---|
| 526 |     - ChangeLog.Libc:
 | 
|---|
| 527 |         o Created this file.
 | 
|---|
| 528 | 
 | 
|---|