| 1 | /* $Id: ChangeLog.LIBC 2822 2006-10-19 02:14:05Z bird $ */
 | 
|---|
| 2 | 
 | 
|---|
| 3 | TODO: open replace on RAMFS fails with error 32!
 | 
|---|
| 4 | 
 | 
|---|
| 5 | 2006-10-18: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 6 |     - include/unidef.h:
 | 
|---|
| 7 |         o #128: UNI_SYSTEM_LOCALES, UNI_USER_LOCALES, ULS_LNAMEMAX, and N_LC_CATEGORIES are missing from unidef.h.
 | 
|---|
| 8 | 
 | 
|---|
| 9 | 2006-09-10: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 10 |     - emxomfld, various:
 | 
|---|
| 11 |         o #89: Support wlink as an alternative to ilink and link386.
 | 
|---|
| 12 | 
 | 
|---|
| 13 | 2006-09-09: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 14 |     - libc:
 | 
|---|
| 15 |         o #124: Link libstdc++ into the libc dll.
 | 
|---|
| 16 |         o #125: Implemented nan(), nanl(), and nanf().
 | 
|---|
| 17 |     - emxomfld:
 | 
|---|
| 18 |         o #123: Exit with 8 instead of -1 on weakld failures.
 | 
|---|
| 19 | 
 | 
|---|
| 20 | 2006-09-08: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 21 |     - libc:
 | 
|---|
| 22 |         o #122: Fixed file creation when opening with read-only access.
 | 
|---|
| 23 | 
 | 
|---|
| 24 | 2006-08-27: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 25 |     - libc:
 | 
|---|
| 26 |         o Lock the thread database before forking. Fixes #102.
 | 
|---|
| 27 |         o Fixed log problem in fork() child. Fixes #119.
 | 
|---|
| 28 |         o Corrected DosSetFHState mask. Fixes #118.
 | 
|---|
| 29 |         o Implemented the new length modifiers for *scanf. Adjusted the length
 | 
|---|
| 30 |           modifier implementation for *printf. Fixes #76.
 | 
|---|
| 31 |         o Fixed problems with fork() and module loading/unloading. Fixes #76.
 | 
|---|
| 32 |         o Fixed atexit() and on_exit() problem with callbacks in unloaded DLLs. Fixes #103.
 | 
|---|
| 33 |         o Added usage counting to _CRT_init and _CRT_term. Fixing #114.
 | 
|---|
| 34 | 
 | 
|---|
| 35 | 2006-03-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 36 |     - libc:
 | 
|---|
| 37 |         o Inlined _um_find_bucket.
 | 
|---|
| 38 | 
 | 
|---|
| 39 | 2006-03-17: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 40 |     - libc:
 | 
|---|
| 41 |         o Try put the log file handle above the range of the standard handles
 | 
|---|
| 42 |         o #71: Fixed incorrect fmutex padding in FILE which cause _fcloseall
 | 
|---|
| 43 |          (and perhaps others) to crash. (thanks to froloff)
 | 
|---|
| 44 |     - emxomf:
 | 
|---|
| 45 |         o #70: Demangle symbol names in debug info. (thanks to Yuri)
 | 
|---|
| 46 | 
 | 
|---|
| 47 | 2006-03-14: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 48 |     - libc:
 | 
|---|
| 49 |         o #69: Corrected a few problems related to dos drives and slashes in basename and dirname.
 | 
|---|
| 50 |         o __read & __write logging, and added support for more size flags to the log formatter.
 | 
|---|
| 51 |         o #68: Implemented the _GETOPT_DECLARED blocker in getopt.h too.
 | 
|---|
| 52 | 
 | 
|---|
| 53 | 2006-03-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 54 |     - libc:
 | 
|---|
| 55 |         o #67: Removed termcap.h, curses.h, bsd/curses.h, bsd/termcap.h,
 | 
|---|
| 56 |           gnu/curses.h and gnu/termcap.h because we never built the libs for them.
 | 
|---|
| 57 |         o #65: Added sys/_timespec.h and uncommented it's inclusion in
 | 
|---|
| 58 |           sys/stat.h. This fixes the bustage in non-BSD source mode.
 | 
|---|
| 59 |         o Fixed wrong target name written into the symlink.
 | 
|---|
| 60 | 
 | 
|---|
| 61 | 2006-03-09: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 62 |     - libc:
 | 
|---|
| 63 |         o #62: Fixed incorrect EOF treatment in getdelim (and in getline since that's just a
 | 
|---|
| 64 |           special case of getdelim).
 | 
|---|
| 65 | 
 | 
|---|
| 66 | 2006-03-07: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 67 |     - libc:
 | 
|---|
| 68 |         o #49: Fixed stat backend so ctime is set, and made fstat, lstat and stat convert birthtime too.
 | 
|---|
| 69 |         o #61: Fixed incorrect ENOENT errno on symlink when it should return EEXIST.
 | 
|---|
| 70 | 
 | 
|---|
| 71 | 2006-03-06: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 72 |     - libc:
 | 
|---|
| 73 |         o #60: Fixed blunder in exec/spawn filehandle inheritance code.
 | 
|---|
| 74 | 
 | 
|---|
| 75 | 2006-03-04: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 76 |     - emxomfld:
 | 
|---|
| 77 |         o #55: delete the response file when reinit the args.
 | 
|---|
| 78 |         o #46: specify .map file extension to the linker.
 | 
|---|
| 79 | 
 | 
|---|
| 80 | 2006-03-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 81 |     - libc:
 | 
|---|
| 82 |         o #58: The standard file handles are always initialized as open.
 | 
|---|
| 83 | 
 | 
|---|
| 84 | 2006-02-06: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 85 |     - libc:
 | 
|---|
| 86 |         o #54: Fixed unitialized directory handle member fInUnixTree.
 | 
|---|
| 87 |         o #53: Fixed LIBC panic when _openstream locks the stream vector
 | 
|---|
| 88 |           in any of it's error cases.
 | 
|---|
| 89 |         o #52: Fixed two 'symlink/' problems in the path resolver.
 | 
|---|
| 90 |         o #51: Made unlink able to delete readonly files.
 | 
|---|
| 91 |         o #50: Inherit umask.
 | 
|---|
| 92 |         o #30: Committed forgotten header.
 | 
|---|
| 93 |         o #48: Quick implementation of the freopen(NULL,,) operation
 | 
|---|
| 94 |           to make cat from coreutils happy.
 | 
|---|
| 95 | 
 | 
|---|
| 96 | 2006-02-04: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 97 |     - emxbind:
 | 
|---|
| 98 |         o #38: Fixed truncation bug writing to the LX nametable. (Yuri)
 | 
|---|
| 99 |         o #38: Imports and exports are limited to 255 not 127 chars. (Yuri)
 | 
|---|
| 100 |     - emxomfld:
 | 
|---|
| 101 |         o #34: Removed all the silliness trying to deal with truncated symbols.
 | 
