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

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

o Added REG_NOERROR to regex.h to make GLIBC code happy.

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