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

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

#60: Fixed blunder in exec/spawn filehandle inheritance code.

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