|---|
| 102 |     - libsocket:
 | 
|---|
| 103 |         o #25: Ensure correct address length returns from recvmsg and recvfrom.
 | 
|---|
| 104 |     - libc:
 | 
|---|
| 105 |         o memalign and valloc shouldn't be in __USE_GNU in malloc.h.
 | 
|---|
| 106 |         o #30: Fixed toupper / tolower EOF regression.
 | 
|---|
| 107 |         o Fixed incorrect assertion in __libc_back_fsInfoObjRelease.
 | 
|---|
| 108 |         o #41: And added special file mode mask getter and extra validations to check that
 | 
|---|
| 109 |           the mode mask we read has a valid type. This also shuts up some bad [f]chmod paths.
 | 
|---|
| 110 |         o #41: Calc st_ino and st_dev at the end of the unix attrib getter if they are not present.
 | 
|---|
| 111 |         o #40: Fixed double slash preventing root directories from being opened.
 | 
|---|
| 112 |         o #23: Fixed two incorrect EA size fields, now creating symlinks really works.
 | 
|---|
| 113 |         o #21: Restrict reading and writing of UnixEAs to HPFS, JFS, FAT and RAMFS.
 | 
|---|
| 114 |         o #38: Added DosSysCtl prototype and use it on panic to check for debugger.
 | 
|---|
| 115 |         o #33: Fixed a return path in __libc_back_signalWait which didn't reacquire the semaphore.
 | 
|---|
| 116 |         o #32: Fixed incorrect readdir_r return code when out of files.
 | 
|---|
| 117 | 
 | 
|---|
| 118 | 2006-02-03: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 119 |     - emxomfld:
 | 
|---|
| 120 |         o #20: use mkstemp + close instead of mktemp for the response file.
 | 
|---|
| 121 |     - ld:
 | 
|---|
| 122 |         o #20: use make_temp_file instead of mktemp. This involved including
 | 
|---|
| 123 |           libiberty.h which required some adjustments of duplicate code to work.
 | 
|---|
| 124 | 
 | 
|---|
| 125 | 2006-01-18: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 126 |     - libc:
 | 
|---|
| 127 |         o #30: Fixed two locale bugs. First, setlocale called a locale
 | 
|---|
| 128 |           dependent function for getting ctype flags. Second, all the
 | 
|---|
| 129 |           is<>() macros / functions was busted for non-ascii chars (-1..-128).
 | 
|---|
| 130 | 
 | 
|---|
| 131 | 2005-12-14: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 132 |     - emxbind:
 | 
|---|
| 133 |         o #28: Use DLL name from the .def file when present.
 | 
|---|
| 134 |     - ld:
 | 
|---|
| 135 |         o #27: Applied fix from Yuri.
 | 
|---|
| 136 | 
 | 
|---|
| 137 | 2005-12-18: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 138 |     - libc:
 | 
|---|
| 139 |         o #23: Corrected EA name in template from "FLAGS" to "SYMLINK".
 | 
|---|
| 140 |         o #24: Fixed chdir() crash in fts.c.
 | 
|---|
| 141 |         o #24: Fixed dirfd() problem in fts.c which prevent us from getting
 | 
|---|
| 142 |           any results in child directories.
 | 
|---|
| 143 |         o #22: Added DosFindFirst() as fallback when DosQueryPathInfo() fails
 | 
|---|
| 144 |           to query the symlink EA in the path resolver. This problem occurs
 | 
|---|
| 145 |           when doing stat() on an open file (pwd_mkdb example).
 | 
|---|
| 146 |     - emxomfld:
 | 
|---|
| 147 |         o Don't display usage() on failure, just the error message.
 | 
|---|
| 148 |     - *:
 | 
|---|
| 149 |         o Changed version to 0.6.1 and create the libc06.dll forwarder.
 | 
|---|
| 150 | 
 | 
|---|
| 151 | 2005-11-15: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 152 |     - libmoddef:
 | 
|---|
| 153 |         o Allow '.' and '@' in LIBRARY/NAME names.
 | 
|---|
| 154 | 
 | 
|---|
| 155 | 2005-11-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 156 |     - *:
 | 
|---|
| 157 |         o Created the 0.6 release branch.
 | 
|---|
| 158 | 
 | 
|---|
| 159 | 2005-11-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 160 |     - emxomf:
 | 
|---|
| 161 |         o Fixed problems with symbol truncation.
 | 
|---|
| 162 |           Kudos to Yuri for tracking down the places which required attention.
 | 
|---|
| 163 |     - libc:
 | 
|---|
| 164 |         o Committed the getdirents implementation (forgot to add it apparently).
 | 
|---|
| 165 |         o Created proper backend for fcntl removing F_GETOSFD in the process. Using
 | 
|---|
| 166 |           fcntl to set O_NONBLOCK on sockets works now.
 | 
|---|
| 167 |         o Fixed a generic error handling bug in ioctl, write, read, dup and dup
 | 
|---|
| 168 |           which was causing incorrect errnos.
 | 
|---|
| 169 |         o Changed line buffer from 512 to 8192 bytes in _response().
 | 
|---|
| 170 |         o Corrected shmat to return -1 instead of NULL on failure.
 | 
|---|
| 171 |         o Fixed bug in the sigsuspend (includes pause ++) handling,
 | 
|---|
| 172 |           would usually never return.
 | 
|---|
| 173 | 
 | 
|---|
| 174 | 2005-10-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 175 |     - libc:
 | 
|---|
| 176 |         o Fixed sharedpm problem on legacy systems. (Thanks to Andrew Below
 | 
|---|
| 177 |           for pointing it out.)
 | 
|---|
| 178 | 
 | 
|---|
| 179 | 2005-10-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 180 |     - libc:
 | 
|---|
| 181 |         o Implemented getdirents().
 | 
|---|
| 182 | 
 | 
|---|
| 183 | 2005-09-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 184 |     - libc:
 | 
|---|
| 185 |         o Implemented __libc_Back_ioFHToPath using __LIBC_FH::pszNativePath.
 | 
|---|
| 186 | 
 | 
|---|
| 187 | 2005-09-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 188 |     - libc:
 | 
|---|
| 189 |         o Implemented fchdir().
 | 
|---|
| 190 |         o Implemented inheritance of open directory handles. Unfortunately,
 | 
|---|
| 191 |           I ran out of size bits for the bundle type, so the SPM bit is no
 | 
|---|
| 192 |           longer compatible with earlier versions. The consequences
 | 
|---|
| 193 |           of this are related to inheritance and signaling - so recompile!
 | 
|---|
| 194 | 
 | 
|---|
| 195 | 2005-08-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 196 |     - libc:
 | 
|---|
| 197 |         o Reworked the open backend, adding directory support. Some O_*
 | 
|---|
| 198 |           flags was changed in the process, breaking the old ABI.
 | 
