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