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

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

#30: Fixed toupper / tolower EOF regression. (test_ctype.c found it).

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