|---|
| 199 |           This is not fully tested.
 | 
|---|
| 200 |         o Added more BSD fields to struct stat, breaking the old ABI.
 | 
|---|
| 201 |           The mtime field and ctime fields will now keep the same values
 | 
|---|
| 202 |           and the creation time is to be found in birthtime. This means that
 | 
|---|
| 203 |           ctime will be updated in a few places where it doesn't on unix - but
 | 
|---|
| 204 |           this is probably better than previously where it wasn't ever updated
 | 
|---|
| 205 |           when it should.
 | 
|---|
| 206 |         o Removed forwarder dlls since struct stat, O_* and __LIBC_FH is
 | 
|---|
| 207 |           soon going to be incompatible with rc1 and older versions.
 | 
|---|
| 208 |     - version.smak:
 | 
|---|
| 209 |         o Changed version number back to 3.3.5 / 0.6 rc2.
 | 
|---|
| 210 | 
 | 
|---|
| 211 | 2005-08-27: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 212 |     - libc:
 | 
|---|
| 213 |         o Fixed lot's of unix attribute (in EA) handling.
 | 
|---|
| 214 |         o Started preparing for open() to work on directories so
 | 
|---|
| 215 |           fchdir() can be implemented and opendir reimplemented.
 | 
|---|
| 216 |           This will break libsocket backwards compatability.
 | 
|---|
| 217 |         o Added _hstrdup.
 | 
|---|
| 218 |         o Fixed two cases where the signal semaphore was incorrectly unlocked
 | 
|---|
| 219 |           after signalDeliver().
 | 
|---|
| 220 |         o Don't try the '.exe' too early on executables (exec/spawn), this broke
 | 
|---|
| 221 |           execution of './configure' and other scripts with no extension.
 | 
|---|
| 222 | 
 | 
|---|
| 223 | 2005-08-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 224 |     - libc:
 | 
|---|
| 225 |         o Fixed bad panic format types in safesems.
 | 
|---|
| 226 | 
 | 
|---|
| 227 | 2005-08-21: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 228 |     - emxbind, emxomfld:
 | 
|---|
| 229 |         o Default stack size set to 1MB.
 | 
|---|
| 230 |           The old defaults were 8MB (emxbind) and 8KB (emxomfld).
 | 
|---|
| 231 |     - libc:
 | 
|---|
| 232 |         o Filled in the NULLs in sys_signame and sys_siglist.
 | 
|---|
| 233 |         o Added __libc_Back_gfProcessHandleHashBangScripts and
 | 
|---|
| 234 |           __libc_Back_gfProcessHandlePCBatchScripts for use in shells which
 | 
|---|
| 235 |           can handle such scripts more efficiently than libc.
 | 
|---|
| 236 |         o Fixed some bugs related to finding the interpreter in the spawn/exec backend.
 | 
|---|
| 237 |         o Merged the signal semaphore handling into the safe sems and
 | 
|---|
| 238 |           made signals use them instead.
 | 
|---|
| 239 |         o Tried to workaround the race conditions in __libc_Back_safesemEvSleep/Wakeup.
 | 
|---|
| 240 |           These might affect SysV sems.
 | 
|---|
| 241 |         o Corrected the declarations of _DLL_InitTerm.
 | 
|---|
| 242 | 
 | 
|---|
| 243 | 2005-08-20: Lorne Sunley <lsunley@mb.sympatico.  >
 | 
|---|
| 244 |     - libc:
 | 
|---|
| 245 |         o Added OBJ_FORK to the allocations in sysv_shm.
 | 
|---|
| 246 | 
 | 
|---|
| 247 | 2005-08-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 248 |     - libc:
 | 
|---|
| 249 |         o Define _EMX_SOURCE (__USE_EMX) along with _BSD_SOURCE and _SVID_SOURCE as
 | 
|---|
| 250 |           defaults in features.h.
 | 
|---|
| 251 |         o Protect the fork operations by the means of must complete so
 | 
|---|
| 252 |           signals won't interrupt us till we're finished. This might leave
 | 
|---|
| 253 |           unkillable processes around if fork goes highwire.
 | 
|---|
| 254 |         o Better exception logging during fork.
 | 
|---|
| 255 |         o Use MMX memcpy in fork (if supported).
 | 
|---|
| 256 |         o The C function __libc_Back_processFork() replaces the pure assembly __fork().
 | 
|---|
| 257 |         o Added _memcpy_amd.
 | 
|---|
| 258 |         o Fixed some logging statements in sharedpm.c.
 | 
|---|
| 259 |         o Log __fmutex_release_internal_must_complete.
 | 
|---|
| 260 |         o Corrected a few prototypes in process.h to use pid_t.
 | 
|---|
| 261 | 
 | 
|---|
| 262 | 2005-08-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 263 |     - libc:
 | 
|---|
| 264 |         o Added SH_COMPAT to share.h and emulate it as SH_DENYNO (just like watcom).
 | 
|---|
| 265 |           The SH_COMPAT shareing mode is not available to OS/2 processes, only DOS / os2krnl.
 | 
|---|
| 266 | 
 | 
|---|
| 267 | 2005-08-02: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 268 |     - libc:
 | 
|---|
| 269 |         o __libc_back_fsNativeFileModeSet(): The long set api is broken
 | 
|---|
| 270 |           in 14.103b & c (at least) so avoid it where it isn't strictly required.
 | 
|---|
| 271 | 
 | 
|---|
| 272 | 2005-07-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 273 |     - libos2:
 | 
|---|
| 274 |         o Added some missing INCL_DOSERRORS #defines (very odd ones).
 | 
|---|
| 275 |     - emximp:
 | 
|---|
| 276 |         o Fixed bad done string allocation.
 | 
|---|
| 277 |     - ld:
 | 
|---|
| 278 |         o Fixed a case of memory access after free.
 | 
|---|
| 279 |         o Switched back to alloca and adding 23 MB of stack.
 | 
|---|
| 280 | 
 | 
|---|
| 281 | 2005-07-21: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 282 |     - libc:
 | 
|---|
| 283 |         o unistd.h prototype of encrypt() shall return void not int.
 | 
|---|
| 284 |         o Fixed __USE_GNU tests in ftw.h and sys/dirent.h.
 | 
|---|
| 285 | 
 | 
|---|
| 286 | 2005-07-17: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 287 |     - libc:
 | 
|---|
| 288 |         o LIBC_ASSERT*() are for internal libc errors, LIBCLOG_ERROR*() are
 | 
|---|
| 289 |           for user related error. Big code adjustements.
 | 
|---|
| 290 |         o Fixed a few smaller issues.
 | 
|---|
| 291 |         o Started fixing exec() backend.
 | 
|---|
| 292 |         o Fixed some more mktime / localtime bugs.
 | 
|---|
| 293 |         o Fixed crash on simple LIBC_ASSERT() caused by NULL format string.
 | 
