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

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

o The smallcnv stuff is gone, waste of space since we're not really into

static linking. Should've done this when switching to gdtoa.

o Ported the msun and some other math bits from current FreeBSD libc.

This mostly replaces the EMX math, except for some double long variants
and some EMX specific ones. This is a risky change, but it's needed
if we're gonna catch up on the C99 bits and make libstdc++ happy.
There are some new headers, complex.h and fenv.h being the importan ones.
float.h have gotten some updates while math.h is totally replaced.
More than 100 standard functions were added!
NOTE: msun is using MATH_ERREXCEPT (math_errhandling) and not

MATH_ERRNO for error reporting.

I really hope this is not gonna uncover more OS/2 387 mess.

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