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

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

o Changed the LIBC_PATHREADWRITERS to a generic LIBC_HOOK_DLLS.

See src/emx/src/lib/sys/hooks.c for details.

  • Property cvs2svn:cvs-rev set to 1.54
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 11.1 KB
Line 
1/* $Id: ChangeLog.LIBC 2021 2005-06-13 02:16:10Z bird $ */
2
32005-06-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
4 - libc:
5 o Changed the LIBC_PATHREADWRITERS to a generic LIBC_HOOK_DLLS.
6 See src/emx/src/lib/sys/hooks.c for details.
7
82005-06-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>
9 - libc:
10 o The smallcnv stuff is gone, waste of space since we're not really into
11 static linking. Should've done this when switching to gdtoa.
12 o Ported the msun and some other math bits from current FreeBSD libc.
13 This mostly replaces the EMX math, except for some double long variants
14 and some EMX specific ones. This is a risky change, but it's needed
15 if we're gonna catch up on the C99 bits and make libstdc++ happy.
16 There are some new headers, complex.h and fenv.h being the importan ones.
17 float.h have gotten some updates while math.h is totally replaced.
18 More than 100 standard functions were added!
19 NOTE: msun is using MATH_ERREXCEPT (math_errhandling) and not
20 MATH_ERRNO for error reporting.
21 I really hope this is not gonna uncover more OS/2 387 mess.
22 o Handle .cmd, .bat, .btm and hash-bang script files if DosExecPgm()
23 fails. (I'm a little bit uncertain about argv[0], but it appears to work.)
24
252005-06-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
26 - libc:
27 o the setitimer backend was making incorrect assumptions about the
28 HTIMER range - NULLHANDLE is valid for HTIMER. Changed it to use ~0U
29 as invalid handle. (untested)
30 o Default TCPIP mode is __USB_LIBC_TCPIP. When either TCPV40HDRS or TCPV41HDRS
31 are defined we are in strict mode and __USB_LIBC_TCPIP will not be defined.
32 - libomflib, emxomfar:
33 o Allow multiple modules by the same basename. This is not in tradition with
34 other librarians, but it solves incompatible behaviour between emxomfar and ar.
35 - ld:
36 o Avoid using alloca since we might easily run out of stack for big objects
37 with debuginfo.
38 - emxomf:
39 o Added support for new EMX a.out stab N_EXP (0x6c). This encodes export
40 definitions. (gcc can do __declspec(dllexport) now.)
41 TODO: ld needs updating, probably this is the right time to drop the
42 old ld and fixup the binutils port!
43
442005-05-08: knut st. osmundsen <bird-gccos2-spam@anduin.net>
45 - libc:
46 o Added _getenv_[int|long|longlong]. Using this for LIBC_THREAD_MIN_STACK_SIZE.
47 o Ported the BSD SysV Semaphore module.
48 o Added a signal notification callback to the thread structure.
49 o Changed tcpip term callback to more generic exitlist callback (SPM).
50 o Ported the BSD SysV Shared Memory module.
51
522005-05-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
53 - libc:
54 o Added fts.h and ported the BSD implementation.
55 It's not 100% correct since we're lacking fchdir and cannot open
56 directories - will update it when this is in place.
57 o Disabled the UF_ and SF_ defines in sys/stat.h since we don't have st_flags.
58 o Added mkfifo (stub).
59 o Added lutimes and futimes, replacing __utimes.
60
612005-05-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
62 - libc:
63 o Fixed incorrect d_type returned by readdir and readdir_r.
64 o Changed chdir() to unix style, added _chdir_os2() as a backwards compatible
65 api. _chdir2() and chdir() are operating identically now.
66 o Fixed several incorrect/incomplete path resolve cases. Some causing
67 invalid ino values.
68 o Unlock the libc DLL before installing it (cp, make or someone might be using it).
69 o Unix root rewrite rule ends it's pszTo with a slash, this caused
70 two slashes and thus UNC trouble.
71 o Quick rewrite of access() (also affects eaccess()) to work in chroot environment.
72 o Added O_BINARY to all opens in bsd/db.
73
742005-04-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
75 - libmoddef:
76 o Allow empty definition strings. (weakld failed on python _curses_m)
77 - weakld:
78 o Fixed incorrect .def-file parse error message.
79 - sys/param.h:
80 o Added MAXBSIZE, BKVASIZE and BKVAMASK which are used by some BSD tools.
81 - libc:
82 o Added fchmod and reimplemented chmod and lchmod. Still missing FS level
83 unix attribute handling, but this is a start.
84
852005-04-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
86 - libc:
87 o Added the sysctl interface from BSD. Not all values are
88 supported, nor are we compatible with tcpip41 sysctl yet.
89
902005-04-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
91 - libc:
92 o Fixed bug in getfsstate(). (df from coreutils works now!)
93 o Implemented process priority management. Added nice(), setpriority()
94 and getpriority() in the process.
95 o Added process enumeration and access function to sharedpm.
96
972005-04-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
98 - emxomf:
99 o Refined the 'G' hack fixing globals in the text segment.
100 - libc:
101 o Added cs:eip to the abnormal termination message. (signals.c)
102 o Default stack size 512KB when caller specifies 0. (beginthr.c)
103 o Use the env.var. LIBC_THREAD_MIN_STACK_SIZE value as a byte count
104 specifying the minimum stack size. When not specified minium size
105 defaults to 4096. (beginthr.c)
106 o Added the libsocket and libsyslog libraries to the libc IMPORT library.
107 There are now two sets of libc_dll.a/lib libraries, one for tcpipv4 and
108 one for tcpipv41+ (default).
109 o Added nanosleep() and changed usleep() and sleep() to use it.
110 o Added wmemcpy(), wmemset(), wmemcmp(), wmemchr() and wmemmove(). (untested)
111 o Added SUN/HP/RTLinux api gethrtime() as a wrapper around the DosTmr* apis.
112 o Rewrote atexit() fixing problem with the callbacks calling exit() recursivly
113 and adding on_exit().
114 o Added stdio_ext.h and implemented __fpending() and __fbufsize().
115 (Just to make coreutils easier to port.)
116
1172005-03-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
118 - src/lib/sys/__spawnve.c:
119 o Fixed double free of pFS (should've been pSig).
120 Thanks for froloff.
121
1222005-03-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>
123 - 386/builtin.h:
124 o Fixed serveral bugs in the atomic inc/dec functions.
125 Added a testcase for these.
126 - libc:
127 o Fixed various typos in the socket per process counting. Thanks to
128 nickk for point these out.
129
1302005-03-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
131 - version.smak:
132 o 6b4 -> 6b5.
133
134 - libc:
135 o Implemented socket duplication.
136 o Fixed various socket close & fork bugs.
137 o Applied parts of tcpipver patches from Lorne and Froloff.
138 o Fixed various UNC trouble reported by David.
139 o Fixed open problem in DosEx.
140 o Fixed incorrect pool allocation in DosEx.
141 o Fixed missing free pool item in DoxEx - *big* leak.
142 o Fixed TID/PID mixup when calling DosVerifyPidTid() from fmutex wait loop.
143 o Applied patch from Nickk for broken settimeofday().
144 o Moved iconv into LIBC.
145 o Ported GLIBC intl and made it a part of LIBC.
146 o Implemented -Zargs-wild and -Zargs-resp crt0 variations.
147 o Added support for single quoted arguments. (pray this doesn't screw up...)
148 o Replaced the __atod implementation with the NETLIB gdtoa implementation
149 used by BSD. (The old routine kept hitting assertions.)
150 o Created libc06a4 forwarder dll.
151
152 - libiconv, libdl, libm:
153 o Made these empty stub libraries.
154
155 - emxomf:
156 o Fixed getopt(,,"l::") problem. BSD getopt doesn't pass FLAG_PERMUTE for getopt and
157 thus it would consume the next argument unless it was an option. Using
158 getopt_long(,,"l::", NULL, NULL) solves the problem.
159
160 - testcases:
161 o Testcases for various new problems/code.
162
1632005-02-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
164 - libc:
165 o Fixed bogus bubble sort in setlocale/LC_COLLATE.
166
1672005-01-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>
168 - libc:
169 o Applied readdir_r() errno fix from Lorne.
170 o Fixed lstat() backend on request from Lorne.
171
1722005-01-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
173 - libc:
174 o Applies setlocale patch from Lorne which fixes two bugs in LC_COLLATE.
175
1762005-01-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
177 - libc:
178 o Applied setlocale patch from Lorne.
179 o Faked the C99 lconv additions by copying the local ones.
180
1812005-01-16: knut st. osmundsen <bird-gccos2-spam@anduin.net>
182 - libos2:
183 o Added SafeDosStartSession from Dmitry Froloff.
184 - libc:
185 o Fixed year problem in settimeofday.
186 o Check if fxsave/fxrstor is supported before using them in fork().
187 ASSUMES cpuid eax=1 works on all targets.
188 o Implemented nl_langinfo(CODESET).
189 o Added bunch a of ASCII codeset name conversions.
190 o Fixed bug in socket inherit over exec/spawn. Thanks to Froloff.
191 o Forgot to take the signal semaphore when receiving a signal
192 from the 16bit handler. Thanks to Froloff.
193 o rmdir errno fix from Lorne.
194 o rmdir shall fail on symlink.
195 o rmdir shall return ENOTDIR if the path isn't a directory (but exists).
196 o Fixed setlocale(LC_ALL/LC_MONETARY, "C").
197 o Changed the process reaper to use internal signal api to skip some overhead.
198 o Fixed a return path from signal raise where the signal sem wasn't
199 released. (The out of queue node hang.)
200 - libsocket:
201 o os2_select: Fixed a couple of filehandle conversion bugs. Thanks to Froloff.
202 o soclose shouldn't return EBADF but ENOSOCK according to the specs.
203 - libsocket, libc:
204 o Return ENOSOCK instead of ENOSYS when attempting socket operation on filehandle.
205
206
2072005-01-??: knut st. osmundsen <bird-gccos2-spam@anduin.net>
208 - libc:
209 o Fixed problem with fork'ed children beliving they were
210 still forking after fork() returned. (DLL load issue)
211 o Fixed signal queue node leak. Thanks to Lorne.
212
2132004-12-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>
214 - libc:
215 o Added inode and dev calculation for fstat and stat.
216 TODO: save unix EAs. opendir d_fileno?
217 o Ported all string/w* functions from FreeBSD except wcsxfrm.c.
218
2192004-12-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
220 - os2emx.h:
221 o Corrected define of NP_NBLK. (thanks to froloff)
222 - __mcount:
223 o Export stub in all builds but the profiling build.
224 - libdl:
225 o Removed and stubbed it (install). It's all in LIBC now.
226 TODO: make libm and libdl stubbing in LIBC!
227
2282004-12-09: knut st. osmundsen <bird-gccos2-spam@anduin.net>
229 - waitpid(), waitid(), wait(), wait4(), wait3(),
230 __libc_Back_processWait():
231 o Fixed missing WNOHANG handling.
232 Created waitpid-1.c testcase in testcase/misc for this problem.
233 o Clearified error codes ECHILD and EINVAL, use the waitpid() specs.
234
235 - ChangeLog.Libc:
236 o Created this file.
237
Note: See TracBrowser for help on using the repository browser.