|---|
| 294 |         o Generate device numbers for devices and pipes too.
 | 
|---|
| 295 |         o Fixed mixup of Dev and Inode during filehandle inheritance.
 | 
|---|
| 296 |         o Fixed __dup and __dup2 bug in relation to the FD_CLOEXEC clearing.
 | 
|---|
| 297 |         o Fixed bug in codepage normalization during setlocale().
 | 
|---|
| 298 |         o Fixed bug in regex where the lock was overwritten after initialization.
 | 
|---|
| 299 |         o Switch the glibc locks to smutex to avoid leaking event semaphores.
 | 
|---|
| 300 |         o Added _smutex_try_request().
 | 
|---|
| 301 |         o Fixed __libc_back_fsResolve to always set fInUnixTree so the result can
 | 
|---|
| 302 |           be adjusted correctly on failure as well.
 | 
|---|
| 303 |     - version.smak:
 | 
|---|
| 304 |         o Changed version number back to 3.3.5 / 0.6 rc1.
 | 
|---|
| 305 | 
 | 
|---|
| 306 | 2005-07-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 307 |     - libos2:
 | 
|---|
| 308 |         o UniStrFromUcs added and UniStrToUcs to uconv.h.
 | 
|---|
| 309 |           Added UniStrFromUcs, UniStrToUcs, UniMalloc and UniFree to unicode.imp.
 | 
|---|
| 310 | 
 | 
|---|
| 311 | 2005-07-10: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 312 |     - libc:
 | 
|---|
| 313 |         o Replaced BSD regex with the new GLIBC implementation.
 | 
|---|
| 314 |         o Fixed two bad bugs in the handling of the list of free
 | 
|---|
| 315 |           SPM notification structures.
 | 
|---|
| 316 |         o Moved the codeset standardization up a bit so nl_langinfo
 | 
|---|
| 317 |           and setlocale reports the same codeset.
 | 
|---|
| 318 | 
 | 
|---|
| 319 | 2005-07-06: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 320 |     - libc:
 | 
|---|
| 321 |         o Changed utimes() to allow NULL pointer parameter.
 | 
|---|
| 322 |           Please note that BSD will crash in if you try it there.
 | 
|---|
| 323 |         o Renamed the BSD setmode to bsd_setmode and put back the
 | 
|---|
| 324 |           PC setmode.
 | 
|---|
| 325 | 
 | 
|---|
| 326 | 2005-07-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 327 |     - libc:
 | 
|---|
| 328 |         o Fixed spawn/fork + fork() + exec/spawn/fork in the child.
 | 
|---|
| 329 |         o Kill any known decentants to prevent them from being
 | 
|---|
| 330 |           adopted by our parent. (On UNIX processes begin made
 | 
|---|
| 331 |           orphants are adopted and killed by the init process.)
 | 
|---|
| 332 |         o Added signal handler types for POSIX, BSD and GNU conformance.
 | 
|---|
| 333 |         o Reap embryos when the waiter thread is querying spm about
 | 
|---|
| 334 |           the death certificate. This, together with a tiny fix
 | 
|---|
| 335 |           in __spawnve() cures the bad spm process leaks when spawning
 | 
|---|
| 336 |           non-libc processes seen with make when building libc.
 | 
|---|
| 337 | 
 | 
|---|
| 338 | 2005-07-04: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 339 |     - libc:
 | 
|---|
| 340 |         o Added the BSD optreset global to getopt.
 | 
|---|
| 341 |         o Changed PC setmode to _setmode. As it collides with a BSD 4.4. interface.
 | 
|---|
| 342 |         o Added the BSD 4.4. setmode/getmode functions from FreeBSD.
 | 
|---|
| 343 |         o Added getsid and getpgid, correcting the getpgrp implementation.
 | 
|---|
| 344 |         o Added/replaced setbuf, setbuffer and setlinebuf from BSD.
 | 
|---|
| 345 | 
 | 
|---|
| 346 | 2005-07-03: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 347 |     - libc:
 | 
|---|
| 348 |         o Collected the different panic routines into one single routine
 | 
|---|
| 349 |           in the backend, __libc_Back_panic[V](). The routine supports
 | 
|---|
| 350 |           very simple printf like message formatting. By default it wil
 | 
|---|
| 351 |           dump any available registers and attempt dumping the process
 | 
|---|
| 352 |           before killing it. This behaviour can be configured with the
 | 
|---|
| 353 |           env var.: LIBC_PANIC=[nodump][terse][quiet][breakpoint]
 | 
|---|
| 354 | 
 | 
|---|
| 355 | 2005-07-02: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 356 |     - libc:
 | 
|---|
| 357 |         o Added obstack.h and it's implementation from GLIBC.
 | 
|---|
| 358 |         o malloc and realloc must set errno to ENOMEM on failure.
 | 
|---|
| 359 |         o Fixed assertion during realloc(p, -256) to return failure
 | 
|---|
| 360 |           instead. Added a few more overflow checks.
 | 
|---|
| 361 |         o Added %m (GLIBC extension) to the printf familiy. %m means
 | 
|---|
| 362 |           priting strerror(errno), it takes no arguments.
 | 
|---|
| 363 |         o Fixed serveral bugs in the C/POSIX locale
 | 
|---|
| 364 |         o Implemented the LC_MESSAGES locale.
 | 
|---|
| 365 |         o Fixed mixup in fts.c port.
 | 
|---|
| 366 |         o Replaced the EMX ftw with the BSD one so we implement the SuS specs.
 | 
|---|
| 367 |         o Clear FD_CLOEXEC on the handle returned by dup, dup2 and fcntl(F_DUPFD,,).
 | 
|---|
| 368 |         o Fixed a buffer size validation bug in the backend for getcwd and
 | 
|---|
| 369 |           friends. Was requiring a byte to much.
 | 
|---|
| 370 |         o Updated some TCPIP headers with GLIBC __USE_MISC #includes. (more to go)
 | 
|---|
| 371 |         o sys/fcntl.h shall include sys/stat.h in XSI mode.
 | 
|---|
| 372 |         o Added stpncpy from GLIBC.
 | 
|---|
| 373 |         o Added sys/builtin.h to sys/smutex.h.
 | 
|---|
| 374 |         o Updated features.h and sys/gnu/cdefs.h with more recent versions from cvs.
 | 
|---|
| 375 |         o Ported from GLIBC 2.3.x CVS.
 | 
|---|
| 376 |         o Fixed some waitid() and waitpid() problems related to stopping and resuming children.
 | 
|---|
| 377 |         o Updated argz.h because of bustage caused by new cdefs.h (THROW).
 | 
|---|
| 378 |     - libcrypt:
 | 
|---|
| 379 |         o Created stub library.
 | 
|---|
| 380 |     - version.smak, libc.smak:
 | 
|---|
| 381 |         o Back to betas, beta6 now.
 | 
|---|
| 382 | 
 | 
