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