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

Last change on this file since 2514 was 2514, checked in by bird, 20 years ago

Bug 20, fixed: use mkstemp + close instead of mktemp for the response file.

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