source: trunk/src/emx/ChangeLog.LIBC@ 2172

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

o Replaced the EMX ftw with the BSD one so we implement the SuS specs.

  • Property cvs2svn:cvs-rev set to 1.86
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 18.4 KB
Line 
1/* $Id: ChangeLog.LIBC 2172 2005-07-03 03:02:42Z bird $ */
2
32005-07-02: knut st. osmundsen <[email protected]>
4 - libc:
5 o Added obstack.h and it's implementation from GLIBC.
6 o malloc and realloc must set errno to ENOMEM on failure.
7 o Fixed assertion during realloc(p, -256) to return failure
8 instead. Added a few more overflow checks.
9 o Added %m (GLIBC extension) to the printf familiy. %m means
10 priting strerror(errno), it takes no arguments.
11 o Fixed serveral bugs in the C/POSIX locale
12 o Implemented the LC_MESSAGES locale.
13 o Fixed mixup in fts.c port.
14 o Replaced the EMX ftw with the BSD one so we implement the SuS specs.
15
162005-07-01: knut st. osmundsen <[email protected]>
17 - libc:
18 o Made isinf[lf] return -1 for negative infinity like GLIBC does.
19 o Added prototypes for nan[lf] to math.h, gcc inlines these.
20 o Ported GLIBC argp and getopt (argp requires the GLIBC one).
21 This means no optreset anylonger.
22 o Some corrections / hacks in the weak_alias departement.
23 o Shopped missing math stuff from GLIBC.
24 o Added fpu_control.h, ieee754.h and endian.h from the GLIBC tradition.
25
262005-06-30: knut st. osmundsen <[email protected]>
27 - libc:
28 o Added fwide() (dummy until LIBC07).
29 o Renamed struct _FILE to struct __sFILE to match BSD.
30 o Added wait.h for GLIBC compatability, content is #include <sys/wait.h>.
31 o Added _D_EXACT_NAMLEN and _D_ALLOC_NAMLEN macros to sys/dirent.h to
32 make GLIBC code happy.
33 o Added REG_NOERROR to regex.h to make GLIBC code happy.
34 o The three default heap handles can be duplicates of one another, this
35 could cause deadlocks in certain cases usually involing tiled memory.
36 o Added asprintf() and vasprintf().
37 o Added get_current_dir_name() (GLIBC extension).
38 o Added the strdupa() and strndupa() GLIBC extensions. These are macros
39 use alloca() to allocate the memory for the string.
40 o Added the getdelim() and getline() GLIBC extensions.
41 o Added getlogin_r() (still just a fake).
42 o Added TEMP_FAILURE_RETRY() macro to unistd.h. This is yet another GLIBC hack.
43
442005-06-29: knut st. osmundsen <[email protected]>
45 - *:
46 o Fixed stack alignment, it must be 16 bytes not 4!
47 o Fixed bustage caused by the include cleanup.
48 - libc:
49 o Added ieeefp.h and functions from FreeBSD - this is
50 the SysV/386 FP control interface. (inline only)
51 o Added fgets_unlocked and gets_unlocked.
52
532005-06-28: knut st. osmundsen <[email protected]>
54 - *:
55 o Released v0.6 beta 5.
56 o Changed versions to v0.6 rc1.
57 o Created the libc06b5 forwarder dll.
58 - libc:
59 o Added _NSIG and making NSIG and _NSIG equal to SIGRTMAX + 1.
60 o Added memrawchr and strchrnul from glibc, enabling us to shop .S
61 files from glibc at the same time.
62 o On glibc lot's of limits.h stuff is included from direct.h because of
63 need for NAME_MAX, let's do something similar.
64 o Corrected MAXNAMLEN / d_name field length.
65
662005-06-27: knut st. osmundsen <[email protected]>
67 - emxomfld, ld:
68 o Generate .def-file for dlls without one. (This only makes sense for
69 emxomfld since ld doesn't implement __declspec(dllexport) yet, but
70 anyway.)
71 - emxomf, emxomfld:
72 o Kicked out all the old weak handling (from early 3.2.2 alphas).
73
742005-06-26: knut st. osmundsen <[email protected]>
75 - libc:
76 o Added [__]isinf[fl] which seems to have been mislaid during the
77 math source import.
78 o Rewrote the libcXXXX.dll install rule to not play with emxload since
79 emxload sticks around when first loaded.
80 o Made unsetenv() cause tzset reload just like putenv() and setenv().
81 o Changed putenv() behaviour for removal (no '=' in input) to be identical
82 to unsetenv(). This solves duplicate variable testcase.
83 o Changed filestreams opened for both reading and writing to switch
84 more willingly between read and write mode.
85 o Made sscan() return EOF on EOF.
86 o Made sscan() skip blanks in input for '%%'.
87 o Implemented the stdio_unlocked stuff with BSD and GLIBC extension.
88 TODO: Require a new locktype which support recursive usage! Currently
89 a hack using 8 free flag bits is used.
90 o Corrected realpath() behaviour to return the path up to the failure
91 point on error. _realrealpath() also does this now.
92 (This also saves us a temp buffer and a copy of the result.)
93 o Fixed a bug in the handling of ".." in the path resolver.
94 o Extended that path resolver to check the directoryness of the input
95 according to flags and any trailing slashes.
96 o Change the path resolver to be very strict about UNC - UNC have exactly
97 two slashes at the start of the path.
98
992005-06-25: knut st. osmundsen <[email protected]>
100 - libc:
101 o Fixed SIGINT and similar issues with fork().
102 TODO: LIBC signals depending on 16-bit OS/2 signals will
103 still cause trouble, this needs fixing.
104 o Extended the fmutex error message.
105 o Fixed regression in the fmutex must completion code (bad fs handling).
106
1072005-06-23: knut st. osmundsen <[email protected]>
108 - libc:
109 o Fixed some more incorrectness of the 'C' locale, it only
110 defines the first 128 chars.
111 o Build hack for math.h.
112 o Updated sys/stat.h, sys/resource.h and sys/_types.h to
113 FreeBSD 5.3 level.
114 o btowc(): WEOF is 32-bit, wchar_t is 16.
115 o *printf(): wide char support.
116 o sysctl(): Changed the boottime alogrithm.
117 o strxfrm(): Corrected the return values.
118 o __ftime(): Corrected regression causing the time to be 35 years wrong.
119 o strftime(): Added C99 %F.
120 o strptime(): Fixed a few parsing and calculation bugs.
121
1222005-06-19: knut st. osmundsen <[email protected]>
123 - libc:
124 o File resize optimization: The JFS, HPFS and probably NET
125 will never return space which isn't zeroed when expanding
126 a file. Associate a file system information object with the
127 filehandles to keep track of such features. This also fixes
128 the fsStatFH() implementation trouble.
129 This attribute doesn't apply to CDFS. While RAMFS fails
130 the test, it zeros at open but not at setfilesize.
131 o Fixed invalid inode and dev numbers for new files, was passing
132 the wrong path around.
133
1342005-06-13: knut st. osmundsen <[email protected]>
135 - libc:
136 o Auto init fmutexes.
137 o Fixed potential deadlock the first time a must-complete
138 fmutex was entered.
139 o Replaced mktemp and mkstemp with BSD versions. Also adding
140 mkstemps, mkdtemp, arc4random, arc4random_addrandom and
141 arc4random_stir.
142 o Limited the namespace pollution caused by machine/param.h
143 (included by sys/param.h which is used by lot's of tcpip headers).
144 Define _BSD_NAMESPACE_POLLUTION to get it all.
145 o Fixed bug in getitimer/setitmer, it didn't zero the old value struct
146 if the timer wasn't running.
147 o Fixed a bug in __ftime(), the time was jolting around.
148
1492005-06-12: knut st. osmundsen <[email protected]>
150 - libc:
151 o Changed the LIBC_PATHREADWRITERS to a generic LIBC_HOOK_DLLS.
152 See src/emx/src/lib/sys/hooks.c for details.
153
1542005-06-11: knut st. osmundsen <[email protected]>
155 - libc:
156 o The smallcnv stuff is gone, waste of space since we're not really into
157 static linking. Should've done this when switching to gdtoa.
158 o Ported the msun and some other math bits from current FreeBSD libc.
159 This mostly replaces the EMX math, except for some double long variants
160 and some EMX specific ones. This is a risky change, but it's needed
161 if we're gonna catch up on the C99 bits and make libstdc++ happy.
162 There are some new headers, complex.h and fenv.h being the importan ones.
163 float.h have gotten some updates while math.h is totally replaced.
164 More than 100 standard functions were added!
165 NOTE: msun is using MATH_ERREXCEPT (math_errhandling) and not
166 MATH_ERRNO for error reporting.
167 I really hope this is not gonna uncover more OS/2 387 mess.
168 o Handle .cmd, .bat, .btm and hash-bang script files if DosExecPgm()
169 fails. (I'm a little bit uncertain about argv[0], but it appears to work.)
170
1712005-06-05: knut st. osmundsen <[email protected]>
172 - libc:
173 o the setitimer backend was making incorrect assumptions about the
174 HTIMER range - NULLHANDLE is valid for HTIMER. Changed it to use ~0U
175 as invalid handle. (untested)
176 o Default TCPIP mode is __USB_LIBC_TCPIP. When either TCPV40HDRS or TCPV41HDRS
177 are defined we are in strict mode and __USB_LIBC_TCPIP will not be defined.
178 - libomflib, emxomfar:
179 o Allow multiple modules by the same basename. This is not in tradition with
180 other librarians, but it solves incompatible behaviour between emxomfar and ar.
181 - ld:
182 o Avoid using alloca since we might easily run out of stack for big objects
183 with debuginfo.
184 - emxomf:
185 o Added support for new EMX a.out stab N_EXP (0x6c). This encodes export
186 definitions. (gcc can do __declspec(dllexport) now.)
187 TODO: ld needs updating, probably this is the right time to drop the
188 old ld and fixup the binutils port!
189
1902005-05-08: knut st. osmundsen <[email protected]>
191 - libc:
192 o Added _getenv_[int|long|longlong]. Using this for LIBC_THREAD_MIN_STACK_SIZE.
193 o Ported the BSD SysV Semaphore module.
194 o Added a signal notification callback to the thread structure.
195 o Changed tcpip term callback to more generic exitlist callback (SPM).
196 o Ported the BSD SysV Shared Memory module.
197
1982005-05-05: knut st. osmundsen <[email protected]>
199 - libc:
200 o Added fts.h and ported the BSD implementation.
201 It's not 100% correct since we're lacking fchdir and cannot open
202 directories - will update it when this is in place.
203 o Disabled the UF_ and SF_ defines in sys/stat.h since we don't have st_flags.
204 o Added mkfifo (stub).
205 o Added lutimes and futimes, replacing __utimes.
206
2072005-05-01: knut st. osmundsen <[email protected]>
208 - libc:
209 o Fixed incorrect d_type returned by readdir and readdir_r.
210 o Changed chdir() to unix style, added _chdir_os2() as a backwards compatible
211 api. _chdir2() and chdir() are operating identically now.
212 o Fixed several incorrect/incomplete path resolve cases. Some causing
213 invalid ino values.
214 o Unlock the libc DLL before installing it (cp, make or someone might be using it).
215 o Unix root rewrite rule ends it's pszTo with a slash, this caused
216 two slashes and thus UNC trouble.
217 o Quick rewrite of access() (also affects eaccess()) to work in chroot environment.
218 o Added O_BINARY to all opens in bsd/db.
219
2202005-04-30: knut st. osmundsen <[email protected]>
221 - libmoddef:
222 o Allow empty definition strings. (weakld failed on python _curses_m)
223 - weakld:
224 o Fixed incorrect .def-file parse error message.
225 - sys/param.h:
226 o Added MAXBSIZE, BKVASIZE and BKVAMASK which are used by some BSD tools.
227 - libc:
228 o Added fchmod and reimplemented chmod and lchmod. Still missing FS level
229 unix attribute handling, but this is a start.
230
2312005-04-25: knut st. osmundsen <[email protected]>
232 - libc:
233 o Added the sysctl interface from BSD. Not all values are
234 supported, nor are we compatible with tcpip41 sysctl yet.
235
2362005-04-24: knut st. osmundsen <[email protected]>
237 - libc:
238 o Fixed bug in getfsstate(). (df from coreutils works now!)
239 o Implemented process priority management. Added nice(), setpriority()
240 and getpriority() in the process.
241 o Added process enumeration and access function to sharedpm.
242
2432005-04-23: knut st. osmundsen <[email protected]>
244 - emxomf:
245 o Refined the 'G' hack fixing globals in the text segment.
246 - libc:
247 o Added cs:eip to the abnormal termination message. (signals.c)
248 o Default stack size 512KB when caller specifies 0. (beginthr.c)
249 o Use the env.var. LIBC_THREAD_MIN_STACK_SIZE value as a byte count
250 specifying the minimum stack size. When not specified minium size
251 defaults to 4096. (beginthr.c)
252 o Added the libsocket and libsyslog libraries to the libc IMPORT library.
253 There are now two sets of libc_dll.a/lib libraries, one for tcpipv4 and
254 one for tcpipv41+ (default).
255 o Added nanosleep() and changed usleep() and sleep() to use it.
256 o Added wmemcpy(), wmemset(), wmemcmp(), wmemchr() and wmemmove(). (untested)
257 o Added SUN/HP/RTLinux api gethrtime() as a wrapper around the DosTmr* apis.
258 o Rewrote atexit() fixing problem with the callbacks calling exit() recursivly
259 and adding on_exit().
260 o Added stdio_ext.h and implemented __fpending() and __fbufsize().
261 (Just to make coreutils easier to port.)
262
2632005-03-23: knut st. osmundsen <[email protected]>
264 - src/lib/sys/__spawnve.c:
265 o Fixed double free of pFS (should've been pSig).
266 Thanks for froloff.
267
2682005-03-19: knut st. osmundsen <[email protected]>
269 - 386/builtin.h:
270 o Fixed serveral bugs in the atomic inc/dec functions.
271 Added a testcase for these.
272 - libc:
273 o Fixed various typos in the socket per process counting. Thanks to
274 nickk for point these out.
275
2762005-03-13: knut st. osmundsen <[email protected]>
277 - version.smak:
278 o 6b4 -> 6b5.
279
280 - libc:
281 o Implemented socket duplication.
282 o Fixed various socket close & fork bugs.
283 o Applied parts of tcpipver patches from Lorne and Froloff.
284 o Fixed various UNC trouble reported by David.
285 o Fixed open problem in DosEx.
286 o Fixed incorrect pool allocation in DosEx.
287 o Fixed missing free pool item in DoxEx - *big* leak.
288 o Fixed TID/PID mixup when calling DosVerifyPidTid() from fmutex wait loop.
289 o Applied patch from Nickk for broken settimeofday().
290 o Moved iconv into LIBC.
291 o Ported GLIBC intl and made it a part of LIBC.
292 o Implemented -Zargs-wild and -Zargs-resp crt0 variations.
293 o Added support for single quoted arguments. (pray this doesn't screw up...)
294 o Replaced the __atod implementation with the NETLIB gdtoa implementation
295 used by BSD. (The old routine kept hitting assertions.)
296 o Created libc06a4 forwarder dll.
297
298 - libiconv, libdl, libm:
299 o Made these empty stub libraries.
300
301 - emxomf:
302 o Fixed getopt(,,"l::") problem. BSD getopt doesn't pass FLAG_PERMUTE for getopt and
303 thus it would consume the next argument unless it was an option. Using
304 getopt_long(,,"l::", NULL, NULL) solves the problem.
305
306 - testcases:
307 o Testcases for various new problems/code.
308
3092005-02-01: knut st. osmundsen <[email protected]>
310 - libc:
311 o Fixed bogus bubble sort in setlocale/LC_COLLATE.
312
3132005-01-31: knut st. osmundsen <[email protected]>
314 - libc:
315 o Applied readdir_r() errno fix from Lorne.
316 o Fixed lstat() backend on request from Lorne.
317
3182005-01-30: knut st. osmundsen <[email protected]>
319 - libc:
320 o Applies setlocale patch from Lorne which fixes two bugs in LC_COLLATE.
321
3222005-01-28: knut st. osmundsen <[email protected]>
323 - libc:
324 o Applied setlocale patch from Lorne.
325 o Faked the C99 lconv additions by copying the local ones.
326
3272005-01-16: knut st. osmundsen <[email protected]>
328 - libos2:
329 o Added SafeDosStartSession from Dmitry Froloff.
330 - libc:
331 o Fixed year problem in settimeofday.
332 o Check if fxsave/fxrstor is supported before using them in fork().
333 ASSUMES cpuid eax=1 works on all targets.
334 o Implemented nl_langinfo(CODESET).
335 o Added bunch a of ASCII codeset name conversions.
336 o Fixed bug in socket inherit over exec/spawn. Thanks to Froloff.
337 o Forgot to take the signal semaphore when receiving a signal
338 from the 16bit handler. Thanks to Froloff.
339 o rmdir errno fix from Lorne.
340 o rmdir shall fail on symlink.
341 o rmdir shall return ENOTDIR if the path isn't a directory (but exists).
342 o Fixed setlocale(LC_ALL/LC_MONETARY, "C").
343 o Changed the process reaper to use internal signal api to skip some overhead.
344 o Fixed a return path from signal raise where the signal sem wasn't
345 released. (The out of queue node hang.)
346 - libsocket:
347 o os2_select: Fixed a couple of filehandle conversion bugs. Thanks to Froloff.
348 o soclose shouldn't return EBADF but ENOSOCK according to the specs.
349 - libsocket, libc:
350 o Return ENOSOCK instead of ENOSYS when attempting socket operation on filehandle.
351
352
3532005-01-??: knut st. osmundsen <[email protected]>
354 - libc:
355 o Fixed problem with fork'ed children beliving they were
356 still forking after fork() returned. (DLL load issue)
357 o Fixed signal queue node leak. Thanks to Lorne.
358
3592004-12-20: knut st. osmundsen <[email protected]>
360 - libc:
361 o Added inode and dev calculation for fstat and stat.
362 TODO: save unix EAs. opendir d_fileno?
363 o Ported all string/w* functions from FreeBSD except wcsxfrm.c.
364
3652004-12-12: knut st. osmundsen <[email protected]>
366 - os2emx.h:
367 o Corrected define of NP_NBLK. (thanks to froloff)
368 - __mcount:
369 o Export stub in all builds but the profiling build.
370 - libdl:
371 o Removed and stubbed it (install). It's all in LIBC now.
372 TODO: make libm and libdl stubbing in LIBC!
373
3742004-12-09: knut st. osmundsen <[email protected]>
375 - waitpid(), waitid(), wait(), wait4(), wait3(),
376 __libc_Back_processWait():
377 o Fixed missing WNOHANG handling.
378 Created waitpid-1.c testcase in testcase/misc for this problem.
379 o Clearified error codes ECHILD and EINVAL, use the waitpid() specs.
380
381 - ChangeLog.Libc:
382 o Created this file.
383
Note: See TracBrowser for help on using the repository browser.