|---|
| 383 | 2005-07-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 384 |     - libc:
 | 
|---|
| 385 |         o Made isinf[lf] return -1 for negative infinity like GLIBC does.
 | 
|---|
| 386 |         o Added prototypes for nan[lf] to math.h, gcc inlines these.
 | 
|---|
| 387 |         o Ported GLIBC argp and getopt (argp requires the GLIBC one).
 | 
|---|
| 388 |           This means no optreset anylonger.
 | 
|---|
| 389 |         o Some corrections / hacks in the weak_alias departement.
 | 
|---|
| 390 |         o Shopped missing math stuff from GLIBC.
 | 
|---|
| 391 |         o Added fpu_control.h, ieee754.h and endian.h from the GLIBC tradition.
 | 
|---|
| 392 | 
 | 
|---|
| 393 | 2005-06-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 394 |     - libc:
 | 
|---|
| 395 |         o Added fwide() (dummy until LIBC07).
 | 
|---|
| 396 |         o Renamed struct _FILE to struct __sFILE to match BSD.
 | 
|---|
| 397 |         o Added wait.h for GLIBC compatability, content is #include <sys/wait.h>.
 | 
|---|
| 398 |         o Added _D_EXACT_NAMLEN and _D_ALLOC_NAMLEN macros to sys/dirent.h to
 | 
|---|
| 399 |           make GLIBC code happy.
 | 
|---|
| 400 |         o Added REG_NOERROR to regex.h to make GLIBC code happy.
 | 
|---|
| 401 |         o The three default heap handles can be duplicates of one another, this
 | 
|---|
| 402 |           could cause deadlocks in certain cases usually involing tiled memory.
 | 
|---|
| 403 |         o Added asprintf() and vasprintf().
 | 
|---|
| 404 |         o Added get_current_dir_name() (GLIBC extension).
 | 
|---|
| 405 |         o Added the strdupa() and strndupa() GLIBC extensions. These are macros
 | 
|---|
| 406 |           use alloca() to allocate the memory for the string.
 | 
|---|
| 407 |         o Added the getdelim() and getline() GLIBC extensions.
 | 
|---|
| 408 |         o Added getlogin_r() (still just a fake).
 | 
|---|
| 409 |         o Added TEMP_FAILURE_RETRY() macro to unistd.h. This is yet another GLIBC hack.
 | 
|---|
| 410 | 
 | 
|---|
| 411 | 2005-06-29: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 412 |     - *:
 | 
|---|
| 413 |         o Fixed stack alignment, it must be 16 bytes not 4!
 | 
|---|
| 414 |         o Fixed bustage caused by the include cleanup.
 | 
|---|
| 415 |     - libc:
 | 
|---|
| 416 |         o Added ieeefp.h and functions from FreeBSD - this is
 | 
|---|
| 417 |           the SysV/386 FP control interface. (inline only)
 | 
|---|
| 418 |         o Added fgets_unlocked and gets_unlocked.
 | 
|---|
| 419 | 
 | 
|---|
| 420 | 2005-06-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 421 |     - *:
 | 
|---|
| 422 |         o Released v0.6 beta 5.
 | 
|---|
| 423 |         o Changed versions to v0.6 rc1.
 | 
|---|
| 424 |         o Created the libc06b5 forwarder dll.
 | 
|---|
| 425 |     - libc:
 | 
|---|
| 426 |         o Added _NSIG and making NSIG and _NSIG equal to SIGRTMAX + 1.
 | 
|---|
| 427 |         o Added memrawchr and strchrnul from glibc, enabling us to shop .S
 | 
|---|
| 428 |           files from glibc at the same time.
 | 
|---|
| 429 |         o On glibc lot's of limits.h stuff is included from direct.h because of
 | 
|---|
| 430 |           need for NAME_MAX, let's do something similar.
 | 
|---|
| 431 |         o Corrected MAXNAMLEN / d_name field length.
 | 
|---|
| 432 | 
 | 
|---|
| 433 | 2005-06-27: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 434 |     - emxomfld, ld:
 | 
|---|
| 435 |         o Generate .def-file for dlls without one. (This only makes sense for
 | 
|---|
| 436 |           emxomfld since ld doesn't implement __declspec(dllexport) yet, but
 | 
|---|
| 437 |           anyway.)
 | 
|---|
| 438 |     - emxomf, emxomfld:
 | 
|---|
| 439 |         o Kicked out all the old weak handling (from early 3.2.2 alphas).
 | 
|---|
| 440 | 
 | 
|---|
| 441 | 2005-06-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 442 |     - libc:
 | 
|---|
| 443 |         o Added [__]isinf[fl] which seems to have been mislaid during the
 | 
|---|
| 444 |           math source import.
 | 
|---|
| 445 |         o Rewrote the libcXXXX.dll install rule to not play with emxload since
 | 
|---|
| 446 |           emxload sticks around when first loaded.
 | 
|---|
| 447 |         o Made unsetenv() cause tzset reload just like putenv() and setenv().
 | 
|---|
| 448 |         o Changed putenv() behaviour for removal (no '=' in input) to be identical
 | 
|---|
| 449 |           to unsetenv(). This solves duplicate variable testcase.
 | 
|---|
| 450 |         o Changed filestreams opened for both reading and writing to switch
 | 
|---|
| 451 |           more willingly between read and write mode.
 | 
|---|
| 452 |         o Made sscan() return EOF on EOF.
 | 
|---|
| 453 |         o Made sscan() skip blanks in input for '%%'.
 | 
|---|
| 454 |         o Implemented the stdio_unlocked stuff with BSD and GLIBC extension.
 | 
|---|
| 455 |           TODO: Require a new locktype which support recursive usage! Currently
 | 
|---|
| 456 |                 a hack using 8 free flag bits is used.
 | 
|---|
| 457 |         o Corrected realpath() behaviour to return the path up to the failure
 | 
|---|
| 458 |           point on error. _realrealpath() also does this now.
 | 
|---|
| 459 |           (This also saves us a temp buffer and a copy of the result.)
 | 
|---|
| 460 |         o Fixed a bug in the handling of ".." in the path resolver.
 | 
|---|
| 461 |         o Extended that path resolver to check the directoryness of the input
 | 
|---|
| 462 |           according to flags and any trailing slashes.
 | 
|---|
| 463 |         o Change the path resolver to be very strict about UNC - UNC have exactly
 | 
|---|
| 464 |           two slashes at the start of the path.
 | 
|---|
| 465 | 
 | 
|---|
| 466 | 2005-06-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 467 |     - libc:
 | 
|---|
| 468 |         o Fixed SIGINT and similar issues with fork().
 | 
|---|
| 469 |           TODO: LIBC signals depending on 16-bit OS/2 signals will
 | 
|---|
| 470 |                 still cause trouble, this needs fixing.
 | 
|---|
| 471 |         o Extended the fmutex error message.
 | 
