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

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

memalign and valloc shouldn't be in USE_GNU in malloc.h.

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