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

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

#41: And added special file mode mask getter and extra validations to check that the mode mask we read has a valid type. This also shuts up some bad [f]chmod paths.

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