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

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

o Handle .cmd, .bat, .btm and hash-bang script files if DosExecPgm()

fails. (I'm a little bit uncertain about argv[0], but it appears to work.)

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