|---|
| 472 |         o Fixed regression in the fmutex must completion code (bad fs handling).
 | 
|---|
| 473 | 
 | 
|---|
| 474 | 2005-06-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 475 |     - libc:
 | 
|---|
| 476 |         o Fixed some more incorrectness of the 'C' locale, it only
 | 
|---|
| 477 |           defines the first 128 chars.
 | 
|---|
| 478 |         o Build hack for math.h.
 | 
|---|
| 479 |         o Updated sys/stat.h, sys/resource.h and sys/_types.h to
 | 
|---|
| 480 |           FreeBSD 5.3 level.
 | 
|---|
| 481 |         o btowc(): WEOF is 32-bit, wchar_t is 16.
 | 
|---|
| 482 |         o *printf(): wide char support.
 | 
|---|
| 483 |         o sysctl(): Changed the boottime alogrithm.
 | 
|---|
| 484 |         o strxfrm(): Corrected the return values.
 | 
|---|
| 485 |         o __ftime(): Corrected regression causing the time to be 35 years wrong.
 | 
|---|
| 486 |         o strftime(): Added C99 %F.
 | 
|---|
| 487 |         o strptime(): Fixed a few parsing and calculation bugs.
 | 
|---|
| 488 | 
 | 
|---|
| 489 | 2005-06-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 490 |     - libc:
 | 
|---|
| 491 |         o File resize optimization: The JFS, HPFS and probably NET
 | 
|---|
| 492 |           will never return space which isn't zeroed when expanding
 | 
|---|
| 493 |           a file. Associate a file system information object with the
 | 
|---|
| 494 |           filehandles to keep track of such features. This also fixes
 | 
|---|
| 495 |           the fsStatFH() implementation trouble.
 | 
|---|
| 496 |           This attribute doesn't apply to CDFS. While RAMFS fails
 | 
|---|
| 497 |           the test, it zeros at open but not at setfilesize.
 | 
|---|
| 498 |         o Fixed invalid inode and dev numbers for new files, was passing
 | 
|---|
| 499 |           the wrong path around.
 | 
|---|
| 500 | 
 | 
|---|
| 501 | 2005-06-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 502 |     - libc:
 | 
|---|
| 503 |         o Auto init fmutexes.
 | 
|---|
| 504 |         o Fixed potential deadlock the first time a must-complete
 | 
|---|
| 505 |           fmutex was entered.
 | 
|---|
| 506 |         o Replaced mktemp and mkstemp with BSD versions. Also adding
 | 
|---|
| 507 |           mkstemps, mkdtemp, arc4random, arc4random_addrandom and
 | 
|---|
| 508 |           arc4random_stir.
 | 
|---|
| 509 |         o Limited the namespace pollution caused by machine/param.h
 | 
