Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3536 lines
108 KiB

  1. -----------------------------------------------------------------
  2. Tue 19-Jul-94 (GregF)
  3. crtwin32/dllstuff/crtdll.c
  4. crtwin32/misc/onexit.c
  5. Changed the calls to GlobalAlloc so that GMEM_SHARE is specified.
  6. Affects only the Win32s version of msvcrt20.dll. This was bug
  7. 14851, originating with Boaz Feldbaum.
  8. -----------------------------------------------------------------
  9. Fri 10-Jun-94 (SteveSa)
  10. crtwin32/startup/threadex.c
  11. Fix 2 synchronization problems. 1) The _beginthreadex routine may NOT
  12. store values into the per-thread data block of the child thread since
  13. the child thread may finish executing and free that block before the
  14. parent thread executes the first instruction after the call to
  15. CreateThread. (This is not a problem for _beginthread because that
  16. routine always creates its child thread in the suspended state.)
  17. There is no need to store the child thread handle in the per-thread
  18. data block for that child thread since _endthreadex does not close
  19. that handle. 2) The code had been written to pass the address of the
  20. tid field in the p.t.d. block to CreateThread, not the user specified
  21. tid address. The user tid was filled in after CreateThread returned,
  22. but that was not reliable. Now the user tid address is passed to
  23. CreateThread, and the child thread calls GetCurrentThreadId() to set
  24. the TID in its own p.t.d. block.
  25. -----------------------------------------------------------------
  26. Wed 08-Jun-94 (SteveSa)
  27. libwin32\include\process.h
  28. crtwin32\h\process.h
  29. crtwin32\startup\dllcrt0.c
  30. crtwin32\dllstuff\crtdll.c
  31. Add global variable _pRawDllMain which, if non-NULL because the user
  32. has defined it, will be called through upon DLL notifications, only
  33. before the CRT initialization on ATTACH notifications, and after the
  34. CRT termination on DETACH notifications. This was needed by MFC.
  35. -----------------------------------------------------------------
  36. Wed 08-Jun-94 (GregF)
  37. crtwin32\dllstuff\atonexit.c, crtdll.c
  38. crtwin32\heap\free.c
  39. crtwin32\misc\onexit.c
  40. Fixes to the support for user DLLs in Win32s. Principal change was
  41. to use GlobalHeap API for the onexit table.
  42. -----------------------------------------------------------------
  43. Mon 06-Jun-94 (SteveSa)
  44. crtwin32/h/ & libwin32/include/
  45. errno.h, float.h, signal.h, stddef.h, stdio.h, stdlib.h
  46. Changed (some occurrences of) "#ifdef _MT" to
  47. "#if defined(_MT) || defined(_DLL)" so that MSVCRT*.DLL
  48. can be used with single-thread programs. This model is
  49. dangerous if threads are running in the background without
  50. the user program's knowledge, but it allows fast getc/putc,
  51. for example, which are needed by our own compiler passes.
  52. -----------------------------------------------------------------
  53. Sat 04-Jun-94 (GregF)
  54. crtwin32\string\alpha\strcat.c
  55. Removed _CALLTYPE1.
  56. -----------------------------------------------------------------
  57. Fri 03-Jun-94 (GregF)
  58. libwin32\makefile
  59. Added ehvec*.obj to COMPONENTS_SUPPOBJS_DLL_FOR_WIN32S list.
  60. -----------------------------------------------------------------
  61. Fri 03-Jun-94 (SteveSa)
  62. libwin32\include\new.h
  63. crtwin32\h\new.h
  64. crtwin32\heap\handler.cxx
  65. Removed set_new_handler() as an alias for _set_new_handler().
  66. Our implementation of _set_new_handler does NOT conform to the
  67. working ANSI C++ standard definition of set_new_handler. We
  68. must correctly implement set_new_handler for Visual C++ v3.0,
  69. but we cannot alias it to our own _set_new_handler. That would
  70. cause untold compatibility problems when we do implement a
  71. conforming version of the ANSI C++ set_new_handler().
  72. -----------------------------------------------------------------
  73. Wed 01-Jun-94 (ChrisWei)
  74. crtwin32\h[libwin32\include]\tchar.h
  75. all _strdec and _wcsdec params should be const.
  76. -----------------------------------------------------------------
  77. Wed 01-Jun-94 (GregF)
  78. crtwin32\dllstuff\atonexit.c, crtdll.c
  79. Removed compile-time conditioning on DLL_FOR_WIN32S. Instead, test
  80. for Win32s at runtime. i386\msvcrt*.lib should now work for BOTH
  81. i386\msvcrt*.dll and i386\win32s\msvcrt*.dll!!!
  82. -----------------------------------------------------------------
  83. Thu 26-May-94 (ChrisWei)
  84. crtwin32\h[libwin32\include]\string.h, wchar.h
  85. crtwin32\string\sources
  86. libwin32\lib\*\*.def
  87. Add _strncoll, _wcsncoll.
  88. crtwin32\h\tchar.h
  89. Make inlining the default for all.
  90. -----------------------------------------------------------------
  91. Thu 26-May-94 (ChrisWei)
  92. crtwin32\h\tchar.h
  93. Make inlining the default for MBCS, fix _tcsn[c]cmp.
  94. -----------------------------------------------------------------
  95. Thu 26-May-94 (GregF)
  96. crtwin32\misc\lsources, sources
  97. crtwin32\misc\alpha\strcmp.s, strcpy.s, strlen.s (deleted)
  98. crtwin32\string\lsources, sources
  99. crtwin32\string\alpha\strcat.c, strcmps.s, strcpy.s, strlens.s (new)
  100. Changes for the Alpha build (only) strcmp.s, strcpy.s and strlen.s
  101. were deleted from misc\alpha, and replaced by the files listed above
  102. in string\alpha
  103. -----------------------------------------------------------------
  104. Wed 25-May-94 (ChrisWei)
  105. crtwin32\h\tchar.h
  106. Bug fix: _tcsnextc in _MBCS case.
  107. -----------------------------------------------------------------
  108. Tue 24-May-94 (GregF)
  109. crtwin32\dllstuff\atonexit.c, crtdll.c
  110. crtwin32\heap\free.c
  111. crtwin32\misc\onexit.c
  112. Package of changes so that Win32s user DLLs only execute static
  113. ctors and dtors once (when the the first process attaches for ctors
  114. and when the last process detaches for dtors).
  115. -----------------------------------------------------------------
  116. Tue 24-May-94 (GregF)
  117. crtwin32\h\istream.h
  118. crtwin32\iostream\istrgint.cxx, istrint.cxx, istrlong.cxx, istrshrt.cxx,
  119. istruint.cxx, istrulng.cxx, istrusht.cxx
  120. Moved the definition of MAXLONGSIZ from various *.cxx to istream.h.
  121. Also, changed istrgint.cxx so that is stops copying characters into
  122. the buffer with at most MAXLONGSIZ-1 characters have been copied.
  123. This was probably not really a bug since MAXLONGSIZ was big enough
  124. (16) we wouldn't come near it anyway.
  125. -----------------------------------------------------------------
  126. Mon 23-May-94 (ChrisWei)
  127. crtwin32\mbstring\sources, tcsmap*.c, mbs*coll.c
  128. crtwin32\h[libwin32\include]tchar.h, mbstring.h
  129. libwin32\lib\*\*.def
  130. Add _mbs*coll functions.
  131. -----------------------------------------------------------------
  132. Fri 20-May-94 (ChrisWei)
  133. crtwin32\mbstring\mbsnbcmp.c, mbsnbicm.c
  134. Fix old bug: if last char is lead byte, returns EQUAL without
  135. testing at all. Now at least does strict value comparison of LB
  136. with other strings char.
  137. -----------------------------------------------------------------
  138. Thurs 19-May-94 (ChrisWei)
  139. crtwin32\mbstring\almost_everything.c
  140. crtwin32\h\mbdata.h, win32s.h
  141. Allow non-Win32 builds. Add Mac support.
  142. -----------------------------------------------------------------
  143. Wed 18-May-94 (SteveSa)
  144. libwin32\buildall.cmd
  145. libwin32\makefile
  146. crtwin32\buildcrt.cmd
  147. crtwin32\crt32.def
  148. fpwin32\buildcrt.cmd
  149. fpwin32\fp32.def
  150. Add support for LEGO builds of LIBC.LIB, LIBCMT.LIB, MSVCRT.LIB
  151. and the release objects (BINMODE, COMMODE, SETARGV, etc.)
  152. This support is activated by the presence of {crt,fp}dbg{,st,dll}
  153. subdirectories, which are parallel to {crt,fp}win{,st,dll}.
  154. -----------------------------------------------------------------
  155. Tue 17-May-94 (GregF)
  156. libwin32\makefile
  157. Replaced "link32" with "link"
  158. -----------------------------------------------------------------
  159. Tue 17-May-94 (GregF)
  160. crtwin32\helper\mips\llbit.c,lldefs.h
  161. Bug fix for Dolphin bug 12192 from Roger Lanser.
  162. -----------------------------------------------------------------
  163. Tue 17-May-94 (GregF)
  164. crtwin32\h\string.h
  165. libwin32\include\string.h
  166. memmove is implemented as an intrinsic on the Dec Alpha so the
  167. _CRTIMP qualifier must be removed from the prototype for the
  168. Alpha.
  169. -----------------------------------------------------------------
  170. Mon 16-May-94 (ChrisWei)
  171. crtwin32\h\mbdata.h
  172. crtwin32\mbstring\mbsicmp.c, mbslwr.c, mbsnbicm.c, mbsnicmp.c, mbsupr.c,
  173. mbtolwr.c, mbtoupr.c
  174. Use _mbbtolower [upper] which is not locale-dependent, rather than
  175. tolower [upper] which is.
  176. -----------------------------------------------------------------
  177. Mon 16-May-94 (SteveSa)
  178. crtwin32\dllstuff\crtexe.c
  179. The nCmdShow parameter passed to (_w)WinMain must match the
  180. computed value in crtwin32\startup\crt0.c. It was a constant.
  181. -----------------------------------------------------------------
  182. Fri 13-May-94 (SteveSa)
  183. libwin32\makefile
  184. Add ehvec{ctr,cvb,dtr}.obj to MSVCRT.LIB. (They cannot be imported
  185. because of prototype conflicts between _CRTIMP and the front end.)
  186. Problem: Yet another command line too long (this one for MSVCRT20.LIB).
  187. Solution: Tell nmake to generate and use a linker response file.
  188. crtwin32\eh\sources
  189. Change flags to build this directory with -GX (all targets) and
  190. I386 with -d1Binl. This is necessary for ehvec{ctr,cvb,dtr}.cxx.
  191. crtwin32\eh\ehvec{ctr,cvb,dtr}.cxx
  192. Remove _CRTIMP attribute from these functions -- it causes a conflict
  193. with the compiler front-end's built-in prototypes for these helpers.
  194. -----------------------------------------------------------------
  195. Thu 12-May-94 (GregF)
  196. crtwin32\h\assert.h, awint.h, conio.h, cruntime.h, ctime.h, cvt.h, direct.h,
  197. dos.h, errno.h, excpt.h, fcntl.h, file2.h, float.h, fltintrn.h,
  198. fpieee.h, io.h, limits.h, locale.h, math.h, mbstring.h, memory.h,
  199. msdos.h, oscalls.h, process.h, search.h, setjmp.h, share.h,
  200. signal.h, stdarg.h, stddef.h, string.h, syserr.h, tchar.h,
  201. varargs.h
  202. crtwin32\h\sys\locking.h, stat.h, timeb.h, types.h, utime.h
  203. Fixed _INC_* macro usage so that it is consistent throughout the
  204. include files (the #define comes immediately after the #ifdef).
  205. crtwin32\h\wchar.h
  206. Removed conditional #include of win32s.h. It wasn't necessary and it
  207. broke the build with the change above.
  208. libwin32\include\*.h
  209. Brought up to date with changes above.
  210. -----------------------------------------------------------------
  211. Wed 11-May-94 (GregF)
  212. libwin32\makefile
  213. x86 build of the DLL has to be bound with user32.lib (init. code
  214. has a reference to MessageBoxA)
  215. -----------------------------------------------------------------
  216. Tue 10-May-94 (GregF)
  217. crtwin32\dllstuff\crtlib.c
  218. Added check for Win32s at initialization time. Using this, the
  219. DLL version for Win32s (Win32) will not load on Win32 (resp., Win32).
  220. When one of DLLs is loaded on the wrong host, an explanatory
  221. message box is displayed and the initialization fails.
  222. -----------------------------------------------------------------
  223. Thu 05-May-94 (GregF)
  224. libwin32\makefile, lib\i386\win32s, lib\i386\win32s\msvcrt20.def
  225. Build the Win32s DLL under the same name as the Windows NT DLL
  226. (i.e., msvcrt20.dll, msvcrt20.lib, msvcrt.lib) in the (new)
  227. subdirectory, win32s, of i386.
  228. -----------------------------------------------------------------
  229. Wed 04-May-94 (GregF)
  230. libwin32\include\ctype.h, malloc.h, mbctype.h, stdio.h, stdlib.h, time.h,
  231. wchar.h
  232. Oops, almost forgot these...
  233. -----------------------------------------------------------------
  234. Wed 04-May-94 (GregF)
  235. crtwin32\h\ctype.h, internal.h, malloc.h, mbctype.h, stdio.h, stdlib.h,
  236. time.h, wchar.h
  237. crtwin32\dllstuff\crtlib.c
  238. Made several of the _DLL changes also depend on _M_IX86 so they do
  239. not affect the MIPS or Alpha builds. Basically, these are the
  240. definitions/declarations of the access functions and the macros to
  241. convert references to the CRT's global (user-visible), read-write
  242. data to access function calls. I also fixed a potential bug in
  243. crtlib.c: the return value for a success call to
  244. AllocPerProcessDataStruct() was not explicitly set to any value.
  245. -----------------------------------------------------------------
  246. Mon 02-May-94 (GregF)
  247. crtwin32\h\stdio.h
  248. libwin32\include\stdio.h
  249. Added __cdecl to declaration of __p__iob().
  250. -----------------------------------------------------------------
  251. Fri 29-Apr-94 (GregF)
  252. crtwin32\h\win32s.h
  253. Oops! Forgot to addfile this header yesterday. It defines the per-
  254. process data struct for Win32s and access macros.
  255. libwin32\include\ctype.h, malloc.h, mbctype.h, new.h, stdio.h, stdlib.h,
  256. time.h, wchar.h
  257. Brought up to date with crtwin32\h.
  258. -----------------------------------------------------------------
  259. Thu 28-Apr-94 (GregF)
  260. crtwin32\buildcrt.cmd, crt32.def, makefile
  261. crtwin32\h\ctype.h, heap.h, internal.h, malloc.h, mbctype.h, mbdata.h,
  262. mtdll.h, new.h, nlsint.h, setlocal.h, stdio.h, time.h, wchar.h
  263. crtwin32\dllstuff\atonexit.c, crtexe.c, crtlib.c
  264. crtwin32\heap\_newmode.c, handler.cxx, heapinit.c, malloc.c, new_mode.cxx
  265. crtwin32\lowio\initcon.c, ioinit.c, txtmode.c
  266. crtwin32\mbstring\mbctype.c
  267. crtwin32\misc\ctype.c, initctyp.c, inithelp.c, initmon.c, inithelp.c,
  268. inittime.c, onexit.c, setenv.c, setlocal.c, setmval.c,
  269. wsetloca.c
  270. crtwin32\startup\crt0.c, crt0dat.c, mlock.c, stdargv.c, tidtable.c, wild.c
  271. crtwin32\stdio\_file.c, _getbuf.c, _open.c, _sftbuf.c, fdopen.c, fflush.c,
  272. ncommode.c, rmtmp.c, setvbuf.c, tmpfile.c
  273. crtwin32\time\clock.c, strftime.c, timeset.c, tzset.c
  274. crtwin32\tools\win32\relinc.if
  275. libwin32\buildall.cmd, makefile
  276. libwin32\lib\i386\msvcrt19.def
  277. Package of changes to build a special version of msvcrt*.dll for
  278. Win32s, and make the dll for Win32 compatible with it.
  279. -----------------------------------------------------------------
  280. Wed 27-Apr-94 (GregF)
  281. libwin32\lib\mips\msvcrt20.def
  282. Added single precision math functions to the exports (defined for
  283. MIPS only).
  284. -----------------------------------------------------------------
  285. Mon 24-Apr-94 (ChriswWei)
  286. - removed _tset[v]buf - there are no Unicode versions of these function.
  287. h\[include\]tchar.h
  288. - add wWinMainCRTStartup entry point for DLL
  289. dllstuff\wcrtexew.c, sources, crtexe.c - add wWinMainCRTStartup entry point for DLL
  290. libwin32\makefile
  291. -----------------------------------------------------------------
  292. Fri 22-Apr-94 (GregF)
  293. libwin32/lib/alpha/msvcrt20.def
  294. Added _heapused to exports.
  295. -----------------------------------------------------------------
  296. Thu 21-Apr-94 (SteveSa)
  297. libwin32/makefile
  298. libwin32/sdknames/
  299. libwin32/sdknames/obj
  300. libwin32/sdknames/obj/{i386,mips,alpha}
  301. Changed the makefile to add SDKNAMES.LIB to MSVCRT.LIB. SDKNAMES.LIB
  302. contains aliases to convert SDK CRTDLL.LIB names (e.g. _winver_dll)
  303. to MS VC++ names (e.g., __imp__winver). The sdknames directory and
  304. its subdirectories were added for use in building SDKNAMES.LIB.
  305. Also, the OLDNAMES alias for control87() on the i386 was fixed. It
  306. was one leading underscore short on both source and target names
  307. and so it was spurious. It is now fixed (_control87 => __control87).
  308. -----------------------------------------------------------------
  309. Thu 21-Apr-94 (GregF)
  310. crtwin32\stdio\input.c
  311. Wasn't re-initializing the integer64 flag. This meant that any
  312. descriptor following a %I64{d,o,x,u} caused the 64-bit contents of
  313. num64 to be copied thru its corresponding argument. Oops! This was
  314. Dolphin bug 10601.
  315. -----------------------------------------------------------------
  316. Mon 18-Apr-94 ChrisWei)
  317. I have checked in a boatload of files covering:
  318. 1) Final changes to MB stuff, all MB routines are now generic
  319. (use the NLS API set and now work for any MB language). Also,
  320. the MB-stuff is now multi-thread safe.
  321. 2) str*coll, wcs*coll return _NLSCMPERROR when there is a problem
  322. with the API call. They had been doing so already but now its
  323. documented, the macro has the underscore, and its is now available
  324. to the users.
  325. 3) A few random bug fixes.
  326. 4) Got rid of some compiler warnings that I introduced a while back.
  327. 5) Added another MT lock in case anyone cares.
  328. [ 6) Greg, for Win32s: I added a global (_mblcid) and removed a
  329. global (_mbascii) ]
  330. Files changed:
  331. h\awint.h, mbctype.h mbdata.h, mbstring.h, mtdll.h, setlocal.h, string.h
  332. include\mbctype.h, mbstring.h, string.h
  333. misc\aw_str.c, initctyp.c
  334. \string\*icoll.c
  335. \stdio\puts.c
  336. convert\isctype.c, icwctype.c
  337. mbstring\almost the whole shebang:
  338. ismbalnm.c 2 2 out
  339. ismbalph.c 3 3 out
  340. ismbbyte.c 4 4 out
  341. ismbdgt.c 3 3 out
  342. ismbgrph.c 2 2 out
  343. ismblwr.c 3 3 out
  344. ismbprn.c 4 4 out
  345. ismbpunc.c 2 2 out
  346. ismbsle.c 2 2 out
  347. ismbspc.c 3 3 out
  348. ismbstr.c 2 2 out
  349. ismbupr.c 3 3 out
  350. mbctype.c 4 4 out
  351. mbsbtype.c 1 1 out
  352. mbschr.c 1 1 out
  353. mbscmp.c 1 1 out
  354. mbscspn.c 1 1 out
  355. mbsdec.c 1 1 out
  356. mbsicmp.c 1 1 out
  357. mbslen.c 1 1 out
  358. mbslwr.c 1 1 out
  359. mbsnbcat.c 1 1 out
  360. mbsnbcmp.c 1 1 out
  361. mbsnbcnt.c 1 1 out
  362. mbsnbcpy.c 1 1 out
  363. mbsnbicm.c 1 1 out
  364. mbsnbset.c 1 1 out
  365. mbsncat.c 1 1 out
  366. mbsnccnt.c 1 1 out
  367. mbsncmp.c 1 1 out
  368. mbsncpy.c 1 1 out
  369. mbsnicmp.c 1 1 out
  370. mbsnset.c 1 1 out
  371. mbsrchr.c 1 1 out
  372. mbsrev.c 1 1 out
  373. mbsset.c 1 1 out
  374. mbsspn.c 1 1 out
  375. mbstok.c 1 1 out
  376. mbsupr.c 1 1 out
  377. mbtohira.c 1 1 out
  378. mbtokata.c 1 1 out
  379. mbtolwr.c 1 1 out
  380. mbtoupr.c 1 1 out
  381. -----------------------------------------------------------------
  382. Tue 12-Apr-94 (SteveSa)
  383. {crtwin32\h,libwin32\include}\{ios,istream,ostream}.h
  384. Add some __cdecl's to function declarations, add some leading
  385. leading underscores to parameter names to preserve ANSI naming.
  386. -----------------------------------------------------------------
  387. Tue 05-Apr-94 (SteveSa)
  388. {crtwin32\h,libwin32\include}\{stdarg,varargs}.h
  389. Minor change to declaration of __builtin_va_start() for ALPHA only!
  390. -----------------------------------------------------------------
  391. Fri 01-Apr-94 (GregF)
  392. crtwin32\eh\mips\handlers.s, tmphack.s
  393. Commented out library directives that were inappropriately causing
  394. libcmt.lib to be linked in (Dolphin bug 9646)
  395. -----------------------------------------------------------------
  396. Wed 30-Mar-94 (GregF)
  397. libwin32\lib\alpha\msvcrt20.def
  398. Added several missing exports (all were Unicode versions of
  399. familiar CRT functions).
  400. -----------------------------------------------------------------
  401. Mon 28-Mar-94 (SteveSa)
  402. libwin32/makefile
  403. crtwin32/dllstuff/crtexe.c -
  404. For X86 only (also not for the _NTSDK), add a call in CRTEXE.C to
  405. _setdefaultprecision(). Also add FP8.OBJ to MSVCRT.LIB. Now when a
  406. user links an EXE with FP10.OBJ and MSVCRT.LIB, it actually works as
  407. expected and sets the X87 precision to 80-bit (64-bit mantissa)!
  408. Previously linking with FP10.OBJ had no effect on floating point
  409. precision if linking with MSVCRT.LIB. This was a one-liner!
  410. -----------------------------------------------------------------
  411. Sat 26-Mar-94 (SteveSa)
  412. crtwin32/dos/sources
  413. crtwin32/dos/mterrno.c -
  414. Added a new file to contain single-thread versions of the functions
  415. _errno() and __doserrno(), which return the addresses of the per-thread
  416. variables errno and _doserrno, respectively. These functions in the
  417. single thread library return the addresses of the global variables.
  418. This allows users to target shared code for use with LIBC.LIB and
  419. LIBCMT.LIB without having conflicts over accesses to errno/_doserrno.
  420. -----------------------------------------------------------------
  421. Wed 23-Mar-94 (GregF)
  422. libwin32\lib\i386\msvcrt20.def
  423. Added _longjmpex.
  424. -----------------------------------------------------------------
  425. Tue 22-Mar-94 (GregF)
  426. crtwin32\helper\mips\llbit.c
  427. Bug fix from Roger Lanser. He was doing arithmetic right shifts
  428. when he should have been doing logical right shifts...
  429. -----------------------------------------------------------------
  430. Fri 18-Mar-94 (GregF)
  431. Build map file for msvcrt20.dll.
  432. -----------------------------------------------------------------
  433. Thu 17-Mar-94 (GregF)
  434. crtwin32\h\heap.h
  435. crtwin32\heap\heapadd.c,
  436. heapinit.c,
  437. heapmin.c,
  438. malloc.c,
  439. realloc.c
  440. Package of changes to provide for more graceful handling of an
  441. out-of-free-descriptors (apparently, this condition will not arise
  442. on NT since the you get a nice little informative popup, followed
  443. by the summary execution of your app, whenever you run out of virtual
  444. memory). There remains a code path in heapadd.c which can lead to
  445. a call to _heap_abort but it's not clear that real code can hit this
  446. (I couldn't figure out how to).
  447. -----------------------------------------------------------------
  448. Tue 15-Mar-94 (GregF)
  449. crtwin32\stdio\input.c
  450. Added support for I64 size modifier to the scanf-family.
  451. -----------------------------------------------------------------
  452. Mon 14-Mar-94 (GregF)
  453. crtwin32\h\stddef.h
  454. libwin32\include\stddef.h
  455. Made declaration of errno match the on in stdlib.h.
  456. crtwin32\string\strstr.c
  457. Fixed bug so that if the second argument is "" (empty string), the
  458. first argument is returned.
  459. -----------------------------------------------------------------
  460. Fri 11-Mar-94 (GregF)
  461. crtwin32\crt32.def
  462. Deleted the MIPS_OPTIMIZATION variable. Amounts to removing the
  463. -Ox- (disable intrinsics) switch from the MIPS build. This
  464. corresponds to Steve Hanson's change to \\orville\razzle\src\crt32
  465. version.
  466. crtwin32\makefile
  467. Replaced lib32 with lib, the current name of the library manager.
  468. This includes Steve Hanson's change to \\orville\razzle\src\crt32
  469. version.
  470. crtwin32\helper\mips\llbit.c
  471. Change from Steve Hanson (made to \\orville version). Basically,
  472. he turned off the bit shift intrinsics with a pragrma.
  473. crtwin32\helper\mips\llshiftt.c
  474. Test program. Taken from \\orville version of the tree.
  475. crtwin32\stdio\maketabc.c
  476. Changed to recognize 'I' as a size modifier. Code change was actually
  477. made before change to output.c below but I forgot to check it in.
  478. -----------------------------------------------------------------
  479. Thu 10-Mar-94 (GregF)
  480. crtwin32\stdio\output.c
  481. Added support for I64 size modifier to the printf-family.
  482. -----------------------------------------------------------------
  483. Tue 08-Mar-94 (GregF)
  484. libwin32\lib\mips\msvcrt20.def
  485. Added _CxxThrowException to exports.
  486. -----------------------------------------------------------------
  487. Sat 05-Mar-94 (GregF)
  488. libwin32\makefile
  489. Fixed omissions in mips and alpha builds.
  490. -----------------------------------------------------------------
  491. Fri 04-Mar-94 (GregF)
  492. crtwin32\string\sources
  493. Don't build mips\memcmpm.s any more (superceded by version in
  494. memorym.s).
  495. -----------------------------------------------------------------
  496. Tue 01-Mar-94 (SteveSa)
  497. crtwin32/heap/malloc.c
  498. crtwin32/heap/new.cxx
  499. The undocumented global variable _pnhHeap must be declared in
  500. malloc.c and not new.cxx in case new.obj is overridden by MFC
  501. or somebody else.
  502. -----------------------------------------------------------------
  503. Tue 01-Mar-94 (GregF)
  504. crtwin32\string\strset.c
  505. Change from \\orville tree, made there by Jeff Havens.
  506. crtwin32\string\mips\memorym.s, strchrm.s, strrchrm.s
  507. Bug fixes from Roger Lanser. Taken from the versions in the \\orville
  508. tree (\\orville\razzle\src\crt32).
  509. -----------------------------------------------------------------
  510. Wed 23-Feb-94 (ChrisWei)
  511. crtwin32\misc\aw_cmp.c, aw_map.c aw_str.c
  512. Use Unicode versions first.
  513. crtwin32\h[libwin32\include]\limits.h
  514. Tweak of Greg's new large int stuff, add "u".
  515. -----------------------------------------------------------------
  516. Wed 16-Feb-94 (SteveSa)
  517. crtwin32/heap/malloc.c
  518. crtwin32/heap/new.cxx
  519. Change malloc and new so that only new failures call the
  520. new handler (_pnhHeap) which is set by _set_new_handler().
  521. (* This change turned out to be controversial. *)
  522. Also revised heapused.c to give a better computation of used memory.
  523. -----------------------------------------------------------------
  524. Thur 10-Feb-94 (GregF)
  525. crtwin32\string\mips\memorym.s
  526. "Big oopser, memmove/memcpy/memset were not returning the destination
  527. ..." Quote and two-line fix both from Roger Lanser.
  528. crtwin32\misc\i386\exsup.asm, setjmp.asm, setjmp3.asm
  529. fs:0 holds -1 to mark the end of the exception handler chain, not 0!
  530. -----------------------------------------------------------------
  531. Mon 07-Feb-94 (GregF)
  532. crtwin32\string\mips\*.*
  533. Added mips subdirectory of fast string routine for the mips. Contents
  534. came from crt32 tree on \\orville\razzle, from Roger Lanser.
  535. crtwin32\string\sources
  536. Changed to build the sources above where appropriate.
  537. -----------------------------------------------------------------
  538. Fri 04-Feb-94 (ChrisWei)
  539. crtwin32\dllstuff\crtexe.c
  540. crtwin32\startup\crt0.c, crt0dat.c
  541. crtwin32\misc\setenv.c
  542. To avoid invalidating the users **envp to main, we copy the
  543. environment block. I moved this copying from startup to putenv
  544. to work around a benchmark bug, to simplify the code, and to
  545. not do the work before its required.
  546. crtwin32\h\mbctype.h
  547. crtwin32\mbstring\mbctype.c
  548. Added _setmbcp() and _getmbcp() functions. MB default is now ANSI CP.
  549. crtwin32\h\locale.h, setlocal.h
  550. crtwin32\misc\getqloc.c, setlocal.c
  551. Updated some of the countries and languages in setlocale(),
  552. and changed how the default behavior works, including switching
  553. from OEM to ANSI, but this may have to go back if we can't
  554. finagle NT 3.1 support as needed.
  555. crtwin32\h\locale.h, setlocal.h stdio.h
  556. crtwin32\stdio\puts.c
  557. Finished getws/puws stuff.
  558. -----------------------------------------------------------------
  559. Fri 04-Feb-94 (GregF)
  560. crtwin32\buildcrt.nt
  561. Define _helper for 386 so that helper\i386\*.asm gets built.
  562. crtwin32\makefile.nt
  563. Synched up with crt32\makefile.
  564. crtwin32\convert\mbstowcs.c, mbtowc.c
  565. Picked up SteveWo's changes to the build for _NTSUBSET_.
  566. crtwin32\h\limits.h
  567. Added type suffixes for long and unsigned long constants. Also added
  568. constant for the sized integral types (e.g., _I64_MAX).
  569. crtwin32\stdio\freopen.c
  570. libwin32\makefile.nt
  571. Parameterized relative paths to development trees to make renaming
  572. easier.
  573. libwin32\buildcrt.nt
  574. Variant of buildcrt.cmd to build the NT SDK version of the libs.
  575. -----------------------------------------------------------------
  576. Thu 03-Feb-94 (GregF)
  577. crtwin32\misc\mips\chandler.c
  578. Latest from \\orville\razzle\src\crt32\misc\mips (Dave Cutler).
  579. -----------------------------------------------------------------
  580. Wed 02-Feb-94 (GregF)
  581. crtwin32\makefile
  582. Define HELPER_OBJECTS for x86 build. These are the __int64 helpers.
  583. crtwin32\helper\i386\*.asm
  584. One too many underscores! With our header file, the names get
  585. defined as C names (i.e., an underscore gets prepended in the
  586. transition to from source name to link name).
  587. -----------------------------------------------------------------
  588. Tues 01-Feb-94 (ChrisWei)
  589. crtwin32\*\sources
  590. add INCLUDE ..\h to tell build.exe to scan our headers
  591. crtwin32\crt32.def
  592. remove INCLUDES statement
  593. crtwin32\h\stdio.h, wchar.h, tchar.h
  594. crtwin32\stdio\gets.c, puts.c, getws.c putws.c
  595. libwin32\lib\*\msvcrt20.def
  596. add getws() and putws() functions.
  597. -----------------------------------------------------------------
  598. Mon 24-Jan-94 (GregF)
  599. crtwin32\h\ehdata.h
  600. Fixed mis-spelling of _M_MRX000
  601. crtwin32\h\setjmp.h
  602. Fixed mis-spelling of _M_ALPHA.
  603. crtwin32\h\fpieee.h, math.h
  604. Merged in _LANGUAGE_ASSEMBLY conditionals from Roger Lanser.
  605. crtwin32\tools\win32\relinc.if
  606. Made _M_MRX000 'ignored' instead of 'undefined'. Also added _M_ALPHA
  607. to the ignore list, and _MT. Finally, deleted several macros which
  608. are no longer used.
  609. libwin32\include\fpieee.h, malloc.h, math.h, setjmp.h
  610. The fix to relinc.if above changed malloc.h and math.h both. In
  611. addition, math.h had some cosmetic change due to Steve Hanson's
  612. changes, as did math fpieee.h. Finally, I fixed a mis-spelling
  613. of _M_ALPHA in setjmp.h.
  614. -----------------------------------------------------------------
  615. Wed 19-Jan-94 (GregF)
  616. ***** ALL CHANGES BELOW ARE FROM PHILIP LUCIDO *****
  617. crtwin32\eh\frame.cxx - CHANGED
  618. PhilipL: "Trivial change to a comment."
  619. crtwin32\eh\i386\trnsctrl.cxx - CHANGED
  620. PhilipL: "Get rid of the callback interface I added last month. Add
  621. the local unwinder for C++ EH used by longjmp(). New public symbols:
  622. __CxxLongjmpUnwind@4
  623. crtwin32\inc\exsup.inc - CHANGED
  624. PhilipLu: "Move jmp_buf descriptions here for common asm access"
  625. crtwin32\inc\setjmp.h - CHANGED
  626. PhilipLu: "jmp_buf now 16 DWORDS. Change _JBLEN from 8 to 16 and
  627. added new fields to _JUMP_BUFFER struct."
  628. crtwin32\inc\setjmpex.h - CHANGED
  629. setjmp must stay #define-d to _setjmp. Instead of #define-ing setjmp
  630. to be __setjmpex, #define longjmp to be __longjmpex.
  631. crtwin32\misc\i386\abterm.asm - DELETED
  632. PhilipLu: "Not needed any more. AbnormalTermination() moved back into
  633. exsup.asm."
  634. crtwin32\misc\i386\exsup.asm - CHANGED
  635. PhilipLu: "Only routines commond to both C8.0 and C9.0 SEH are left
  636. here. Public symbols:
  637. __global_unwind
  638. __local_unwind
  639. __abnormal_termination
  640. crtwin32\misc\i386\exsup2.asm - NEW
  641. PhilipLu: "New file. The C 8.0 SEH exception handler has been moved
  642. here. Still needed for old objects, and for RT-DLLs used with old
  643. apps. Public symbols:
  644. __except_handler2"
  645. crtwin32\misc\i386\exsup3.asm - NEW
  646. PhilipLu: "New file. The C9.0 SEH exception handler created here.
  647. Also includes the C9.0 local unwinder entrypoint needed for
  648. longjmp(). Public symbols:
  649. __except_handler3
  650. __seh_longjmp_unwind@4
  651. crtwin32\misc\i386\longjmp.asm - NEW
  652. PhilipLu: "New file. Maintain old name (_longjmp), but handle both
  653. the old C8.0 jmp_buf, as well as the longer C9.0 form. If presented
  654. with a C 8.0 jmp_buf, do the (possibly erroneous) C8.0 behavior. If
  655. a C9.0 jmp_buf, then check the new data saved by __setjmp3 to
  656. determine how to unwind exceptions. Public symbols:
  657. _longjmp
  658. crtwin32\misc\i386\sehsupp.c - CHANGED
  659. PhilipLu: "Contents totally replaced. Now only holds a helper to
  660. probe a DWORD ptr for readability. Public symbols:
  661. __rt_probe_read4@4
  662. crtwin32\misc\i386\setjmp.asm - CHANGED
  663. PhilipLu: "Everything but __setjmp and raisex moved elsewhere. Leaves
  664. only the C8.0-compatible setjmp, for old-app compatibility, as well
  665. as unknown function raisex() (does anybody know what the hell this
  666. is, and why it's in the ANSI namespace?). Public symbols:
  667. __setjmp
  668. _raisex
  669. crtwin32\misc\i386\setjmp3.asm - NEW
  670. PhilipLu: "New file. New C9.0 version of setjmp, __setjmp3. This is
  671. now a varargs compiler intrinsic. The compiler passes whatever data
  672. will be needed to properly unwind the exception stack when a
  673. longjmp is done. This includes a ptr to a function to be called to
  674. do the actual local unwind. Public symbols:
  675. __setjmp3
  676. crtwin32\misc\i386\setjmpex.asm - CHANGED
  677. Define __longjmpex instead of __setjmpex.
  678. -----------------------------------------------------------------
  679. Tue 18-Jan-94 (GregF)
  680. crtwin32\crt32.nt
  681. Picked up _NTSYSTEM_ flag from NT SDK version (crt32 tree on
  682. \\orville\razzle), picked up _MB_MAP_DIRECT from Dolphin verion
  683. (crtwin32 tree).
  684. crtwin32\convert\_mbslen.c, mblen.c, mbstowcs.c, mbtowc.c, toupper.c,
  685. towupper.c, wcstombs.c wctomb.c
  686. Changes from Steve Wood affecting only the libcnt build (i.e.,
  687. CRTLIBTYPE==NT). For the most part, they amount to calling an Rtl
  688. API to do the work in each case.
  689. crtwin32\startup\mips\chkstk.s
  690. Some apparently cosmetic changes by DaveC to keep the MIPS assembler
  691. happy.
  692. -----------------------------------------------------------------
  693. Tue 18-Jan-94 (SteveSa)
  694. crtwin32\iostream\ios.cxx -
  695. Revised my 10/28/93 fix to delete critical sections in the IOS
  696. destructor. The original fix still created and destroyed the
  697. lock for the class on every c-tor/d-tor, instead of only doing
  698. it when all copies of the class are gone. KarlSi provided
  699. insight in November on how to really fix this.
  700. -----------------------------------------------------------------
  701. Tue 18-Jan-94 (SteveSa)
  702. crtwin32\heap\heapinit.c -
  703. Improved check for Win32S / Phar Lap TNT, which do not have
  704. uncommitted memory. On those systems the heap should allocate
  705. smaller memory regions. Chicago (Win 4.0) may set the "WIN32S"
  706. bit in the OS version, so we now also check that the Windows
  707. version is less than 4.0 before using small heap values.
  708. -----------------------------------------------------------------
  709. Mon 17-Jan-94 (GregF)
  710. crtwin32\buildcrt.cmd
  711. crtwin32\h\mm.inc
  712. crtwin32\helper\i386\*.asm
  713. Simon Koeman's compiler helpers for __int64 arithmetic. They are
  714. a pretty much a straightforward port of the long int helpers in
  715. the 16-bit tree.
  716. libwin32\makefile
  717. Put helper.lib, the __int64 helpers, into msvcrt*.lib for the x86
  718. build.
  719. -----------------------------------------------------------------
  720. Thu 13-Jan-94 (GregF)
  721. crtwin32\helper\mips\llbit.c, lldefs.h
  722. Steve Hanson's latest changes, taken from crt32 on \\orville\razzle.
  723. -----------------------------------------------------------------
  724. Tues 11-Jan-94 (GregF)
  725. crtwin32\dllstuff\crtexe.c, crtlib.c
  726. crtwin32\h\internal.h
  727. When building crtdll.dll/.lib (NT version of the dll), use
  728. __GetMainArgs rather than __getmainargs.
  729. -----------------------------------------------------------------
  730. Mon 10-Jan-94 (GregF)
  731. libwin32\makefile
  732. Added Steve Hanson libm to the build (subdirectory and
  733. library from fpwin32). This is MIPS-only. Also put conditionals
  734. around build rules to, hopefully, eliminate "unknown target"
  735. warnings.
  736. -----------------------------------------------------------------
  737. Fri 07-Jan-94 (GregF)
  738. crtwin32\dos\dosmap.c
  739. Map ERROR_NOT_ENOUGH_QUOTA to ENOMEM. The OS error refers to not
  740. having enough non-swapable pages to handle...whatever. It can
  741. result from CreateThread() if too many threads are already in
  742. existence. Also, deleted Cruiser support and changed the definition
  743. of the errentry struct to handle codes > 255.
  744. crtwin32\startup\thread.c
  745. When _beginthread() fails, free up the the _tiddata struct which
  746. was calloc-ed. Also, map the error on failure.
  747. -----------------------------------------------------------------
  748. Thu 06-Jan-94 (GregF)
  749. crtwin32\buildcrt.cmd, buildcrt.nt
  750. Corrected typo (_helpdir was mistyped in one place) and added to
  751. the cleanup of environment variables at the end of the batch files.
  752. crtwin32\h\math.h
  753. Picked up MIPS-only prototypes for single precision fp functions
  754. (e.g., sinf) from NT SDK version (Steve Hanson's work).
  755. -----------------------------------------------------------------
  756. Wed 05-Jan-94 (GregF)
  757. crtwin32\crt32.def
  758. Picked up ALPHA_OPTIMIZATION and MIPS_OPTIMIZATION switches, which
  759. disable intrinsic functions, from the NT SDK version. I suspect
  760. these are not necessary for the crtwin32 tree (I think I have put
  761. in #pragmas to take care of all instances of conflicts), but it
  762. doesn't hurt to be sure (at least for now).
  763. crtwin32\startup\sources
  764. Build tlssup.c for all target CPUs. Also, picked up a fix for the
  765. POSIX build from the NT SDK version (crt32 tree on \\orville\razzle),
  766. has to do with the private definition of RaiseException() when
  767. building for POSIX.
  768. -----------------------------------------------------------------
  769. Tue 04-Jan-94 (GregF)
  770. crtwin32\buildcrt.nt
  771. Added variant of buildcrt.cmd for building the NT SDK version of the
  772. CRT libs.
  773. -----------------------------------------------------------------
  774. Mon 03-Jan-94 (GregF)
  775. crtwin32\crt32.nt, makefile.nt
  776. Added variants of crt32.def and makefile for building the NT SDK
  777. version of the CRT libs.
  778. crtwin32\h\stdlib.h
  779. Changed type of __mb_cur_max for NT SDK build to be the same as the
  780. type for the Dolphin build.
  781. crtwin32\h\wchar.h
  782. Deleted a _CRTVAR1 that crept in with an earlier merge.
  783. crtwin32\winheap\calloc.c, handler.cxx, malloc.c
  784. Changed #include <os2dll.h> to #include <mtdll.h> (SteveSa renamed
  785. the include file some time back).
  786. -----------------------------------------------------------------
  787. Mon 03 Jan-94 (SteveSa)
  788. crtwin32\heap\heapadd.c
  789. Fix a bug which occurs after calls to _heapmin(). If a large block
  790. is malloc-ed and free-ed and then _heapmin() is called, the last
  791. entry in the heap will be a DUMMY entry encompassing the large region
  792. which was returned to the operating system. Subsequent large mallocs
  793. will most likely cause a new region to be allocated which will
  794. overlap with that region. The pblock pointer in the heap sentinel
  795. may need to be updated.
  796. -----------------------------------------------------------------
  797. Wed 22-Dec-93 (GregF)
  798. crtwin32\h\winheap.h
  799. Added this header file used in building the winheap directory (heap
  800. manager for the NT SDK flavor of the CRT libs).
  801. crtwin32\misc\i386\sehsupp.c
  802. Fixed and unconditional #define of WIN32_LEAN_AND_MEAN which
  803. caused warnings.
  804. -----------------------------------------------------------------
  805. Tue 21-Dec-93 (GregF)
  806. crtwin32\oldnames
  807. oldnames\makefile, sources
  808. Delfile-d. These were obsolete and not used (actually, I don't
  809. think they were EVER used).
  810. crtwin32\convert\sources.nt
  811. direct\sources.nt
  812. linkopts\sources.nt
  813. lowio\sources.nt
  814. Added. They are slight variations on the regular sources files,
  815. to be used in building the NT SDK variation of the CRT libs.
  816. -----------------------------------------------------------------
  817. Tue 21-Dec-93 (GregF)
  818. crtwin32\clean.bat
  819. Cleaned up version of a simple batch file I use locally.
  820. -----------------------------------------------------------------
  821. Mon 20-Dec-93 (GregF)
  822. crtwin32\eh\frame.cxx
  823. crtwin32\eh\i386\trnsctrl.cxx
  824. crtwin32\h\exsup.inc
  825. Changes from Philip Lucido.
  826. crtwin32\misc\i386\abterm.asm, sehsupp.c
  827. New from Philip Lucido.
  828. crtwin32\misc\i386\exsup.asm, setjmp.asm
  829. Changes from Philip Lucido.
  830. crtwin32\misc\sources
  831. Pick up new files (above) added by Philip Lucido
  832. -----------------------------------------------------------------
  833. Fri 17-Dec-93 (ChrisWei)
  834. Big Unicode-enable checkin:
  835. Files changed:
  836. ====================================================================
  837. Subdirectory \direct
  838. findfile.c
  839. sources
  840. Subdirectory \dos
  841. access.c
  842. chdir.c
  843. chmod.c
  844. fullpath.c
  845. getcwd.c
  846. mkdir.c
  847. rename.c
  848. rmdir.c
  849. sources
  850. stat.c
  851. unlink.c
  852. Subdirectory \exec
  853. cenvarg.c
  854. dospawn.c
  855. execl.c
  856. execle.c
  857. execlp.c
  858. execlpe.c
  859. execv.c
  860. execve.c
  861. execvp.c
  862. execvpe.c
  863. sources
  864. spawnl.c
  865. spawnle.c
  866. spawnlp.c
  867. spawnlpe.c
  868. spawnv.c
  869. spawnve.c
  870. spawnvp.c
  871. spawnvpe.c
  872. system.c
  873. Subdirectory \h
  874. ctype.h
  875. direct.h
  876. internal.h
  877. io.h
  878. locale.h
  879. mbstring.h
  880. mtdll.h
  881. process.h
  882. stdio.h
  883. stdlib.h
  884. string.h
  885. tchar.h
  886. time.h
  887. wchar.h
  888. Subdirectory \h\sys
  889. stat.h
  890. utime.h
  891. Subdirectory \lowio
  892. creat.c
  893. mktemp.c
  894. open.c
  895. sources
  896. Subdirectory \mbstring
  897. sources
  898. Subdirectory \misc
  899. getpath.c
  900. makepath.c
  901. searchen.c
  902. sources
  903. splitpat.c
  904. Subdirectory \startup
  905. stdenvp.c
  906. tidprint.c
  907. Subdirectory \stdio
  908. _open.c
  909. fdopen.c
  910. fopen.c
  911. freopen.c
  912. popen.c
  913. sources
  914. tempnam.c
  915. tmpfile.c
  916. Subdirectory \time
  917. asctime.c
  918. ctime.c
  919. sources
  920. strdate.c
  921. strtime.c
  922. utime.c
  923. Files removed:
  924. ====================================================================
  925. Subdirectory \mbstring
  926. mbconv.c 1 1 out
  927. mbfpconv.c 1 1 out
  928. mbprint.c 2 2 out
  929. mbscan.c 2 2 out
  930. mbvprint.c 1 1 out
  931. Files added:
  932. ====================================================================
  933. Subdirectory \direct
  934. wfindfil.c
  935. Subdirectory \dos
  936. waccess.c
  937. wchdir.c
  938. wchmod.c
  939. wfullpath.c
  940. wgetcwd.c
  941. wmkdir.c
  942. wrename.c
  943. wrmdir.c
  944. wstat.c
  945. wunlink.c
  946. Subdirectory \exec
  947. wcenvarg.c
  948. wdospawn.c
  949. wexecl.c
  950. wexecle.c
  951. wexeclp.c
  952. wexeclpe.c
  953. wexecv.c
  954. wexecve.c
  955. wexecvp.c
  956. wexecvpe.c
  957. wspawnl.c
  958. wspawnle.c
  959. wspawnlp.c
  960. wspawnlpe.c
  961. wspawnv.c
  962. wspawnve.c
  963. wspawnvp.c
  964. wspawnvpe.c
  965. wsystem.c
  966. Subdirectory \lowio
  967. wcreat.c
  968. wmktemp.c
  969. wopen.c
  970. Subdirectory \misc
  971. wgetpath.c
  972. wmakepath.c
  973. wsearchen.c
  974. wsplitpat.c
  975. Subdirectory \startup
  976. wstdenvp.c
  977. Subdirectory \stdio
  978. w_open.c
  979. wfdopen.c
  980. wfopen.c
  981. wfreopen.c
  982. wpopen.c
  983. wtempnam.c
  984. wtmpfile.c
  985. Subdirectory \time
  986. wasctime.c
  987. wctime.c
  988. wstrdate.c
  989. wstrtime.c
  990. wutime.c
  991. -----------------------------------------------------------------
  992. Fri 17-Dec-93 (GregF)
  993. crtwin32\makefile
  994. Simplified some more.
  995. -----------------------------------------------------------------
  996. Thu 16-Dec-93 (GregF)
  997. libwin32\makefile
  998. Added -opt:noref to Alpha build of msvcrt20.dll
  999. -----------------------------------------------------------------
  1000. Mon 13-Dec-93 (SteveSa)
  1001. crtwin32\h\heap.h - cosmetic changes
  1002. crtwin32\heap\heapinit.c - cosmetic change
  1003. crtwin32\h\malloc.h - add _heapused()
  1004. crtwin32\heap\sources - add heapused.c
  1005. crtwin32\heap\heapused.c - NEW FILE containing _heapused()
  1006. libwin32\lib\i386\msvcrt20.def
  1007. Added new routine _heapused() which returns the number of bytes
  1008. of memory reserved by the heap. It takes two parameters, either
  1009. or both of which may be null. If non-null, values are stored
  1010. through them. The first pointer will be set to the number of
  1011. bytes devoted to allocated blocks in the heap, including headers.
  1012. The second value will contain the total of all committed memory,
  1013. both free blocks and in-use blocks.
  1014. -----------------------------------------------------------------
  1015. Mon 13-Dec-93 (SteveSa)
  1016. crtwin32\dllstuff\crtlib.c
  1017. crtwin32\h\mtdll.h
  1018. crtwin32\startup\dllcrt0.c
  1019. crtwin32\startup\thread.c
  1020. crtwin32\startup\tidtable.c
  1021. Add new routine _freeptd() which frees up the C run-time's per-thread
  1022. data. _freeptd() is called in _beginthread() and on DLL_Thread_Detach
  1023. notifications in both MSVCRT*.DLL and DLL's linked with LIBCMT.LIB.
  1024. Note: _freeptd() frees up not only the per-thread data structure but
  1025. also any subordinate buffers that it points to. The old code had a
  1026. leak even if the user called _beginthread/_endthread because the
  1027. subordinate buffers allocated by tempnam/tmpfile/gmtime/ctime/etc.
  1028. were NEVER freed up.
  1029. -----------------------------------------------------------------
  1030. Mon 13-Dec-93 (GregF)
  1031. crtwin32\h\heap.h
  1032. crtwin32\heap\heapadd.c, malloc.c, realloc.c
  1033. Parameterized the allocation granularity as _GRANULARITY, defined
  1034. to be 8 on MIPS, 4 otherwise (currently). Edited size rounding
  1035. in malloc.c and realloc.c, and size and alignment checking in
  1036. heapadd.c, accordingly.
  1037. crtwin32\h\excpt.h
  1038. Alpha now sports a spiffy MS front-end, hence syntax of __try -
  1039. __except contructs (e.g., __exception_code) is the same as it is
  1040. for the x86 and MIPS compilers.
  1041. -----------------------------------------------------------------
  1042. Wed 08-Dec-93 (GregF)
  1043. crtwin32\libwin32\makefile
  1044. Added #if !$(ALPHA) to the checks made before a default target
  1045. (processor) pecification is used.
  1046. -----------------------------------------------------------------
  1047. Tue 07-Dec-93 (GregF)
  1048. crtwin32\mbstring\mbprint.c, mbscan.c
  1049. Cast in second arg to va_start was choking alpha compiler!
  1050. -----------------------------------------------------------------
  1051. Mon 06-Dec-93 (ChrisWei)
  1052. Changed:
  1053. crtwin32\h\mbstring.h, tchar.h
  1054. crtwin32\mbstring\sources
  1055. Added:
  1056. crtwin32\mbstring\mbconv.c mbfpconv.c, mbprint.,c mbvprint.c, mbscan.c
  1057. Type-safe MB tchar mappings.
  1058. -----------------------------------------------------------------
  1059. Fri 03-Dec-93 (GregF)
  1060. crtwin32\misc\abs.c, labs.c, rotl.c, rotr.c
  1061. crtwin32\string\memcmp.c, memcpy.c, memset.c, strcat.c, strcmp.c, strlen.c
  1062. Enabled #pragma function() directives for all MS front-ends (esp.,
  1063. the Alpha compiler)
  1064. crtwin32\string\strset.c
  1065. Added #pragma function() for Alpha build.
  1066. -----------------------------------------------------------------
  1067. Wed 01-Dec-93 (ChrisWei)
  1068. crtwin32\startup\crtlib.c [wcrtlib.c removed]
  1069. Create both ascii and wide argv, create only ascii environ for dll.
  1070. crtwin32\h\tchar.h
  1071. Fixed STDC inlining check.
  1072. -----------------------------------------------------------------
  1073. Wed 01-Dec-93 (ChrisWei)
  1074. Files added:
  1075. crtwin32\startup\wstdenvp.c
  1076. crtwin32\misc\setenv.c, wsetenv.c, wputenv.c, wgetenv.c, wtombenv.c, mbtowenv.c
  1077. Files changed:
  1078. crtwin32\h\internal.h, tchar.h, stdlib.h
  1079. crtwin32\startup\crt0.c, dllcrt0.c, crt0dat.c, stdenvp.c, sources
  1080. crtwin32\dllstuff\crtlib.c
  1081. crtwin32\misc\getenv.c, putenv.c, sources
  1082. Add wide char environment variables.
  1083. crtwin32\dos\chdir.c
  1084. Set OS drive leter strings.
  1085. -----------------------------------------------------------------
  1086. Wed 01-Dec-93 (GregF)
  1087. libwin32\makefile
  1088. Added alpha support and cleaned up a bit.
  1089. libwin32\lib\alpha
  1090. \alpha\msvcrt20.def
  1091. Def file to build Alpha version of msvcrt20.[dll|lib].
  1092. libwin32\i386\msvcrt20.def
  1093. Added exports of some old, obsolescent functions (e.g., _sleep)
  1094. which we need to support for NT SDK compatibility.
  1095. libwin32\mips\msvcrt20.def
  1096. Added exports for 64-bit integer arithmetic helpers. Added exports
  1097. for obsolescent functions as described above.
  1098. libwin32\tools\alpha
  1099. Added to hold alpha build of tools. If we ever get an alpha, that
  1100. is...
  1101. -----------------------------------------------------------------
  1102. Wed 01-Dec-93 (GregF)
  1103. crtwin32\buildcrt.cmd
  1104. Revised for new directories (esp., helpers) and changes to
  1105. dirs file. Also fiddled with when linkopts is built.
  1106. crtwin32\crt32.def
  1107. Cleaned up and simplified.
  1108. crtwin32\dirs
  1109. Merged in NT SDK version.
  1110. crtwin32\makefile
  1111. Alpha support. MIPS compiler helpers for 64-bit int arithmetic.
  1112. Lot of cleanup.
  1113. crtwin32\convert\iswctype.c
  1114. Always build is_wctype() (not just for _NTSDK).
  1115. crtwin32\helper
  1116. \helper\*.*
  1117. \mips
  1118. \mips\*.*
  1119. Compiler helper routines. For now, these 64-bit integer
  1120. arithmetic helpers for MIPS compiler.
  1121. crtwin32\small
  1122. \small\*.*
  1123. \mips
  1124. \mips\huge.s
  1125. Used for NT SDK build only (small.lib).
  1126. -----------------------------------------------------------------
  1127. Mon 29-Nov-93 (ChrisWei)
  1128. crtwin32\dos\chdir.c, drive.c
  1129. crtwin32\misc\putenv.c
  1130. crtwin32\startup\stdenvp.c
  1131. No longer store current drive in CRT env strings.
  1132. crtwin32\h\internal.h
  1133. Remove undef GetEnvStrings.
  1134. -----------------------------------------------------------------
  1135. Wed 24-Nov-93 (ChrisWei)
  1136. libwin32\include\stdarg.h, wchar.h, ctype.h, dos.h, string.h, time.h,
  1137. stdlib.h, tchar.h
  1138. Update release headers. Now in sync.
  1139. -----------------------------------------------------------------
  1140. Wed 24-Nov-93 (ChrisWei)
  1141. Files added:
  1142. crtwin32\dllstuff\wcrtexe.c, wcrtlib.c, wdllargv.c, sources
  1143. crtwin32\linkopts\wsetargv.c
  1144. crtwin32\startup\wcrt0.c, wdllcrt0.c, wstdargv.c, wwild.c, wwincrt0.c,
  1145. _wstargv.c, sources
  1146. Files changed:
  1147. crtwin32\h[libwin32\include]\dos.h, internal.h, stdlib.h, tchar.h
  1148. crtwin32\dllstuff\crtexe.c, crtlib.c, sources
  1149. crtwin32\startup\crt0.c, crt0dat.c, dllcrt0.c, stdargv.c, wild.c, sources
  1150. Added wide argv handling. Not yet in exec/spawn, etc.
  1151. -----------------------------------------------------------------
  1152. Mon 22-Nov-93 (ChrisWei)
  1153. crtwin32\h[libwin32\include(before next drop)]\ctype.h, string.h, wchar.h
  1154. Use #define wcsxxx _wcsxxx only for SDK, define protos for
  1155. oldnames.lib for Dolphin. Also, wide char stuff outside of wchar.h
  1156. must have !__STDC__ test around it.
  1157. -----------------------------------------------------------------
  1158. Thu 18-Nov-93 (ChrisWei)
  1159. crtwin32\misc\aw_*.c
  1160. Test for entry point function stubs.
  1161. -----------------------------------------------------------------
  1162. Mon 15-Nov-93 (ChrisWei)
  1163. crtwin32\h\wchar.h - get rid of W4 struct tm warnings
  1164. libwin32\makefile - add to oldnames.lib
  1165. -----------------------------------------------------------------
  1166. Mon 15-Nov-93 (ChrisWei)
  1167. crtwin32\string\strcoll.c, stricoll.c, wcscoll.c, wcsicoll.c,
  1168. strlwr.c, strupr.c, wcslwr.c, wcsupr.c,
  1169. strxfrm.c, wcsxfrm.c
  1170. crtwin32\misc\aw_*.c, getqloc.c, initctyp.c, inithelp.c
  1171. crtwin32\mbstring\ismbalnm.c, ismbgrph.c, ismbpunc.c
  1172. crtwin32\h\setlocal.h
  1173. crtwin32\convert\isctype.c, iswctype.c,
  1174. tolower.c, toupper.c, towlower.c, towupper.c
  1175. Added code page to __crtxxx() calls to allow the caller to determine
  1176. the code page to be used in MB/WC translation. For Dolphin bug #3778.
  1177. crtwin32\misc\getqloc.c
  1178. Test all code pages, even ones from OS.
  1179. crtwin32\h\tchar.h
  1180. libwin32\include\tchar.h
  1181. isascii, isxdigit map to wrong name on MB case.
  1182. -----------------------------------------------------------------
  1183. Fri 12-Nov-93 (GregF)
  1184. crtwin32\convert\strtoq.c
  1185. Added for compatilibity with NT SDK (Alpha only). Only built
  1186. for Alpha so it is doesn't affect x86 or MIPS builds.
  1187. -----------------------------------------------------------------
  1188. Wed 10-Nov-93 (GregF)
  1189. crtwin32\time\systime.c
  1190. Added for compatilibity with NT SDK. Not added to sources yet,so
  1191. it is not getting built.
  1192. -----------------------------------------------------------------
  1193. Tue 09-Nov-93 (GregF)
  1194. crtwin32\startup\crt0.c
  1195. Guard as much as possible of the init. code in the __try/__except
  1196. statement. The important point is UnhandledExceptionHandler() now
  1197. gets called for exceptions that occur during the execution of
  1198. constructors for static C++ objects. Also, moved __initmbctable
  1199. call to here, just before calls to _setargv and _setenvp.
  1200. crtwin32\startup\crt0dat.c
  1201. Removed call to __initmbctable from _cinit. The ctype table must
  1202. be initialized before command line arguments and environment strings
  1203. are process, thus it must go in crt0.c, dllcrt0.c and crtlib.c.
  1204. crtwin32\startup\dllcrt0.c
  1205. Added call to __initmbctable (used to be in crt0da.c).
  1206. crtwin32\dllstuff\crtexe.c
  1207. Guard as much as possible of the init. code in the __try/__except
  1208. statement. For crtexe.c, this is just about everything.
  1209. crtwin32\dllstuff\crtlib.c
  1210. Added call to __initmbctable (used to be in crt0dat.c).
  1211. -----------------------------------------------------------------
  1212. Tue 02-Nov-93 (GregF)
  1213. crtwin32\h\conio.h
  1214. Made port i/o prototypes conditional on _M_IX86 (they are MS
  1215. and x86 specific extensions).
  1216. crtwin32\h\excpt.h
  1217. Don't redefine C++ EH keywords!
  1218. crtwin32\h\fltintrn.h
  1219. Disabled 4069 warning!
  1220. crtwin32\h\stdlib.h
  1221. Re-removed obsolete version and mode variables, and associated
  1222. baggage.
  1223. -----------------------------------------------------------------
  1224. Thu 28-Oct-93 (SteveSa)
  1225. crtwin32\h\ios.h
  1226. crtwin32\h\streamb.h
  1227. crtwin32\iostream\ios.cxx
  1228. crtwin32\iostream\mtlock.c
  1229. crtwin32\iostream\streamb.cxx
  1230. Critical sections allocated for iostream objects were not being
  1231. de-activated by calling the Win32 API DeleteCriticalSection in
  1232. their destructor. Added new function _mtlockterm() which is the
  1233. analog of _mtlockinit(). Just free-ing the memory malloc-ed for
  1234. a critical section does not free up the resources that NT allocates
  1235. for a critical section when you call InitializeCriticalSection().
  1236. -----------------------------------------------------------------
  1237. Tue 26-Oct-93 (ChrisWei)
  1238. added files:
  1239. crtwin32\misc\mbval.c setmbval.c
  1240. changed files:
  1241. crtwin32\misc\sources, aw_cmp.c, aw_str.c, aw_map.c
  1242. crtwin32\stdio\fgetwc.c
  1243. crtwin32\convert\_mbslen.c, mblen,c, mbstowcs.c, mbtowc.c
  1244. Add test for invalid MB chars. Since requisite flag not supported
  1245. by older NT version, at startup we confirm if flag is supported.
  1246. -----------------------------------------------------------------
  1247. Fri 22-Oct-93 (ChrisWei)
  1248. added files:
  1249. crtwin32\mbstring\ismbalnm.c, ismbgrph.c, ismbpunc.c
  1250. changed files:
  1251. crtwin32\h\mbstring.h, tchar.h
  1252. crtwin32\mbstring\sources
  1253. libwin32\lib\i386[\mips]\msvcrt20.def
  1254. These new functions fill out holes in the ismbc* set
  1255. and provide some missing mappings for tchar.h.
  1256. crtwin32\misc\aw_str.c
  1257. fixed bug
  1258. crtwin32\mbstring\ismbknj.c
  1259. now return FALSE outside of Japan
  1260. -----------------------------------------------------------------
  1261. Fri 22-Oct-93 (SteveSa)
  1262. crtwin32\dllstuff\i386\cinitexe.mak, cinitexe.asm
  1263. crtwin32\dllstuff\{i386,MIPS}\cinitexe.obj
  1264. crtwin32\startup\i386\crt0init.mak, crt0init.asm
  1265. crtwin32\startup\{i386,MIPS}\crt0init.obj
  1266. Change the attribute of the directive section (.drectve) and
  1267. make the symbol name match the section name (both lower case).
  1268. -----------------------------------------------------------------
  1269. Fri 22-Oct-93 (GregF)
  1270. crtwin32\stdio\fread.c, fwrite.c
  1271. Fixed divide-by-0 error which would occur if one used setvbuf
  1272. to completely unbuffer the stream.
  1273. -----------------------------------------------------------------
  1274. Fri 22-Oct-93 (ChrisWei)
  1275. addfiles:
  1276. libwin32\tools\i386[\mips]\aliasobj.exe
  1277. libwin32\tools\source\aliasobj.c
  1278. JonM's new program to build alias objects for oldnames.lib
  1279. changes:
  1280. crtwin32\lib\i386[mips]\msvcrt20.def
  1281. add __mbcodepage to exports
  1282. libwin32\buildall.cmd
  1283. clean up MIPS build
  1284. libwin32\makefile
  1285. finish MIPS build, install new oldnames.lib build procedure
  1286. -----------------------------------------------------------------
  1287. Thu 21-Oct-93 (GregF)
  1288. crtwin32\winheap, winheap\*.*
  1289. Picked up winheap directory from crt32 tree. Cleaned up the
  1290. sources a little.
  1291. -----------------------------------------------------------------
  1292. Wed 20-Oct-93 (SteveSa)
  1293. crtwin32\dllstuff\i386\cinitexe.mak, cinitexe.asm
  1294. crtwin32\dllstuff\{i386,MIPS}\cinitexe.obj
  1295. crtwin32\startup\i386\crt0init.mak, crt0init.asm
  1296. crtwin32\startup\{i386,MIPS}\crt0init.obj
  1297. Cleaned up make process to create I386 and MIPS versions
  1298. of cinitexe.obj and crt0init.obj. Added MSVCNT v1.0
  1299. linker enhancement directives to MIPS versions (which merge
  1300. .CRT into .DATA and cause a default search of KERNEL32.LIB).
  1301. crtwin32\dllstuff\MIPS\cinitexe.obj
  1302. crtwin32\lowio\MIPS\cinitcon.obj
  1303. crtwin32\misc\MIPS\cinitcnv.obj
  1304. crtwin32\misc\MIPS\cinitone.obj
  1305. crtwin32\startup\MIPS\crt0init.obj
  1306. crtwin32\stdio\MIPS\cinitstd.obj
  1307. crtwin32\stdio\MIPS\cinittmp.obj
  1308. crtwin32\time\MIPS\cinitclk.obj
  1309. Changed CPU type of MIPS objects from R3000 (0x162) to R4000 (0x166)
  1310. libwin32\tools\source\i386mips.c,
  1311. libwin32\tools\i386mips.exe - tool to convert i386 data-only objects
  1312. to MIPS by changing the machine type and relocation types.
  1313. Changed CPU type of target from R3000 to R4000, fixed display
  1314. of raw data in the object file being edited.
  1315. -----------------------------------------------------------------
  1316. Tue 19-Oct-93 (ChrisWei)
  1317. crtwin32\h\ mbdata.h, mbstring.h - remove _MBCS test and SBCS defines
  1318. crtwin32\mbstring\mbsicmp.c, mbsnicmp.c mbsnbicm.c - lowercase compare
  1319. -----------------------------------------------------------------
  1320. Mon 18-Oct-93 (ChrisWei)
  1321. crtwin32\h\ mbctype.h - fix prototype
  1322. tchar.h - add missing mappings
  1323. libwin2\include\*.h, sys\*.h - updated from crtwin32 tree
  1324. libwin32\makefile, buildall.cmd - add MIPS support & change back to msvcrt20!!
  1325. libwin32\lib\i386(mips)\msvcrt30.def -> msvcrt20.def
  1326. -----------------------------------------------------------------
  1327. Mon 18-Oct-93 (GregF)
  1328. crtwin32\misc\sources, i386\setjmp.asm, i386\setjmpex.asm (new)
  1329. Picked up support for NT SDK's setjmp/setjmpex. For Dolphin build,
  1330. the both setjmp and setjmpex will be "EH safe". For _NTSDK, only
  1331. setjmpex will be.
  1332. crtwin32\misc\i386\exsup.asm
  1333. Put in fix from Phil Lucido. The DF is indeterminate upon entry to
  1334. _except_handler.
  1335. -----------------------------------------------------------------
  1336. Thu 14-Oct-93 (GregF)
  1337. crtwin32\h\excpt.h, float.h, stdio.h
  1338. Merged again with NT version.
  1339. crtwin32\h\fltintrn.h, fstream.h, iomanip.h, ios.h, internal.h, iostream.h,
  1340. istream.h, malloc.h, mbctype.h, mbdata.h, mbstring.h
  1341. Enclosed any #pragma-s in #ifdef _MSC_VER - #endif to hide them from
  1342. inferior (i.e., non-MS) compilers and RC. Deleted obsolete build
  1343. macro checks conditioned on COMBOINC in some files. Replaced MTHREAD
  1344. with _MT. _ALPHA_ with _M_ALPHA. Deleted _MIPS_ (effectively replaced
  1345. by _M_MRX000).
  1346. crtwin32\h\memory.h, new.h, ostream.h, process.h, search.h, setjmp.h,
  1347. setjmpex.h, signal.h, stdarg.h, stddef.h, stdiostr.h, streamb.h,
  1348. strstrea.h, syserr.h, tchar.h, varargs.h, wchar.h
  1349. crtwin32\h\sys\stat.h, timeb.h, types.h, utime.h
  1350. Modified to support both Cuda and NT version.
  1351. -----------------------------------------------------------------
  1352. Wed 13-Oct-93 (SteveSa)
  1353. Renamed crtwin32/h/os2dll.h to mtdll.h. Also changed the #include
  1354. lines in all of the source files that include it.
  1355. -----------------------------------------------------------------
  1356. Fri 08-Oct-93 (GregF)
  1357. crtwin32\h\ios.h, locale.h, math.h, mbctype.h, mbstring.h
  1358. Support both NT and Cuda.
  1359. -----------------------------------------------------------------
  1360. Fri 08-Oct-93 (GregF)
  1361. crtwin32\misc\sources, alpha, mips, alpha\*.*, mips\*.*
  1362. crtwin32\startup\sources, alpha, mips, alpha\*.*, mips\*.*
  1363. Added stuff from crt32 (NT SDK) to support building for MIPS and
  1364. Alpha.
  1365. -----------------------------------------------------------------
  1366. Weds 06-Oct-93 (GregF)
  1367. crtwin32\h\string.h
  1368. Merged NT and Cuda.
  1369. crtwin32\h\assert.h, conio.h, ctype.h, direct.h, dos.h, errno.h, excpt.h,
  1370. float.h, fltintrn.h, fpieee.h, internal.h, io.h, malloc.h,
  1371. stdio.h, stdlib.h, time.h
  1372. Fixed conditional #define for _CRTAPI2
  1373. -----------------------------------------------------------------
  1374. Weds 06-Oct-93 (GregF)
  1375. crtwin32\h\malloc.h
  1376. Merged NT and Cuda. Changed _HEAP_MAXREQ to a more useful value.
  1377. crtwin32\heap\malloc.c, realloc.c
  1378. Added range check to size requests in malloc, realloc, _expand
  1379. crtwin32\mbstring\m*.c (except for mbascii0.c, mbctype.c, mbscat.c,
  1380. mbsdup.c, mbspbrk.c, mbsspnp.c), s*.c, t*.c
  1381. Replaced _CRTAPI* with __cdecl.
  1382. -----------------------------------------------------------------
  1383. Tue 05-Oct-93 (GregF)
  1384. crtwin32\mbstring\is*.c
  1385. Replaced _CRTAPI* with __cdecl.
  1386. -----------------------------------------------------------------
  1387. Fri 01-Oct-93 (GregF)
  1388. crtwin32\hack
  1389. crtwin32\hack\makefile, sources, stubs.c
  1390. Resurrected for NT SDK libs (libcnt.lib uses this, I believe)
  1391. -----------------------------------------------------------------
  1392. Fri 01-Oct-93 (ChrisWei)
  1393. Files changed:
  1394. crtwin32\h\stdio.h, wchar.h
  1395. libwin32\include\stdio.h, wchar.h
  1396. Add fputws(), fgetws()
  1397. crtwin32\stdio\fgetwc.c, fputwc.c ungetwc.c
  1398. Clean up TEXT test
  1399. crtwin32\stdio\fgets.c, sources
  1400. Enable for fgetws(), fputws()
  1401. Files added:
  1402. crtwin32\ fgetws.c, fputws.c
  1403. New wide char functions
  1404. -----------------------------------------------------------------
  1405. Thu 30-Sep-93 (GregF)
  1406. crtwin32\dos\getcwd.c
  1407. Removed #include <error.h> - it was causing lots of annoying
  1408. redefinition warnings.
  1409. crtwin32\exec\cenvarg.c, execl.c, execle.c, execlp.c, execlpe.c, spawnl.c
  1410. spawnle.c, spawnlp.c, spawnlpe.c
  1411. Merged Cuda and NT versions.
  1412. crtwin32\exec\getproc.c, loaddll.c
  1413. Resurrected for compatibility with NT SDK (had been considered
  1414. obsolete and dropped from Cuda)"
  1415. -----------------------------------------------------------------
  1416. Wed 29-Sep-93 (GregF)
  1417. crtwin32\string\memcpy.c, memmove.c, memset.c, strcoll.c, stricoll.c,
  1418. wcscoll.c, wcsicoll.c, strtok.c
  1419. Merged Cuda and NT versions.
  1420. -----------------------------------------------------------------
  1421. Wed 29-Sep-93 (GregF)
  1422. crtwin32\convert\isctype.c, iswctype, mblen.c, mbstowcs.c, mbtowc.c,
  1423. tolower.c, toupper.c, towlower.c, towupper.c, wcstombs.c,
  1424. wctomb.c
  1425. Merged Cuda and NT versions.
  1426. crtwin32\direct\seterrm.c, slbeep.c
  1427. Restored and cleaned up these dinosaurs for the NT SDK build.
  1428. -----------------------------------------------------------------
  1429. Tue 28-Sep-93 (GregF)
  1430. crtwin32\h\io.h
  1431. Restored an /* _MTHREAD_ONLY */ comment which I had accidently
  1432. deleted (kept an internal-use-only preprocessor directive from
  1433. being stripped out!).
  1434. -----------------------------------------------------------------
  1435. Tue 28-Sep-93 (ChrisWei)
  1436. The last of the _MBCS_OS and _KANJI merges:
  1437. h\mbctype.h, mbdata.h
  1438. mbstring\ismbalph.c, ismbbyte.c, ismbdgt.c, ismblwr.c, ismbprn.c, ismbspc.c, ismbupr.c, mbclevel.c, mbctype.c, mbsicmp.c, mbslwr.c, mbsnbicm.c, mbsnicmp.c, mbsupr.c, mbtohira.c, mbtokata.c, mbtolwr.c, mbtoupr.c, tojisjms.c, tombbmbc.c
  1439. The MB stuff now works properly for both Japan and generic MB languages.
  1440. -----------------------------------------------------------------
  1441. Mon 27-Sep-93 (ChrisWei)
  1442. crtwin32\mbstring\ismbknj.c, ismbprn.c., mbclevel.c, mbsnbcat.c,
  1443. mbsncat.c, mbtohira.c, mbtokata.c, tojisjms.c, tombbmbc.c
  1444. crtwin32\h\mbctype.h, mbdata.h, mbstring.h
  1445. _MBCS_OS & _KANJI merge: I have added all the Kanji-specific
  1446. functions to the normal build process, and merged the few functions
  1447. that were different under the two build scenarios.
  1448. convert\isctype.c, iswctype.c, tolower.c, toupper.c, towlower.c, towupper.c
  1449. misc\aw_cmp.c, aw_loc.c, aw_map.c, aw_str.c, getqloc.c, initcoll.c,
  1450. initctyp.c, inithelp.c, inittime.c, initnum.c, initmon.c
  1451. string\strcoll.c, stricoll.c, strlwr.c, strupr.c, strxfrm.c, wcscoll.c,
  1452. wcsicoll.c, wcslwr.c, wcsupr.c, wcsxfrm.c
  1453. NLS API A&W wrappers: Since Chicago supports only ASCII ("A")
  1454. flavors of certain NLS API functions, while NT supports only the
  1455. Unicode ("W") type, I have built CRT wrapper functions that, at
  1456. runtime, search for the desired type and uses the other if necessary.
  1457. These libs will now link on NT and Chicago. This has been partially
  1458. tested on NT but not at all on Chicago.
  1459. libwin32\include\float.h, fltintrn.h, fpieee.h, fstream.h, heap.h internal.h
  1460. io.h, iostream.h, istream.h, stdio.h, stdlib.h, time.h,
  1461. assert.h, conio.h, ctype.h, direct.h, dos.h, errno.h, excpt.h
  1462. Checked in GregF's changes for Dolphin drop.
  1463. -----------------------------------------------------------------
  1464. Fri 24-Sep-93 (GregF)
  1465. crtwin32\h\float.h, fltintrn.h, fpieee.h, fstream.h, heap.h internal.h
  1466. io.h, iostream.h, istream.h, stdio.h, stdlib.h, time.h
  1467. crtwin32\misc\getenv.c, initmon.c, initnum.c, inittime.c, onexit.c
  1468. Merged NT SDK and Cuda versions.
  1469. -----------------------------------------------------------------
  1470. Fri 24-Sep-93 (ChrisWei)
  1471. crtwin32\buildcrt.cmd
  1472. libwin32\buildall.cmd
  1473. Make MB build default.
  1474. -----------------------------------------------------------------
  1475. Thu 23-Sep-93 (GregF)
  1476. crtwin32\h\assert.h, conio.h, ctype.h, direct.h, dos.h, errno.h, excpt.h
  1477. Merged NT SDK and Cuda versions.
  1478. -----------------------------------------------------------------
  1479. Wed 22-Sep-93 (GregF)
  1480. crtwin32\string\strlwr.c, strupr.c, wcslwr.c, wcsupr.c
  1481. Merged NT SDK and Cuda versions.
  1482. crtwin32\time\utime.c
  1483. Have NT convert local file time to system file time.
  1484. -----------------------------------------------------------------
  1485. Wed 25-Aug-93 (ChrisWei)
  1486. crtwin32\mbstring -
  1487. Change all short params to int.
  1488. Updated the following files from NT-J tree:
  1489. mbsdec.c
  1490. mbsinc.c
  1491. mbschr.c
  1492. mbsnbcat.c
  1493. mbsnbset.c
  1494. mbsncat.c
  1495. mbsnset.c
  1496. mbsrchr.c
  1497. mbtohira.c
  1498. mbtokata.c
  1499. mbtolwr.c
  1500. mbtoupr.c
  1501. tojisjms.c
  1502. tombbmbc.c
  1503. crtwin32\h -
  1504. Change all short params to int.
  1505. Updated the following files from NT-J tree:
  1506. mbstring.h
  1507. New tchar.h from Ikura.
  1508. tchar.h
  1509. -----------------------------------------------------------------
  1510. Tue 17-Aug-93 (ChrisWei)
  1511. crtwin32\mbstring -
  1512. Updated the following files from NT-J tree:
  1513. mbctype.c
  1514. mbschr.c
  1515. mbsdec.c
  1516. mbsinc.c
  1517. mbsncpy.c
  1518. mbsninc.c
  1519. mbstok.c
  1520. strdec.c
  1521. strinc.c
  1522. strninc.c
  1523. tojisjms.c
  1524. Added the following files & updated mbstring\sources:
  1525. ismbsle.c
  1526. ismbstr.c
  1527. mbclen.c
  1528. mbccpy.c
  1529. mbsnbcat.c
  1530. mbsnbcmp.c
  1531. mbsnbcpy.c
  1532. mbsnbicm.c
  1533. mbsnbset.c
  1534. mbspbrk.c
  1535. mbsspnp.c
  1536. crtwin32\dos\fullpath.c
  1537. crtwin32\lowio\mktemp.c
  1538. crtwin32\misc\makepath.c
  1539. crtwin32\misc\splitpat.c
  1540. crtwin32\startup\stdargv.c
  1541. crtwin32\startup\wild.c
  1542. crtwin32\stdio\input.c
  1543. crtwin32\stdio\output.c
  1544. Merged in NT-J MB changes.
  1545. -----------------------------------------------------------------
  1546. Fri 06-Aug-93 (SteveSa)
  1547. crtwin32\heap\realloc.c -
  1548. Fix bug which occurs when realloc() cannot expand the block in place
  1549. and cannot malloc a new block. The code was free-ing the successor
  1550. block, a very, very bad thing to do. The bug occurred rarely because
  1551. it is hard to run out of memory on Windows NT, but it was found by
  1552. the Phar Lap TNT DOS Extender team, where memory is less abundant.
  1553. It looks like this bug was there in the sources since 1989!
  1554. -----------------------------------------------------------------
  1555. Fri 30-Jul-93 (GregF)
  1556. crtwin32\h\internal.h
  1557. crtwin32\misc\winsig.c, winxfltr.c
  1558. When a SIGFPE handler has been installed and an FPE occurs, the
  1559. handling for ALL of the FPE-s must be reset to SIG_DFL before calling
  1560. the user's handler (I had been only resetting the handling for the
  1561. one FPE).
  1562. -----------------------------------------------------------------
  1563. Tue 27-Jul-93 (GregF)
  1564. crtwin32\stdio\output.c
  1565. Generalized a bug fix MattBr originally made for the POSIX build
  1566. only. Now, the static functions write_multichar and write_string
  1567. stop trying to write out characters when an error occurs.
  1568. -----------------------------------------------------------------
  1569. Fri 27-Jul-93 (GregF)
  1570. crtwin32\direct\findfile.c
  1571. crtwin32\dos\stat.c
  1572. crtwin32\h\internal.h
  1573. crtwin32\lowio\fstat.c
  1574. crtwin32\time\dtoxtime.c, time.c
  1575. Changed so that the only time values obtained and directly used
  1576. from the system are LOCAL time values. This partially handles the
  1577. problems caused by the incompatible definitions of system time
  1578. between Win32 (UTC) and Win32C (local).
  1579. -----------------------------------------------------------------
  1580. | |
  1581. | * The Final Drop for MSVCNT ver 1.0 was made at this point. * |
  1582. | |
  1583. -----------------------------------------------------------------
  1584. Fri 23-Jul-93 (SteveSa)
  1585. vcrtlib\makefile - added heap/obj/i386/handler.obj to list of C++
  1586. objects mentioned to the linker, so that set_new_handler()
  1587. will be exported from MSVCRT10.DLL.
  1588. vcrtlib\lib\i386\msvcrt10.def
  1589. Added _heapadd, _heapchk, _heapmin, _heapset, _heapwalk
  1590. to the list of functions exported by MSVCRT10.DLL.
  1591. -----------------------------------------------------------------
  1592. Thu 15-Jul-93 (SteveSa for GregF)
  1593. <<< Corresponding changes were also made to \\orville\razzle\src\crt32 >>>
  1594. vcrt32\time\ftime.c
  1595. vcrt32\time\localtim.c
  1596. vcrt32\time\mktime.c
  1597. vcrt32\time\strftime.c
  1598. vcrt32\time\tzset.c
  1599. The routines ftime, localtime, mktime, and strftime were calling
  1600. _tzset to make sure that the timezone/daylight/tzname variables
  1601. were set. They now call __tzset. __Tzset calls _tzset the first
  1602. time it is called and thereafter just returns. The reason for
  1603. this change is that _tzset is very slow if it finds no "TZ"
  1604. environment variable, because in that case it calls the Win32
  1605. routine GetTimeZoneInformationW.
  1606. This behavior is consistent with our 16-bit libraries. If the user
  1607. changes the "TZ" variable (by calling putenv()), the routine _tzset
  1608. must be called explicitly to make the change to "TZ" effective.
  1609. -----------------------------------------------------------------
  1610. Wed 14-Jul-93 (SteveSa)
  1611. <<< Corresponding change made by Steve Wood to \\orville\razzle\src\crtlib >>>
  1612. vcrtlib\lib\i386\msvcrt10.def
  1613. Added _clear87 to the list of functions exported by MSVCRT10.DLL.
  1614. -----------------------------------------------------------------
  1615. Tues 13-Jul-93 (GregF)
  1616. vcrt32\lowio\open.c
  1617. _read_lk() was being called to read the last character of a text
  1618. file, to see if it was ^Z. Well, _read_lk() will return 0 if it
  1619. read a single ^Z (treats it as an eof flag rather than a char).
  1620. -----------------------------------------------------------------
  1621. Thu 01-Jul-93 (SteveSa)
  1622. <<< Corresponding change was also made to \\orville\razzle\src\fp32 >>>
  1623. vcfp32\conv\strgtold.c
  1624. Made buf[] a stack local, not a static global, to avoid bugs in
  1625. multi-thread models.
  1626. -----------------------------------------------------------------
  1627. | |
  1628. | *** The "Jaws" Drop was made at this point. *** |
  1629. | |
  1630. -----------------------------------------------------------------
  1631. Wed 30-Jun-93 (GregF)
  1632. <<< Corresponding change was also made to \\orville\razzle\src\crt32 >>>
  1633. vcrt32\time\tzset.c
  1634. Added limited support for system's notion of local time. If there
  1635. is no TZ environment variable, I attempt to use GetTimeZoneInform-
  1636. ation to determine the offset to local time and whether or not
  1637. daylight saving time exists in the time zone.
  1638. -----------------------------------------------------------------
  1639. Tue 29-Jun-93 (GregF)
  1640. vcrt32\stdio\ftell.c
  1641. Fixed another nasty bug with the variable buffer sizing. ftell
  1642. was using _bufsiz as the size of the last read request from the
  1643. file, which isn't always true.
  1644. -----------------------------------------------------------------
  1645. Tue 22-Jun-93 (GregF)
  1646. vcrt32\h\file2.h
  1647. vcrt32\stdio\_filbuf.c, _freebuf.c, fseek.c, setvbuf.c
  1648. Introduced _IOSETVBUF flag to fix an interaction between
  1649. setvbuf() and the scheme for using a variable buffer size on
  1650. "random access" files opened for read-access-only. The way to
  1651. fix the bug was to introduce a new flag, _IOSETVBUF, and use to
  1652. suppress this variable buffer size hooha.
  1653. -----------------------------------------------------------------
  1654. | |
  1655. | Weekly Drop .3167 (Wed 16 June 1993) was made at this point. |
  1656. | (The libs were actually rebuilt Thu 17 June 1993.) |
  1657. | |
  1658. -----------------------------------------------------------------
  1659. Thu 17-Jun-93 (JamesMa)
  1660. vcrt32\include\float.h
  1661. Changed _statusfp & _clearfp to macros.
  1662. -----------------------------------------------------------------
  1663. Weds 16-Jun-93 (GregF)
  1664. vcrt32/string/i386/strcat.asm, strcmp.asm, strlen.asm
  1665. Added FPO directives.
  1666. -----------------------------------------------------------------
  1667. Tue 15-Jun-93 (GregF)
  1668. vcrt32/direct/sources
  1669. vcrt32/direct/i386/enable.asm
  1670. vcrt32/h/dos.h
  1671. Resurrected old x86-specific functions, _enable() and _disable().
  1672. -----------------------------------------------------------------
  1673. Mon 14-Jun-93 (GregF)
  1674. vcrt32/string/i386/strcmp.asm
  1675. Fixed special case bug found by DanS.
  1676. -----------------------------------------------------------------
  1677. | |
  1678. | Weekly Drop .3160 (Wed 09 June 1993) was made at this point. |
  1679. | |
  1680. -----------------------------------------------------------------
  1681. Wed 09-Jun-93 (SteveSa)
  1682. << Corresponding changes made to \\orville\razzle\src\crt32 and crtlib >>
  1683. vcrt32/h/iomanip.h
  1684. vcrtlib/include/iomanip.h
  1685. The const keyword was added to the declarations of the << and >>
  1686. operators of SMANIP, whatever that means. This apparently fixes
  1687. Cuda Bug 5048, an unnecessary warning message about lvalues and
  1688. what not.
  1689. ----------------------------------------------------------------------
  1690. Tue 08-Jun-93 (SteveSa)
  1691. vcrt32\dllstuff\crtlib.c, crtdll.c
  1692. vcrt32\startup\dllcrt0.c
  1693. Clean up error handling in case of failure.
  1694. If the user routine DllMain returns failure on Process Detach,
  1695. C Run-Time clean-up should still occur. (It now does.) If the
  1696. user DllMain returns failure on Process Attach, the CRT should
  1697. clean up its own just-initialized data structures before
  1698. returning failure. MSVCRT10.DLL should also clean up its heap
  1699. if it fails further initialization and will return failure on
  1700. Process Attach.
  1701. I also cleaned up the white space in some header files (fcntl.h).
  1702. ----------------------------------------------------------------------
  1703. Tue 08-Jun-93 (GregF)
  1704. <<< Corresponding changes made to \\orville on 07-Jun>>
  1705. vcrt32\dllstuff\crtlib.c, crtdll.c
  1706. vcrt32\startup\dllcrt0.c
  1707. Added a flag to kept track of process-attach notification to
  1708. the DLL (our crtdll, or a user dll linked with one of our libs).
  1709. The idea is to avoid doing any 'cleanup' on process-detach
  1710. notification unless there has been a prior process-attach
  1711. notification. Kinky, but this can occur as a result of a call
  1712. to LoadLibrary that fails (e.g., load a DLL which uses several
  1713. other DLLs and one of the DLLs is bad in some manner which causes
  1714. the loader to quit and return an error).
  1715. ----------------------------------------------------------------------
  1716. Mon 07-Jun-93 (ChrisWei)
  1717. <<< Changes already made by KarlSi to \\orville >>
  1718. vcrt32\h\stdlib.h
  1719. vcrt32\convert\_mbslen.c
  1720. vcrtlib\include\stdlib.h
  1721. vcrtlib\lib\i386\msvcrt10.def
  1722. Change _mbslen to _mbstrlen, return type to size_t.
  1723. ----------------------------------------------------------------------
  1724. Thu 03-Jun-93 (PhilipLu)
  1725. <<< Changes already made by GregF to \\orville >>
  1726. vcrt32\h\fcntl.h
  1727. Add _O_SHORT_LIVED, _O_SEQUENTIAL, _O_RANDOM
  1728. vcrt32\lowio\open.c
  1729. vcrt32\stdio\_open.c
  1730. Support lowio/stdio access to FILE_ATTRIBUTE_TEMPORARY,
  1731. FILE_FLAG_SEQUENTIAL_ACCESS and FILE_FLAG_RANDOM_ACCESS
  1732. CreateFile attributes
  1733. ----------------------------------------------------------------------
  1734. Wed 02-Jun-93 (ChrisWei)
  1735. <<< Change made to \\orville\razzle\src\crt32 almost simultaneously >>>
  1736. vcrt32\convert\_mbslen.c
  1737. verify MB validity
  1738. vcrt32\convert\mblen.c, mbtowc.c
  1739. rewrite - bugs, optimize, error handling
  1740. vcrt32\convert\wctomb.c, wcstombs.c, mbstowcs.c, tolower.c, toupper.c
  1741. vcrt32\string\strlwr.c, strupr.c
  1742. optimize and beautify
  1743. ----------------------------------------------------------------------
  1744. Fri 28-May-93 (ChrisWei)
  1745. vcrt32\h[vcrtlib\include]\tchar.h
  1746. Add another level of indirection to the _TEXT macro to allow
  1747. _TEXT(__FILE__) to work.
  1748. ----------------------------------------------------------------------
  1749. Wed 26-May-93 (SteveSa)
  1750. dos\getcwd.c -
  1751. To get the current directory of a non-current drive, we were
  1752. consulting the special environment variables. It seems wiser
  1753. to use the Win32 function GetFullPathName() to resolve this
  1754. information. The latter seems to work well on TNT.
  1755. vcrt32\h\process.h
  1756. vcrtlib\include\process.h
  1757. Add prototypes for _CRT_INIT(@12) and DllMain(@12). The latter
  1758. is not declared if -Za is selected because of its non-ANSI name.
  1759. ----------------------------------------------------------------------
  1760. Tue 25-May-93 (GregF)
  1761. h\stdio.h
  1762. stdio\_filbuf.c, fseek.c
  1763. Use a small buffer size (_SMALL_BUFSIZ) for the first _filbuf
  1764. call following an fseek on a read-access-only file. The idea is
  1765. to reduce the penalty of a large default buffer size on random
  1766. access files, at least those which are opened only for read
  1767. access.
  1768. ----------------------------------------------------------------------
  1769. Mon 24-May-93 (SteveSa)
  1770. vcrt32/makefile
  1771. vcrtlib/makefile - new object atonexit.obj is added to MSVCRT.LIB
  1772. vcrt32/h/stdlib.h
  1773. vcrtlib/include/stdlib.h -
  1774. atexit/_onexit/onexit no longer take _CRTIMP [ __declspec(dllimport) ]
  1775. vcrtlib/lib/i386/msvcrt10.def - atexit/_onexit are now exported only
  1776. as indirects (_imp__*) so that they will not be called directly
  1777. Also added __dllonexit.
  1778. vcrt32/dllstuff/sources - add atonexit.c
  1779. vcrt32/dllstuff/atonexit.c - implements atexit/_onexit for EXEs and DLLs
  1780. linked with MSVCRT.LIB. At run-time, the code will implement
  1781. either a call to __dllonexit to maintain a private atexit/_onexit
  1782. list for the DLL (which will be called on DLL process detach)
  1783. or else a call to _onexit exported from MSVCRT10.DLL for an EXE.
  1784. vcrt32/dllstuff/crtexe.c
  1785. vcrt32/dllstuff/crtdll.c - minor changes to support the new atexit/_onexit
  1786. vcrt32/misc/onexit.c - add __dllonexit routine for CRTDLL model only
  1787. Before these changes, a DLL which was loaded and unloaded dynamically
  1788. (via LoadLibrary/FreeLibrary) which also registered C++ destructors
  1789. or called atexit/_onexit would add entries to the process-wide
  1790. atexit table in MSVCRT10.DLL. That table was not processed until
  1791. process termination, at which time the d-tors or atexit routines
  1792. were long gone. Those d-tors and atexit routines must be called
  1793. when the DLL is unloaded, whenever that is. An EXE linked with
  1794. MSVCRT.LIB remains pretty much the same, but a DLL linked with
  1795. MSVCRT.LIB now does the right thing in all cases.
  1796. ----------------------------------------------------------------------
  1797. Tue 25-May-93 (GregF)
  1798. string\strspn.c, strtok.c
  1799. Properly handle chars > 127 in both the delimiter and source
  1800. strings. Note that strspn.c isn't actually used in our build
  1801. (we use i386\strspn.asm). The change to strspn.c is identical
  1802. to the one made to crt32\string\strspn.c on \\orville\razzle.
  1803. However, the change to strtok.c is a bit more efficient than
  1804. the bug fix I made to the crt32 version.
  1805. ----------------------------------------------------------------------
  1806. Fri 21-May-93 (GregF)
  1807. <<< Change made to \\orville\razzle\src\crt32 simultaneously >>>
  1808. convert\strtol.c, wcstol.c
  1809. Fixed bug in strtoul/wcstoul introduced by last 'fix'.
  1810. ----------------------------------------------------------------------
  1811. Thu 20-May-93 (GregF)
  1812. <<< Change made to \\orville\razzle\src\crt32 simultaneously >>>
  1813. misc\getqloc.c, initctyp.c, initmon.c, initcoll.c, initnam.c,
  1814. inittime.c
  1815. replaced #include <windef.h> and #include <winnls.h> with
  1816. #include <windows.h>
  1817. ----------------------------------------------------------------------
  1818. Tue 18-May-93 (SteveSa)
  1819. tools\win32\relinc.if
  1820. h\stdarg.h
  1821. h\stdio.h
  1822. h\varargs.h
  1823. h\wchar.h
  1824. Change #if defined(FOO) to #ifdef FOO for _ALPHA_, _MIPS_, and
  1825. _M_MRX000. Move those symbols in the if-stripper script from
  1826. enabled & kept to disabled & discarded. MIPS & ALPHA support
  1827. is inappropriate for Visual C++ v1.0 for Windows NT.
  1828. ----------------------------------------------------------------------
  1829. Mon 17-May-93 (GregF)
  1830. dllstuff\crtexe.c
  1831. startup\crt0.c
  1832. startup\stdargv.c
  1833. Handle a quoted program name with embedded spaces ("argv[0]").
  1834. ----------------------------------------------------------------------
  1835. Mon 17-May-93 (SteveSa)
  1836. h\io.h -
  1837. The oldnames #defines used to be suppressed if __cplusplus was
  1838. defined. KarlSi made this change last summer because #define-ing
  1839. open, read, write, etc. User C++ code was likely to use those
  1840. names. Now that we do link-time aliasing, we need not worry about
  1841. these names and C++ code.
  1842. ----------------------------------------------------------------------
  1843. Tue 11-May-93 (GregF)
  1844. h\stdio.h
  1845. lowio\chsize.c
  1846. stdio\_file.c, _getbuf.c, _sftbuf.c, fread.c, fwrite.c, setbuf.c
  1847. Introduced the manifest constant _INTERNAL_BUFSIZ, and used
  1848. it to specify the default size for stdio buffers. The only
  1849. file that now references the BUFSIZ is setbuf. Stdio buffers
  1850. are now 4K (#define _INTERNAL_BUFSIZ 4096) by default.
  1851. ----------------------------------------------------------------------
  1852. Mon 10-May-93 (GregF)
  1853. <<< Change made to \\orville\razzle\src\crt32 simultaneously >>>
  1854. stdio\fflush.c
  1855. Removed bogus call to ftell (inadvertent part of a change made
  1856. by MattBr on 3-10-93).
  1857. ----------------------------------------------------------------------
  1858. Mon 10-May-93 (ChrisWei)
  1859. misc\setlocal.c - minor bug fix.
  1860. h[vcrtlib\include]\wchar.h - remove unneeded protos
  1861. stdio\fgetwc.c, fputwc.c, ungetwc.c, _flsbuf.c, _filbuf.c
  1862. - more fixes, optimizations, better error handling
  1863. iostream\istrldbl.cxx, ostrldbl.cxx, sources
  1864. - enable operator<<(long double)
  1865. h[vcrtlib\include]\istream.h, ostream.h
  1866. - enable operator<<(long double)
  1867. ----------------------------------------------------------------------
  1868. Mon 10-May-93 (GregF)
  1869. <<< Change made to \\orville\razzle\src\crt32 simultaneously >>>
  1870. convert\strtol.c
  1871. Fixed error check (didn't handle conversion of LONG_MIN
  1872. correctly).
  1873. ----------------------------------------------------------------------
  1874. Mon 10-May-93 (GregF)
  1875. <<< Change made to \\orville\razzle\src\crt32 simultaneously >>>
  1876. lowio\getch.c
  1877. Was free-ing a bad pointer in _kbhit (Cuda bug 4373)
  1878. ----------------------------------------------------------------------
  1879. Fri 07-May-93 (JonM)
  1880. h\setjmpex.h - created.
  1881. tools\win32\relinc.cmd - added setjmpex.h.
  1882. ----------------------------------------------------------------------
  1883. Thu 06-May-93 (SteveSa)
  1884. h\internal.h
  1885. heap\heapinit.c
  1886. startup\dllcrt0.c
  1887. dllstuff\crtlib.c -
  1888. Add _heap_term() to free up the memory (and address space) allocated
  1889. for the heap. _heap_term is called on DLL detach, but not in the EXE.
  1890. The heap regions are decommitted and released (two separate calls
  1891. since the tail part of a region may be uncommitted) and the pages
  1892. that are used for heap descriptors are now chained together so that
  1893. they too can be deallocated (released). This was a tremendous
  1894. problem with DLLs which were repeated loaded and unloaded since
  1895. the process address space was being eaten up, even if not much
  1896. actual virtual memory was allocated.
  1897. ----------------------------------------------------------------------
  1898. Wed 05-May-93 (ChrisWei)
  1899. h\time.h - add wcsftime proto when !STDC
  1900. h\wchar.h, ctype.h - change is_wctype to iswctype as per new ISO
  1901. convert\iswctype - change is_wctype to iswctype as per new ISO
  1902. ----------------------------------------------------------------------
  1903. Wed 05-May-93 (SteveSa)
  1904. startup\wild.c - use case-insensitive comparison (_stricmp) when sorting
  1905. filenames matching a given wildcard command line argument
  1906. (This change made by Steve Wood to the CRT32 project.)
  1907. ----------------------------------------------------------------------
  1908. Wed 05-May-93 (GregF)
  1909. <<< Change made to \\orville\razzle\src\crt32 simultaneously >>>
  1910. startup\mlock.c
  1911. Turned off DEBUG code.
  1912. ----------------------------------------------------------------------
  1913. Tue 04-May-93 (ChrisWei)
  1914. convert\mbstowcs.c, wcstombs.c, mbtowc.c, wctomb.c
  1915. Total rewrite of bogus code.
  1916. h\stdio.h
  1917. Remove some unneeded protos.
  1918. stdio\fgetchar.c, fgetwchr.c, fputchar.c, fputwchr.c
  1919. Move wide char code to its own file.
  1920. ----------------------------------------------------------------------
  1921. Thu 29-Apr-93 (GregF)
  1922. stdio\tmpfile.c
  1923. Yet another bug in tmpnam() for multithread - I was neglecting
  1924. to copy the generated filename from the main buffer to the per-
  1925. thread buffer. What a cretin...
  1926. ----------------------------------------------------------------------
  1927. Thu 29-Apr-93 (ChrisWei)
  1928. Enabled correct wide char print/scan/get/put. Gobs of files affected:
  1929. Files modified:
  1930. vcrt32\stdio\_filbuf.c, _flsbuf.c, _getbuf.c, setvbuf.c, fgetc.c, fgetchar.c,
  1931. fputc.c, fputchar.c, input.c, output.c, winput.c, woutput.c, ungetc.c
  1932. vcrt32\h\[vcrtlib\include\]tchar.h, wchar.h, stdio.h, stdlib.h
  1933. Files Added:
  1934. vcrt32\stdio\_filwbuf.c, _flswbuf.c, fgetwc.c, fgetwchr.c, fputwc.c,
  1935. fputwchr.c, ungetwc.c
  1936. ----------------------------------------------------------------------
  1937. Wed 28-Apr-93 (SteveSa)
  1938. vcrt32/vcrt32.def
  1939. vcfp32/fp32.def
  1940. Remove -Gf and -Gy (string pooling & COMDATs) from compiler
  1941. options, undoing my change of Mon 26-Apr which added them.
  1942. ----------------------------------------------------------------------
  1943. Wed 28-Apr-93 (JonM)
  1944. h\math.h
  1945. Added "long double" functions as macros which call the
  1946. "'double" functions with appropriate type conversions.
  1947. ----------------------------------------------------------------------
  1948. Wed 28-Apr-93 (GregF)
  1949. string\i386\strcat.asm, strlen.asm
  1950. Rewritten for the 486.
  1951. ----------------------------------------------------------------------
  1952. Wed 28-Apr-93 (GregF)
  1953. <<< Change made to \\orville\razzle\src\crt32 simultaneously >>>
  1954. dllstuff\crtexe.c, crtlib.c
  1955. misc\winxfltr.c
  1956. startup\crt0.c, crt0msg.c, dllcrt0.c, thread.c
  1957. Removed support for C RTEs _RT_STACK, _RT_INTDIV, _RT_NONCONT
  1958. and _RT_INVALDISP. These are Win32 exceptions, and there was
  1959. no reason not to just let the system exception handler handle
  1960. them. Besides, it makes things easier for debuggers...
  1961. ----------------------------------------------------------------------
  1962. Tue 27-Apr-93 (SteveSa)
  1963. dllstuff/crtlib.c
  1964. startup/tidtable.c
  1965. startup/crt0.c
  1966. startup/dllcrt0.c
  1967. h/internal.h - _mtinit now returns success or failure, rather than calling
  1968. _amsg_exit when it cannot allocate a TLS index. DLLs should fail
  1969. to load, now exit the process.
  1970. h/heap.h
  1971. heap/heapinit.c
  1972. heap/heapgrow.c - initial heap region size defaults to large value (for
  1973. Windows NT, where uncommitted memory is supported) but _heapinit
  1974. now checks for Win32S or TNT and selects smaller values for those
  1975. environments, where all memory is allocated (even if it is supposed
  1976. to be uncommitted.) Each successive heap region is twice as big
  1977. as the previous one until the limit is reached. The limit is now
  1978. a variable rather than a constant, and it is also either a large
  1979. value or a smaller one.
  1980. ----------------------------------------------------------------------
  1981. Mon 26-Apr-93 (SteveSa)
  1982. vcfp32/tran/i386/87cdisp.asm - corrected a syntax problem which causes
  1983. problems with MASM 6.10 (reported by Rich Shupak).
  1984. vcrt32/vcrt32.def (*** NOTE: THIS CHANGE WAS UN-DONE on 28-APR-93 ***)
  1985. vcfp32/fp32.def - add -Gf and -Gy to build options (string pooling, COMDATs)
  1986. dos/fullpath.c
  1987. dos/getcwd.c - check for drive validity and set errno and _doserrno accordingly
  1988. ----------------------------------------------------------------------
  1989. Mon 26-Apr-93 (GregF)
  1990. <<< Same change made to \\orville\razzle\src\crt32 on 23-April by SteveWo >>>
  1991. h\limits.h
  1992. Restored new defs of CHAR_MIN, SHRT_MIN, INT_MIN and LONG_MIN.
  1993. ----------------------------------------------------------------------
  1994. Sun 25-Apr-93 (Jamesma)
  1995. linkopts\fp10.c, linkopts\sources, makefile
  1996. Added fp10.c - allows users to override new default 53-bit FP
  1997. precision with full 64-bit precision (CUDA bug 2368).
  1998. ----------------------------------------------------------------------
  1999. Fri 23-Apr-93 (GregF)
  2000. stdio\tmpfile.c
  2001. Fixed 2444 (multiple threads would get the same names back from
  2002. tmpnam). Also, made the namebufX buffers static - ANSI really does
  2003. not allow returning an error from tmpnam or tmpfile because a
  2004. malloc failed.
  2005. I do not plan to make this change to the CRT32 tree on \\orville
  2006. unless somebody in NT-land complains.
  2007. ----------------------------------------------------------------------
  2008. Thu 22-Apr-93 (JonM)
  2009. misc\getqloc.c, misc\inithelp.c
  2010. Fixed TNT compatibility problem by dynamically linking to
  2011. GetLocaleInfoW(). Unfortunately it took me several tries to
  2012. get this right.
  2013. startup\wincrt0.c
  2014. Added a "-defaultlib:user32" directive for graphical startup,
  2015. since it requires that MessageBox be linked. (cuda:3521)
  2016. ----------------------------------------------------------------------
  2017. Wed 21-Apr-93 (GregF)
  2018. <<< Same changes simultaneously made to \\orville\razzle\src\crt32 >>>
  2019. h\limits.h
  2020. Restored old defs of CHAR_MIN, SHRT_MIN, INT_MIN and LONG_MIN.
  2021. ----------------------------------------------------------------------
  2022. Wed 21-Apr-93 (GregF)
  2023. <<< Same changes simultaneously made to \\orville\razzle\src\crt32 >>>
  2024. convert\strtol.c, wcstol.c
  2025. Removed assumption that LONG_MIN == -LONG_MAX.
  2026. ----------------------------------------------------------------------
  2027. Tue 20-Apr-93 (SteveSa)
  2028. dllstuff/crtdll.c
  2029. startup/dllcrt0.c - add _CRT_INIT(@12) back in, make it co-exist with DllMain
  2030. h/internal.h
  2031. startup/crt0dat.c
  2032. dllstuff/dllcrt0.c - call _cexit on DLL Detach notification
  2033. h/heap.h
  2034. heap/growheap.c - successive heap regions double in size until reaching 16 MB
  2035. vcrtlib/makefile
  2036. vcrt32/h/malloc.h - alloca must be #define-d to be _alloca, not aliased at
  2037. link-time using OLDNAMES.LIB. _alloca is a compiler intrinsic.
  2038. ----------------------------------------------------------------------
  2039. Tue 20-Apr-93 (GregF)
  2040. <<< Same changes simultaneously made to \\orville\razzle\src\crt32 >>>
  2041. h\limits.h
  2042. Better defs of CHAR_MIN, SHRT_MIN, INT_MIN and LONG_MIN.
  2043. ----------------------------------------------------------------------
  2044. Tue 20-Apr-93 (ChrisWei)
  2045. vcrtlib\lib\i386\msvcrt10.def
  2046. Add isleadbyte to export list.
  2047. vcrt32, crt32\misc\getqloc.c
  2048. Enable japan and others.
  2049. vcrt32\misc\initnum.c initmon.c initctyp.c
  2050. Better return val check.
  2051. vcrt32\misc\inithelp.c
  2052. JonM GetLocaleInfoW hack, fix casting bugs.
  2053. ----------------------------------------------------------------------
  2054. Tue 20-Apr-93 (GregF)
  2055. <<< Same changes simultaneously made to \\orville\razzle\src\crt32 >>>
  2056. lowio\cgets.c, cputs.c
  2057. Use ReadConsole and WriteConsole instead of ReadFile and WriteFile.
  2058. startup\stdargv.c
  2059. Slightly change to test in do-while loop in parse_cmdline so that
  2060. chars with high bit set (i.e., chars > 127) don't terminate the
  2061. loop
  2062. ----------------------------------------------------------------------
  2063. Mon 19-Apr-93 (SteveSa)
  2064. h/heap.h - reduce initial heap region from 4 MB to 16 KB. Win32S and TNT
  2065. have to allocate that region, not just reserve the address space!
  2066. h/internal.h,
  2067. dos/getcwd.c,
  2068. dos/stat.c -
  2069. Move _validdrive() from stat.c to getcwd.c and made it static
  2070. Removed it from internal.h since it is no longer shared.
  2071. misc/cmiscdat.c - remove obsolete variable _sigintoff
  2072. misc/winxfltr.c - put MT-only variable XcptActTabSize under #ifdef MTHREAD
  2073. startup/crt0.c,
  2074. startup/dllcrt0.c - remove obsolete variable _atopsp
  2075. startup/crt0dat.c - remove obsolete variable _child
  2076. ----------------------------------------------------------------------
  2077. Thu 15-Apr-93 (JonM)
  2078. h\ios.h
  2079. h\streamb.h
  2080. Added some _CRTIMP's (_mtlock, _mtunlock).
  2081. misc\i386\exsup.asm
  2082. Put the signature 'XC00' in .text immediately before the
  2083. beginning of the __except_handler2 function. This is so the
  2084. debugger can recognize it specially (request from MikeMo).
  2085. vcrtlib\makefile
  2086. Added _tzset to oldnames.lib.
  2087. ----------------------------------------------------------------------
  2088. Wed 14-Apr-93 (SteveSa)
  2089. vcrt32/makefile
  2090. dllstuff/dllmain.c - deleted
  2091. startup/dllmain.c - added
  2092. dllstuff/sources
  2093. startup/sources
  2094. DLLMAIN.OBJ is needed for all 3 CRT library models, so I moved
  2095. dllmain.c from dllstuff/ to startup/ and adjusted the sources files.
  2096. DLLMAIN.OBJ goes into LIBC.LIB, LIBCMT.LIB and MSVCRT.LIB.
  2097. It will not go into MSVCRT10.DLL because nothing there needs it.
  2098. ----------------------------------------------------------------------
  2099. Wed 14-Apr-93 (SteveSa)
  2100. startup/tidtable.c
  2101. dllstuff/crtdll.c
  2102. dllstuff/crtlib.c
  2103. dllstuff/dllmain.c
  2104. dllstuff/sources
  2105. vcrt32/makefile
  2106. vcrtlib/makefile
  2107. Change CRT entry point (notification routine) for DLLs
  2108. from _CRT_INIT(@12) to _DllMainCRTStartup(@12). This
  2109. routine will call the user routine DllMain(@12) on all
  2110. notifications. If the user does not provide a DllMain
  2111. there is a dummy one provided in MSVCRT.LIB (dllmain.c).
  2112. The new file dllstuff/dllmain.c had to be added to
  2113. dllstuff/sources. VCRT32/makefile and VCRTLIB/makefile were
  2114. changed to reflect the addition of DLLMAIN.OBJ to MSVCRT.LIB.
  2115. Also, _CRTDLL_INIT and _DllMainCRTStartup (formerly _CRT_INIT)
  2116. no longer _mtdeletelocks directly but now call _mtterm, which
  2117. is for multi-thread termination what _mtinit does for multi-
  2118. thread initialization. _mtterm calls _mtdeletelocks and also
  2119. frees up the TLS index. The TLS index must be freed in case
  2120. a DLL (or a DLL which references MSVCRT10.DLL) is repeatedly
  2121. loaded and freed. Otherwise you will run out of TLS indices.
  2122. ----------------------------------------------------------------------
  2123. Wed 14-Apr-93 (JamesMa)
  2124. misc\i386\exsup.asm
  2125. Remove setjmp(), longjmp() & raisex() routines for granularity
  2126. purposes.
  2127. misc\i386\setjmp.asm
  2128. New file containing setjmp(), longjmp() & raisex().
  2129. misc\sources
  2130. Add setjmp.asm.
  2131. h\exsup.inc
  2132. New file containing data structures & definitions common to
  2133. exsup.asm & setjmp.asm.
  2134. ----------------------------------------------------------------------
  2135. Wed 14-Apr-93 (ChrisWei)
  2136. vcrt32\misc\charmax.c
  2137. vcrt32\misc\lcnvinit.c
  2138. vcrt32\h\locale.h
  2139. vcrtlib\include\locale.h
  2140. Cleanup and change _charmax from short to int.
  2141. vcrt32\time\strftime.c
  2142. Bug fixes.
  2143. vcrt32\h\stdlib.h, ctype.h
  2144. vcrtlib\include\stdlib.h, ctype.h
  2145. Change _mb_cur_max from short to int, simplify MB_CUR_MAX def.
  2146. vcrt32\string\wcsicmp.c, wcsnicmp.c
  2147. Remove locale-sensitive stuff.
  2148. vcrt32\string\strcoll.c, stricoll.c, wcscoll.c wcsicoll.c
  2149. Error sets errno, cleanup.
  2150. ----------------------------------------------------------------------
  2151. Tue 13-Apr-93 (SteveSa)
  2152. h/setjmp.h
  2153. Remove inappropriate _CRTIMP from declaration of setjmp
  2154. (which is #define-d to _setjmp). It is a compiler intrinsic
  2155. ----------------------------------------------------------------------
  2156. Tue 13-Apr-93 (ChrisWei)
  2157. ANSI says that certain members of the lconv structure must be set to
  2158. CHAR_MAX, the value of which changes when the user compiles -J.
  2159. The following files were added:
  2160. vcrt32\misc\charmax.c
  2161. Defines _charmax var and stuffs a pointer to the lconv_init
  2162. function into initializer array.
  2163. vcrt32\misc\lcnvinit.c
  2164. Sets the lconv members to UCHAR_MAX (255)
  2165. The following files were modified:
  2166. vcrtlib\makefile
  2167. Add charmax.obj to objects in msvcrt10.lib.
  2168. vcrtlib\lib\i386\msvcrt10.def
  2169. Add _lconv_init to exports.
  2170. vcrt32\misc\sources
  2171. Add charmax.c, lcnvinit.c.
  2172. vcrt32\h\setlocal.h
  2173. Add lconv struct definition.
  2174. vcrt32\h\locale.h
  2175. Add extern _charmax reference when _CHAR_UNSIGNED defined.
  2176. vcrt32\dllstuff\crtexe.c
  2177. Add xia..xiz initializers and initializer call.
  2178. vcrt32\dllstuff\i386\cinitexe.asm
  2179. Add xia..xiz initializers.
  2180. vcrt32\dllstuff\i386\cinitexe.asm
  2181. Add xia..xiz initializers.
  2182. ----------------------------------------------------------------------
  2183. Tue 13-Apr-93 (JonM)
  2184. h\(various).h, sys\stat.h
  2185. Using the new push/pop syntax for "pragma pack", modified the
  2186. .h files to restore the packing state to what it was before
  2187. the #include.
  2188. Removed directives which suppressed the warning about a .h file
  2189. changing the "pragma pack" state.
  2190. ----------------------------------------------------------------------
  2191. Mon 12-Apr-93 (ChrisWei)
  2192. <<< Same change made previously to \\orville\razzle\src\crt32 >>>
  2193. vcrt32\h\ctype.h
  2194. vcrtlib\include\ctype.h
  2195. Changed is* macros to evaluate args only once.
  2196. Changed isw* macros to evaluate args only once.
  2197. Protection around _MB_CUR_MAX macro.
  2198. vcrt32\h\wchar.h
  2199. vcrtlib\include\wchar.h
  2200. Changed isw* macros to evaluate args only once.
  2201. vcrt32\h\stdlib.h
  2202. vcrtlib\include\stdlib.h
  2203. Protection around _MB_CUR_MAX macro.
  2204. ----------------------------------------------------------------------
  2205. Mon 12-Apr-93 (GregF)
  2206. <<< Same change simultaneously made to \\orville\razzle\src\crt32 >>>
  2207. stdio\popen.c
  2208. Removed redundant CloseHandle call to close the child process
  2209. handle from _pclose. By the time CloseHandle is called, an earlier
  2210. call to _cwait has already called the child process handle. This
  2211. was NTBUG #4165
  2212. ----------------------------------------------------------------------
  2213. Thu 08-Apr-93 (ChrisWei)
  2214. vcrt32\h\errno.h - added EILSEQ errno = 42
  2215. vcrtlib\include\errno.h - added EILSEQ errno = 42
  2216. vcrt32\misc\syserr.c - added EILSEQ error message
  2217. ----------------------------------------------------------------------
  2218. Thu 08-Apr-93 (SteveSa)
  2219. stdio/tmpnam.c - used access rather than _access
  2220. time/tzset.c - used strdup rather than _strdup
  2221. misc/getenv.c - used strnicmp rather than _strnicmp
  2222. misc/getqloc.c - used stricmp rather than _stricmp
  2223. misc/initnum.c - used strdup rather than _strdup
  2224. Changing the OLD NAMES implementation from #define to
  2225. prototypes and link-time aliasing revealed these five
  2226. places where an old name was used in our source code,
  2227. rather than the ANSI conforming new name (with a leading
  2228. underscore.) The #define's made these differences
  2229. irrelevant, but now they are significant. All were fixed.
  2230. h/direct.h
  2231. Fix oldnames prototype for getcwd() - had an extra parameter
  2232. vcrtlib\include
  2233. vcrtlib\include\sys
  2234. Updated the ones that GregF missed.
  2235. ----------------------------------------------------------------------
  2236. Thu 08-Apr-93 (GregF)
  2237. vcrtlib\include
  2238. Updated header files to match vcrt32\h.
  2239. ----------------------------------------------------------------------
  2240. Thu 08-Apr-93 (GregF)
  2241. <<< GregF change of 6 April to CRT32 project on \\orville\razzle >>>
  2242. vcrt32\time\dtoxtime.c
  2243. Rewrote expression to avoid bogus compiler warning.
  2244. ----------------------------------------------------------------------
  2245. Wed 07-Apr-93 (SteveSa)
  2246. Most Header Files (!!!)
  2247. and Some C Source Files
  2248. dllstuff/crtexe.c
  2249. dllstuff/crtlib.c
  2250. tools/win32/relinc.if
  2251. vcrtlib/lib/i386/msvcrt10.def
  2252. Add _CRTIMP keyword to functions and variables exported from
  2253. MSVCRT10.DLL. In the cleansed (public) header files, this
  2254. keyword evaluates to __declspec(dllimport) if _DLL is defined,
  2255. and nothing otherwise. For the internal build, it will evaluate
  2256. to __declspec(dllexport) if CRTDLL is defined. The _CRTIMP
  2257. keyword is not necessary in the source code if the prototype
  2258. in the header file uses it first. Also, intrinsic functions
  2259. like abs, _rotl, sin, atan, etc. cannot be _declspec-ed!
  2260. I edited the .DEF file to change all of the exported data items
  2261. from "foo_dll CONSTANT" to "foo DATA" to reflect this change.
  2262. I also renamed _ValidDrive to _validdrive and __GetMainArgs to
  2263. __getmainargs. We should keep all CRT routines lower-case for
  2264. clarity since Win32 APIs are mixed case. In order to export
  2265. the EXE's value of _fmode and _commode to MSVCRT10.DLL, I had
  2266. to modify CRTLIB.C to use a different mechanism. In the old
  2267. days, the _DLL versions of _fmode and _commode could just be
  2268. #undef-ined, but now the __declspec(dllimport) versions had to
  2269. be declared directly (as int * _imp___fmode, etc.). I had to
  2270. add a special symbol, SPECIAL_CRTEXE, to INTERNAL.H and STDLIB.H
  2271. which must be stripped during the cleansing process.
  2272. ----------------------------------------------------------------------
  2273. Wed 07-Apr-93 (JamesMa)
  2274. iostream\ios.cxx, iostream\streamb.cxx
  2275. Initialize LockFlg to -1 so that locking is enabled by default.
  2276. ----------------------------------------------------------------------
  2277. Wed 07-Apr-93 (JonM)
  2278. h\ios.h, h\iostream.h, h\istream.h, h\ostream.h, h\streamb.h
  2279. Added _CRTIMP's so that the iostream classes will be in
  2280. msvcrt10.dll.
  2281. vcrtlib\makefile
  2282. Enhanced the oldnames.lib build to add the import symbols too,
  2283. for clients of msvcrt10.dll.
  2284. Modified the msvcrt10.dll build so that we export the iostream
  2285. classes.
  2286. vcrtlib\lib\i386\msvcrt10.def
  2287. Add a couple of internal things (conversions between ASCII and
  2288. 10-byte reals) which the IDE debugger needs for displaying
  2289. the contents of the x87 stack.
  2290. ----------------------------------------------------------------------
  2291. Wed 07-Apr-93 (JonM)
  2292. misc\cenvarg.c
  2293. Checked in a workaround for the NT bug where "CreateProcess()"
  2294. doesn't propagate the current directory strings if there is a
  2295. user-specified environment. We now detect these in cenvarg()
  2296. and prepend them to the user-specified environment block.
  2297. ----------------------------------------------------------------------
  2298. Wed 07-Apr-93 (SteveSa)
  2299. h\fcntl.h
  2300. h\limits.h
  2301. Fix copyright dates to 1993 (somehow these got missed before)
  2302. ----------------------------------------------------------------------
  2303. Wed 07-Apr-93 (GregF)
  2304. <<< Same change simultaneously made to \\orville\razzle\src\crt32 >>>
  2305. lowio\fstat.c
  2306. Made computation of file times consistent with _stat() (i.e.,
  2307. wrong on FAT and HPFS, correct on NTFS, and correct on all of
  2308. them if they ever fix underlying NT bug).
  2309. ----------------------------------------------------------------------
  2310. Wed 07-Apr-93 (GregF)
  2311. <<< Same change simultaneously made to \\orville\razzle\src\crt32 >>>
  2312. dos\stat.c
  2313. h\sys\stat.h
  2314. Made first arg type into a const char * (bug recently filed in
  2315. the NTBUG database).
  2316. ----------------------------------------------------------------------
  2317. Tue 06-Apr-93 (SteveSa)
  2318. Most Header Files (!!!)
  2319. and Many C Source Files
  2320. Remove all occurrences of _VARTYPE1/_CRTVAR1 (which meant nothing)
  2321. and change all occurrences of _CRTAPI[123] and _CALLTYPE[1234]
  2322. to __cdecl.
  2323. ----------------------------------------------------------------------
  2324. Mon 05-Apr-93 (GregF)
  2325. <<< Same change simultaneously made to \\orville\razzle\src\crt32 >>>
  2326. direct\findfile.c
  2327. dos\stat.c
  2328. h\ctime.h, internal.h
  2329. time\dtoxtime.c, ftime.c, gmtime.c, localtim.c, mktime.c, strftime.c,
  2330. time.c, tzset.c, utime.c
  2331. Adapted C8-16 time implementation for Windows NT.
  2332. ----------------------------------------------------------------------
  2333. Mon 05-Apr-93 (JamesMa)
  2334. startup\crt0.c
  2335. GUI apps exiting through _amsg_exit() now put up a pop-up message
  2336. box describing the runtime error instead of trying to write to
  2337. stderr.
  2338. startup\crt0msg.c
  2339. Add _GET_RTERRMSG(), a routine needed for GUI error reporting.
  2340. ----------------------------------------------------------------------
  2341. Mon 05-Apr-93 (JonM)
  2342. vcrtlib\makefile, vcrtlib\tools\genalias.*
  2343. Changed the format of alias records used in oldnames.lib.
  2344. Again oldnames.lib requires a recent linker in order to be
  2345. built correctly.
  2346. ----------------------------------------------------------------------
  2347. Mon 05-Apr-93 (JonM)
  2348. startup\i386\crt0init.mak, startup\i386\crt0init.obj
  2349. Add "Remove" attribute to the .drectve section, to prevent it
  2350. from showing up in .exe files.
  2351. ----------------------------------------------------------------------
  2352. Thu 01-Apr-93 (ChrisWei)
  2353. vcrt32\startup\thread.c, crt0.c
  2354. Change try, except to --try, __except.
  2355. vcrt32\convert\isctype.c
  2356. Bug fix and optimization.
  2357. \vcfp32\fp32.def
  2358. Turn on fp locale-sensitive radix char by defining _INTL.
  2359. ----------------------------------------------------------------------
  2360. Wed 31-Mar-93 (ChrisWei)
  2361. vcrt32\h\excpt.h
  2362. vcrlib\include excpt.h
  2363. Remove #define try, except, leave, finally.
  2364. ----------------------------------------------------------------------
  2365. Tue 30-Mar-93 (GregF)
  2366. <<< GregF change of 26 March to CRT32 project on \\orville\razzle >>>
  2367. vcrt32\startup\thread.c
  2368. vcrt32\startup\tidtable.c
  2369. Initialize ptd->_pxcptacttab to _XcptActTab, ptd->_holdrand to 1L.
  2370. ----------------------------------------------------------------------
  2371. Mon 29-Mar-93 (JonM)
  2372. vcrtlib\makefile
  2373. Checked in a build for oldnames.lib.
  2374. Warning: currently the oldnames.lib build requires a linker
  2375. v.3085 or later to get a bug fix to the librarian (otherwise
  2376. you get an oldnames.lib with no symbols in its directory).
  2377. The fixed linker is not checked in to tools project yet, but
  2378. will be this week.
  2379. vcrtlib\tools, vcrtlib\tools\mungeobj.exe, vcrtlib\tools\mungeobj.c
  2380. Created "tools" directory and added a quick tool I wrote to
  2381. map one shortname to another in a COFF object.
  2382. vcrtlib\oldnames, vcrtlib\oldnames\weak.asm
  2383. Created "oldnames" directory and added weak.asm which is a
  2384. generic weak extern definition.
  2385. ----------------------------------------------------------------------
  2386. Thu 25-Mar-93 (ChrisWei)
  2387. h\ctype.h
  2388. exec\dospawn.c
  2389. convert\_mbslen.c, tolower.c toupper.c, towlower.c, towupper.c
  2390. CTRL-Zs are EVIL.
  2391. h\ctype.h, vcrtlib\include\ctype.h
  2392. convert\toupper.c, tolower.c
  2393. Define _tolower() and _toupper() when _INTL turned on.
  2394. ----------------------------------------------------------------------
  2395. Wed 24-Mar-93 (ChrisWei)
  2396. in vcrt32\h, vcrtlib\include
  2397. types.h
  2398. Change _dev_t from short to unsigned int.
  2399. in vcrt32\h, vcrtlib\include
  2400. fstream.h, ios.h, iostream.h, istream.h, ostream.h, streamb.h
  2401. Eliminate "long double != double" warnings with #pragma warning.
  2402. vcrt32.def
  2403. Turn on _INTL flag to enable CRT international support.
  2404. tools\win32\relinc.if
  2405. _INTL is now defined for ifstrip.
  2406. vcrtlib\include\wchar.h, ctype.h
  2407. Changed since _INTL is defined for ifstrip.
  2408. ----------------------------------------------------------------------
  2409. Tue 23-Mar-93 (JonM)
  2410. makefile, dllstuff\makefile, dllstuff\i386\cinitexe.asm
  2411. Added the same linker directives as my earlier change ... for
  2412. msvcrt*.dll this time.
  2413. ----------------------------------------------------------------------
  2414. Tue 23-Mar-93 (SteveSa - propogating a ChrisWei fix)
  2415. <<< ChrisWei change of 22 March to the CRT32 project on //orville/razzle: >>>
  2416. time\strftime.c - change C locale to 24 hour time
  2417. ----------------------------------------------------------------------
  2418. Tue 23-Mar-93 (JonM)
  2419. startup\i386\crt0init.asm:
  2420. Added linker directives to use "kernel32.lib" as a default
  2421. library, and to merge the .CRT section into .data to save on
  2422. section padding in the image file (and load one less page).
  2423. It is necessary to run "link -edit" on the .obj file which
  2424. comes out of Masm386, in order to set the "info" flag
  2425. on the .drectve section. Therefore I checked in crt0init.obj
  2426. to the project, and added crt0init.mak which is how to build
  2427. it.
  2428. makefile
  2429. Now links the version of crt0init.obj which is checked in to
  2430. the project, instead of building it from crt0init.asm.
  2431. startup\sources: removed crt0init
  2432. ----------------------------------------------------------------------
  2433. Mon 22-Mar-93 (SteveSa - propogating GregF's and SteveWo's changes)
  2434. <<< GregF changes of 20 March to the CRT32 project on //orville/razzle: >>>
  2435. lowio\kbhit.c - deleted
  2436. lowio\ungetch.c - deleted
  2437. lowio\getch.c - rewritten to handle arrow keys and function keys
  2438. now encompasses what was in ungetch.c and kbhit.c
  2439. lowio\putch.c - rewritten to use WriteConsole instead of WriteFile
  2440. stdio\fflush.c - changed so that it does not lock every stream
  2441. on a _flushall() or fflush(NULL) call.
  2442. <<< GregF changes of 22 March to the CRT32 project on //orville/razzle: >>>
  2443. lowio\close.c - _close(STDIN) or _close(STDOUT) will not close the
  2444. underlying NT file handle if STDOUT and STDERR are sharing
  2445. the same handle. Of course, closing both STDOUT and STDERR
  2446. will close the underlying handle.
  2447. <<< SteveWo changes of 22 March to the CRT32 project on //orville/razzle: >>>
  2448. misc\getqloc.c
  2449. misc\initctyp.c
  2450. misc\initmon.c
  2451. misc\initnum.c
  2452. misc\inittime.c
  2453. misc\setlocal.c - MAKELCID takes two parameters now
  2454. ----------------------------------------------------------------------
  2455. Mon 22-Mar-93 (JonM)
  2456. lowio\open.c
  2457. Fixed _open() so that it accepts _O_EXCL without _O_CREAT
  2458. (ignoring _O_EXCL). This is undefined behavior in the X/Open
  2459. spec ... changed for consistency with 16-bit CRT.
  2460. Also, it now accepts _O_CREAT | _O_EXCL | _O_TRUNC for opening
  2461. new files. This is crt16 behavior and is also required by
  2462. X/Open.
  2463. There remains a difference from the crt16 behavior ... the
  2464. 32-bit _open() will fail with _O_TRUNC if _O_RDONLY is used.
  2465. This is the documented behavior ... the fact that the 16-bit
  2466. libs accept this case is a bug.
  2467. ----------------------------------------------------------------------
  2468. Mon 22-Mar-93 (JonM)
  2469. log.txt created, for tracking changes to the Cuda C runtime code on
  2470. \\hobie, which SteveSa has now split off from the NT group's sources
  2471. on \\orville\razzle.
  2472. ----------------------------------------------------------------------