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