source: branches/libc-0.6/src/emx/ChangeLog.LIBC@ 2786

Last change on this file since 2786 was 2786, checked in by bird, 19 years ago

Fixed problems with fork() and module loading/unloading. Fixes #76.
Fixed atexit() and on_exit() problem with callbacks in unloaded DLLs. Fixes #103.

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