|---|
| 510 |           (included by sys/param.h which is used by lot's of tcpip headers).
 | 
|---|
| 511 |           Define _BSD_NAMESPACE_POLLUTION to get it all.
 | 
|---|
| 512 |         o Fixed bug in getitimer/setitmer, it didn't zero the old value struct
 | 
|---|
| 513 |           if the timer wasn't running.
 | 
|---|
| 514 |         o Fixed a bug in __ftime(), the time was jolting around.
 | 
|---|
| 515 | 
 | 
|---|
| 516 | 2005-06-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 517 |     - libc:
 | 
|---|
| 518 |         o Changed the LIBC_PATHREADWRITERS to a generic LIBC_HOOK_DLLS.
 | 
|---|
| 519 |           See src/emx/src/lib/sys/hooks.c for details.
 | 
|---|
| 520 | 
 | 
|---|
| 521 | 2005-06-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 522 |     - libc:
 | 
|---|
| 523 |         o The smallcnv stuff is gone, waste of space since we're not really into
 | 
|---|
| 524 |           static linking. Should've done this when switching to gdtoa.
 | 
|---|
| 525 |         o Ported the msun and some other math bits from current FreeBSD libc.
 | 
|---|
| 526 |           This mostly replaces the EMX math, except for some double long variants
 | 
|---|
| 527 |           and some EMX specific ones. This is a risky change, but it's needed
 | 
|---|
| 528 |           if we're gonna catch up on the C99 bits and make libstdc++ happy.
 | 
|---|
| 529 |           There are some new headers, complex.h and fenv.h being the importan ones.
 | 
|---|
| 530 |           float.h have gotten some updates while math.h is totally replaced.
 | 
|---|
| 531 |           More than 100 standard functions were added!
 | 
|---|
| 532 |           NOTE: msun is using MATH_ERREXCEPT (math_errhandling) and not
 | 
|---|
| 533 |                 MATH_ERRNO for error reporting.
 | 
|---|
| 534 |           I really hope this is not gonna uncover more OS/2 387 mess.
 | 
|---|
| 535 |         o Handle .cmd, .bat, .btm and hash-bang script files if DosExecPgm()
 | 
|---|
| 536 |           fails. (I'm a little bit uncertain about argv[0], but it appears to work.)
 | 
|---|
| 537 | 
 | 
|---|
| 538 | 2005-06-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 539 |     - libc:
 | 
|---|
| 540 |         o the setitimer backend was making incorrect assumptions about the
 | 
|---|
| 541 |           HTIMER range - NULLHANDLE is valid for HTIMER. Changed it to use ~0U
 | 
|---|
| 542 |           as invalid handle. (untested)
 | 
|---|
| 543 |         o Default TCPIP mode is __USB_LIBC_TCPIP. When either TCPV40HDRS or TCPV41HDRS
 | 
|---|
| 544 |           are defined we are in strict mode and __USB_LIBC_TCPIP will not be defined.
 | 
|---|
| 545 |     - libomflib, emxomfar:
 | 
|---|
| 546 |         o Allow multiple modules by the same basename. This is not in tradition with
 | 
|---|
| 547 |           other librarians, but it solves incompatible behaviour between emxomfar and ar.
 | 
|---|
| 548 |     - ld:
 | 
|---|
| 549 |         o Avoid using alloca since we might easily run out of stack for big objects
 | 
|---|
| 550 |           with debuginfo.
 | 
|---|
| 551 |     - emxomf:
 | 
|---|
| 552 |         o Added support for new EMX a.out stab N_EXP (0x6c). This encodes export
 | 
|---|
| 553 |           definitions. (gcc can do __declspec(dllexport) now.)
 | 
|---|
| 554 |           TODO: ld needs updating, probably this is the right time to drop the
 | 
|---|
| 555 |                 old ld and fixup the binutils port!
 | 
|---|
| 556 | 
 | 
|---|
| 557 | 2005-05-08: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 558 |     - libc:
 | 
|---|
| 559 |         o Added _getenv_[int|long|longlong]. Using this for LIBC_THREAD_MIN_STACK_SIZE.
 | 
|---|
| 560 |         o Ported the BSD SysV Semaphore module.
 | 
|---|
| 561 |         o Added a signal notification callback to the thread structure.
 | 
|---|
| 562 |         o Changed tcpip term callback to more generic exitlist callback (SPM).
 | 
|---|
| 563 |         o Ported the BSD SysV Shared Memory module.
 | 
|---|
| 564 | 
 | 
|---|
| 565 | 2005-05-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 566 |     - libc:
 | 
|---|
| 567 |         o Added fts.h and ported the BSD implementation.
 | 
|---|
| 568 |           It's not 100% correct since we're lacking fchdir and cannot open
 | 
|---|
| 569 |           directories - will update it when this is in place.
 | 
|---|
| 570 |         o Disabled the UF_ and SF_ defines in sys/stat.h since we don't have st_flags.
 | 
|---|
| 571 |         o Added mkfifo (stub).
 | 
|---|
| 572 |         o Added lutimes and futimes, replacing __utimes.
 | 
|---|
| 573 | 
 | 
|---|
| 574 | 2005-05-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 575 |     - libc:
 | 
|---|
| 576 |         o Fixed incorrect d_type returned by readdir and readdir_r.
 | 
|---|
| 577 |         o Changed chdir() to unix style, added _chdir_os2() as a backwards compatible
 | 
|---|
| 578 |           api. _chdir2() and chdir() are operating identically now.
 | 
|---|
| 579 |         o Fixed several incorrect/incomplete path resolve cases. Some causing
 | 
|---|
| 580 |           invalid ino values.
 | 
|---|
| 581 |         o Unlock the libc DLL before installing it (cp, make or someone might be using it).
 | 
|---|
| 582 |         o Unix root rewrite rule ends it's pszTo with a slash, this caused
 | 
|---|
| 583 |           two slashes and thus UNC trouble.
 | 
|---|
| 584 |         o Quick rewrite of access() (also affects eaccess()) to work in chroot environment.
 | 
|---|
| 585 |         o Added O_BINARY to all opens in bsd/db.
 | 
|---|
| 586 | 
 | 
|---|
| 587 | 2005-04-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 588 |     - libmoddef:
 | 
|---|
| 589 |         o Allow empty definition strings. (weakld failed on python _curses_m)
 | 
|---|
| 590 |     - weakld:
 | 
|---|
| 591 |         o Fixed incorrect .def-file parse error message.
 | 
|---|
| 592 |     - sys/param.h:
 | 
|---|
| 593 |         o Added MAXBSIZE, BKVASIZE and BKVAMASK which are used by some BSD tools.
 | 
|---|
| 594 |     - libc:
 | 
|---|
| 595 |         o Added fchmod and reimplemented chmod and lchmod. Still missing FS level
 | 
|---|
| 596 |           unix attribute handling, but this is a start.
 | 
|---|
| 597 | 
 | 
|---|
| 598 | 2005-04-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 599 |     - libc:
 | 
|---|
| 600 |         o Added the sysctl interface from BSD. Not all values are
 | 
|---|
| 601 |           supported, nor are we compatible with tcpip41 sysctl yet.
 | 
|---|
| 602 | 
 | 
|---|
| 603 | 2005-04-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 604 |     - libc:
 | 
|---|
| 605 |         o Fixed bug in getfsstate(). (df from coreutils works now!)
 | 
|---|
| 606 |         o Implemented process priority management. Added nice(), setpriority()
 | 
|---|
| 607 |           and getpriority() in the process.
 | 
|---|
| 608 |         o Added process enumeration and access function to sharedpm.
 | 
|---|
| 609 | 
 | 
|---|
| 610 | 2005-04-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 611 |     - emxomf:
 | 
|---|
| 612 |         o Refined the 'G' hack fixing globals in the text segment.
 | 
|---|
| 613 |     - libc:
 | 
|---|
| 614 |         o Added cs:eip to the abnormal termination message. (signals.c)
 | 
|---|
| 615 |         o Default stack size 512KB when caller specifies 0. (beginthr.c)
 | 
|---|
| 616 |         o Use the env.var. LIBC_THREAD_MIN_STACK_SIZE value as a byte count
 | 
|---|
| 617 |           specifying the minimum stack size. When not specified minium size
 | 
|---|
| 618 |           defaults to 4096. (beginthr.c)
 | 
|---|
| 619 |         o Added the libsocket and libsyslog libraries to the libc IMPORT library.
 | 
|---|
| 620 |           There are now two sets of libc_dll.a/lib libraries, one for tcpipv4 and
 | 
|---|
| 621 |           one for tcpipv41+ (default).
 | 
|---|
| 622 |         o Added nanosleep() and changed usleep() and sleep() to use it.
 | 
|---|
| 623 |         o Added wmemcpy(), wmemset(), wmemcmp(), wmemchr() and wmemmove(). (untested)
 | 
|---|
| 624 |         o Added SUN/HP/RTLinux api gethrtime() as a wrapper around the DosTmr* apis.
 | 
|---|
| 625 |         o Rewrote atexit() fixing problem with the callbacks calling exit() recursivly
 | 
|---|
| 626 |           and adding on_exit().
 | 
|---|
| 627 |         o Added stdio_ext.h and implemented __fpending() and __fbufsize().
 | 
|---|
| 628 |           (Just to make coreutils easier to port.)
 | 
|---|
| 629 | 
 | 
|---|
| 630 | 2005-03-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 631 |     - src/lib/sys/__spawnve.c:
 | 
|---|
| 632 |         o Fixed double free of pFS (should've been pSig).
 | 
|---|
| 633 |           Thanks for froloff.
 | 
|---|
| 634 | 
 | 
|---|
| 635 | 2005-03-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 636 |     - 386/builtin.h:
 | 
|---|
| 637 |         o Fixed serveral bugs in the atomic inc/dec functions.
 | 
|---|
| 638 |           Added a testcase for these.
 | 
|---|
| 639 |     - libc:
 | 
|---|
| 640 |         o Fixed various typos in the socket per process counting. Thanks to
 | 
|---|
| 641 |           nickk for point these out.
 | 
|---|
| 642 | 
 | 
|---|
| 643 | 2005-03-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 644 |     - version.smak:
 | 
|---|
| 645 |         o 6b4 -> 6b5.
 | 
|---|
| 646 | 
 | 
|---|
| 647 |     - libc:
 | 
|---|
| 648 |         o Implemented socket duplication.
 | 
|---|
| 649 |         o Fixed various socket close & fork bugs.
 | 
|---|
| 650 |         o Applied parts of tcpipver patches from Lorne and Froloff.
 | 
|---|
| 651 |         o Fixed various UNC trouble reported by David.
 | 
|---|
| 652 |         o Fixed open problem in DosEx.
 | 
|---|
| 653 |         o Fixed incorrect pool allocation in DosEx.
 | 
|---|
| 654 |         o Fixed missing free pool item in DoxEx - *big* leak.
 | 
|---|
| 655 |         o Fixed TID/PID mixup when calling DosVerifyPidTid() from fmutex wait loop.
 | 
|---|
| 656 |         o Applied patch from Nickk for broken settimeofday().
 | 
|---|
| 657 |         o Moved iconv into LIBC.
 | 
|---|
| 658 |         o Ported GLIBC intl and made it a part of LIBC.
 | 
|---|
| 659 |         o Implemented -Zargs-wild and -Zargs-resp crt0 variations.
 | 
|---|
| 660 |         o Added support for single quoted arguments. (pray this doesn't screw up...)
 | 
|---|
| 661 |         o Replaced the __atod implementation with the NETLIB gdtoa implementation
 | 
|---|
| 662 |           used by BSD. (The old routine kept hitting assertions.)
 | 
|---|
| 663 |         o Created libc06a4 forwarder dll.
 | 
|---|
| 664 | 
 | 
|---|
| 665 |     - libiconv, libdl, libm:
 | 
|---|
| 666 |         o Made these empty stub libraries.
 | 
|---|
| 667 | 
 | 
|---|
| 668 |     - emxomf:
 | 
|---|
| 669 |         o Fixed getopt(,,"l::") problem. BSD getopt doesn't pass FLAG_PERMUTE for getopt and
 | 
|---|
| 670 |           thus it would consume the next argument unless it was an option. Using
 | 
|---|
| 671 |           getopt_long(,,"l::", NULL, NULL) solves the problem.
 | 
|---|
| 672 | 
 | 
|---|
| 673 |     - testcases:
 | 
|---|
| 674 |         o Testcases for various new problems/code.
 | 
|---|
| 675 | 
 | 
|---|
| 676 | 2005-02-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 677 |     - libc:
 | 
|---|
| 678 |         o Fixed bogus bubble sort in setlocale/LC_COLLATE.
 | 
|---|
| 679 | 
 | 
|---|
| 680 | 2005-01-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 681 |     - libc:
 | 
|---|
| 682 |         o Applied readdir_r() errno fix from Lorne.
 | 
|---|
| 683 |         o Fixed lstat() backend on request from Lorne.
 | 
|---|
| 684 | 
 | 
|---|
| 685 | 2005-01-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 686 |     - libc:
 | 
|---|
| 687 |         o Applies setlocale patch from Lorne which fixes two bugs in LC_COLLATE.
 | 
|---|
| 688 | 
 | 
|---|
| 689 | 2005-01-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 690 |     - libc:
 | 
|---|
| 691 |         o Applied setlocale patch from Lorne.
 | 
|---|
| 692 |         o Faked the C99 lconv additions by copying the local ones.
 | 
|---|
| 693 | 
 | 
|---|
| 694 | 2005-01-16: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 695 |     - libos2:
 | 
|---|
| 696 |         o Added SafeDosStartSession from Dmitry Froloff.
 | 
|---|
| 697 |     - libc:
 | 
|---|
| 698 |         o Fixed year problem in settimeofday.
 | 
|---|
| 699 |         o Check if fxsave/fxrstor is supported before using them in fork().
 | 
|---|
| 700 |           ASSUMES cpuid eax=1 works on all targets.
 | 
|---|
| 701 |         o Implemented nl_langinfo(CODESET).
 | 
|---|
| 702 |         o Added bunch a of ASCII codeset name conversions.
 | 
|---|
| 703 |         o Fixed bug in socket inherit over exec/spawn. Thanks to Froloff.
 | 
|---|
| 704 |         o Forgot to take the signal semaphore when receiving a signal
 | 
|---|
| 705 |           from the 16bit handler. Thanks to Froloff.
 | 
|---|
| 706 |         o rmdir errno fix from Lorne.
 | 
|---|
| 707 |         o rmdir shall fail on symlink.
 | 
|---|
| 708 |         o rmdir shall return ENOTDIR if the path isn't a directory (but exists).
 | 
|---|
| 709 |         o Fixed setlocale(LC_ALL/LC_MONETARY, "C").
 | 
|---|
| 710 |         o Changed the process reaper to use internal signal api to skip some overhead.
 | 
|---|
| 711 |         o Fixed a return path from signal raise where the signal sem wasn't
 | 
|---|
| 712 |           released. (The out of queue node hang.)
 | 
|---|
| 713 |     - libsocket:
 | 
|---|
| 714 |         o os2_select: Fixed a couple of filehandle conversion bugs. Thanks to Froloff.
 | 
|---|
| 715 |         o soclose shouldn't return EBADF but ENOSOCK according to the specs.
 | 
|---|
| 716 |     - libsocket, libc:
 | 
|---|
| 717 |         o Return ENOSOCK instead of ENOSYS when attempting socket operation on filehandle.
 | 
|---|
| 718 | 
 | 
|---|
| 719 | 
 | 
|---|
| 720 | 2005-01-??: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 721 |     - libc:
 | 
|---|
| 722 |         o Fixed problem with fork'ed children beliving they were
 | 
|---|
| 723 |           still forking after fork() returned. (DLL load issue)
 | 
|---|
| 724 |         o Fixed signal queue node leak. Thanks to Lorne.
 | 
|---|
| 725 | 
 | 
|---|
| 726 | 2004-12-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 727 |     - libc:
 | 
|---|
| 728 |         o Added inode and dev calculation for fstat and stat.
 | 
|---|
| 729 |           TODO: save unix EAs. opendir d_fileno?
 | 
|---|
| 730 |         o Ported all string/w* functions from FreeBSD except wcsxfrm.c.
 | 
|---|
| 731 | 
 | 
|---|
| 732 | 2004-12-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 733 |     - os2emx.h:
 | 
|---|
| 734 |         o Corrected define of NP_NBLK. (thanks to froloff)
 | 
|---|
| 735 |     - __mcount:
 | 
|---|
| 736 |         o Export stub in all builds but the profiling build.
 | 
|---|
| 737 |     - libdl:
 | 
|---|
| 738 |         o Removed and stubbed it (install). It's all in LIBC now.
 | 
|---|
| 739 |           TODO: make libm and libdl stubbing in LIBC!
 | 
|---|
| 740 | 
 | 
|---|
| 741 | 2004-12-09: knut st. osmundsen <bird-gccos2-spam@anduin.net>
 | 
|---|
| 742 |     - waitpid(), waitid(), wait(), wait4(), wait3(),
 | 
|---|
| 743 |       __libc_Back_processWait():
 | 
|---|
| 744 |         o Fixed missing WNOHANG handling.
 | 
|---|
| 745 |           Created waitpid-1.c testcase in testcase/misc for this problem.
 | 
|---|
| 746 |         o Clearified error codes ECHILD and EINVAL, use the waitpid() specs.
 | 
|---|
| 747 | 
 | 
|---|
| 748 |     - ChangeLog.Libc:
 | 
|---|
| 749 |         o Created this file.
 | 
|---|
| 750 | 
 | 
|---|