OSDN Git Service

* include/stdio.h (swscanf): Make first arugument const.
[pf3gnuchains/sourceware.git] / winsup / mingw / ChangeLog
1
2 2001-06-11  Mattia Barbon  <mbarbon@dsi.unive.it>
3
4         * include/stdio.h (swscanf): Make first arugument const. 
5         * include/wchar.h (swscanf): Ditto. 
6         * include/tchar.h (_tfopen): New _UNICODE define.
7         (_tgetenv): Ditto.
8         (_tsetlocale): Ditto.
9
10 2001-06-04  Earnie Boyd  <earnie@users.sourceforge.net>
11
12         * include/_mingw.h: Change version to 1.0.
13         Makefile.in: Ditto.
14
15 2000-02-21  Earnie Boyd  <earnie@users.sourceforge.net>
16
17         * include/tchar.h: (__TEXT): Remove undef.
18         (_TEXT): Ditto.
19         (_T): Ditto.
20
21 Fri Feb  2 10:34:07  2001  Earnie Boyd  <earnie@users.sourceforge.net>
22
23         * include/tchar.h: (__TEXT): Add private macro.
24         (_TEXT): Modify definition to use __TEXT.
25         (_T): Ditto.
26         This change allows the passing of a MACRO as an argument and have that
27         MACRO resolved first.
28         Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
29
30 Wed Jan 31 17:12:51  2001  Earnie Boyd  <earnie@users.sourceforge.net>
31
32         * Makefile.in: Increment version to 0.5
33         * include/_mingw.h: Increment minor version
34
35 Tue Jan 30 13:01:01  2001  Earnie Boyd  <earnie@users.sourceforge.net>
36
37         * include/assert.h: (assert): Remove ; from end of definition
38         Thanks to: AJ Reins <tbisp@qwest.net>
39
40 Tue Jan 30 07:31:22  2001  Earnie Boyd  <earnie@users.sourceforge.net>
41
42         * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
43         Thanks to: Cosmin Truta  <cosmin@cs.toronto.edu>
44
45 Mon Jan 29 14:03:07  2001  Earnie Boyd  <earnie@users.sourceforge.net>
46
47         * time.h: (CLOCKS_PER_SEC) Change from FP to  integer constant.
48
49 Sun Jan 28 13:01:08  2001  Earnie Boyd  <earnie@users.sourceforge.net>
50
51         * include/wchar.h: The 2001.01.18 Change was incorrect.  The functions
52         are actually C functions.  These functions are resolved via the
53         -lmsvcp60 library and comments were placed in the header.
54
55 2001-01-28  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
56
57         *include/stdlib.h (__p__pgmptr): add prototype.
58         (__p__wpgmptr): likewise.
59         (_pgmptr_dll): move declaration from dos.h.
60         (_wpgmptr_dll): likewise.
61         (_pgmptr): conditional define (MSVCT/CRTDLL).
62         (_wpgmptr): likewise.
63         *include/dos.h (_base*_dll variables): declare only for CRTDLL.
64         (_os*_dll variables): likewise.
65         (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
66         (_wpgmptr_dll): likewise.
67
68 2001-01-22  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
69
70         * include/stdint.h: New file.
71
72 Thu Jan 18 10:33:01  2001  Earnie Boyd  <earnie@users.sourceforge.net>
73
74         * include/wchar.h: Protect prototypes only declared in the C++ STL
75         from being declared unless __cplusplus is defined.
76
77 Tue Jan 16 11:37:31  2001  Earnie Boyd  <earnie@users.sourceforge.net>
78
79         * include/stdlib.h: Apply Danny Smith patch 102730
80         2000-12-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
81         (_wgetenv) Correction to return type.
82
83 Tue Jan 16 09:41:41  2001  Earnie Boyd  <earnie@users.sourceforge.net>
84
85         * include/locale.h: Apply Danny Smith patch 101834
86         2000-11-23  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
87         (LC_MIN) Add definition.
88         (LC_MAX) ditto. 
89         (_wsetlocale) Add prototype.
90
91 2000-11-29  Earnie Boyd  <earnie_boyd@yahoo.com>
92
93         * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
94         Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
95         Create a libcoldname.a for the oldname library for CRTDLL.
96         Restrict libmoldname.a for the oldname library for MSVCRT.
97         * configure.in: eliminate setting RUNTIME and CRT_ID variables.
98         Restructure the $target_os case logic.
99         Always name the MinGW thread dll helper mingwm.
100         Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
101         * configure: regenerate.
102
103 2000-11-22  Earnie Boyd  <earnie_boyd@yahoo.com>
104
105         * Makefile.in: Fix bindist target to distribute the correct files.
106         Remove the use of SNAPSHOT variable and test SNAPDATE instead.
107         Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
108
109 2000-11-21  Earnie Boyd  <earnie_boyd@yahoo.com>
110
111         * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
112         Add variables and targets to control binary and source distributions.
113         Add variables and targets to control snapshot distribution.
114         * profile/gmon.h: Add missing #endif for #ifndef.
115         * profile/ChangeLog: Merge entries here and remove.
116         * profile/Makefile.in: Add variables and targets to control 
117         distribution.
118         * README: Add.
119         * TODO: ditto.
120         * config.guess: ditto.
121         * config.sub: ditto.
122         * mkinstalldirs: ditto.
123         * install-sh: ditto.
124         * configure: regenerate.
125         * profile/configure: ditto.
126
127 2000-11-20  Earnie Boyd  <earnie_boyd@yahoo.com>
128
129         * Merge in changes from
130         2000-10-23  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
131         * include/direct.h: add guard around MSVCRT-only prototytpes
132         * include/io.h: add __int64 struct definitions and function prototypes;
133                  add guard for MSVCRT-only prototypes
134         * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
135         * include/stdio.h: add wchar function prototypes (__MSVCRT__);
136                  put wchar functions together to make sync with wchar.h easier
137         * include/stdlib.h: add wide char functions (__MSVCRT__)
138         * include/string.h: add string collation functions ( __MSVCRT__)
139         * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
140         * include/tchar.h: add macros and macro function definitions
141         * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
142                 enclose more functions in __MSVCRT__ guard;
143                 some oldname wide char function prototypes #if (0)'d
144         * profile/gmon.h: add guard around BSD-ish typedefs
145
146 Mon Nov 20 18:58:12 2000  Christopher Faylor <cgf@cygnus.com>
147
148         * Makefile.in: Use a different variable name for subdirectory since the
149         previous one was used by the top level make.
150
151 Sun Nov 19 20:50:51 2000  Christopher Faylor <cgf@cygnus.com>
152
153         * Makefile.in: Install mingw stuff in a subdirectory if building under
154         cygwin.
155
156 Sat Jun 17 21:48:23 2000  Christopher Faylor <cgf@cygnus.com>
157
158         * Makefile.in (subdirs): Eliminate for loop.
159
160 Sat Jun 17 18:27:59 2000  Christopher Faylor <cgf@cygnus.com>
161
162         * Makefile.in (subdirs): Previous change did not fix problem in
163         broken shells.
164
165 Sat Jun 17 13:49:12 2000  Christopher Faylor <cgf@cygnus.com>
166
167         * Makefile.in: Avoid installing dll if we're cross building and the
168         cross-host system isn't a Windows system.
169         * configure.in: Detect cross-hosting situation and set appropriate
170         variables in Makefile.in.
171         * configure: Regenerate.
172
173 Wed Apr 19 13:10:54 2000  Christopher Faylor <cgf@cygnus.com>
174
175         * configure.in: Change HEADER_SUBDIR to mingw32.
176         * configure: Regenerate.
177
178 Mon Apr 10 17:24:28 2000  Christopher Faylor <cgf@cygnus.com>
179
180         * include/string.h: Use proper prototype for _strerror.
181
182 2000-03-30  Mumit Khan  <khan@xraylith.wisc.edu>
183
184         * Makefile.in (subdirs): Workaround for broken shells.
185
186 2000-02-03  Mumit Khan  <khan@xraylith.wisc.edu>
187
188         * Snapshot 2000-02-03.
189
190         * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h, 
191         float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h, 
192         stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h, 
193         sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
194         pollution.
195
196         * Makefile.in (all): Build CRT0S first.
197         (libmingwthrd.a): Remove thread support DLL from dependency.
198
199 2000-01-21  Mumit Khan  <khan@xraylith.wisc.edu>
200
201         * Snapshot 2000-01-21.
202
203 2000-01-20  Mumit Khan  <khan@xraylith.wisc.edu>
204
205         Merge in changes from Cygwin:
206         * configure.in (HEADER_SUBDIRS): New variable. Substitute.
207         (SUBDIRS): Likewise.
208         * Makefile.in (HEADER_SUBDIRS): New variable.
209         (install): Use to install Mingw headers to a subdirectory if building
210         under Cygwin.
211         (DLL_CC_STUFF): Add DLL entry point.
212         * configure: Regenerate.
213
214 2000-01-19  Mumit Khan  <khan@xraylith.wisc.edu>
215
216         * include/stdio.h (fsetpos): Fix prototype.
217         (fpos_t): Fix for MSVCRT.
218         * include/float.h (fpreset): Add prototype.
219         * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
220         constant values.
221         * include/time.h: Don't define tzname as a macro for CRTDLL, and
222         export using libmoldname.a.
223         * crtdll.def: Add DATA tags.
224         * msvcrt.def: Likewise.
225         * moldname.def.in: Likewise. Add fpreset. Export tzname for
226         both MSVCRT and CRTDLL.
227         * moldname-crtdll.def: Regenerate.
228         * moldname-msvcrt.def: Regenerate.
229
230 Tue Dec 21 02:22:14 1999  Mumit Khan  <khan@xraylith.wisc.edu>
231         
232         * Snapshot 1999-12-21.
233
234         * include/wctype.h: New file.
235         * include/ctype.h (MB_CUR_MAX): Define.
236         (wctype_t): Guard.
237         * include/stdlib.h (MB_CUR_MAX): Define.
238         * include/wchar.h: Define stat, _stat structures here as well.
239         * include/float.h: Add invalid subconditions (_SW) and floating
240         point error (_FPE) macros.
241         * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
242         (_TIME_T): Rename macro to _TIME_T_DEFINED.
243         * include/sys/types.h: Likewise.
244
245 Thu Nov 18 00:22:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
246
247         * profile/profil.c (profile_on): Set the profiler thread priority to
248         be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
249         * Snapshot 1999-11-18.
250
251 Sun Nov  7 02:50:09 1999  Mumit Khan  <khan@xraylith.wisc.edu>
252
253         Released 1999-11-07.
254
255         * Makefile.in (CRT0S): Add crtst.o.
256         (install): Install in subdirs as well.
257         * dirent.h (struct _stat): Rename from struct stat.
258         * include/tchar.h: Add some new macros. Thanks to
259         Eric Kohl <ekohl@abo.rhein-zeitung.de>.
260         * profile/Makefile.in (install): Fix target.
261
262 Thu Nov  4 14:32:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
263
264         * Makefile.in: Add support for profile directory.
265         * configure.in: Likewise.
266         * configure: Regenerate.
267
268         * profile: Imported profiling sources from winsup-19991026 snapshot.
269         * profile/Makefile.in: New file.
270         * profile/configure.in: New file.
271         * profile/configure: Generate.
272         * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
273         * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
274         * profile/gmon.c (unistd.h): Include conditionally.
275         (sys/param.h): Likewise.
276         * profile/mcount.c (sys/param.h): Likewise.
277         * profile/profil.c (profile_on): thread id is DWORD, not int.
278
279
280 Wed Nov  3 16:26:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
281
282         * include/stdlib.h: Add wide character version of argv/environ.
283         Formatting changes.
284         * include/wchar.h: More wide character prototypes.
285         * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
286
287         * dllcrt1.c (init.c): Don't include.
288         (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
289         * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
290
291 Sat Oct 30 03:06:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
292
293         * moldname.def: Remove file.
294         * moldname.def.in: And add this.
295         * moldname-msvcrt.def: Generate from moldname.def.in.
296         * moldname-crtdll.def: Likewise.
297
298         * mthr.c: New file for -mthread (thread-safe C++ EH) support.
299         * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
300         * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
301
302         * Makefile.in: Update.
303         * configure.in: Likewise. Also add *cygwin* target for building
304         under Cygwin winsup.
305         * configure: Regenerate.
306
307 Fri Oct  1 11:10:30 1999 Mumit Khan  <khan@xraylith.wisc.edu>
308
309         * include/_mingw.h: Add version macros.
310         * include/direct.h (_diskfree_t, getdiskfree, getdrives):  Add.
311         Also add wide character versions shared with wchar.h.
312         * include/dos.h (_diskfree_t, getdiskfree, getdrives):  Add.
313         * include/io.h (sopen, _sopen): Fix prototype.
314         Add wide character prototypes.
315         * include/wchar.h: Likewise.
316         * include/stdlib.h (beep, seterrormode, sleep): Remove non-
317         underscored versions. Potential incompatibility.
318         * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
319         Add wide character prototypes.
320         * include/sys/timeb.h (struct _timeb): Don't use macro, but real
321         definition.
322
323 Wed Aug 18 18:38:39 1999  Mumit Khan  <khan@xraylith.wisc.edu>
324
325         * configure.in (RUNTIME, CRT_ID): Add to differentiate between
326         crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
327         macros.
328         * configure: Rengerate.
329         * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
330         dll name and crt's. CRTDLL and MSVCRT are meant to created
331         separately, so remove all the *-msvcrt* targets.
332         (libmingwthr.a): New target. Dummy thread support archive.
333         (LIBS): Add libmingwthr.a.
334         (CRT0S): Use CRT_ID. Add crtmt.o.
335         (MINGW_OBJS): Add crtst.o.
336         * main.c (WinMain): Fix prototype.
337         * crtmt.c: New file.
338         * crtst.c: New file.
339
340         * include/process.h (_beginthreadex): Fix prototype.
341         * include/_mingw.h (__int64): Define for __GNUC__.
342         * include/tchar.h (_ttol): Add macro.
343         * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
344         _i64tow, _ui64tow, _wtoi64): Add prototypes.
345
346         Reported by Emanuele Aliberti <ea@iol.it>:
347         * include/tchar.h (_ttoi): Add macro.
348
349         Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
350         * include/stdio.h (_snprintf): Add prototype.
351         (_vsnprintf): Likewise.
352
353 Sat Aug  7 18:00:00 1999  Mumit Khan  <khan@xraylith.wisc.edu>
354
355         Reported by Tor Lillqvist <tml@iki.fi>:
356         * include/stdlib.h (__p___argv): Fix return type.
357
358 Fri Jul 30 22:07:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
359         
360         Add UWIN support.
361         * include/errno.h (errno): It's linked in from startup, not imported.
362         * include/stdlib.h (errno): Likewise.
363         * include/io.h: Guard against conflicting macros and prototypes in 
364         system headers.
365         * include/stdlib.h: Likewise.
366         * include/string.h: Likewise.
367         * include/time.h: Likewise.
368
369 Fri Jul 30 13:47:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
370
371         * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
372         * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
373         * Makefile.in (INCLUDES): Remove old windows32 include directory.
374
375         * crt1.c (_gnu_exception_handler): Fix prototype.
376         (__mingw_CRTStartup): New function based on mainCRTStartup.
377         (mainCRTStartup): Set the app type for MSVCRT and call
378         __mingw_CRTStartup.
379         (WinMainCRTStartup): Likewise.
380         * init.c (_startupinfo): Define.
381         (_getmainargs): Add 5th parameter.
382         (_mingw32_init_mainargs): Use.
383
384         * ALL *.c files: Reformat according to GNU coding style.
385
386 Fri Jul 16 00:46:04 1999  Mumit Khan  <khan@xraylith.wisc.edu>
387
388         * Makefile.in (INCLUDES): Add w32api include directory.
389
390         * include/_mingw.h: New file.
391         * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
392           errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
393           math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
394           stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
395           sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
396           use the macros __DECLSPEC_SUPPORTED  and __MINGW_IMPORT.
397         
398         * include/stdlib.h (atexit): Fix prototype.
399
400 Mon Jun 14 18:38:49 1999  Mumit Khan  <khan@xraylith.wisc.edu>
401
402         * include/stdio.h (_tempnam): Fix prototype.
403         (tempnam): Likewise.
404         * include/stdlib.h: Replace with GCC's version, and guard
405         with RC_INVOKED.
406
407         From Anders Norlander <anorland@hem2.passagen.se>:
408         * include/stdlib.h (__argc): Declare.
409         (__argv): Likewise.
410
411 Mon Apr  5 13:49:17 1999  Mumit Khan  <khan@xraylith.wisc.edu>
412
413         * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
414         contribution.
415         * Makefile.in (_libm_dummy.o): New target.
416         (libm.a): Use. 
417
418 Tue Mar 16 18:15:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
419
420         * Released 1999-03-16 along with egcs-1.1.2.
421
422 Wed Feb 17 17:15:56 1999  Mumit Khan  <khan@xraylith.wisc.edu>
423
424         * Makefile.in (LIBS): Add libm.a.
425         (libm.a): Dummy libm.a.
426
427         * Makefile.in: Update from winsup 1999-02-08 snapshot.
428         Preserve local changes.
429         (mkinstalldirs): In ../, not ../../.
430         (INCLUDES): Point to local windows32api headers and use -nostdinc.
431         (LIBGCC): Delete.
432         (LIBS): Add libmoldname-msvc.a.
433         (libmoldname-msvc.a): Add target.
434         (distclean): Add target.
435
436 Tue Feb  9 00:26:05 1999  Mumit Khan  <khan@xraylith.wisc.edu>
437
438         * include/dir.h: Reintroduce as an obsolescent header.
439         * crt1.c (signal.h): Include.
440         (_gnu_exception_handler): New function to properly handle win32
441         asynchronous signals.
442         (mainCRTStartup): Use.
443
444 Sun Jan  3 23:52:25 1999  Mumit Khan  <khan@xraylith.wisc.edu>
445         
446         * include/direct.h: Include io.h instead of dir.h
447         * include/dirent.h: Likewise.
448         * include/dos.h: Likewise.
449         * include/stdio.h: Replace reference to dir.h with io.h.
450
451 Thu Dec 31 16:04:55 1998  Mumit Khan  <khan@xraylith.wisc.edu>
452
453         * 1999-01-01 release bundled with egcs-1.1.1.
454
455         * include/io.h: Incorporate dir.h.
456         * include/dir.h: Remove.
457         * include/signal.h: Move RC_INVOKED up a bit.
458
459 Tue Dec 29 15:04:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
460
461         * include/signal.h (sig_atomic_t): Define.
462         (NSIG): Define.
463         * include/malloc.h: Import defs from deprecated alloc.h.
464         * include/alloc.h: Remove.
465
466         From "Daniel J. Rodriksson" <djr@dit.upm.es>:
467         * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
468         * include/sys/stat.h (struct stat): st_uid is of type short. Use
469         _off_t instead of long for st_size.
470
471 Thu Sep 10 22:28:49 1998  Mumit Khan  <khan@xraylith.wisc.edu>
472         
473         * include/errno.h (sys_errlist, sys_nerr): Move from here ...
474         * include/stdlib.h: Here.
475
476         * include/netdb.h: Remove.
477         * include/arpa/inet.h: Remove.
478         * include/netinet/in.h: Remove.
479         * include/sys/socket.h: Remove.
480
481 Fri Sep  4 15:09:11 1998  Mumit Khan  <khan@xraylith.wisc.edu>
482
483         * Release egcs-1.1.
484
485         * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
486         sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
487
488 Thu Sep  3 10:43:29 1998  Mumit Khan  <khan@xraylith.wisc.edu>
489
490         * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
491         (jmpbuf): typedef using above. 
492         (setjmp, longjmp): Prototype using jmpbuf.
493
494         Merge with Colin Peters' 980701 snapshot. I've ignored changes to
495         obsolescent imported names, ie., from __imp__ to _imp___. 
496
497         Also ignored empty include/sys/param.h and incorrect
498         include/sys/times.h.
499
500         * CRTinit.c: New file.
501         * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef 
502         instead of #if.
503         * include/io.h (umask): Fix prototype.
504         * include/stdlib.h (OS constants): Replace with Colin's.
505         * include/time.h (tzset, daylight, timezone): Replace with Colin's.
506         * include/sys/state.h: Merge.
507
508 Thu Sep  3 09:49:07 1998  Mumit Khan  <khan@xraylith.wisc.edu>
509
510         * include/assert.h (assert): Lose the trailing semicolon.
511
512 Thu Jul 30 21:18:49 1998  Mumit Khan  <khan@xraylith.wisc.edu>
513
514         * include/math.h (matherr): Declare.
515         * include/stdio.h (fileno, _fileno): Declare.
516         * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
517
518         From Earnie Boyd:
519         * include/stdio.h (fdopen, _fdopen): Add const.
520         (getw, putw): Declare.
521         * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix. 
522
523 Sat Jun 13 18:19:41 1998  Mumit Khan  <khan@xraylith.wisc.edu>
524
525         * include/time.h (_timezone): Undefine.
526         * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
527
528         * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
529         __cdecl for MSVCRT.
530         * include/stdlib.h (environ): Use DLL version.
531         * init.c (environ): Undefine it before use.
532
533 Sun Mar 22 19:59:30 1998  Mumit Khan  <khan@xraylith.wisc.edu>
534
535         * Update to 980309 snapshot from Colin Peters.
536
537         * include/utime.h: remove
538         * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
539         __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's 
540         patches to define these.
541         * include/time.h (CLK_TCK): Renamed from CLK_TICK.
542         (_daylight, _timezone, _tzname, _tzset): Define.
543
544         * include/netdb.h: Add from Colin's windows32api changes.
545         * include/sys/socket.h: Likewise.
546         * include/arpa/inet.h: Likewise.
547         * include/netinet/in.h: Likewise.
548
549 Wed Feb  4 14:16:44 1998  Mumit Khan  <khan@xraylith.wisc.edu>
550
551         * Update to 980128 snapshot from Colin Peters. 
552
553 Sat Dec  6 21:30:35 1997  Mumit Khan  <khan@xraylith.wisc.edu>
554
555         * configure.in (AC_INIT): Use dllmain.c instead of defunct
556         oldnames.c
557         * configure: Regenerate.
558
559 Fri Dec  5 15:57:36 1997  Mumit Khan  <khan@xraylith.wisc.edu>
560
561         * Update to 971205 snapshot from Colin Peters. Lots of changes.
562         Files renamed and include hierarchy loses directories named
563         nonansi.
564
565         * include/dos.h: from Jan-Jaap.
566
567 Thu Dec  4 21:48:13 1997  Mumit Khan  <khan@xraylith.wisc.edu>
568
569         Changes to conform to FSF tree.
570
571         * crt1.c: Renamed from mcrt0.c.
572         * dllcrt1.c: Renamed from dllcrt0.c.
573         * Makefile.in: Update above. Also renamed libmoldnames.a to
574         libmoldname.a.
575
576 Mon Dec  1 16:51:30 1997  Mumit Khan  <khan@xraylith.wisc.edu>
577
578         * crtdll.def: Export all functions but the ones with funny names.
579         * moldnames.def: Add fdopen since fileno is already there.
580         * include/nonansi/dos.h: New file from Jan-Jaap.
581         * include/errno.h: Add extern decl + various additions from JJ.
582         * include/stdio.h: Likewise.
583         * include/stdlib.h: Likewise.
584         * include/nonansi/io.h: Likewise.
585         * include/nonansi/process.h: Likewise.
586         * include/sys/types.h: Likewise.
587
588 Tue Nov  4 14:51:01 1997  Mumit Khan  <khan@xraylith.wisc.edu>
589         
590         * include/time.h (CLK_TCK): Renamed from CLK_TICK.
591         (CLK_TICK): Delete.
592         * include/stdlib.h (free): Fix prototype to return void, not void*.
593         * include/nonansi/process.h: Add P_* and WAIT_* defs.
594
595         * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
596         * mcrt0.c: Likewise.
597
598         * Makefile.in (LIBS): Delete moldnames.dll from target libs.
599         (libmoldnames.a): Add explicit rule to create it.
600
601 Fri Aug 15 18:23:43 1997  Rob Savoye  <rob@cygnus.com>
602
603         New directory for the minimalist cygwin environment.
604         
605         * crtglob.c: New file. Turn on file globbing support. 
606         * crt_noglob.c: New file. Turn off file globbing support. 
607         * ctype_old.c: New file. Wrappers for functions that don't
608         have an underscore.
609         * dirent.c: New file. Directory routines readdir, opendir, closedir.
610         * dllcrt0.c: New file. Initialization code to use crtdll.dll.
611         * dllmain.c: New file. A stub DllMain function.
612         * hugeval.c: New file. A gross hack to define HUGE_VAL.
613         * init.c: New file. Common code to initialize standard file
614         handles and command line arguments.
615         * main.c: New file. A main for programs that only call WinMain.
616         * mcrt0.c: New file. Default crt0 for mingw32.
617         * oldnames.c: New File. Wrappers for functions that don't
618         have an underscore.
619         * string_old.c:  New File.
620         * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
621         math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
622         string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
623         * include/sys/types.h: New header file for mingw.
624         * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
625         fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
626         utime.h,values.h,varargs.h}: New header files for mingw.
627         * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
628         timeb.h,unistd.h}: New header files for mingw.
629         * Makefile.in,configure.in: Build and configure support.
630         * configure: Generated from autoconf 2.12 with Cygnus patches.