This list is closed, nobody may subscribe to it.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(13) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(38) |
Jul
(10) |
Aug
(70) |
Sep
(63) |
Oct
(61) |
Nov
(41) |
Dec
(28) |
| 2002 |
Jan
(43) |
Feb
(11) |
Mar
(9) |
Apr
(2) |
May
(97) |
Jun
(94) |
Jul
(13) |
Aug
(49) |
Sep
(41) |
Oct
(24) |
Nov
(55) |
Dec
(126) |
| 2003 |
Jan
(90) |
Feb
(75) |
Mar
(32) |
Apr
(24) |
May
(54) |
Jun
(54) |
Jul
(22) |
Aug
(4) |
Sep
(16) |
Oct
(8) |
Nov
(6) |
Dec
(13) |
| 2004 |
Jan
|
Feb
(17) |
Mar
(60) |
Apr
(21) |
May
(12) |
Jun
|
Jul
(13) |
Aug
|
Sep
(29) |
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
(22) |
Feb
(3) |
Mar
(2) |
Apr
(13) |
May
(82) |
Jun
(18) |
Jul
(30) |
Aug
(17) |
Sep
(3) |
Oct
(19) |
Nov
(4) |
Dec
(8) |
| 2006 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(40) |
May
|
Jun
(21) |
Jul
(1) |
Aug
(410) |
Sep
(3) |
Oct
|
Nov
(56) |
Dec
(7) |
| 2007 |
Jan
(19) |
Feb
|
Mar
(4) |
Apr
(8) |
May
(19) |
Jun
(6) |
Jul
(4) |
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(3) |
Dec
(2) |
| 2008 |
Jan
(13) |
Feb
(18) |
Mar
(12) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(6) |
Mar
(8) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
(11) |
Oct
(13) |
Nov
(17) |
Dec
(6) |
| 2010 |
Jan
(24) |
Feb
(10) |
Mar
(27) |
Apr
(20) |
May
(108) |
Jun
(8) |
Jul
(23) |
Aug
(38) |
Sep
(49) |
Oct
(17) |
Nov
(12) |
Dec
(14) |
| 2011 |
Jan
(17) |
Feb
(7) |
Mar
(28) |
Apr
(8) |
May
(20) |
Jun
(11) |
Jul
(7) |
Aug
(12) |
Sep
(4) |
Oct
(20) |
Nov
(19) |
Dec
(2) |
| 2012 |
Jan
(2) |
Feb
(6) |
Mar
(5) |
Apr
(24) |
May
(5) |
Jun
(4) |
Jul
(6) |
Aug
(18) |
Sep
(38) |
Oct
(26) |
Nov
(12) |
Dec
(6) |
| 2013 |
Jan
(19) |
Feb
(18) |
Mar
(44) |
Apr
(35) |
May
(18) |
Jun
(21) |
Jul
(10) |
Aug
(19) |
Sep
(44) |
Oct
(25) |
Nov
(1) |
Dec
(2) |
| 2014 |
Jan
(8) |
Feb
|
Mar
|
Apr
(5) |
May
(1) |
Jun
(3) |
Jul
|
Aug
(3) |
Sep
|
Oct
(4) |
Nov
(4) |
Dec
(7) |
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(4) |
Jul
(6) |
Aug
(2) |
Sep
(8) |
Oct
(2) |
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
(7) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(9) |
Jun
(4) |
Jul
(20) |
Aug
(4) |
Sep
(7) |
Oct
(6) |
Nov
(9) |
Dec
(2) |
| 2017 |
Jan
(7) |
Feb
(7) |
Mar
(5) |
Apr
|
May
(1) |
Jun
(4) |
Jul
(12) |
Aug
(4) |
Sep
(1) |
Oct
(4) |
Nov
(11) |
Dec
(14) |
| 2018 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(2) |
|
2
|
3
(4) |
4
(9) |
5
(8) |
6
|
7
(4) |
8
(6) |
|
9
(6) |
10
(2) |
11
(2) |
12
(4) |
13
(2) |
14
|
15
|
|
16
|
17
(5) |
18
(2) |
19
(2) |
20
|
21
(5) |
22
|
|
23
(2) |
24
(9) |
25
(1) |
26
|
27
|
28
|
|
|
From: <ea...@us...> - 2003-02-25 13:10:02
|
Update of /cvsroot/mingw/runtime
In directory sc8-pr-cvs1:/tmp/cvs-serv24889
Modified Files:
ChangeLog Makefile.in
Log Message:
Merge winsup changes
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/runtime/ChangeLog,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** ChangeLog 21 Feb 2003 21:19:50 -0000 1.46
--- ChangeLog 25 Feb 2003 13:09:56 -0000 1.47
***************
*** 1,2 ****
--- 1,7 ----
+ 2003-02-25 Earnie Boyd <ea...@us...>
+
+ * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
+ (libmsvcrt40.a): Ditto.
+
2003-02-21 Earnie Boyd <ea...@us...>
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mingw/runtime/Makefile.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Makefile.in 21 Feb 2003 21:19:50 -0000 1.19
--- Makefile.in 25 Feb 2003 13:09:57 -0000 1.20
***************
*** 155,160 ****
MOLD_OBJS = ctype_old.o string_old.o
! LIBS = libcrtdll.a libmsvcrt.a libmsvcrtd.a libmsvcrt20.a libmsvcrt40.a \
! libmingw32.a \
libcoldname.a libmoldname.a libmoldnamed.a $(LIBM_A) libmingwthrd.a
--- 155,159 ----
MOLD_OBJS = ctype_old.o string_old.o
! LIBS = libcrtdll.a libmsvcrt.a libmsvcrtd.a libmingw32.a \
libcoldname.a libmoldname.a libmoldnamed.a $(LIBM_A) libmingwthrd.a
***************
*** 231,235 ****
$(RANLIB) $@
! msvcrt.def msvcrtd.def msvcrt20.def msvcrt40.def: msvcrt.def.in
$(CC) -DRUNTIME=$(basename $(notdir $@)) \
-D__FILENAME__=$@ \
--- 230,234 ----
$(RANLIB) $@
! msvcrt.def msvcrtd.def: msvcrt.def.in
$(CC) -DRUNTIME=$(basename $(notdir $@)) \
-D__FILENAME__=$@ \
***************
*** 416,421 ****
libmsvcrt.a: msvcrt.def
libmsvcrtd.a: msvcrtd.def
- libmsvcrt20.a: msvcrt20.def
- libmsvcrt40.a: msvcrt40.def
CRT_noglob.o: CRT_noglob.c
CRTfmode.o: CRTfmode.c
--- 415,418 ----
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys
In directory sc8-pr-cvs1:/tmp/cvs-serv29722
Modified Files:
Tag: r1_1_0
ChangeLog.MSYS Makefile.in cygheap.cc cygwin.din
cygwin_version.h dcrt0.cc dll_init.h dlmalloc.c environ.cc
external.cc fhandler.cc fhandler.h fhandler_console.cc
fhandler_raw.cc fhandler_socket.cc fhandler_termios.cc
fhandler_tty.cc heap.cc ismsys.cc miscfuncs.cc mkvers.sh
mmap.cc path.cc path.h poll.cc registry.cc select.cc shared.cc
shared_info.h signal.cc sigproc.cc spawn.cc string.h
syscalls.cc syslog.cc termios.cc winsup.h winver.rc
Log Message:
Merge changes from HEAD
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/ChangeLog.MSYS,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** ChangeLog.MSYS 11 Dec 2002 00:16:48 -0000 1.1.1.1
--- ChangeLog.MSYS 24 Feb 2003 22:05:19 -0000 1.1.1.1.2.1
***************
*** 1,2 ****
--- 1,33 ----
+ 2003-02-17 Earnie Boyd <ea...@us...>
+
+ * cygheap.cc (init_cygheap::etc_changed): Use more appropriate object
+ name.
+ * heap.cc (heap_init): Add FIXME debug macro.
+
+ 2003-02-12 Earnie Boyd <ea...@us...>
+
+ * fhandler.cc: Add TRACE_IN throughout.
+ * fhandler_tty.cc: Ditto.
+ * signal.cc: Ditto.
+ * sigproc.cc: Ditto.
+ * select.cc: Ditto.
+ (select_stuff::test_and_set): Remove needless duplicate filters.
+ (thread_pipe): Code refactor.
+ (thread_serial): Ditto.
+ * winsup.h (FIXME): Change macro to identify file, function and line.
+ * spawn.cc: Format of FIXME changed.
+ * path.cc (cygwin_conv_to_win32_path): Move the test for a valid path
+ variable before initialization of variables.
+ Free retpath before exiting to fix resource leak.
+
+ 2003-01-24 Earnie Boyd <ea...@us...>
+
+ * path.cc (cygwin_conv_to_win32_path): Use cygheap's cmalloc, crealloc
+ and cfree functions to avoid an apparent malloc misfeature.
+
+ 2003-01-02 Earnie Boyd <ea...@us...>
+
+ * include/cygwin/version.h: Increment version to 1.0.9.
+
2002-12-03 Earnie Boyd <ea...@us...>
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/Makefile.in,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** Makefile.in 11 Dec 2002 00:16:59 -0000 1.1.1.1
--- Makefile.in 24 Feb 2003 22:05:21 -0000 1.1.1.1.2.1
***************
*** 87,97 ****
RUNTESTFLAGS =
! # Parameters used in building the cygwin.dll.
! # We build as new-cygwin.dll and rename at install time to overcome
# native rebuilding issues (we don't want the build tools to see a partially
! # built cygwin.dll and attempt to use it instead of the old one).
! DLL_NAME:=msys-1.0.dll
! LIB_NAME:=libmsys-1.0.dll.a
DEF_FILE:=cygwin.def
DLL_ENTRY:=@DLL_ENTRY@
--- 87,97 ----
RUNTESTFLAGS =
! # Parameters used in building the MSYS dll.
! # We build as new-msys-MAJOR.MINOR.dll and rename at install time to overcome
# native rebuilding issues (we don't want the build tools to see a partially
! # built MSYS dll and attempt to use it instead of the old one).
! DLL_NAME:=msys-1.1.dll
! LIB_NAME:=libmsys-1.1.dll.a
DEF_FILE:=cygwin.def
DLL_ENTRY:=@DLL_ENTRY@
***************
*** 210,214 ****
@ :
! winver_stamp: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
@echo "Making version.o and winver.o";\
$(SHELL) ${word 1,$^} ${word 2,$^} ${word 3,$^} $(WINDRES) && \
--- 210,214 ----
@ :
! winver_stamp: mkvers.sh include/msys/version.h winver.rc $(DLL_OFILES)
@echo "Making version.o and winver.o";\
$(SHELL) ${word 1,$^} ${word 2,$^} ${word 3,$^} $(WINDRES) && \
Index: cygheap.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/cygheap.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** cygheap.cc 11 Dec 2002 00:16:49 -0000 1.1.1.1
--- cygheap.cc 24 Feb 2003 22:05:21 -0000 1.1.1.1.2.1
***************
*** 355,363 ****
if (!etc_changed_h)
{
! path_conv pwd ("/etc");
! etc_changed_h = FindFirstChangeNotification (pwd, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
if (etc_changed_h == INVALID_HANDLE_VALUE)
! system_printf ("Can't open /etc for checking, %E", (char *) pwd,
etc_changed_h);
else if (!DuplicateHandle (hMainProc, etc_changed_h, hMainProc,
--- 355,363 ----
if (!etc_changed_h)
{
! path_conv etc ("/etc");
! etc_changed_h = FindFirstChangeNotification (etc, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
if (etc_changed_h == INVALID_HANDLE_VALUE)
! system_printf ("Can't open /etc for checking, %E", (char *) etc,
etc_changed_h);
else if (!DuplicateHandle (hMainProc, etc_changed_h, hMainProc,
***************
*** 365,369 ****
DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE))
{
! system_printf ("Can't inherit /etc handle, %E", (char *) pwd,
etc_changed_h);
etc_changed_h = INVALID_HANDLE_VALUE;
--- 365,369 ----
DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE))
{
! system_printf ("Can't inherit /etc handle, %E", (char *) etc,
etc_changed_h);
etc_changed_h = INVALID_HANDLE_VALUE;
Index: cygwin.din
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/cygwin.din,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** cygwin.din 11 Dec 2002 00:16:49 -0000 1.1.1.1
--- cygwin.din 24 Feb 2003 22:05:22 -0000 1.1.1.1.2.1
***************
*** 1,3 ****
! LIBRARY "msys-1.0.dll" BASE=0x71000000
EXPORTS
--- 1,3 ----
! LIBRARY "msys-1.1.dll" BASE=0x71000000
EXPORTS
Index: cygwin_version.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/cygwin_version.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** cygwin_version.h 11 Dec 2002 00:16:49 -0000 1.1.1.1
--- cygwin_version.h 24 Feb 2003 22:05:22 -0000 1.1.1.1.2.1
***************
*** 11,15 ****
details. */
! #include <cygwin/version.h>
#ifdef __cplusplus
--- 11,15 ----
details. */
! #include <msys/version.h>
#ifdef __cplusplus
***************
*** 28,32 ****
unsigned short mount_registry;
const char *dll_build_date;
! char shared_id[sizeof (CYGWIN_VERSION_DLL_IDENTIFIER) + 64];
};
--- 28,32 ----
unsigned short mount_registry;
const char *dll_build_date;
! char shared_id[sizeof (DLL_VERSION_IDENTIFIER) + 64];
};
Index: dcrt0.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/dcrt0.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** dcrt0.cc 11 Dec 2002 00:16:49 -0000 1.1.1.1
--- dcrt0.cc 24 Feb 2003 22:05:23 -0000 1.1.1.1.2.1
***************
*** 92,97 ****
struct per_process __cygwin_user_data =
{/* initial_sp */ 0, /* magic_biscuit */ 0,
! /* dll_major */ CYGWIN_VERSION_DLL_MAJOR,
! /* dll_major */ CYGWIN_VERSION_DLL_MINOR,
/* impure_ptr_ptr */ NULL, /* envptr */ NULL,
/* malloc */ export_malloc, /* free */ export_free,
--- 92,97 ----
struct per_process __cygwin_user_data =
{/* initial_sp */ 0, /* magic_biscuit */ 0,
! /* dll_major */ DLL_VERSION_MAJOR,
! /* dll_major */ DLL_VERSION_MINOR,
/* impure_ptr_ptr */ NULL, /* envptr */ NULL,
/* malloc */ export_malloc, /* free */ export_free,
***************
*** 106,111 ****
/* forkee */ 0,
/* hmodule */ NULL,
! /* api_major */ CYGWIN_VERSION_API_MAJOR,
! /* api_minor */ CYGWIN_VERSION_API_MINOR,
/* unused2 */ {0, 0, 0, 0, 0},
/* resourcelocks */ &_reslock, /* threadinterface */ &_mtinterf,
--- 106,111 ----
/* forkee */ 0,
/* hmodule */ NULL,
! /* api_major */ API_VERSION_MAJOR,
! /* api_minor */ API_VERSION_MINOR,
/* unused2 */ {0, 0, 0, 0, 0},
/* resourcelocks */ &_reslock, /* threadinterface */ &_mtinterf,
***************
*** 532,538 ****
/* Complain if older than last incompatible change */
! if (p->dll_major < CYGWIN_VERSION_DLL_EPOCH)
api_fatal ("cygwin DLL and APP are out of sync -- DLL version mismatch %d < %d",
! p->dll_major, CYGWIN_VERSION_DLL_EPOCH);
/* magic_biscuit != 0 if using the old style version numbering scheme. */
--- 532,538 ----
/* Complain if older than last incompatible change */
! if (p->dll_major < DLL_VERSION_EPOCH)
api_fatal ("cygwin DLL and APP are out of sync -- DLL version mismatch %d < %d",
! p->dll_major, DLL_VERSION_EPOCH);
/* magic_biscuit != 0 if using the old style version numbering scheme. */
***************
*** 546,551 ****
p->api_major, cygwin_version.api_major);
! if (CYGWIN_VERSION_DLL_MAKE_COMBINED (p->dll_major, p->dll_minor) <=
! CYGWIN_VERSION_DLL_BAD_SIGNAL_MASK)
signal_shift_subtract = 0;
}
--- 546,551 ----
p->api_major, cygwin_version.api_major);
! if (DLL_VERSION_MAKE_COMBINED (p->dll_major, p->dll_minor) <=
! DLL_VERSION_BAD_SIGNAL_MASK)
signal_shift_subtract = 0;
}
***************
*** 942,953 ****
}
default:
- #if defined (__MSYS__)
fork_info = NULL;
- #else /* !__MSYS__ */
- if (_cygwin_testing)
- fork_info = NULL;
- else if ((fork_info->type & PROC_MAGIC_MASK) == PROC_MAGIC_GENERIC)
- api_fatal ("conflicting versions of cygwin1.dll detected. Use only the most recent version.\n");
- #endif /* !__MSYS__ */
break;
}
--- 942,946 ----
***************
*** 969,973 ****
}
! /* This must be called by anyone who uses LoadLibrary to load msys-1.0.dll */
extern "C" void
msys_dll_init ()
--- 962,966 ----
}
! /* This must be called by anyone who uses LoadLibrary to load msys-1.1.dll */
extern "C" void
msys_dll_init ()
Index: dll_init.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/dll_init.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** dll_init.h 11 Dec 2002 00:16:49 -0000 1.1.1.1
--- dll_init.h 24 Feb 2003 22:05:24 -0000 1.1.1.1.2.1
***************
*** 69,73 ****
int loaded_dlls;
int reload_on_fork;
! dll *operator [] (const char *name);
dll *alloc (HINSTANCE, per_process *, dll_type);
void detach (dll *);
--- 69,73 ----
int loaded_dlls;
int reload_on_fork;
! dll *operator [] (const char *name); // find dll by name
dll *alloc (HINSTANCE, per_process *, dll_type);
void detach (dll *);
Index: dlmalloc.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/dlmalloc.c,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** dlmalloc.c 11 Dec 2002 00:16:51 -0000 1.1.1.1
--- dlmalloc.c 24 Feb 2003 22:05:24 -0000 1.1.1.1.2.1
***************
*** 29,34 ****
*
* $Log$
! * Revision 1.1.1.1 2002/12/11 00:16:51 earnie
! * Copy cygwin
*
* Revision 1.1 2001/04/24 15:25:30 duda
--- 29,34 ----
*
* $Log$
! * Revision 1.1.1.1.2.1 2003/02/24 22:05:24 earnie
! * Merge changes from HEAD
*
* Revision 1.1 2001/04/24 15:25:30 duda
Index: environ.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/environ.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** environ.cc 11 Dec 2002 00:16:52 -0000 1.1.1.1
--- environ.cc 24 Feb 2003 22:05:26 -0000 1.1.1.1.2.1
***************
*** 15,19 ****
#include <fcntl.h>
#include <sys/cygwin.h>
! #include <cygwin/version.h>
#include "sync.h"
#include "sigproc.h"
--- 15,19 ----
#include <fcntl.h>
#include <sys/cygwin.h>
! #include <msys/version.h>
#include "sync.h"
#include "sigproc.h"
***************
*** 43,50 ****
static char **lastenviron;
- #define ENVMALLOC \
- (CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) \
- <= CYGWIN_VERSION_DLL_MALLOC_ENV)
-
/* List of names which are converted from dos to unix
on the way in and back again on the way out.
--- 43,46 ----
***************
*** 268,272 ****
if (!issetenv)
/* Not setenv. Just overwrite existing. */
! envhere = cur_environ ()[offset] = (char *) (ENVMALLOC ? strdup (name) : name);
else
{ /* setenv */
--- 264,268 ----
if (!issetenv)
/* Not setenv. Just overwrite existing. */
! envhere = cur_environ ()[offset] = (char *)name;
else
{ /* setenv */
***************
*** 373,377 ****
for (; p < eq; p++)
if (islower (*p))
! *p = cyg_toupper (*p);
}
--- 369,373 ----
for (; p < eq; p++)
if (islower (*p))
! *p = folded_toupper (*p);
}
***************
*** 570,573 ****
--- 566,572 ----
p = strtok_r (NULL, " \t", &lasts))
{
+ //
+ // Check for negative paramater, e.g. nontsec
+ //
if (!(istrue = !strncasematch (p, "no", 2)))
p += 2;
***************
*** 575,578 ****
--- 574,580 ----
p++;
+ //
+ // Check for value to switch
+ //
char ch, *eq;
if ((eq = strchr (p, '=')) != NULL || (eq = strchr (p, ':')) != NULL)
***************
*** 581,584 ****
--- 583,589 ----
ch = 0;
+ //
+ // Set processing switches based on known parameters
+ //
for (parse_thing *k = known; k->name != NULL; k++)
if (strcasematch (p, k->name))
***************
*** 617,625 ****
p[n] = ':';
k->remember = p;
break;
}
! }
! debug_printf ("returning");
! return;
}
--- 622,631 ----
p[n] = ':';
k->remember = p;
+ //
+ // Exit for loop once we find and process our match.
+ //
break;
}
! }
}
***************
*** 641,646 ****
{
reg_key r1 (HKEY_LOCAL_MACHINE, KEY_READ, "SOFTWARE",
! CYGWIN_INFO_CYGNUS_REGISTRY_NAME,
! CYGWIN_INFO_CYGWIN_REGISTRY_NAME,
CYGWIN_INFO_PROGRAM_OPTIONS_NAME, NULL);
if (r1.get_string (lname, buf, sizeof (buf) - 1, "") == ERROR_SUCCESS)
--- 647,652 ----
{
reg_key r1 (HKEY_LOCAL_MACHINE, KEY_READ, "SOFTWARE",
! MSYS_REGISTRY_ID,
! MSYS_REGISTRY_VERSION,
CYGWIN_INFO_PROGRAM_OPTIONS_NAME, NULL);
if (r1.get_string (lname, buf, sizeof (buf) - 1, "") == ERROR_SUCCESS)
***************
*** 661,666 ****
char *newp;
int sawTERM = 0;
! bool envp_passed_in;
! static char NO_COPY cygterm[] = "TERM=cygwin";
static int initted;
--- 667,671 ----
char *newp;
int sawTERM = 0;
! static char NO_COPY cygterm[] = "TERM=msys";
static int initted;
***************
*** 669,695 ****
for (int i = 0; conv_envvars[i].name != NULL; i++)
{
! conv_start_chars[cyg_tolower(conv_envvars[i].name[0])] = 1;
! conv_start_chars[cyg_toupper(conv_envvars[i].name[0])] = 1;
}
initted = 1;
}
! #if ! __MSYS__
! regopt ("default");
! if (myself->progname[0])
! regopt (myself->progname);
! #endif
!
! #if ! __MSYS__
! #ifdef NTSEC_ON_BY_DEFAULT
! /* Set ntsec explicit as default, if NT is running */
! if (iswinnt)
! allow_ntsec = TRUE;
! #endif
! #endif /* ! __MSYS__ */
!
! if (!envp)
! envp_passed_in = 0;
! else
{
char **newenv = (char **) malloc (envc);
--- 674,684 ----
for (int i = 0; conv_envvars[i].name != NULL; i++)
{
! conv_start_chars[folded_tolower(conv_envvars[i].name[0])] = 1;
! conv_start_chars[folded_toupper(conv_envvars[i].name[0])] = 1;
}
initted = 1;
}
! if (envp)
{
char **newenv = (char **) malloc (envc);
***************
*** 697,711 ****
cfree (envp);
- /* Older applications relied on the fact that cygwin malloced elements of the
- environment list. */
envp = newenv;
- if (ENVMALLOC)
- for (char **e = newenv; *e; e++)
- {
- char *p = *e;
- *e = strdup (p);
- cfree (p);
- }
- envp_passed_in = 1;
goto out;
}
--- 686,690 ----
***************
*** 749,758 ****
__cygwin_environ = envp;
update_envptrs ();
- if (envp_passed_in)
- {
- p = getenv ("CYGWIN");
- if (p)
- parse_options (p);
- }
parse_options (NULL);
MALLOC_CHECK;
--- 728,731 ----
***************
*** 773,779 ****
static const NO_COPY char* forced_winenv_vars [] =
{
- #if __MSYS__
"MSYSTEM",
- #endif /* __MSYS__ */
"SYSTEMDRIVE",
"SYSTEMROOT",
--- 746,750 ----
Index: external.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/external.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** external.cc 11 Dec 2002 00:16:53 -0000 1.1.1.1
--- external.cc 24 Feb 2003 22:05:26 -0000 1.1.1.1.2.1
***************
*** 90,111 ****
}
- static DWORD
- get_cygdrive_info (char *user, char *system, char *user_flags,
- char *system_flags)
- {
- int res = mount_table->get_cygdrive_info (user, system, user_flags,
- system_flags);
- return (res == ERROR_SUCCESS) ? 1 : 0;
- }
-
- static DWORD
- get_cygdrive_prefixes (char *user, char *system)
- {
- char user_flags[MAX_PATH];
- char system_flags[MAX_PATH];
- DWORD res = get_cygdrive_info (user, system, user_flags, system_flags);
- return res;
- }
-
extern "C" DWORD
cygwin_internal (cygwin_getinfo_types t, ...)
--- 90,93 ----
***************
*** 145,155 ****
return 0;
- case CW_GET_CYGDRIVE_PREFIXES:
- {
- char *user = va_arg (arg, char *);
- char *system = va_arg (arg, char *);
- return get_cygdrive_prefixes (user, system);
- }
-
case CW_GETPINFO_FULL:
return (DWORD) fillout_pinfo (va_arg (arg, pid_t), 1);
--- 127,130 ----
***************
*** 158,170 ****
init_exceptions ((exception_list *) arg);
return 0;
-
- case CW_GET_CYGDRIVE_INFO:
- {
- char *user = va_arg (arg, char *);
- char *system = va_arg (arg, char *);
- char *user_flags = va_arg (arg, char *);
- char *system_flags = va_arg (arg, char *);
- return get_cygdrive_info (user, system, user_flags, system_flags);
- }
default:
--- 133,136 ----
Index: fhandler.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** fhandler.cc 11 Dec 2002 00:16:53 -0000 1.1.1.1
--- fhandler.cc 24 Feb 2003 22:05:27 -0000 1.1.1.1.2.1
***************
*** 19,23 ****
#include "perprocess.h"
#include "security.h"
! #include "cygwin/version.h"
#include "fhandler.h"
#include "dtable.h"
--- 19,23 ----
#include "perprocess.h"
#include "security.h"
! #include "msys/version.h"
#include "fhandler.h"
#include "dtable.h"
***************
*** 38,41 ****
--- 38,42 ----
fhandler_base::operator =(fhandler_base &x)
{
+ TRACE_IN;
memcpy (this, &x, sizeof *this);
unix_path_name = x.unix_path_name ? cstrdup (x.unix_path_name) : NULL;
***************
*** 52,55 ****
--- 53,57 ----
fhandler_base::puts_readahead (const char *s, size_t len = (size_t) -1)
{
+ TRACE_IN;
int success = 1;
while ((*s || (len != (size_t) -1 && len--))
***************
*** 62,65 ****
--- 64,68 ----
fhandler_base::put_readahead (char value)
{
+ TRACE_IN;
char *newrabuf;
if (raixput < rabuflen)
***************
*** 78,81 ****
--- 81,85 ----
fhandler_base::get_readahead ()
{
+ TRACE_IN;
int chret = -1;
if (raixget < ralen)
***************
*** 90,93 ****
--- 94,98 ----
fhandler_base::peek_readahead (int queryput)
{
+ TRACE_IN;
int chret = -1;
if (!queryput && raixget < ralen)
***************
*** 101,104 ****
--- 106,110 ----
fhandler_base::set_readahead_valid (int val, int ch = -1)
{
+ TRACE_IN;
if (!val)
ralen = raixget = raixput = 0;
***************
*** 110,113 ****
--- 116,120 ----
fhandler_base::eat_readahead (int n)
{
+ TRACE_IN;
int oralen = ralen;
if (n < 0)
***************
*** 130,133 ****
--- 137,141 ----
fhandler_base::get_readahead_into_buffer (char *buf, size_t buflen)
{
+ TRACE_IN;
int ch;
int copied_chars = 0;
***************
*** 154,157 ****
--- 162,166 ----
fhandler_base::set_name (const char *unix_path, const char *win32_path, int unit)
{
+ TRACE_IN;
if (!no_free_names ())
{
***************
*** 194,197 ****
--- 203,207 ----
is_at_eof (HANDLE h, DWORD err)
{
+ TRACE_IN;
DWORD size, upper1, curr;
***************
*** 216,219 ****
--- 226,230 ----
fhandler_base::raw_read (void *ptr, size_t ulen)
{
+ TRACE_IN;
DWORD bytes_read;
***************
*** 253,256 ****
--- 264,268 ----
fhandler_base::raw_write (const void *ptr, size_t len)
{
+ TRACE_IN;
DWORD bytes_written;
***************
*** 271,274 ****
--- 283,287 ----
fhandler_base::get_default_fmode (int flags)
{
+ TRACE_IN;
if (perfile_table)
{
***************
*** 296,299 ****
--- 309,313 ----
fhandler_base::open (int flags, mode_t mode)
{
+ TRACE_IN;
int res = 0;
HANDLE x;
***************
*** 470,473 ****
--- 484,488 ----
fhandler_base::read (void *in_ptr, size_t in_len)
{
+ TRACE_IN;
int len = (int) in_len;
char *ptr = (char *) in_ptr;
***************
*** 576,579 ****
--- 591,595 ----
fhandler_base::write (const void *ptr, size_t len)
{
+ TRACE_IN;
int res;
***************
*** 690,693 ****
--- 706,710 ----
fhandler_base::lseek (off_t offset, int whence)
{
+ TRACE_IN;
off_t res;
***************
*** 788,791 ****
--- 805,809 ----
fhandler_base::close ()
{
+ TRACE_IN;
int res = -1;
***************
*** 806,809 ****
--- 824,828 ----
fhandler_base::ioctl (unsigned int cmd, void *buf)
{
+ TRACE_IN;
if (cmd == FIONBIO)
syscall_printf ("ioctl (FIONBIO, %p)", buf);
***************
*** 818,821 ****
--- 837,841 ----
fhandler_base::lock (int, struct flock *)
{
+ TRACE_IN;
set_errno (ENOSYS);
return -1;
***************
*** 825,828 ****
--- 845,849 ----
rootdir(char *full_path)
{
+ TRACE_IN;
/* Possible choices:
* d:... -> d:/
***************
*** 858,861 ****
--- 879,883 ----
fhandler_disk_file::fstat (struct stat *buf)
{
+ TRACE_IN;
int res = 0; // avoid a compiler warning
BY_HANDLE_FILE_INFORMATION local;
***************
*** 1030,1033 ****
--- 1052,1056 ----
fhandler_base::init (HANDLE f, DWORD a, mode_t bin)
{
+ TRACE_IN;
set_io_handle (f);
set_r_binary (bin);
***************
*** 1048,1051 ****
--- 1071,1075 ----
fhandler_base::dump (void)
{
+ TRACE_IN;
paranoid_printf ("here");
}
***************
*** 1054,1057 ****
--- 1078,1082 ----
fhandler_base::dup (fhandler_base *child)
{
+ TRACE_IN;
debug_printf ("in fhandler_base dup");
***************
*** 1072,1075 ****
--- 1097,1101 ----
int fhandler_base::fcntl (int cmd, void *arg)
{
+ TRACE_IN;
int res;
***************
*** 1097,1105 ****
const int allowed_flags = O_APPEND | O_NONBLOCK_MASK;
int new_flags = (int) arg & allowed_flags;
- /* Carefully test for the O_NONBLOCK or deprecated OLD_O_NDELAY flag.
- Set only the flag that has been passed in. If both are set, just
- record O_NONBLOCK. */
- if ((new_flags & OLD_O_NDELAY) && (new_flags & O_NONBLOCK))
- new_flags = O_NONBLOCK;
set_flags ((get_flags () & ~allowed_flags) | new_flags);
}
--- 1123,1126 ----
***************
*** 1124,1127 ****
--- 1145,1149 ----
fhandler_base::tcflush (int)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1131,1134 ****
--- 1153,1157 ----
fhandler_base::tcsendbreak (int)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1138,1141 ****
--- 1161,1165 ----
fhandler_base::tcdrain (void)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1145,1148 ****
--- 1169,1173 ----
fhandler_base::tcflow (int)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1152,1155 ****
--- 1177,1181 ----
fhandler_base::tcsetattr (int, const struct termios *)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1159,1162 ****
--- 1185,1189 ----
fhandler_base::tcgetattr (struct termios *)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1166,1169 ****
--- 1193,1197 ----
fhandler_base::tcsetpgrp (const pid_t)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1173,1176 ****
--- 1201,1205 ----
fhandler_base::tcgetpgrp (void)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1180,1183 ****
--- 1209,1213 ----
fhandler_base::operator delete (void *p)
{
+ TRACE_IN;
cfree (p);
return;
***************
*** 1197,1200 ****
--- 1227,1231 ----
open_status (0)
{
+ TRACE_IN;
status = devtype;
int bin = __fmode & O_TEXT ? 0 : 1;
***************
*** 1213,1216 ****
--- 1244,1248 ----
fhandler_base::~fhandler_base (void)
{
+ TRACE_IN;
if (!no_free_names ())
{
***************
*** 1231,1234 ****
--- 1263,1267 ----
fhandler_base (FH_DISK, name)
{
+ TRACE_IN;
set_cb (sizeof *this);
set_no_free_names ();
***************
*** 1239,1242 ****
--- 1272,1276 ----
fhandler_disk_file::open (const char *path, int flags, mode_t mode)
{
+ TRACE_IN;
syscall_printf ("(%s, %p)", path, flags);
***************
*** 1263,1266 ****
--- 1297,1301 ----
fhandler_disk_file::open (path_conv& real_path, int flags, mode_t mode)
{
+ TRACE_IN;
if (get_win32_name () == fhandler_disk_dummy_name)
{
***************
*** 1318,1321 ****
--- 1353,1357 ----
fhandler_disk_file::close ()
{
+ TRACE_IN;
int res = this->fhandler_base::close ();
if (!res)
***************
*** 1341,1344 ****
--- 1377,1381 ----
fhandler_disk_file::lock (int cmd, struct flock *fl)
{
+ TRACE_IN;
int win32_start;
int win32_len;
***************
*** 1486,1489 ****
--- 1523,1527 ----
fhandler_base (FH_NULL, name)
{
+ TRACE_IN;
set_cb (sizeof *this);
}
***************
*** 1492,1495 ****
--- 1530,1534 ----
fhandler_dev_null::dump (void)
{
+ TRACE_IN;
paranoid_printf ("here");
}
***************
*** 1501,1504 ****
--- 1540,1544 ----
fhandler_base (devtype, name)
{
+ TRACE_IN;
set_cb (sizeof *this);
}
***************
*** 1507,1510 ****
--- 1547,1551 ----
fhandler_pipe::lseek (off_t offset, int whence)
{
+ TRACE_IN;
debug_printf ("(%d, %d)", offset, whence);
set_errno (ESPIPE);
***************
*** 1522,1525 ****
--- 1563,1567 ----
#undef nameparm
{
+ TRACE_IN;
HANDLE newh;
***************
*** 1553,1556 ****
--- 1595,1599 ----
fhandler_base::fork_fixup (HANDLE parent, HANDLE &h, const char *name)
{
+ TRACE_IN;
if (!get_close_on_exec ())
debug_printf ("handle %p already opened", h);
***************
*** 1563,1566 ****
--- 1606,1610 ----
fhandler_base::set_close_on_exec (int val)
{
+ TRACE_IN;
set_inheritance (io_handle, val);
set_close_on_exec_flag (val);
***************
*** 1571,1574 ****
--- 1615,1619 ----
fhandler_base::fixup_after_fork (HANDLE parent)
{
+ TRACE_IN;
debug_printf ("inheriting '%s' from parent", get_name ());
fork_fixup (parent, io_handle, "io_handle");
***************
*** 1578,1581 ****
--- 1623,1627 ----
fhandler_base::is_nonblocking ()
{
+ TRACE_IN;
return (openflags & O_NONBLOCK_MASK) != 0;
}
***************
*** 1584,1587 ****
--- 1630,1634 ----
fhandler_base::set_nonblocking (int yes)
{
+ TRACE_IN;
int current = openflags & O_NONBLOCK_MASK;
int new_flags = yes ? (!current ? O_NONBLOCK : current) : 0;
Index: fhandler.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** fhandler.h 11 Dec 2002 00:16:54 -0000 1.1.1.1
--- fhandler.h 24 Feb 2003 22:05:29 -0000 1.1.1.1.2.1
***************
*** 124,135 ****
#define O_DIROPEN 0x100000
- /* newlib used to define O_NDELAY differently from O_NONBLOCK. Now it
- properly defines both to be the same. Unfortunately, we have to
- behave properly the old version, too, to accomodate older executables. */
- #define OLD_O_NDELAY (CYGWIN_VERSION_CHECK_FOR_OLD_O_NONBLOCK ? 4 : 0)
-
/* Care for the old O_NDELAY flag. If one of the flags is set,
both flags are set. */
! #define O_NONBLOCK_MASK (O_NONBLOCK | OLD_O_NDELAY)
extern const char *windows_device_names[];
--- 124,130 ----
#define O_DIROPEN 0x100000
/* Care for the old O_NDELAY flag. If one of the flags is set,
both flags are set. */
! #define O_NONBLOCK_MASK (O_NONBLOCK)
extern const char *windows_device_names[];
Index: fhandler_console.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler_console.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** fhandler_console.cc 11 Dec 2002 00:16:55 -0000 1.1.1.1
--- fhandler_console.cc 24 Feb 2003 22:05:29 -0000 1.1.1.1.2.1
***************
*** 332,336 ****
{
tmp[0] = '\033';
! tmp[1] = cyg_tolower (tmp[1]);
toadd = tmp;
nread++;
--- 332,336 ----
{
tmp[0] = '\033';
! tmp[1] = folded_tolower (tmp[1]);
toadd = tmp;
nread++;
Index: fhandler_raw.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler_raw.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** fhandler_raw.cc 11 Dec 2002 00:16:56 -0000 1.1.1.1
--- fhandler_raw.cc 24 Feb 2003 22:05:29 -0000 1.1.1.1.2.1
***************
*** 15,19 ****
#include <unistd.h>
! #include <cygwin/rdevio.h>
#include <sys/mtio.h>
#include "cygerrno.h"
--- 15,19 ----
#include <unistd.h>
! #include <msys/rdevio.h>
#include <sys/mtio.h>
#include "cygerrno.h"
Index: fhandler_socket.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler_socket.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** fhandler_socket.cc 11 Dec 2002 00:16:56 -0000 1.1.1.1
--- fhandler_socket.cc 24 Feb 2003 22:05:30 -0000 1.1.1.1.2.1
***************
*** 25,29 ****
#include "cygerrno.h"
#include "security.h"
! #include "cygwin/version.h"
#include "perprocess.h"
#include "fhandler.h"
--- 25,29 ----
#include "cygerrno.h"
#include "security.h"
! #include "msys/version.h"
#include "perprocess.h"
#include "fhandler.h"
***************
*** 425,434 ****
case F_SETFL:
{
- /* Carefully test for the O_NONBLOCK or deprecated OLD_O_NDELAY flag.
- Set only the flag that has been passed in. If both are set, just
- record O_NONBLOCK. */
int new_flags = (int) arg & O_NONBLOCK_MASK;
- if ((new_flags & OLD_O_NDELAY) && (new_flags & O_NONBLOCK))
- new_flags = O_NONBLOCK;
current = get_flags () & O_NONBLOCK_MASK;
request = new_flags ? 1 : 0;
--- 425,429 ----
Index: fhandler_termios.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler_termios.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** fhandler_termios.cc 11 Dec 2002 00:16:56 -0000 1.1.1.1
--- fhandler_termios.cc 24 Feb 2003 22:05:31 -0000 1.1.1.1.2.1
***************
*** 302,306 ****
if (tc->ti.c_iflag & IUCLC && isupper (c))
! c = cyg_tolower (c);
if (tc->ti.c_lflag & ECHO)
--- 302,306 ----
if (tc->ti.c_iflag & IUCLC && isupper (c))
! c = folded_tolower (c);
if (tc->ti.c_lflag & ECHO)
Index: fhandler_tty.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler_tty.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** fhandler_tty.cc 11 Dec 2002 00:16:57 -0000 1.1.1.1
--- fhandler_tty.cc 24 Feb 2003 22:05:31 -0000 1.1.1.1.2.1
***************
*** 38,41 ****
--- 38,42 ----
fhandler_pty_master (name, FH_TTYM, unit)
{
+ TRACE_IN;
set_cb (sizeof *this);
console = NULL;
***************
*** 46,49 ****
--- 47,51 ----
fhandler_tty_master::init (int ntty)
{
+ TRACE_IN;
HANDLE h;
termios_printf ("Creating master for tty%d", ntty);
***************
*** 117,120 ****
--- 119,123 ----
DWORD ms)
{
+ TRACE_IN;
if (strace.active)
strace.prntf (_STRACE_TERMIOS, fn, "(%d): tty output_mutex: waiting %d ms", ln, ms);
***************
*** 139,142 ****
--- 142,146 ----
fhandler_tty_common::__release_output_mutex (const char *fn, int ln)
{
+ TRACE_IN;
if (ReleaseMutex (output_mutex))
{
***************
*** 159,162 ****
--- 163,167 ----
fhandler_pty_master::doecho (const void *str, DWORD len)
{
+ TRACE_IN;
acquire_output_mutex (INFINITE);
if (!WriteFile (get_ttyp ()->to_master, str, len, &len, NULL))
***************
*** 169,172 ****
--- 174,178 ----
fhandler_pty_master::accept_input ()
{
+ TRACE_IN;
DWORD bytes_left, written;
DWORD n;
***************
*** 214,217 ****
--- 220,224 ----
process_input (void *)
{
+ TRACE_IN;
char rawbuf[INP_BUFFER_SIZE];
***************
*** 227,230 ****
--- 234,238 ----
fhandler_pty_master::hit_eof ()
{
+ TRACE_IN;
if (get_ttyp ()->was_opened && !get_ttyp ()->slave_alive ())
{
***************
*** 243,246 ****
--- 251,255 ----
fhandler_pty_master::process_slave_output (char *buf, size_t len, int pktmode_on)
{
+ TRACE_IN;
size_t rlen;
char outbuf[OUT_BUFFER_SIZE + 1];
***************
*** 397,400 ****
--- 406,410 ----
process_output (void *)
{
+ TRACE_IN;
char buf[OUT_BUFFER_SIZE*2];
***************
*** 423,426 ****
--- 433,437 ----
process_ioctl (void *)
{
+ TRACE_IN;
while (1)
{
***************
*** 440,443 ****
--- 451,455 ----
fhandler_tty_common (FH_TTYS, name, num)
{
+ TRACE_IN;
set_cb (sizeof *this);
ttynum = num;
***************
*** 454,457 ****
--- 466,470 ----
fhandler_tty_common (FH_TTYS, name, 0)
{
+ TRACE_IN;
set_cb (sizeof *this);
inuse = NULL;
***************
*** 463,466 ****
--- 476,480 ----
fhandler_tty_slave::open (const char *, int flags, mode_t)
{
+ TRACE_IN;
tcinit (cygwin_shared->tty[ttynum]);
***************
*** 566,569 ****
--- 580,584 ----
fhandler_tty_slave::init (HANDLE, DWORD a, mode_t)
{
+ TRACE_IN;
int mode = 0;
***************
*** 582,585 ****
--- 597,601 ----
fhandler_tty_slave::write (const void *ptr, size_t len)
{
+ TRACE_IN;
DWORD n, towrite = len;
***************
*** 636,639 ****
--- 652,656 ----
fhandler_tty_slave::read (void *ptr, size_t len)
{
+ TRACE_IN;
DWORD n;
int totalread = 0;
***************
*** 777,780 ****
--- 794,798 ----
fhandler_tty_common::dup (fhandler_base *child)
{
+ TRACE_IN;
fhandler_tty_slave *fts = (fhandler_tty_slave *) child;
int errind;
***************
*** 874,877 ****
--- 892,896 ----
fhandler_tty_slave::tcgetattr (struct termios *t)
{
+ TRACE_IN;
*t = get_ttyp ()->ti;
return 0;
***************
*** 881,884 ****
--- 900,904 ----
fhandler_tty_slave::tcsetattr (int, const struct termios *t)
{
+ TRACE_IN;
acquire_output_mutex (INFINITE);
get_ttyp ()->ti = *t;
***************
*** 890,893 ****
--- 910,914 ----
fhandler_tty_slave::tcflush (int)
{
+ TRACE_IN;
return 0;
}
***************
*** 896,899 ****
--- 917,921 ----
fhandler_tty_slave::ioctl (unsigned int cmd, void *arg)
{
+ TRACE_IN;
termios_printf ("ioctl (%x)", cmd);
***************
*** 958,961 ****
--- 980,984 ----
fhandler_tty_common (devtype, name, unit)
{
+ TRACE_IN;
set_cb (sizeof *this);
ioctl_request_event = NULL;
***************
*** 968,971 ****
--- 991,995 ----
fhandler_pty_master::open (const char *, int flags, mode_t)
{
+ TRACE_IN;
ttynum = cygwin_shared->tty.allocate_tty (0);
if (ttynum < 0)
***************
*** 984,987 ****
--- 1008,1012 ----
fhandler_tty_common::close ()
{
+ TRACE_IN;
if (output_done_event && !CloseHandle (output_done_event))
termios_printf ("CloseHandle (output_done_event), %E");
***************
*** 1019,1022 ****
--- 1044,1048 ----
fhandler_pty_master::close ()
{
+ TRACE_IN;
#if 0
while (accept_input () > 0)
***************
*** 1047,1050 ****
--- 1073,1077 ----
fhandler_pty_master::write (const void *ptr, size_t len)
{
+ TRACE_IN;
(void) line_edit ((char *) ptr, len);
return len;
***************
*** 1054,1057 ****
--- 1081,1085 ----
fhandler_pty_master::read (void *ptr, size_t len)
{
+ TRACE_IN;
return process_slave_output ((char *) ptr, len, pktmode);
}
***************
*** 1060,1063 ****
--- 1088,1092 ----
fhandler_pty_master::tcgetattr (struct termios *t)
{
+ TRACE_IN;
*t = cygwin_shared->tty[ttynum]->ti;
return 0;
***************
*** 1067,1070 ****
--- 1096,1100 ----
fhandler_pty_master::tcsetattr (int, const struct termios *t)
{
+ TRACE_IN;
cygwin_shared->tty[ttynum]->ti = *t;
return 0;
***************
*** 1074,1077 ****
--- 1104,1108 ----
fhandler_pty_master::tcflush (int)
{
+ TRACE_IN;
return 0;
}
***************
*** 1080,1083 ****
--- 1111,1115 ----
fhandler_pty_master::ioctl (unsigned int cmd, void *arg)
{
+ TRACE_IN;
switch (cmd)
{
***************
*** 1105,1108 ****
--- 1137,1141 ----
fhandler_pty_master::ptsname (void)
{
+ TRACE_IN;
static char buf[32];
***************
*** 1114,1117 ****
--- 1147,1151 ----
fhandler_tty_common::set_close_on_exec (int val)
{
+ TRACE_IN;
#ifndef DEBUGGING
this->fhandler_base::set_close_on_exec (val);
***************
*** 1140,1143 ****
--- 1174,1178 ----
fhandler_tty_common::fixup_after_fork (HANDLE parent)
{
+ TRACE_IN;
this->fhandler_termios::fixup_after_fork (parent);
if (output_done_event)
***************
*** 1165,1168 ****
--- 1200,1204 ----
fhandler_pty_master::set_close_on_exec (int val)
{
+ TRACE_IN;
this->fhandler_tty_common::set_close_on_exec (val);
***************
*** 1180,1183 ****
--- 1216,1220 ----
fhandler_tty_master::fixup_after_fork (HANDLE child)
{
+ TRACE_IN;
this->fhandler_pty_master::fixup_after_fork (child);
console->fixup_after_fork (child);
***************
*** 1187,1190 ****
--- 1224,1228 ----
fhandler_tty_master::fixup_after_exec (HANDLE)
{
+ TRACE_IN;
console->close ();
init_console ();
***************
*** 1195,1198 ****
--- 1233,1237 ----
fhandler_tty_master::init_console ()
{
+ TRACE_IN;
console = (fhandler_console *) cygheap->fdtab.build_fhandler (-1, FH_CONSOLE, "/dev/ttym");
if (console == NULL)
Index: heap.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/heap.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** heap.cc 11 Dec 2002 00:16:58 -0000 1.1.1.1
--- heap.cc 24 Feb 2003 22:05:31 -0000 1.1.1.1.2.1
***************
*** 84,87 ****
--- 84,88 ----
#define pround(n) (((size_t)(n) + page_const) & ~page_const)
+ FIXME;
/* FIXME: This function no longer handles "split heaps". */
Index: ismsys.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/ismsys.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** ismsys.cc 11 Dec 2002 00:16:58 -0000 1.1.1.1
--- ismsys.cc 24 Feb 2003 22:05:32 -0000 1.1.1.1.2.1
***************
*** 8,12 ****
*
* This function returns true or false based on the import section data of
! * the File containing the name msys-1.0.dll.
*/
--- 8,12 ----
*
* This function returns true or false based on the import section data of
! * the File containing the name msys-1.1.dll.
*/
***************
*** 135,139 ****
{
if (!strcmp((char *) PE_Import + impdata[I].name - PE_ImportRva,
! "msys-1.0.dll"))
{
retval = true;
--- 135,139 ----
{
if (!strcmp((char *) PE_Import + impdata[I].name - PE_ImportRva,
! "msys-1.1.dll"))
{
retval = true;
Index: miscfuncs.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/miscfuncs.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** miscfuncs.cc 11 Dec 2002 00:16:59 -0000 1.1.1.1
--- miscfuncs.cc 24 Feb 2003 22:05:32 -0000 1.1.1.1.2.1
***************
*** 53,57 ****
};
! #define ch_case_eq(ch1, ch2) (cyg_tolower(ch1) == cyg_tolower(ch2))
/* Return TRUE if two strings match up to length n */
--- 53,57 ----
};
! #define ch_case_eq(ch1, ch2) (folded_tolower(ch1) == folded_tolower(ch2))
/* Return TRUE if two strings match up to length n */
Index: mkvers.sh
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/mkvers.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** mkvers.sh 11 Dec 2002 00:16:59 -0000 1.1.1.1
--- mkvers.sh 24 Feb 2003 22:05:33 -0000 1.1.1.1.2.1
***************
*** 68,72 ****
#define strval(x) #x
#define str(x) strval(x)
! #define shared_data_version str(CYGWIN_VERSION_SHARED_DATA)
const char *cygwin_version_strings =
--- 68,72 ----
#define strval(x) #x
#define str(x) strval(x)
! #define shared_data_version str(SHARED_DATA_VERSION)
const char *cygwin_version_strings =
***************
*** 92,96 ****
#
! # Look in the source directory containing the include/cygwin/version.h
# and set dir accordingly.
dir=`echo $dir | sed -e 's%/include/cygwin.*$%%' -e 's%include/cygwin.*$%.%'`
--- 92,96 ----
#
! # Look in the source directory containing the include/msys/version.h
# and set dir accordingly.
dir=`echo $dir | sed -e 's%/include/cygwin.*$%%' -e 's%include/cygwin.*$%.%'`
***************
*** 107,111 ****
#
# Scan the version.h file for strings that begin with CYGWIN_INFO or
! # CYGWIN_VERSION. Perform crude parsing on the lines to get the values
# associated with these values and then pipe it into a while loop which
# outputs these values in C palatable format for inclusion in the DLL
--- 107,111 ----
#
# Scan the version.h file for strings that begin with CYGWIN_INFO or
! # DLL_VERSION. Perform crude parsing on the lines to get the values
# associated with these values and then pipe it into a while loop which
# outputs these values in C palatable format for inclusion in the DLL
***************
*** 115,119 ****
#
(sed -n -e 's%#define CYGWIN_INFO_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%_\1\
! \2%p' -e 's%#define CYGWIN_VERSION_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%_\1\
\2%p' $incfile | sed -e 's/["\\]//g' -e '/^_/y/ABCDEFGHIJKLMNOPQRSTUVWXYZ_/abcdefghijklmnopqrstuvwxyz /';
echo ' build date'; echo $build_date; [ -n "$cvs_tag" ] && echo "$cvs_tag";\
--- 115,120 ----
#
(sed -n -e 's%#define CYGWIN_INFO_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%_\1\
! \2%p' -e 's%#define DLL_VERSION_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%DLL \1\
! \2%p' -e 's%#define API_VERSION_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%API \1\
\2%p' $incfile | sed -e 's/["\\]//g' -e '/^_/y/ABCDEFGHIJKLMNOPQRSTUVWXYZ_/abcdefghijklmnopqrstuvwxyz /';
echo ' build date'; echo $build_date; [ -n "$cvs_tag" ] && echo "$cvs_tag";\
***************
*** 140,159 ****
cat <<EOF 1>&9
#ifdef DEBUGGING
! "%%% MSYS shared id: " CYGWIN_VERSION_DLL_IDENTIFIER "S" shared_data_version "-$builddate\n"
#else
! "%%% MSYS shared id: " CYGWIN_VERSION_DLL_IDENTIFIER "S" shared_data_version "\n"
#endif
"END_CYGWIN_VERSION_INFO\n\0";
cygwin_version_info cygwin_version =
{
! CYGWIN_VERSION_API_MAJOR, CYGWIN_VERSION_API_MINOR,
! CYGWIN_VERSION_DLL_MAJOR, CYGWIN_VERSION_DLL_MINOR,
! CYGWIN_VERSION_SHARED_DATA,
CYGWIN_VERSION_MOUNT_REGISTRY,
"$usedate",
#ifdef DEBUGGING
! CYGWIN_VERSION_DLL_IDENTIFIER "S" shared_data_version "-$builddate"
#else
! CYGWIN_VERSION_DLL_IDENTIFIER "S" shared_data_version
#endif
};
--- 141,160 ----
cat <<EOF 1>&9
#ifdef DEBUGGING
! "%%% MSYS shared id: " DLL_VERSION_IDENTIFIER "S" shared_data_version "-$builddate\n"
#else
! "%%% MSYS shared id: " DLL_VERSION_IDENTIFIER "S" shared_data_version "\n"
#endif
"END_CYGWIN_VERSION_INFO\n\0";
cygwin_version_info cygwin_version =
{
! API_VERSION_MAJOR, API_VERSION_MINOR,
! DLL_VERSION_MAJOR, DLL_VERSION_MINOR,
! SHARED_DATA_VERSION,
CYGWIN_VERSION_MOUNT_REGISTRY,
"$usedate",
#ifdef DEBUGGING
! DLL_VERSION_IDENTIFIER "S" shared_data_version "-$builddate"
#else
! DLL_VERSION_IDENTIFIER "S" shared_data_version
#endif
};
***************
*** 161,171 ****
#
! # Generate winver.o using cygwin/version.h information.
# Turn the cygwin major number from some large number to something like 1.1.0.
#
! eval `sed -n 's/^.*dll \(m[ai][jn]or\): \([0-9]*\)[^0-9]*$/\1=\2/p' /tmp/mkvers.$$`
! cygverhigh=`expr $major / 1000`
! cygverlow=`expr $major % 1000`
! cygwin_ver="$cygverhigh.$cygverlow.$minor"
if [ -n "$cvs_tag" ]; then
cvs_tag="`echo $wv_cvs_tag | sed -e 's/-branch.*//'`"
--- 162,172 ----
#
! # Generate winver.o using msys/version.h information.
# Turn the cygwin major number from some large number to something like 1.1.0.
#
! eval `sed -n 's/^.*DLL \(M[AI][JN]OR\): \([0-9]*\)[^0-9]*$/\1=\2/p' /tmp/mkvers.$$`
! cygverhigh=`expr $MAJOR / 1000`
! cygverlow=`expr $MAJOR % 1000`
! cygwin_ver="$cygverhigh.$cygverlow.$MINOR"
if [ -n "$cvs_tag" ]; then
cvs_tag="`echo $wv_cvs_tag | sed -e 's/-branch.*//'`"
***************
*** 175,177 ****
echo "Version $cygwin_ver"
set -$- $builddate
! $windres --include-dir $dir/../w32api/include --include-dir $dir/include --define CYGWIN_BUILD_DATE="$1" --define CYGWIN_BUILD_TIME="$2" --define CYGWIN_VERSION='"'"$cygwin_ver"'"' $rcfile winver.o
--- 176,178 ----
echo "Version $cygwin_ver"
set -$- $builddate
! $windres --include-dir $dir/../w32api/include --include-dir $dir/include --define DLL_BUILD_DATE="$1" --define DLL_BUILD_TIME="$2" --define MSYS_VERSION='"'"$cygwin_ver"'"' $rcfile winver.o
Index: mmap.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/mmap.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** mmap.cc 11 Dec 2002 00:17:00 -0000 1.1.1.1
--- mmap.cc 24 Feb 2003 22:05:33 -0000 1.1.1.1.2.1
***************
*** 757,761 ****
cygwin_conv_to_full_posix_path (get_name (), namebuf);
for (int i = strlen (namebuf) - 1; i >= 0; --i)
! namebuf[i] = cyg_tolower (namebuf [i]);
if (!(h = OpenFileMapping (access, TRUE, namebuf)))
--- 757,761 ----
cygwin_conv_to_full_posix_path (get_name (), namebuf);
for (int i = strlen (namebuf) - 1; i >= 0; --i)
! namebuf[i] = folded_tolower (namebuf [i]);
if (!(h = OpenFileMapping (access, TRUE, namebuf)))
Index: path.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/path.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** path.cc 11 Dec 2002 00:17:02 -0000 1.1.1.1
--- path.cc 24 Feb 2003 22:05:35 -0000 1.1.1.1.2.1
***************
*** 71,75 ****
#include <winnetwk.h>
#include <sys/cygwin.h>
! #include <cygwin/version.h>
#include "cygerrno.h"
#include "perprocess.h"
--- 71,75 ----
#include <winnetwk.h>
#include <sys/cygwin.h>
! #include <msys/version.h>
#include "cygerrno.h"
#include "perprocess.h"
***************
*** 117,129 ****
int pcheck_case = PCHECK_RELAXED; /* Determines the case check behaviour. */
- /* Determine if path prefix matches current cygdrive */
- #define iscygdrive(path) \
- (path_prefix_p (mount_table->cygdrive, (path), mount_table->cygdrive_len))
-
- #define iscygdrive_device(path) \
- (iscygdrive(path) && isalpha(path[mount_table->cygdrive_len]) && \
- (isdirsep(path[mount_table->cygdrive_len + 1]) || \
- !path[mount_table->cygdrive_len + 1]))
-
/* Return non-zero if PATH1 is a prefix of PATH2.
Both are assumed to be of the same path style and / vs \ usage.
--- 117,120 ----
***************
*** 911,915 ****
{
devn = FH_FLOPPY;
! unit = cyg_tolower (w32path[4]) - 'a';
}
else if (strncasematch (w32path, "\\\\.\\physicaldrive", 17))
--- 902,906 ----
{
devn = FH_FLOPPY;
! unit = folded_tolower (w32path[4]) - 'a';
}
else if (strncasematch (w32path, "\\\\.\\physicaldrive", 17))
***************
*** 1247,1252 ****
had_to_create_mount_areas = 0;
! /* Fetch the mount table and cygdrive-related information from
! the registry. */
from_registry ();
}
--- 1238,1242 ----
had_to_create_mount_areas = 0;
! /* Fetch the mount table information from the registry. */
from_registry ();
}
***************
*** 1388,1404 ****
}
- /* Check if the cygdrive prefix was specified. If so, just strip
- off the prefix and transform it into an MS-DOS path. */
- MALLOC_CHECK;
- #if ! NEW_PATH_METHOD
- if (iscygdrive_device (pathbuf))
- {
- if (!cygdrive_win32_path (pathbuf, dst, 0))
- return ENOENT;
- *flags = cygdrive_flags;
- goto out;
- }
- #endif
-
int chrooted_path_len;
chrooted_path_len = 0;
--- 1378,1381 ----
***************
*** 1488,1537 ****
}
- /* cygdrive_posix_path: Build POSIX path used as the
- mount point for cygdrives created when there is no other way to
- obtain a POSIX path from a Win32 one. */
-
- void
- mount_info::cygdrive_posix_path (const char *src, char *dst, int trailing_slash_p)
- {
- TRACE_IN;
- int len = cygdrive_len;
-
- memcpy (dst, cygdrive, len + 1);
-
- /* Now finish the path off with the drive letter to be used.
- The cygdrive prefix always ends with a trailing slash so
- the drive letter is added after the path. */
- dst[len++] = cyg_tolower (src[0]);
- if (!src[2] || (SLASH_P (src[2]) && !src[3]))
- dst[len++] = '\000';
- else
- {
- int n;
- dst[len++] = '/';
- if (SLASH_P (src[2]))
- n = 3;
- else
- n = 2;
- strcpy (dst + len, src + n);
- }
- slashify (dst, dst, trailing_slash_p);
- }
-
- int
- mount_info::cygdrive_win32_path (const char *src, char *dst, int trailing_slash_p)
- {
- TRACE_IN;
- const char *p = src + cygdrive_len;
- if (!isalpha (*p) || (!isdirsep (p[1]) && p[1]))
- return 0;
- dst[0] = *p;
- dst[1] = ':';
- strcpy (dst + 2, p + 1);
- backslashify (dst, dst, trailing_slash_p || !dst[2]);
- debug_printf ("src '%s', dst '%s'", src, dst);
- return 1;
- }
-
/* conv_to_posix_path: Ensure src_path is a POSIX path.
--- 1465,1468 ----
***************
*** 1647,1658 ****
caller must want an absolute path (otherwise we would have returned
above). So we always return an absolute path at this point. */
! if (isdrive (pathbuf))
! cygdrive_posix_path (pathbuf, posix_path, trailing_slash_p);
! else
! {
! /* The use of src_path and not pathbuf here is intentional.
! We couldn't translate the path, so just ensure no \'s are present. */
! slashify (src_path, posix_path, trailing_slash_p);
! }
out:
--- 1578,1585 ----
caller must want an absolute path (otherwise we would have returned
above). So we always return an absolute path at this point. */
!
! /* The use of src_path and not pathbuf here is intentional.
! We couldn't translate the path, so just ensure no \'s are present. */
! slashify (src_path, posix_path, trailing_slash_p);
out:
***************
*** 1696,1700 ****
mount_flags |= MOUNT_BINARY;
! AbsDllPath ("msys-1.0.dll", DllPath, sizeof (DllPath));
{
char *ptr;
--- 1623,1627 ----
mount_flags |= MOUNT_BINARY;
! AbsDllPath ("msys-1.1.dll", DllPath, sizeof (DllPath));
{
char *ptr;
***************
*** 1800,1805 ****
}
! /* from_registry: Build the entire mount table from the registry. Also,
! read in cygdrive-related information from its registry location. */
void
--- 1727,1731 ----
}
! /* from_registry: Build the entire mount table from the registry. */
void
***************
*** 1862,1905 ****
}
- /* read_cygdrive_info_from_registry: Read the default prefix and flags
- to use when creating cygdrives from the special user registry
- location used to store cygdrive information. */
-
- void
- mount_info::read_cygdrive_info_from_registry ()
- {
- TRACE_IN;
- set_errno(ENOSYS);
- }
-
- /* write_cygdrive_info_to_registry: Write the default prefix and flags
- to use when creating cygdrives to the special user registry
- location used to store cygdrive information. */
-
- int
- mount_info::write_cygdrive_info_to_registry (const char *cygdrive_prefix, unsigned flags)
- {
- TRACE_IN;
- set_errno(ENOSYS);
- return -1;
- }
-
- int
- mount_info::remove_cygdrive_info_from_registry (const char *cygdrive_prefix, unsigned flags)
- {
- TRACE_IN;
- set_errno(ENOSYS);
- return -1;
- }
-
- int
- mount_info::get_cygdrive_info (char *user, char *system, char* user_flags,
- char* system_flags)
- {
- TRACE_IN;
- set_errno(ENOSYS);
- return -1;
- }
-
static mount_item *mounts_for_sort;
--- 1788,1791 ----
***************
*** 2172,2176 ****
strcat (_reent_winsup ()->mnt_opts, (char *) ",exec");
! if ((flags & MOUNT_AUTO)) /* cygdrive */
strcat (_reent_winsup ()->mnt_opts, (char *) ",noumount");
--- 2058,2062 ----
strcat (_reent_winsup ()->mnt_opts, (char *) ",exec");
! if ((flags & MOUNT_AUTO))
strcat (_reent_winsup ()->mnt_opts, (char *) ",noumount");
***************
*** 2189,2223 ****
}
- static struct mntent *
- cygdrive_getmntent ()
- {
- TRACE_IN;
- char native_path[4];
- char posix_path[MAX_PATH];
- DWORD mask = 1, drive = 'a';
- struct mntent *ret = NULL;
-
- while (available_drives)
- {
- for (/* nothing */; drive <= 'z'; mask <<= 1, drive++)
- if (available_drives & mask)
- break;
-
- __small_sprintf (native_path, "%c:\\", drive);
- if (GetDriveType (native_path) == DRIVE_REMOVABLE ||
- GetFileAttributes (native_path) == (DWORD) -1)
- {
- available_drives &= ~mask;
- continue;
- }
- native_path[2] = '\0';
- __small_sprintf (posix_path, "%s%c", mount_table->cygdrive, drive);
- ret = fillout_mntent (native_path, posix_path, mount_table->cygdrive_flags);
- break;
- }
-
- return ret;
- }
-
struct mntent *
mount_info::getmntent (int x)
--- 2075,2078 ----
***************
*** 2225,2230 ****
TRACE_IN;
if (x < 0 || x >= nmounts)
! return cygdrive_getmntent ();
!
return mount[native_sorted[x]].getmntent ();
}
--- 2080,2084 ----
TRACE_IN;
if (x < 0 || x >= nmounts)
! return NULL;
return mount[native_sorted[x]].getmntent ();
}
***************
*** 2287,2303 ****
TRACE_IN;
int res = -1;
!
! if (flags & MOUNT_AUTO)
! {
! /* When flags include MOUNT_AUTO, take this to mean that we actually want
! to remove the cygdrive prefix and flags without actually unmounting
! anything. */
! res = mount_table->remove_cygdrive_info_from_registry (path, flags);
! }
! else
! {
! res = mount_table->del_item (path, flags, TRUE);
! }
!
syscall_printf ("%d = cygwin_umount (%s, %d)", res, path, flags);
return res;
--- 2141,2145 ----
TRACE_IN;
int res = -1;
! res = mount_table->del_item (path, flags, TRUE);
syscall_printf ("%d = cygwin_umount (%s, %d)", res, path, flags);
return res;
***************
*** 2881,2885 ****
char *nn, *newname = (char *) alloca (strlen (name) + 2);
nn = newname;
! *nn = isupper (*name) ? cyg_tolower (*name) : *name;
*++nn = ':';
name += 2;
--- 2723,2727 ----
char *nn, *newname = (char *) alloca (strlen (name) + 2);
nn = newname;
! *nn = isupper (*name) ? folded_tolower (*name) : *name;
*++nn = ':';
name += 2;
***************
*** 2910,2914 ****
do
{
! int ch = cyg_tolower(*name);
hash += ch + (ch << 17);
hash ^= hash >> 2;
--- 2752,2756 ----
do
{
! int ch = folded_tolower(*name);
hash += ch + (ch << 17);
hash ^= hash >> 2;
***************
*** 3120,3123 ****
--- 2962,2972 ----
{
TRACE_IN;
+
+ if (!path || !*path)
+ {
+ *win32_path = '\0';
+ return 0;
+ }
+
static bool path_list_found = false;
static bool path_changed = false;
***************
*** 3125,3132 ****
char *sptr;
char * sspath;
! char *swin32_path = (char *)calloc (1, MAX_PATH);
int swin32_pathlen;
// retpath will be what sets win32_path before exiting.
! char *retpath = (char *)calloc (1, MAX_PATH);
int retpath_len = 0;
int retpath_buflen = MAX_PATH;
--- 2974,2982 ----
char *sptr;
char * sspath;
! char *swin32_path = (char *)cmalloc (HEAP_STR, MAX_PATH);
! memset (swin32_path, 0, MAX_PATH);
int swin32_pathlen;
// retpath will be what sets win32_path before exiting.
! char *retpath = (char *)cmalloc (HEAP_STR, MAX_PATH);
int retpath_len = 0;
int retpath_buflen = MAX_PATH;
***************
*** 3141,3145 ****
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)realloc (retpath, retpath_buflen); \
} \
strcat (retpath, retstr);
--- 2991,2995 ----
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)crealloc (retpath, retpath_buflen); \
} \
strcat (retpath, retstr);
***************
*** 3156,3169 ****
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)realloc (retpath, retpath_buflen); \
} \
strcpy (retpath, retstr);
- if (!path || !*path)
- {
- *win32_path = '\0';
- return 0;
- }
-
*win32_path = '\0';
--- 3006,3013 ----
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)crealloc (retpath, retpath_buflen); \
} \
strcpy (retpath, retstr);
*win32_path = '\0';
***************
*** 3463,3469 ****
if (swin32_path)
! free (swin32_path);
! *retpath = '\0';
! retpath_len = 0;
return retval;
}
--- 3307,3313 ----
if (swin32_path)
! cfree(swin32_path);
! if (retpath)
! cfree(retpath);
return retval;
}
Index: path.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/path.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** path.h 11 Dec 2002 00:17:02 -0000 1.1.1.1
--- path.h 24 Feb 2003 22:05:37 -0000 1.1.1.1.2.1
***************
*** 84,88 ****
// FIXME-1.0:
// Need to change iscygexec based on whether or not the .exe contains
! // a msys-1.0.dll or not. When this fix occurs, changes to spawn.cc
// with a FIXME-1.0 designator will need to occur.
int iscygexec () const {return path_flags & PATH_CYGWIN_EXEC;}
--- 84,88 ----
// FIXME-1.0:
// Need to change iscygexec based on whether or not the .exe contains
! // a msys-1.1.dll or not. When this fix occurs, changes t...
[truncated message content] |
|
From: <ea...@us...> - 2003-02-24 22:07:00
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv29722/lib
Modified Files:
Tag: r1_1_0
_cygwin_crt0_common.cc dll_entry.c
Log Message:
Merge changes from HEAD
Index: _cygwin_crt0_common.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/lib/_cygwin_crt0_common.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** _cygwin_crt0_common.cc 11 Dec 2002 00:17:15 -0000 1.1.1.1
--- _cygwin_crt0_common.cc 24 Feb 2003 22:06:20 -0000 1.1.1.1.2.1
***************
*** 11,15 ****
#include "winsup.h"
#include "perprocess.h"
! #include "cygwin/version.h"
#include "crt0.h"
#include <reent.h>
--- 11,15 ----
#include "winsup.h"
#include "perprocess.h"
! #include "msys/version.h"
#include "crt0.h"
#include <reent.h>
***************
*** 54,61 ****
/* cygwin.dll version number in effect at the time the app was created. */
! u->dll_major = CYGWIN_VERSION_DLL_MAJOR;
! u->dll_minor = CYGWIN_VERSION_DLL_MINOR;
! u->api_major = CYGWIN_VERSION_API_MAJOR;
! u->api_minor = CYGWIN_VERSION_API_MINOR;
u->ctors = &__CTOR_LIST__;
--- 54,61 ----
/* cygwin.dll version number in effect at the time the app was created. */
! u->dll_major = DLL_VERSION_MAJOR;
! u->dll_minor = DLL_VERSION_MINOR;
! u->api_major = API_VERSION_MAJOR;
! u->api_minor = API_VERSION_MINOR;
u->ctors = &__CTOR_LIST__;
Index: dll_entry.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/lib/dll_entry.c,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** dll_entry.c 11 Dec 2002 00:17:14 -0000 1.1.1.1
--- dll_entry.c 24 Feb 2003 22:06:22 -0000 1.1.1.1.2.1
***************
*** 13,17 ****
one. */
! #include "cygwin/cygwin_dll.h"
DECLARE_CYGWIN_DLL (DllMain);
--- 13,17 ----
one. */
! #include "msys/cygwin_dll.h"
DECLARE_CYGWIN_DLL (DllMain);
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys/include/sys
In directory sc8-pr-cvs1:/tmp/cvs-serv29722/include/sys
Modified Files:
Tag: r1_1_0
acl.h mtio.h procfs.h socket.h termios.h
Log Message:
Merge changes from HEAD
Index: acl.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/sys/acl.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** acl.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- acl.h 24 Feb 2003 22:06:09 -0000 1.1.1.1.2.1
***************
*** 13,17 ****
#define _SYS_ACL_H
! #include <cygwin/acl.h>
#endif /* _SYS_ACL_H */
--- 13,17 ----
#define _SYS_ACL_H
! #include <msys/acl.h>
#endif /* _SYS_ACL_H */
Index: mtio.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/sys/mtio.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** mtio.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- mtio.h 24 Feb 2003 22:06:12 -0000 1.1.1.1.2.1
***************
*** 14,18 ****
#define _SYS_MTIO_H
! #include <cygwin/mtio.h>
#endif /* _SYS_MTIO_H */
--- 14,18 ----
#define _SYS_MTIO_H
! #include <msys/mtio.h>
#endif /* _SYS_MTIO_H */
Index: procfs.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/sys/procfs.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** procfs.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- procfs.h 24 Feb 2003 22:06:15 -0000 1.1.1.1.2.1
***************
*** 14,18 ****
#define _SYS_PROCFS_H
! #include <cygwin/core_dump.h>
#endif /* _SYS_PROCFS_H */
--- 14,18 ----
#define _SYS_PROCFS_H
! #include <msys/core_dump.h>
#endif /* _SYS_PROCFS_H */
Index: socket.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/sys/socket.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** socket.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- socket.h 24 Feb 2003 22:06:17 -0000 1.1.1.1.2.1
***************
*** 13,17 ****
#include <features.h>
! #include <cygwin/socket.h>
#include <sys/time.h>
--- 13,17 ----
#include <features.h>
! #include <msys/socket.h>
#include <sys/time.h>
Index: termios.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/sys/termios.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** termios.h 11 Dec 2002 00:17:14 -0000 1.1.1.1
--- termios.h 24 Feb 2003 22:06:18 -0000 1.1.1.1.2.1
***************
*** 224,273 ****
};
- #ifdef CYGWIN_VERSION_DLL_IS_OLD_TERMIOS
- #ifdef __GNUC__
# define __tonew_termios(ti) \
({ \
struct termios *__newti; \
! \
! if (!CYGWIN_VERSION_DLL_IS_OLD_TERMIOS) \
! __newti = (struct termios *) ti; \
! else \
! { \
! __newti = (struct termios *) alloca(sizeof(struct termios)); \
! __newti->c_iflag = ((struct __oldtermios *)ti)->c_iflag; \
! __newti->c_oflag = ((struct __oldtermios *)ti)->c_oflag; \
! __newti->c_cflag = ((struct __oldtermios *)ti)->c_cflag; \
! __newti->c_lflag = ((struct __oldtermios *)ti)->c_lflag; \
! __newti->c_line = ((struct __oldtermios *)ti)->c_line; \
! __newti->c_ispeed = ((struct __oldtermios *)ti)->c_ispeed; \
! __newti->c_ospeed = ((struct __oldtermios *)ti)->c_ospeed; \
! memcpy (__newti->c_cc, ((struct __oldtermios *)ti)->c_cc, sizeof(__newti->c_cc)); \
! } \
__newti; \
})
! # define __makenew_termios(ti) \
! (CYGWIN_VERSION_DLL_IS_OLD_TERMIOS ? \
! (struct termios *) alloca (sizeof (struct termios)) : (ti))
# define __toapp_termios(toti, fromti) \
({ \
! if (!CYGWIN_VERSION_DLL_IS_OLD_TERMIOS) \
! toti = fromti; \
! else \
! { \
! ((struct __oldtermios *)toti)->c_iflag = fromti->c_iflag; \
! ((struct __oldtermios *)toti)->c_oflag = fromti->c_oflag; \
! ((struct __oldtermios *)toti)->c_cflag = fromti->c_cflag; \
! ((struct __oldtermios *)toti)->c_lflag = fromti->c_lflag; \
! ((struct __oldtermios *)toti)->c_line = fromti->c_line; \
! ((struct __oldtermios *)toti)->c_ispeed = fromti->c_ispeed; \
! ((struct __oldtermios *)toti)->c_ospeed = fromti->c_ospeed; \
! memcpy (((struct __oldtermios*)toti)->c_cc, fromti->c_cc, sizeof(fromti->c_cc)); \
! } \
toti; \
})
- #endif /*__GNUC__*/
- #endif
#define termio termios
--- 224,241 ----
};
# define __tonew_termios(ti) \
({ \
struct termios *__newti; \
! __newti = (struct termios *) ti; \
__newti; \
})
! # define __makenew_termios(ti) ((ti))
# define __toapp_termios(toti, fromti) \
({ \
! toti = fromti; \
toti; \
})
#define termio termios
|
|
From: <ea...@us...> - 2003-02-24 22:06:53
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys
In directory sc8-pr-cvs1:/tmp/cvs-serv29722/include/msys
Modified Files:
Tag: r1_1_0
acl.h core_dump.h cygwin_dll.h if.h in.h in_systm.h mtio.h
rdevio.h socket.h types.h version.h
Log Message:
Merge changes from HEAD
Index: acl.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/acl.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** acl.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- acl.h 24 Feb 2003 22:05:58 -0000 1.1.1.1.2.1
***************
*** 1,3 ****
! /* cygwin/acl.h header file for Cygwin.
Copyright 1999, 2000, 2001 Red Hat, Inc.
--- 1,3 ----
! /* msys/acl.h header file for Cygwin.
Copyright 1999, 2000, 2001 Red Hat, Inc.
***************
*** 10,18 ****
details. */
! #ifndef _CYGWIN_ACL_H
#ifdef __cplusplus
extern "C" {
#endif
! #define _CYGWIN_ACL_H
#include <_ansi.h>
--- 10,18 ----
details. */
! #ifndef _MSYS_ACL_H
#ifdef __cplusplus
extern "C" {
#endif
! #define _MSYS_ACL_H
#include <_ansi.h>
***************
*** 80,82 ****
}
#endif
! #endif /* _CYGWIN_ACL_H */
--- 80,82 ----
}
#endif
! #endif /* _MSYS_ACL_H */
Index: core_dump.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/core_dump.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** core_dump.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- core_dump.h 24 Feb 2003 22:05:59 -0000 1.1.1.1.2.1
***************
*** 11,16 ****
details. */
! #ifndef _CYGWIN_CORE_DUMP_H
! #define _CYGWIN_CORE_DUMP_H
#include <windows.h>
--- 11,16 ----
details. */
! #ifndef _MSYS_CORE_DUMP_H
! #define _MSYS_CORE_DUMP_H
#include <windows.h>
***************
*** 71,73 ****
typedef struct win32_pstatus win32_pstatus_t ;
! #endif /* _CYGWIN_CORE_DUMP_H */
--- 71,73 ----
typedef struct win32_pstatus win32_pstatus_t ;
! #endif /* _MSYS_CORE_DUMP_H */
Index: cygwin_dll.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/cygwin_dll.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** cygwin_dll.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- cygwin_dll.h 24 Feb 2003 22:05:59 -0000 1.1.1.1.2.1
***************
*** 9,14 ****
details. */
! #ifndef __CYGWIN_CYGWIN_DLL_H__
! #define __CYGWIN_CYGWIN_DLL_H__
#include <windows.h>
--- 9,14 ----
details. */
! #ifndef __MSYS_CYGWIN_DLL_H__
! #define __MSYS_CYGWIN_DLL_H__
#include <windows.h>
***************
*** 92,94 ****
} \
! #endif /* __CYGWIN_CYGWIN_DLL_H__ */
--- 92,94 ----
} \
! #endif /* __MSYS_CYGWIN_DLL_H__ */
Index: if.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/if.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** if.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- if.h 24 Feb 2003 22:06:00 -0000 1.1.1.1.2.1
***************
*** 1,3 ****
! /* cygwin/if.h
Copyright 1996, 2001 Red Hat, Inc.
--- 1,3 ----
! /* msys/if.h
Copyright 1996, 2001 Red Hat, Inc.
***************
*** 9,14 ****
details. */
! #ifndef _CYGWIN_IF_H_
! #define _CYGWIN_IF_H_
#ifdef __cplusplus
--- 9,14 ----
details. */
! #ifndef _MSYS_IF_H_
! #define _MSYS_IF_H_
#ifdef __cplusplus
***************
*** 88,90 ****
#endif /* __cplusplus */
! #endif /* _CYGWIN_IF_H_ */
--- 88,90 ----
#endif /* __cplusplus */
! #endif /* _MSYS_IF_H_ */
Index: in.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/in.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** in.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- in.h 24 Feb 2003 22:06:01 -0000 1.1.1.1.2.1
***************
*** 16,23 ****
* 2 of the License, or (at your option) any later version.
*/
! #ifndef _CYGWIN_IN_H
! #define _CYGWIN_IN_H
! #include <cygwin/types.h>
/* Standard well-defined IP protocols. */
--- 16,23 ----
* 2 of the License, or (at your option) any later version.
*/
! #ifndef _MSYS_IN_H
! #define _MSYS_IN_H
! #include <msys/types.h>
/* Standard well-defined IP protocols. */
***************
*** 186,188 ****
};
! #endif /* _CYGWIN_IN_H */
--- 186,188 ----
};
! #endif /* _MSYS_IN_H */
Index: in_systm.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/in_systm.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** in_systm.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- in_systm.h 24 Feb 2003 22:06:01 -0000 1.1.1.1.2.1
***************
*** 11,16 ****
* 2 of the License, or (at your option) any later version.
*/
! #ifndef _CYGWIN_IN_SYSTM_H
! #define _CYGWIN_IN_SYSTM_H
#include <sys/cdefs.h>
--- 11,16 ----
* 2 of the License, or (at your option) any later version.
*/
! #ifndef _MSYS_IN_SYSTM_H
! #define _MSYS_IN_SYSTM_H
#include <sys/cdefs.h>
***************
*** 32,34 ****
__END_DECLS
! #endif /* _CYGWIN_IN_SYSTM_H */
--- 32,34 ----
__END_DECLS
! #endif /* _MSYS_IN_SYSTM_H */
Index: mtio.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/mtio.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** mtio.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- mtio.h 24 Feb 2003 22:06:01 -0000 1.1.1.1.2.1
***************
*** 1,3 ****
! /* cygwin/mtio.h
Copyright 1999, 2001 Red Hat, Inc.
--- 1,3 ----
! /* msys/mtio.h
Copyright 1999, 2001 Red Hat, Inc.
***************
*** 11,20 ****
details. */
! /* cygwin/mtio.h header file for Cygwin.
by C. Vinschen. */
! #ifndef _CYGWIN_MTIO_H
! #define _CYGWIN_MTIO_H
#include <sys/ioctl.h>
--- 11,20 ----
details. */
! /* msys/mtio.h header file for Cygwin.
by C. Vinschen. */
! #ifndef _MSYS_MTIO_H
! #define _MSYS_MTIO_H
#include <sys/ioctl.h>
***************
*** 197,199 ****
}
! #endif /* _CYGWIN_MTIO_H */
--- 197,199 ----
}
! #endif /* _MSYS_MTIO_H */
Index: rdevio.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/rdevio.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** rdevio.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- rdevio.h 24 Feb 2003 22:06:02 -0000 1.1.1.1.2.1
***************
*** 1,3 ****
! /* cygwin/rdevio.h
Copyright 1999, 2001 Red Hat, Inc.
--- 1,3 ----
! /* msys/rdevio.h
Copyright 1999, 2001 Red Hat, Inc.
***************
*** 12,22 ****
/*
! * cygwin/rdevio.h header file for Cygwin.
*
* Written by C. Vinschen.
*/
! #ifndef _CYGWIN_RDEVIO_H
! #define _CYGWIN_RDEVIO_H
/* structure for RDIOCDOP - raw device operation */
--- 12,22 ----
/*
! * msys/rdevio.h header file for Cygwin.
*
* Written by C. Vinschen.
*/
! #ifndef _MSYS_RDEVIO_H
! #define _MSYS_RDEVIO_H
/* structure for RDIOCDOP - raw device operation */
***************
*** 40,42 ****
#define RDIOCGET _IOR('r', 129, struct rdget)
! #endif /* _CYGWIN_RDEVIO_H */
--- 40,42 ----
#define RDIOCGET _IOR('r', 129, struct rdget)
! #endif /* _MSYS_RDEVIO_H */
Index: socket.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/socket.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** socket.h 11 Dec 2002 00:17:53 -0000 1.1.1.1
--- socket.h 24 Feb 2003 22:06:02 -0000 1.1.1.1.2.1
***************
*** 1,3 ****
! /* cygwin/socket.h
Copyright 1999, 2000, 2001 Red Hat, Inc.
--- 1,3 ----
! /* msys/socket.h
Copyright 1999, 2000, 2001 Red Hat, Inc.
***************
*** 9,14 ****
details. */
! #ifndef _CYGWIN_SOCKET_H
! #define _CYGWIN_SOCKET_H
#ifdef __cplusplus
--- 9,14 ----
details. */
! #ifndef _MSYS_SOCKET_H
! #define _MSYS_SOCKET_H
#ifdef __cplusplus
***************
*** 22,27 ****
#include <asm/socket.h> /* arch-dependent defines */
! #include <cygwin/sockios.h> /* the SIOCxxx I/O controls */
! #include <cygwin/uio.h> /* iovec support */
#include <sys/types.h>
--- 22,27 ----
#include <asm/socket.h> /* arch-dependent defines */
! #include <msys/sockios.h> /* the SIOCxxx I/O controls */
! #include <msys/uio.h> /* iovec support */
#include <sys/types.h>
***************
*** 161,163 ****
#endif /* __cplusplus */
! #endif /* _CYGWIN_SOCKET_H */
--- 161,163 ----
#endif /* __cplusplus */
! #endif /* _MSYS_SOCKET_H */
Index: types.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/types.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** types.h 11 Dec 2002 00:17:54 -0000 1.1.1.1
--- types.h 24 Feb 2003 22:06:03 -0000 1.1.1.1.2.1
***************
*** 10,13 ****
--- 10,16 ----
details. */
+ #ifndef _MSYS_TYPES_H
+ #define _MSYS_TYPES_H
+
#ifdef __cplusplus
extern "C"
***************
*** 15,22 ****
#endif
! #ifndef _CYGWIN_TYPES_H
! #define _CYGWIN_TYPES_H
!
! #if !(defined(__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)) || !defined(__cplusplus)
typedef void *pthread_t;
--- 18,22 ----
#endif
! #if !defined (__INSIDE_MSYS__) || !defined(__cplusplus)
typedef void *pthread_t;
***************
*** 56,63 ****
/* semaphores types */
typedef class semaphore *sem_t;
- #endif /* __INSIDE_CYGWIN__ */
- #endif /* _CYGWIN_TYPES_H */
#ifdef __cplusplus
}
#endif
--- 56,64 ----
/* semaphores types */
typedef class semaphore *sem_t;
#ifdef __cplusplus
}
#endif
+
+ #endif /* __INSIDE_MSYS__ */
+ #endif /* _MSYS_TYPES_H */
Index: version.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/msys/version.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** version.h 11 Dec 2002 00:17:54 -0000 1.1.1.1
--- version.h 24 Feb 2003 22:06:03 -0000 1.1.1.1.2.1
***************
*** 45,91 ****
/* The current msys version is 1.0.7 */
! #define CYGWIN_VERSION_DLL_MAJOR 1000
! #define CYGWIN_VERSION_DLL_MINOR 8
! /* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
incompatible. */
! #define CYGWIN_VERSION_DLL_EPOCH 19
! /* CYGWIN_VERSION_DLL_COMBINED gives us a single number
representing the combined DLL major and minor numbers. */
/* WATCH OUT FOR OCTAL! Don't use, say, "00020" for 0.20 */
! #define CYGWIN_VERSION_DLL_MAKE_COMBINED(maj, min) (((maj) * 1000) + min)
! #define CYGWIN_VERSION_DLL_COMBINED \
! CYGWIN_VERSION_DLL_MAKE_COMBINED (CYGWIN_VERSION_DLL_MAJOR, CYGWIN_VERSION_DLL_MINOR)
/* Every version of cygwin <= this uses an old, incorrect method
to determine signal masks. */
! #define CYGWIN_VERSION_DLL_BAD_SIGNAL_MASK 19005
/* API versions <= this had a termios structure whose members were
too small to accomodate modern settings. */
! #define CYGWIN_VERSION_DLL_OLD_TERMIOS 5
! #define CYGWIN_VERSION_DLL_IS_OLD_TERMIOS \
! (CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) <= \
! CYGWIN_VERSION_DLL_OLD_TERMIOS)
!
! #define CYGWIN_VERSION_DLL_MALLOC_ENV 28
! /* Old APIs had getc/putc macros that conflict with new CR/LF
! handling in the stdio buffers */
! #define CYGWIN_VERSION_OLD_STDIO_CRLF_HANDLING \
! (CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) <= \
! 20)
! #define CYGWIN_VERSION_CHECK_FOR_S_IEXEC \
! (CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) >= \
! 36)
- #define CYGWIN_VERSION_CHECK_FOR_OLD_O_NONBLOCK \
- (CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) <= \
- 28)
/* We used to use the DLL major/minor to track
non-backward-compatible interface changes to the API. Now we
--- 45,79 ----
/* The current msys version is 1.0.7 */
! #define DLL_VERSION_MAJOR 1001
! #define DLL_VERSION_MINOR 0
! /* Major numbers before DLL_VERSION_EPOCH are
incompatible. */
! #define DLL_VERSION_EPOCH 19
! /* DLL_VERSION_COMBINED gives us a single number
representing the combined DLL major and minor numbers. */
/* WATCH OUT FOR OCTAL! Don't use, say, "00020" for 0.20 */
! #define DLL_VERSION_MAKE_COMBINED(maj, min) (((maj) * 1000) + min)
! #define DLL_VERSION_COMBINED \
! DLL_VERSION_MAKE_COMBINED (DLL_VERSION_MAJOR, DLL_VERSION_MINOR)
/* Every version of cygwin <= this uses an old, incorrect method
to determine signal masks. */
! #define DLL_VERSION_BAD_SIGNAL_MASK 19005
/* API versions <= this had a termios structure whose members were
too small to accomodate modern settings. */
! #define DLL_VERSION_OLD_TERMIOS 5
! #define DLL_VERSION_IS_OLD_TERMIOS \
! (DLL_VERSION_MAKE_COMBINED (user_data->api_major, user_data->api_minor) <= \
! DLL_VERSION_OLD_TERMIOS)
! #define DLL_VERSION_MALLOC_ENV 28
/* We used to use the DLL major/minor to track
non-backward-compatible interface changes to the API. Now we
***************
*** 148,153 ****
*/
! #define CYGWIN_VERSION_API_MAJOR 0
! #define CYGWIN_VERSION_API_MINOR 46
/* There is also a compatibity version number associated with the
--- 136,141 ----
*/
! #define API_VERSION_MAJOR 0
! #define API_VERSION_MINOR 46
/* There is also a compatibity version number associated with the
***************
*** 157,167 ****
version was 0 (cygwin release 98r2). */
! #define CYGWIN_VERSION_SHARED_DATA 3
/* An identifier used in the names used to create shared objects.
! The full names include the CYGWIN_VERSION_SHARED_DATA version
as well as this identifier. */
! #define CYGWIN_VERSION_DLL_IDENTIFIER "cygwin1"
/* The Cygwin mount table interface in the Win32 registry also
--- 145,155 ----
version was 0 (cygwin release 98r2). */
! #define SHARED_DATA_VERSION 3
/* An identifier used in the names used to create shared objects.
! The full names include the SHARED_DATA_VERSION version
as well as this identifier. */
! #define DLL_VERSION_IDENTIFIER "msys1.0"
/* The Cygwin mount table interface in the Win32 registry also
***************
*** 179,184 ****
/* Identifiers used in the Win32 registry. */
! #define CYGWIN_INFO_CYGNUS_REGISTRY_NAME "msys"
! #define CYGWIN_INFO_CYGWIN_REGISTRY_NAME "1.0"
#define CYGWIN_INFO_PROGRAM_OPTIONS_NAME "Program Options"
#define CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME "mounts v2"
--- 167,172 ----
/* Identifiers used in the Win32 registry. */
! #define MSYS_REGISTRY_ID "msys"
! #define MSYS_REGISTRY_VERSION "1.0"
#define CYGWIN_INFO_PROGRAM_OPTIONS_NAME "Program Options"
#define CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME "mounts v2"
|
|
From: <ea...@us...> - 2003-02-24 22:06:45
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys/include/netinet
In directory sc8-pr-cvs1:/tmp/cvs-serv29722/include/netinet
Modified Files:
Tag: r1_1_0
in.h in_systm.h ip.h ip_icmp.h
Log Message:
Merge changes from HEAD
Index: in.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/netinet/in.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** in.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- in.h 24 Feb 2003 22:06:06 -0000 1.1.1.1.2.1
***************
*** 12,16 ****
#define _NETINET_IN_H
! #include <cygwin/in.h>
#endif /* _NETINET_IN_H */
--- 12,16 ----
#define _NETINET_IN_H
! #include <msys/in.h>
#endif /* _NETINET_IN_H */
Index: in_systm.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/netinet/in_systm.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** in_systm.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- in_systm.h 24 Feb 2003 22:06:07 -0000 1.1.1.1.2.1
***************
*** 12,16 ****
#define _NETINET_IN_SYSTM_H
! #include <cygwin/in_systm.h>
#endif /* _NETINET_IN_SYSTM_H */
--- 12,16 ----
#define _NETINET_IN_SYSTM_H
! #include <msys/in_systm.h>
#endif /* _NETINET_IN_SYSTM_H */
Index: ip.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/netinet/ip.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** ip.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- ip.h 24 Feb 2003 22:06:08 -0000 1.1.1.1.2.1
***************
*** 12,16 ****
#define _NETINET_IP_H
! #include <cygwin/ip.h>
#endif /* _NETINET_IP_H */
--- 12,16 ----
#define _NETINET_IP_H
! #include <msys/ip.h>
#endif /* _NETINET_IP_H */
Index: ip_icmp.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/netinet/ip_icmp.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** ip_icmp.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- ip_icmp.h 24 Feb 2003 22:06:08 -0000 1.1.1.1.2.1
***************
*** 12,16 ****
#define _NETINET_IP_ICMP_H
! #include <cygwin/icmp.h>
#endif /* _NETINET_IP_ICMP_H */
--- 12,16 ----
#define _NETINET_IP_ICMP_H
! #include <msys/icmp.h>
#endif /* _NETINET_IP_ICMP_H */
|
|
From: <ea...@us...> - 2003-02-24 22:06:44
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys/include/net
In directory sc8-pr-cvs1:/tmp/cvs-serv29722/include/net
Modified Files:
Tag: r1_1_0
if.h
Log Message:
Merge changes from HEAD
Index: if.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/net/if.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** if.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- if.h 24 Feb 2003 22:06:06 -0000 1.1.1.1.2.1
***************
*** 12,16 ****
#define _NET_IF_H
! #include <cygwin/if.h>
#endif /* _NET_IF_H */
--- 12,16 ----
#define _NET_IF_H
! #include <msys/if.h>
#endif /* _NET_IF_H */
|
|
From: <ea...@us...> - 2003-02-24 22:06:34
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys/include/asm
In directory sc8-pr-cvs1:/tmp/cvs-serv29722/include/asm
Modified Files:
Tag: r1_1_0
socket.h
Log Message:
Merge changes from HEAD
Index: socket.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/asm/socket.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** socket.h 11 Dec 2002 00:17:12 -0000 1.1.1.1
--- socket.h 24 Feb 2003 22:05:57 -0000 1.1.1.1.2.1
***************
*** 12,16 ****
#define _ASM_SOCKET_H
! #include <cygwin/if.h>
#define IOCPARM_MASK 0x7f /* parameters must be < 128 bytes */
--- 12,16 ----
#define _ASM_SOCKET_H
! #include <msys/if.h>
#define IOCPARM_MASK 0x7f /* parameters must be < 128 bytes */
|
|
From: <ea...@us...> - 2003-02-24 21:30:50
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys
In directory sc8-pr-cvs1:/tmp/cvs-serv12446
Modified Files:
ChangeLog.MSYS cygheap.cc fhandler.cc fhandler_tty.cc heap.cc
path.cc poll.cc select.cc signal.cc sigproc.cc spawn.cc
winsup.h
Log Message:
Merge recent change from ../cygwin
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/ChangeLog.MSYS,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ChangeLog.MSYS 11 Dec 2002 00:16:48 -0000 1.1.1.1
--- ChangeLog.MSYS 24 Feb 2003 21:30:33 -0000 1.2
***************
*** 1,2 ****
--- 1,33 ----
+ 2003-02-17 Earnie Boyd <ea...@us...>
+
+ * cygheap.cc (init_cygheap::etc_changed): Use more appropriate object
+ name.
+ * heap.cc (heap_init): Add FIXME debug macro.
+
+ 2003-02-12 Earnie Boyd <ea...@us...>
+
+ * fhandler.cc: Add TRACE_IN throughout.
+ * fhandler_tty.cc: Ditto.
+ * signal.cc: Ditto.
+ * sigproc.cc: Ditto.
+ * select.cc: Ditto.
+ (select_stuff::test_and_set): Remove needless duplicate filters.
+ (thread_pipe): Code refactor.
+ (thread_serial): Ditto.
+ * winsup.h (FIXME): Change macro to identify file, function and line.
+ * spawn.cc: Format of FIXME changed.
+ * path.cc (cygwin_conv_to_win32_path): Move the test for a valid path
+ variable before initialization of variables.
+ Free retpath before exiting to fix resource leak.
+
+ 2003-01-24 Earnie Boyd <ea...@us...>
+
+ * path.cc (cygwin_conv_to_win32_path): Use cygheap's cmalloc, crealloc
+ and cfree functions to avoid an apparent malloc misfeature.
+
+ 2003-01-02 Earnie Boyd <ea...@us...>
+
+ * include/cygwin/version.h: Increment version to 1.0.9.
+
2002-12-03 Earnie Boyd <ea...@us...>
Index: cygheap.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/cygheap.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cygheap.cc 11 Dec 2002 00:16:49 -0000 1.1.1.1
--- cygheap.cc 24 Feb 2003 21:30:34 -0000 1.2
***************
*** 355,363 ****
if (!etc_changed_h)
{
! path_conv pwd ("/etc");
! etc_changed_h = FindFirstChangeNotification (pwd, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
if (etc_changed_h == INVALID_HANDLE_VALUE)
! system_printf ("Can't open /etc for checking, %E", (char *) pwd,
etc_changed_h);
else if (!DuplicateHandle (hMainProc, etc_changed_h, hMainProc,
--- 355,363 ----
if (!etc_changed_h)
{
! path_conv etc ("/etc");
! etc_changed_h = FindFirstChangeNotification (etc, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
if (etc_changed_h == INVALID_HANDLE_VALUE)
! system_printf ("Can't open /etc for checking, %E", (char *) etc,
etc_changed_h);
else if (!DuplicateHandle (hMainProc, etc_changed_h, hMainProc,
***************
*** 365,369 ****
DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE))
{
! system_printf ("Can't inherit /etc handle, %E", (char *) pwd,
etc_changed_h);
etc_changed_h = INVALID_HANDLE_VALUE;
--- 365,369 ----
DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE))
{
! system_printf ("Can't inherit /etc handle, %E", (char *) etc,
etc_changed_h);
etc_changed_h = INVALID_HANDLE_VALUE;
Index: fhandler.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** fhandler.cc 11 Dec 2002 00:16:53 -0000 1.1.1.1
--- fhandler.cc 24 Feb 2003 21:30:35 -0000 1.2
***************
*** 38,41 ****
--- 38,42 ----
fhandler_base::operator =(fhandler_base &x)
{
+ TRACE_IN;
memcpy (this, &x, sizeof *this);
unix_path_name = x.unix_path_name ? cstrdup (x.unix_path_name) : NULL;
***************
*** 52,55 ****
--- 53,57 ----
fhandler_base::puts_readahead (const char *s, size_t len = (size_t) -1)
{
+ TRACE_IN;
int success = 1;
while ((*s || (len != (size_t) -1 && len--))
***************
*** 62,65 ****
--- 64,68 ----
fhandler_base::put_readahead (char value)
{
+ TRACE_IN;
char *newrabuf;
if (raixput < rabuflen)
***************
*** 78,81 ****
--- 81,85 ----
fhandler_base::get_readahead ()
{
+ TRACE_IN;
int chret = -1;
if (raixget < ralen)
***************
*** 90,93 ****
--- 94,98 ----
fhandler_base::peek_readahead (int queryput)
{
+ TRACE_IN;
int chret = -1;
if (!queryput && raixget < ralen)
***************
*** 101,104 ****
--- 106,110 ----
fhandler_base::set_readahead_valid (int val, int ch = -1)
{
+ TRACE_IN;
if (!val)
ralen = raixget = raixput = 0;
***************
*** 110,113 ****
--- 116,120 ----
fhandler_base::eat_readahead (int n)
{
+ TRACE_IN;
int oralen = ralen;
if (n < 0)
***************
*** 130,133 ****
--- 137,141 ----
fhandler_base::get_readahead_into_buffer (char *buf, size_t buflen)
{
+ TRACE_IN;
int ch;
int copied_chars = 0;
***************
*** 154,157 ****
--- 162,166 ----
fhandler_base::set_name (const char *unix_path, const char *win32_path, int unit)
{
+ TRACE_IN;
if (!no_free_names ())
{
***************
*** 194,197 ****
--- 203,207 ----
is_at_eof (HANDLE h, DWORD err)
{
+ TRACE_IN;
DWORD size, upper1, curr;
***************
*** 216,219 ****
--- 226,230 ----
fhandler_base::raw_read (void *ptr, size_t ulen)
{
+ TRACE_IN;
DWORD bytes_read;
***************
*** 253,256 ****
--- 264,268 ----
fhandler_base::raw_write (const void *ptr, size_t len)
{
+ TRACE_IN;
DWORD bytes_written;
***************
*** 271,274 ****
--- 283,287 ----
fhandler_base::get_default_fmode (int flags)
{
+ TRACE_IN;
if (perfile_table)
{
***************
*** 296,299 ****
--- 309,313 ----
fhandler_base::open (int flags, mode_t mode)
{
+ TRACE_IN;
int res = 0;
HANDLE x;
***************
*** 470,473 ****
--- 484,488 ----
fhandler_base::read (void *in_ptr, size_t in_len)
{
+ TRACE_IN;
int len = (int) in_len;
char *ptr = (char *) in_ptr;
***************
*** 576,579 ****
--- 591,595 ----
fhandler_base::write (const void *ptr, size_t len)
{
+ TRACE_IN;
int res;
***************
*** 690,693 ****
--- 706,710 ----
fhandler_base::lseek (off_t offset, int whence)
{
+ TRACE_IN;
off_t res;
***************
*** 788,791 ****
--- 805,809 ----
fhandler_base::close ()
{
+ TRACE_IN;
int res = -1;
***************
*** 806,809 ****
--- 824,828 ----
fhandler_base::ioctl (unsigned int cmd, void *buf)
{
+ TRACE_IN;
if (cmd == FIONBIO)
syscall_printf ("ioctl (FIONBIO, %p)", buf);
***************
*** 818,821 ****
--- 837,841 ----
fhandler_base::lock (int, struct flock *)
{
+ TRACE_IN;
set_errno (ENOSYS);
return -1;
***************
*** 825,828 ****
--- 845,849 ----
rootdir(char *full_path)
{
+ TRACE_IN;
/* Possible choices:
* d:... -> d:/
***************
*** 858,861 ****
--- 879,883 ----
fhandler_disk_file::fstat (struct stat *buf)
{
+ TRACE_IN;
int res = 0; // avoid a compiler warning
BY_HANDLE_FILE_INFORMATION local;
***************
*** 1030,1033 ****
--- 1052,1056 ----
fhandler_base::init (HANDLE f, DWORD a, mode_t bin)
{
+ TRACE_IN;
set_io_handle (f);
set_r_binary (bin);
***************
*** 1048,1051 ****
--- 1071,1075 ----
fhandler_base::dump (void)
{
+ TRACE_IN;
paranoid_printf ("here");
}
***************
*** 1054,1057 ****
--- 1078,1082 ----
fhandler_base::dup (fhandler_base *child)
{
+ TRACE_IN;
debug_printf ("in fhandler_base dup");
***************
*** 1072,1075 ****
--- 1097,1101 ----
int fhandler_base::fcntl (int cmd, void *arg)
{
+ TRACE_IN;
int res;
***************
*** 1124,1127 ****
--- 1150,1154 ----
fhandler_base::tcflush (int)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1131,1134 ****
--- 1158,1162 ----
fhandler_base::tcsendbreak (int)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1138,1141 ****
--- 1166,1170 ----
fhandler_base::tcdrain (void)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1145,1148 ****
--- 1174,1178 ----
fhandler_base::tcflow (int)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1152,1155 ****
--- 1182,1186 ----
fhandler_base::tcsetattr (int, const struct termios *)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1159,1162 ****
--- 1190,1194 ----
fhandler_base::tcgetattr (struct termios *)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1166,1169 ****
--- 1198,1202 ----
fhandler_base::tcsetpgrp (const pid_t)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1173,1176 ****
--- 1206,1210 ----
fhandler_base::tcgetpgrp (void)
{
+ TRACE_IN;
set_errno (ENOTTY);
return -1;
***************
*** 1180,1183 ****
--- 1214,1218 ----
fhandler_base::operator delete (void *p)
{
+ TRACE_IN;
cfree (p);
return;
***************
*** 1197,1200 ****
--- 1232,1236 ----
open_status (0)
{
+ TRACE_IN;
status = devtype;
int bin = __fmode & O_TEXT ? 0 : 1;
***************
*** 1213,1216 ****
--- 1249,1253 ----
fhandler_base::~fhandler_base (void)
{
+ TRACE_IN;
if (!no_free_names ())
{
***************
*** 1231,1234 ****
--- 1268,1272 ----
fhandler_base (FH_DISK, name)
{
+ TRACE_IN;
set_cb (sizeof *this);
set_no_free_names ();
***************
*** 1239,1242 ****
--- 1277,1281 ----
fhandler_disk_file::open (const char *path, int flags, mode_t mode)
{
+ TRACE_IN;
syscall_printf ("(%s, %p)", path, flags);
***************
*** 1263,1266 ****
--- 1302,1306 ----
fhandler_disk_file::open (path_conv& real_path, int flags, mode_t mode)
{
+ TRACE_IN;
if (get_win32_name () == fhandler_disk_dummy_name)
{
***************
*** 1318,1321 ****
--- 1358,1362 ----
fhandler_disk_file::close ()
{
+ TRACE_IN;
int res = this->fhandler_base::close ();
if (!res)
***************
*** 1341,1344 ****
--- 1382,1386 ----
fhandler_disk_file::lock (int cmd, struct flock *fl)
{
+ TRACE_IN;
int win32_start;
int win32_len;
***************
*** 1486,1489 ****
--- 1528,1532 ----
fhandler_base (FH_NULL, name)
{
+ TRACE_IN;
set_cb (sizeof *this);
}
***************
*** 1492,1495 ****
--- 1535,1539 ----
fhandler_dev_null::dump (void)
{
+ TRACE_IN;
paranoid_printf ("here");
}
***************
*** 1501,1504 ****
--- 1545,1549 ----
fhandler_base (devtype, name)
{
+ TRACE_IN;
set_cb (sizeof *this);
}
***************
*** 1507,1510 ****
--- 1552,1556 ----
fhandler_pipe::lseek (off_t offset, int whence)
{
+ TRACE_IN;
debug_printf ("(%d, %d)", offset, whence);
set_errno (ESPIPE);
***************
*** 1522,1525 ****
--- 1568,1572 ----
#undef nameparm
{
+ TRACE_IN;
HANDLE newh;
***************
*** 1553,1556 ****
--- 1600,1604 ----
fhandler_base::fork_fixup (HANDLE parent, HANDLE &h, const char *name)
{
+ TRACE_IN;
if (!get_close_on_exec ())
debug_printf ("handle %p already opened", h);
***************
*** 1563,1566 ****
--- 1611,1615 ----
fhandler_base::set_close_on_exec (int val)
{
+ TRACE_IN;
set_inheritance (io_handle, val);
set_close_on_exec_flag (val);
***************
*** 1571,1574 ****
--- 1620,1624 ----
fhandler_base::fixup_after_fork (HANDLE parent)
{
+ TRACE_IN;
debug_printf ("inheriting '%s' from parent", get_name ());
fork_fixup (parent, io_handle, "io_handle");
***************
*** 1578,1581 ****
--- 1628,1632 ----
fhandler_base::is_nonblocking ()
{
+ TRACE_IN;
return (openflags & O_NONBLOCK_MASK) != 0;
}
***************
*** 1584,1587 ****
--- 1635,1639 ----
fhandler_base::set_nonblocking (int yes)
{
+ TRACE_IN;
int current = openflags & O_NONBLOCK_MASK;
int new_flags = yes ? (!current ? O_NONBLOCK : current) : 0;
Index: fhandler_tty.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/fhandler_tty.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** fhandler_tty.cc 11 Dec 2002 00:16:57 -0000 1.1.1.1
--- fhandler_tty.cc 24 Feb 2003 21:30:35 -0000 1.2
***************
*** 38,41 ****
--- 38,42 ----
fhandler_pty_master (name, FH_TTYM, unit)
{
+ TRACE_IN;
set_cb (sizeof *this);
console = NULL;
***************
*** 46,49 ****
--- 47,51 ----
fhandler_tty_master::init (int ntty)
{
+ TRACE_IN;
HANDLE h;
termios_printf ("Creating master for tty%d", ntty);
***************
*** 117,120 ****
--- 119,123 ----
DWORD ms)
{
+ TRACE_IN;
if (strace.active)
strace.prntf (_STRACE_TERMIOS, fn, "(%d): tty output_mutex: waiting %d ms", ln, ms);
***************
*** 139,142 ****
--- 142,146 ----
fhandler_tty_common::__release_output_mutex (const char *fn, int ln)
{
+ TRACE_IN;
if (ReleaseMutex (output_mutex))
{
***************
*** 159,162 ****
--- 163,167 ----
fhandler_pty_master::doecho (const void *str, DWORD len)
{
+ TRACE_IN;
acquire_output_mutex (INFINITE);
if (!WriteFile (get_ttyp ()->to_master, str, len, &len, NULL))
***************
*** 169,172 ****
--- 174,178 ----
fhandler_pty_master::accept_input ()
{
+ TRACE_IN;
DWORD bytes_left, written;
DWORD n;
***************
*** 214,217 ****
--- 220,224 ----
process_input (void *)
{
+ TRACE_IN;
char rawbuf[INP_BUFFER_SIZE];
***************
*** 227,230 ****
--- 234,238 ----
fhandler_pty_master::hit_eof ()
{
+ TRACE_IN;
if (get_ttyp ()->was_opened && !get_ttyp ()->slave_alive ())
{
***************
*** 243,246 ****
--- 251,255 ----
fhandler_pty_master::process_slave_output (char *buf, size_t len, int pktmode_on)
{
+ TRACE_IN;
size_t rlen;
char outbuf[OUT_BUFFER_SIZE + 1];
***************
*** 397,400 ****
--- 406,410 ----
process_output (void *)
{
+ TRACE_IN;
char buf[OUT_BUFFER_SIZE*2];
***************
*** 423,426 ****
--- 433,437 ----
process_ioctl (void *)
{
+ TRACE_IN;
while (1)
{
***************
*** 440,443 ****
--- 451,455 ----
fhandler_tty_common (FH_TTYS, name, num)
{
+ TRACE_IN;
set_cb (sizeof *this);
ttynum = num;
***************
*** 454,457 ****
--- 466,470 ----
fhandler_tty_common (FH_TTYS, name, 0)
{
+ TRACE_IN;
set_cb (sizeof *this);
inuse = NULL;
***************
*** 463,466 ****
--- 476,480 ----
fhandler_tty_slave::open (const char *, int flags, mode_t)
{
+ TRACE_IN;
tcinit (cygwin_shared->tty[ttynum]);
***************
*** 566,569 ****
--- 580,584 ----
fhandler_tty_slave::init (HANDLE, DWORD a, mode_t)
{
+ TRACE_IN;
int mode = 0;
***************
*** 582,585 ****
--- 597,601 ----
fhandler_tty_slave::write (const void *ptr, size_t len)
{
+ TRACE_IN;
DWORD n, towrite = len;
***************
*** 636,639 ****
--- 652,656 ----
fhandler_tty_slave::read (void *ptr, size_t len)
{
+ TRACE_IN;
DWORD n;
int totalread = 0;
***************
*** 777,780 ****
--- 794,798 ----
fhandler_tty_common::dup (fhandler_base *child)
{
+ TRACE_IN;
fhandler_tty_slave *fts = (fhandler_tty_slave *) child;
int errind;
***************
*** 874,877 ****
--- 892,896 ----
fhandler_tty_slave::tcgetattr (struct termios *t)
{
+ TRACE_IN;
*t = get_ttyp ()->ti;
return 0;
***************
*** 881,884 ****
--- 900,904 ----
fhandler_tty_slave::tcsetattr (int, const struct termios *t)
{
+ TRACE_IN;
acquire_output_mutex (INFINITE);
get_ttyp ()->ti = *t;
***************
*** 890,893 ****
--- 910,914 ----
fhandler_tty_slave::tcflush (int)
{
+ TRACE_IN;
return 0;
}
***************
*** 896,899 ****
--- 917,921 ----
fhandler_tty_slave::ioctl (unsigned int cmd, void *arg)
{
+ TRACE_IN;
termios_printf ("ioctl (%x)", cmd);
***************
*** 958,961 ****
--- 980,984 ----
fhandler_tty_common (devtype, name, unit)
{
+ TRACE_IN;
set_cb (sizeof *this);
ioctl_request_event = NULL;
***************
*** 968,971 ****
--- 991,995 ----
fhandler_pty_master::open (const char *, int flags, mode_t)
{
+ TRACE_IN;
ttynum = cygwin_shared->tty.allocate_tty (0);
if (ttynum < 0)
***************
*** 984,987 ****
--- 1008,1012 ----
fhandler_tty_common::close ()
{
+ TRACE_IN;
if (output_done_event && !CloseHandle (output_done_event))
termios_printf ("CloseHandle (output_done_event), %E");
***************
*** 1019,1022 ****
--- 1044,1048 ----
fhandler_pty_master::close ()
{
+ TRACE_IN;
#if 0
while (accept_input () > 0)
***************
*** 1047,1050 ****
--- 1073,1077 ----
fhandler_pty_master::write (const void *ptr, size_t len)
{
+ TRACE_IN;
(void) line_edit ((char *) ptr, len);
return len;
***************
*** 1054,1057 ****
--- 1081,1085 ----
fhandler_pty_master::read (void *ptr, size_t len)
{
+ TRACE_IN;
return process_slave_output ((char *) ptr, len, pktmode);
}
***************
*** 1060,1063 ****
--- 1088,1092 ----
fhandler_pty_master::tcgetattr (struct termios *t)
{
+ TRACE_IN;
*t = cygwin_shared->tty[ttynum]->ti;
return 0;
***************
*** 1067,1070 ****
--- 1096,1100 ----
fhandler_pty_master::tcsetattr (int, const struct termios *t)
{
+ TRACE_IN;
cygwin_shared->tty[ttynum]->ti = *t;
return 0;
***************
*** 1074,1077 ****
--- 1104,1108 ----
fhandler_pty_master::tcflush (int)
{
+ TRACE_IN;
return 0;
}
***************
*** 1080,1083 ****
--- 1111,1115 ----
fhandler_pty_master::ioctl (unsigned int cmd, void *arg)
{
+ TRACE_IN;
switch (cmd)
{
***************
*** 1105,1108 ****
--- 1137,1141 ----
fhandler_pty_master::ptsname (void)
{
+ TRACE_IN;
static char buf[32];
***************
*** 1114,1117 ****
--- 1147,1151 ----
fhandler_tty_common::set_close_on_exec (int val)
{
+ TRACE_IN;
#ifndef DEBUGGING
this->fhandler_base::set_close_on_exec (val);
***************
*** 1140,1143 ****
--- 1174,1178 ----
fhandler_tty_common::fixup_after_fork (HANDLE parent)
{
+ TRACE_IN;
this->fhandler_termios::fixup_after_fork (parent);
if (output_done_event)
***************
*** 1165,1168 ****
--- 1200,1204 ----
fhandler_pty_master::set_close_on_exec (int val)
{
+ TRACE_IN;
this->fhandler_tty_common::set_close_on_exec (val);
***************
*** 1180,1183 ****
--- 1216,1220 ----
fhandler_tty_master::fixup_after_fork (HANDLE child)
{
+ TRACE_IN;
this->fhandler_pty_master::fixup_after_fork (child);
console->fixup_after_fork (child);
***************
*** 1187,1190 ****
--- 1224,1228 ----
fhandler_tty_master::fixup_after_exec (HANDLE)
{
+ TRACE_IN;
console->close ();
init_console ();
***************
*** 1195,1198 ****
--- 1233,1237 ----
fhandler_tty_master::init_console ()
{
+ TRACE_IN;
console = (fhandler_console *) cygheap->fdtab.build_fhandler (-1, FH_CONSOLE, "/dev/ttym");
if (console == NULL)
Index: heap.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/heap.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** heap.cc 11 Dec 2002 00:16:58 -0000 1.1.1.1
--- heap.cc 24 Feb 2003 21:30:36 -0000 1.2
***************
*** 84,87 ****
--- 84,88 ----
#define pround(n) (((size_t)(n) + page_const) & ~page_const)
+ FIXME;
/* FIXME: This function no longer handles "split heaps". */
Index: path.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/path.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** path.cc 11 Dec 2002 00:17:02 -0000 1.1.1.1
--- path.cc 24 Feb 2003 21:30:36 -0000 1.2
***************
*** 3120,3123 ****
--- 3120,3130 ----
{
TRACE_IN;
+
+ if (!path || !*path)
+ {
+ *win32_path = '\0';
+ return 0;
+ }
+
static bool path_list_found = false;
static bool path_changed = false;
***************
*** 3125,3132 ****
char *sptr;
char * sspath;
! char *swin32_path = (char *)calloc (1, MAX_PATH);
int swin32_pathlen;
// retpath will be what sets win32_path before exiting.
! char *retpath = (char *)calloc (1, MAX_PATH);
int retpath_len = 0;
int retpath_buflen = MAX_PATH;
--- 3132,3141 ----
char *sptr;
char * sspath;
! char *swin32_path = (char *)cmalloc(HEAP_STR, MAX_PATH);
! memset (swin32_path, 0, MAX_PATH);
int swin32_pathlen;
// retpath will be what sets win32_path before exiting.
! char *retpath = (char *)cmalloc(HEAP_STR, MAX_PATH);
! memset (retpath, 0, MAX_PATH);
int retpath_len = 0;
int retpath_buflen = MAX_PATH;
***************
*** 3141,3145 ****
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)realloc (retpath, retpath_buflen); \
} \
strcat (retpath, retstr);
--- 3150,3154 ----
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)crealloc (retpath, retpath_buflen); \
} \
strcat (retpath, retstr);
***************
*** 3156,3169 ****
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)realloc (retpath, retpath_buflen); \
} \
strcpy (retpath, retstr);
- if (!path || !*path)
- {
- *win32_path = '\0';
- return 0;
- }
-
*win32_path = '\0';
--- 3165,3172 ----
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)crealloc (retpath, retpath_buflen); \
} \
strcpy (retpath, retstr);
*win32_path = '\0';
***************
*** 3463,3469 ****
if (swin32_path)
! free (swin32_path);
! *retpath = '\0';
! retpath_len = 0;
return retval;
}
--- 3466,3472 ----
if (swin32_path)
! cfree(swin32_path);
! if (retpath)
! cfree(retpath);
return retval;
}
Index: poll.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/poll.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** poll.cc 11 Dec 2002 00:17:03 -0000 1.1.1.1
--- poll.cc 24 Feb 2003 21:30:37 -0000 1.2
***************
*** 36,50 ****
size_t fds_size = howmany(max_fd + 1, NFDBITS) * sizeof (fd_mask);
- #if DO_CPP_NEW
- open_fds = new fd_set [fds_size];
- read_fds = new fd_set [fds_size];
- write_fds = new fd_set [fds_size];
- except_fds = new fd_set [fds_size];
- #else
open_fds = (fd_set *) alloca (fds_size);
read_fds = (fd_set *) alloca (fds_size);
write_fds = (fd_set *) alloca (fds_size);
except_fds = (fd_set *) alloca (fds_size);
- #endif
if (!open_fds || !read_fds || !write_fds || !except_fds)
--- 36,43 ----
Index: select.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/select.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** select.cc 11 Dec 2002 00:17:05 -0000 1.1.1.1
--- select.cc 24 Feb 2003 21:30:38 -0000 1.2
***************
*** 122,125 ****
--- 122,126 ----
struct timeval *to)
{
+ TRACE_IN;
select_stuff sel;
fd_set *dummy_readfds = allocfd_set (maxfds);
***************
*** 198,201 ****
--- 199,203 ----
select_stuff::cleanup ()
{
+ TRACE_IN;
select_record *s = &start;
***************
*** 212,215 ****
--- 214,218 ----
select_stuff::~select_stuff ()
{
+ TRACE_IN;
cleanup ();
select_record *s = &start;
***************
*** 229,232 ****
--- 232,236 ----
fd_set *exceptfds)
{
+ TRACE_IN;
select_record *s = NULL;
if (UNIX_FD_ISSET (i, readfds) && (s = cygheap->fdtab.select_read (i, s)) == NULL)
***************
*** 242,246 ****
always_ready = TRUE;
! if (s->windows_handle || s->windows_handle || s->windows_handle)
windows_used = TRUE;
--- 246,250 ----
always_ready = TRUE;
! if (s->windows_handle)
windows_used = TRUE;
***************
*** 254,257 ****
--- 258,262 ----
select_stuff::poll (fd_set *readfds, fd_set *writefds, fd_set *exceptfds)
{
+ TRACE_IN;
int n = 0;
select_record *s = &start;
***************
*** 267,270 ****
--- 272,276 ----
DWORD ms)
{
+ TRACE_IN;
int wait_ret;
HANDLE w4[MAXIMUM_WAIT_OBJECTS];
***************
*** 365,368 ****
--- 371,375 ----
fd_set *exceptfds)
{
+ TRACE_IN;
int ready = 0;
select_printf ("me %p, testing fd %d (%s)", me, me->fd, me->fh->get_name ());
***************
*** 389,392 ****
--- 396,400 ----
verify_true (select_record *, fd_set *, fd_set *, fd_set *)
{
+ TRACE_IN;
return 1;
}
***************
*** 396,399 ****
--- 404,408 ----
fd_set *exceptfds)
{
+ TRACE_IN;
return set_bits (me, readfds, writefds, exceptfds);
}
***************
*** 402,405 ****
--- 411,415 ----
no_startup (select_record *, select_stuff *)
{
+ TRACE_IN;
return 1;
}
***************
*** 408,411 ****
--- 418,422 ----
no_verify (select_record *, fd_set *, fd_set *, fd_set *)
{
+ TRACE_IN;
return 0;
}
***************
*** 414,417 ****
--- 425,429 ----
peek_pipe (select_record *s, int ignra)
{
+ TRACE_IN;
int n = 0;
int gotone = 0;
***************
*** 497,500 ****
--- 509,513 ----
fd_set *exceptfds)
{
+ TRACE_IN;
return peek_pipe (me, 0) ?
set_bits (me, readfds, writefds, exceptfds) :
***************
*** 516,548 ****
thread_pipe (void *arg)
{
pipeinf *pi = (pipeinf *)arg;
- BOOL gotone = FALSE;
! for (;;)
{
select_record *s = pi->start;
while ((s = s->next))
if (s->startup == start_thread_pipe)
! {
! if (peek_pipe (s, 0))
! gotone = TRUE;
! if (pi->stop_thread_pipe)
! {
! select_printf ("stopping");
! goto out;
! }
! }
! /* Paranoid check */
! if (pi->stop_thread_pipe)
! {
! select_printf ("stopping from outer loop");
! break;
! }
! if (gotone)
! break;
Sleep (10);
}
- out:
- return 0;
}
--- 529,545 ----
thread_pipe (void *arg)
{
+ TRACE_IN;
pipeinf *pi = (pipeinf *)arg;
! while (true)
{
select_record *s = pi->start;
while ((s = s->next))
if (s->startup == start_thread_pipe)
! if (peek_pipe (s, 0) || pi->stop_thread_pipe)
! return 0;
!
Sleep (10);
}
}
***************
*** 550,553 ****
--- 547,551 ----
start_thread_pipe (select_record *me, select_stuff *stuff)
{
+ TRACE_IN;
if (stuff->device_specific[FHDEVN(FH_PIPE)])
{
***************
*** 568,571 ****
--- 566,570 ----
pipe_cleanup (select_record *, select_stuff *stuff)
{
+ TRACE_IN;
pipeinf *pi = (pipeinf *)stuff->device_specific[FHDEVN(FH_PIPE)];
if (pi && pi->thread)
***************
*** 582,585 ****
--- 581,585 ----
fhandler_pipe::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
s = new select_record;
***************
*** 595,598 ****
--- 595,599 ----
fhandler_pipe::select_write (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 610,613 ****
--- 611,615 ----
fhandler_pipe::select_except (select_record *s)
{
+ TRACE_IN;
if (!s)
s = new select_record;
***************
*** 623,626 ****
--- 625,629 ----
peek_console (select_record *me, int ignra)
{
+ TRACE_IN;
extern const char * get_nonascii_key (INPUT_RECORD& input_rec, char *);
fhandler_console *fh = (fhandler_console *)me->fh;
***************
*** 678,681 ****
--- 681,685 ----
fd_set *exceptfds)
{
+ TRACE_IN;
return peek_console (me, 0) ?
set_bits (me, readfds, writefds, exceptfds) :
***************
*** 688,691 ****
--- 692,696 ----
fhandler_console::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 705,708 ****
--- 710,714 ----
fhandler_console::select_write (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 722,725 ****
--- 728,732 ----
fhandler_console::select_except (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 738,741 ****
--- 745,749 ----
fhandler_tty_common::ready_for_read (int fd, DWORD howlong, int ignra)
{
+ TRACE_IN;
#if 0
if (myself->pgid && get_ttyp ()->getpgid () != myself->pgid &&
***************
*** 749,752 ****
--- 757,761 ----
fhandler_tty_common::select_read (select_record *s)
{
+ TRACE_IN;
return ((fhandler_pipe*)this)->fhandler_pipe::select_read (s);
}
***************
*** 755,758 ****
--- 764,768 ----
fhandler_tty_common::select_write (select_record *s)
{
+ TRACE_IN;
return ((fhandler_pipe *)this)->fhandler_pipe::select_write (s);
}
***************
*** 761,764 ****
--- 771,775 ----
fhandler_tty_common::select_except (select_record *s)
{
+ TRACE_IN;
return ((fhandler_pipe *)this)->fhandler_pipe::select_except (s);
}
***************
*** 768,771 ****
--- 779,783 ----
fd_set *exceptfds)
{
+ TRACE_IN;
if (WaitForSingleObject (me->h, 0) == WAIT_OBJECT_0)
me->read_ready = 1;
***************
*** 776,779 ****
--- 788,792 ----
fhandler_tty_slave::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
s = new select_record;
***************
*** 790,793 ****
--- 803,807 ----
fhandler_tty_slave::ready_for_read (int fd, DWORD howlong, int ignra)
{
+ TRACE_IN;
HANDLE w4[2];
if (!ignra && get_readahead_valid ())
***************
*** 814,817 ****
--- 828,832 ----
fhandler_dev_null::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 830,833 ****
--- 845,849 ----
fhandler_dev_null::select_write (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 846,849 ****
--- 862,866 ----
fhandler_dev_null::select_except (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 871,874 ****
--- 888,892 ----
peek_serial (select_record *s, int)
{
+ TRACE_IN;
DWORD ev;
COMSTAT st;
***************
*** 977,1003 ****
thread_serial (void *arg)
{
serialinf *si = (serialinf *)arg;
- BOOL gotone= FALSE;
! for (;;)
{
select_record *s = si->start;
while ((s = s->next))
if (s->startup == start_thread_serial)
! {
! if (peek_serial (s, 0))
! gotone = TRUE;
! }
! if (si->stop_thread_serial)
! {
! select_printf ("stopping");
! break;
! }
! if (gotone)
! break;
! }
! select_printf ("exiting");
! return 0;
}
--- 995,1011 ----
thread_serial (void *arg)
{
+ TRACE_IN;
serialinf *si = (serialinf *)arg;
! while (true)
{
select_record *s = si->start;
while ((s = s->next))
if (s->startup == start_thread_serial)
! if (peek_serial (s, 0) || si->stop_thread_serial)
! return 0;
! Sleep (10);
! }
}
***************
*** 1005,1008 ****
--- 1013,1017 ----
start_thread_serial (select_record *me, select_stuff *stuff)
{
+ TRACE_IN;
if (stuff->device_specific[FHDEVN(FH_SERIAL)])
{
***************
*** 1023,1026 ****
--- 1032,1036 ----
serial_cleanup (select_record *, select_stuff *stuff)
{
+ TRACE_IN;
serialinf *si = (serialinf *)stuff->device_specific[FHDEVN(FH_SERIAL)];
if (si && si->thread)
***************
*** 1039,1042 ****
--- 1049,1053 ----
{
+ TRACE_IN;
return peek_serial (me, 0) ?
set_bits (me, readfds, writefds, exceptfds) :
***************
*** 1049,1052 ****
--- 1060,1064 ----
fhandler_serial::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1064,1067 ****
--- 1076,1080 ----
fhandler_serial::select_write (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1080,1083 ****
--- 1093,1097 ----
fhandler_serial::select_except (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1095,1098 ****
--- 1109,1113 ----
fhandler_base::ready_for_read (int, DWORD, int)
{
+ TRACE_IN;
return 1;
}
***************
*** 1101,1104 ****
--- 1116,1120 ----
fhandler_base::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1117,1120 ****
--- 1133,1137 ----
fhandler_base::select_write (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1133,1136 ****
--- 1150,1154 ----
fhandler_base::select_except (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1157,1160 ****
--- 1175,1179 ----
peek_socket (select_record *me, int)
{
+ TRACE_IN;
winsock_fd_set ws_readfds, ws_writefds, ws_exceptfds;
struct timeval tv = {0, 0};
***************
*** 1207,1210 ****
--- 1226,1230 ----
fd_set *exceptfds)
{
+ TRACE_IN;
return peek_socket (me, 0) ?
set_bits (me, readfds, writefds, exceptfds) :
***************
*** 1219,1222 ****
--- 1239,1243 ----
thread_socket (void *arg)
{
+ TRACE_IN;
socketinf *si = (socketinf *)arg;
***************
*** 1260,1263 ****
--- 1281,1285 ----
start_thread_socket (select_record *me, select_stuff *stuff)
{
+ TRACE_IN;
socketinf *si;
***************
*** 1346,1349 ****
--- 1368,1372 ----
socket_cleanup (select_record *, select_stuff *stuff)
{
+ TRACE_IN;
socketinf *si = (socketinf *)stuff->device_specific[FHDEVN(FH_SOCKET)];
select_printf ("si %p si->thread %p", si, si ? si->thread : NULL);
***************
*** 1384,1387 ****
--- 1407,1411 ----
fhandler_socket::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1400,1403 ****
--- 1424,1428 ----
fhandler_socket::select_write (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1416,1419 ****
--- 1441,1445 ----
fhandler_socket::select_except (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1433,1436 ****
--- 1459,1463 ----
peek_windows (select_record *me, int)
{
+ TRACE_IN;
MSG m;
HANDLE h;
***************
*** 1455,1458 ****
--- 1482,1486 ----
fd_set *exceptfds)
{
+ TRACE_IN;
return peek_windows (me, 0) ?
***************
*** 1466,1469 ****
--- 1494,1498 ----
fhandler_windows::select_read (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1483,1486 ****
--- 1512,1516 ----
fhandler_windows::select_write (select_record *s)
{
+ TRACE_IN;
if (!s)
{
***************
*** 1500,1503 ****
--- 1530,1534 ----
fhandler_windows::select_except (select_record *s)
{
+ TRACE_IN;
if (!s)
{
Index: signal.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/signal.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** signal.cc 11 Dec 2002 00:17:05 -0000 1.1.1.1
--- signal.cc 24 Feb 2003 21:30:38 -0000 1.2
***************
*** 27,30 ****
--- 27,31 ----
set_sigcatchers (void (*oldsig) (int), void (*cursig) (int))
{
+ TRACE_IN;
#ifdef DEBUGGING
int last_sigcatchers = sigcatchers;
***************
*** 44,47 ****
--- 45,49 ----
signal (int sig, _sig_func_ptr func)
{
+ TRACE_IN;
_sig_func_ptr prev;
***************
*** 66,69 ****
--- 68,72 ----
sleep (unsigned int seconds)
{
+ TRACE_IN;
int rc;
sigframe thisframe (mainthread);
***************
*** 93,96 ****
--- 96,100 ----
usleep (unsigned int useconds)
{
+ TRACE_IN;
syscall_printf ("usleep (%d)", useconds);
WaitForSingleObject (signal_arrived, (useconds + 500) / 1000);
***************
*** 102,105 ****
--- 106,110 ----
sigprocmask (int sig, const sigset_t *set, sigset_t *oldset)
{
+ TRACE_IN;
/* check that sig is in right range */
if (sig < 0 || sig >= NSIG)
***************
*** 141,144 ****
--- 146,150 ----
kill_worker (pid_t pid, int sig)
{
+ TRACE_IN;
int res = 0;
pinfo dest (pid);
***************
*** 181,184 ****
--- 187,191 ----
_raise (int sig)
{
+ TRACE_IN;
return _kill (myself->pid, sig);
}
***************
*** 188,191 ****
--- 195,199 ----
_kill (pid_t pid, int sig)
{
+ TRACE_IN;
syscall_printf ("kill (%d, %d)", pid, sig);
/* check that sig is in right range */
***************
*** 209,212 ****
--- 217,221 ----
kill_pgrp (pid_t pid, int sig)
{
+ TRACE_IN;
int res = 0;
int found = 0;
***************
*** 252,255 ****
--- 261,265 ----
killpg (pid_t pgrp, int sig)
{
+ TRACE_IN;
return _kill (-pgrp, sig);
}
***************
*** 258,261 ****
--- 268,272 ----
sigaction (int sig, const struct sigaction *newact, struct sigaction *oldact)
{
+ TRACE_IN;
sigproc_printf ("signal %d, newact %p, oldact %p", sig, newact, oldact);
/* check that sig is in right range */
***************
*** 293,296 ****
--- 304,308 ----
sigaddset (sigset_t *set, const int sig)
{
+ TRACE_IN;
/* check that sig is in right range */
if (sig <= 0 || sig >= NSIG)
***************
*** 308,311 ****
--- 320,324 ----
sigdelset (sigset_t *set, const int sig)
{
+ TRACE_IN;
/* check that sig is in right range */
if (sig <= 0 || sig >= NSIG)
***************
*** 323,326 ****
--- 336,340 ----
sigismember (const sigset_t *set, int sig)
{
+ TRACE_IN;
/* check that sig is in right range */
if (sig <= 0 || sig >= NSIG)
***************
*** 340,343 ****
--- 354,358 ----
sigemptyset (sigset_t *set)
{
+ TRACE_IN;
*set = (sigset_t) 0;
return 0;
***************
*** 347,350 ****
--- 362,366 ----
sigfillset (sigset_t *set)
{
+ TRACE_IN;
*set = ~((sigset_t) 0);
return 0;
***************
*** 354,357 ****
--- 370,374 ----
sigpending (sigset_t *set)
{
+ TRACE_IN;
unsigned bit;
*set = 0;
***************
*** 365,368 ****
--- 382,386 ----
sigsuspend (const sigset_t *set)
{
+ TRACE_IN;
return handle_sigsuspend (*set);
}
***************
*** 371,374 ****
--- 389,393 ----
sigpause (int signal_mask)
{
+ TRACE_IN;
return handle_sigsuspend ((sigset_t) signal_mask);
}
***************
*** 377,380 ****
--- 396,400 ----
pause (void)
{
+ TRACE_IN;
return handle_sigsuspend (myself->getsigmask ());
}
Index: sigproc.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/sigproc.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** sigproc.cc 11 Dec 2002 00:17:06 -0000 1.1.1.1
--- sigproc.cc 24 Feb 2003 21:30:38 -0000 1.2
***************
*** 133,136 ****
--- 133,137 ----
my_parent_is_alive ()
{
+ TRACE_IN;
DWORD res;
if (!myself->ppid_handle)
***************
*** 167,170 ****
--- 168,172 ----
wait_for_me ()
{
+ TRACE_IN;
/* See if this is the first signal call after initialization.
* If so, wait for notification that all initialization has completed.
***************
*** 182,185 ****
--- 184,188 ----
proc_can_be_signalled (_pinfo *p)
{
+ TRACE_IN;
if (p == myself_nowait || p == myself_nowait_nonmain || p == myself)
{
***************
*** 196,199 ****
--- 199,203 ----
pid_exists (pid_t pid)
{
+ TRACE_IN;
pinfo p (pid);
return proc_exists (p);
***************
*** 205,208 ****
--- 209,213 ----
proc_exists (_pinfo *p)
{
+ TRACE_IN;
return p && !(p->process_state & (PID_INITIALIZING | PID_EXITED));
}
***************
*** 214,217 ****
--- 219,223 ----
mychild (int pid)
{
+ TRACE_IN;
for (int i = 0; i < nchildren; i++)
if (pchildren[i]->pid == pid)
***************
*** 229,232 ****
--- 235,239 ----
proc_subproc (DWORD what, DWORD val)
{
+ TRACE_IN;
int rc = 1;
int potential_match;
***************
*** 428,431 ****
--- 435,439 ----
proc_terminate (void)
{
+ TRACE_IN;
sigproc_printf ("nchildren %d, nzombies %d", nchildren, nzombies);
/* Signal processing is assumed to be blocked in this routine. */
***************
*** 493,496 ****
--- 501,505 ----
sig_clear (int sig)
{
+ TRACE_IN;
(void) InterlockedExchange (myself->getsigtodo (sig), 0L);
return;
***************
*** 502,505 ****
--- 511,515 ----
sig_dispatch_pending (int justwake)
{
+ TRACE_IN;
if (!hwait_sig)
return 0;
***************
*** 545,548 ****
--- 555,559 ----
sigproc_init ()
{
+ TRACE_IN;
wait_sig_inited = CreateEvent (&sec_none_nih, TRUE, FALSE, NULL);
ProtectHandle (wait_sig_inited);
***************
*** 588,591 ****
--- 599,603 ----
sigproc_terminate (void)
{
+ TRACE_IN;
HANDLE h = hwait_sig;
hwait_sig = NULL;
***************
*** 653,656 ****
--- 665,669 ----
sig_send (_pinfo *p, int sig, DWORD ebp, bool exception)
{
+ TRACE_IN;
int rc = 1;
DWORD tid = GetCurrentThreadId ();
***************
*** 803,806 ****
--- 816,820 ----
sig_set_pending (int sig)
{
+ TRACE_IN;
(void) InterlockedIncrement (myself->getsigtodo (sig));
return;
***************
*** 813,816 ****
--- 827,831 ----
subproc_init (void)
{
+ TRACE_IN;
if (hwait_subproc)
return;
***************
*** 833,836 ****
--- 848,852 ----
init_child_info (DWORD chtype, child_info *ch, pid_t pid, HANDLE subproc_ready)
{
+ TRACE_IN;
memset (ch, 0, sizeof *ch);
ch->cb = sizeof *ch;
***************
*** 847,850 ****
--- 863,867 ----
checkstate (waitq *parent_w)
{
+ TRACE_IN;
int potential_match = 0;
***************
*** 890,893 ****
--- 907,911 ----
getsem (_pinfo *p, const char *str, int init, int max)
{
+ TRACE_IN;
HANDLE h;
***************
*** 947,950 ****
--- 965,969 ----
get_proc_lock (DWORD what, DWORD val)
{
+ TRACE_IN;
Static int lastwhat = -1;
if (!sync_proc_subproc)
***************
*** 967,970 ****
--- 986,990 ----
remove_zombie (int ci)
{
+ TRACE_IN;
sigproc_printf ("removing %d, pid %d, nzombies %d", ci, zombies[ci]->pid,
nzombies);
***************
*** 996,999 ****
--- 1016,1020 ----
stopped_or_terminated (waitq *parent_w, _pinfo *child)
{
+ TRACE_IN;
int potential_match;
waitq *w = parent_w->next;
***************
*** 1065,1068 ****
--- 1086,1090 ----
wait_sig (VOID *)
{
+ TRACE_IN;
/* Initialization */
(void) SetThreadPriority (hwait_sig, WAIT_SIG_PRIORITY);
***************
*** 1235,1238 ****
--- 1257,1261 ----
wait_subproc (VOID *)
{
+ TRACE_IN;
sigproc_printf ("starting");
int errloop = 0;
***************
*** 1313,1316 ****
--- 1336,1340 ----
WFSO (HANDLE hHandle, DWORD dwMilliseconds)
{
+ TRACE_IN;
DWORD ret;
sigframe thisframe (mainthread);
***************
*** 1324,1327 ****
--- 1348,1352 ----
WFMO (DWORD nCount, CONST HANDLE *lpHandles, BOOL fWaitAll, DWORD dwMilliseconds)
{
+ TRACE_IN;
DWORD ret;
sigframe thisframe (mainthread);
Index: spawn.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/spawn.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** spawn.cc 11 Dec 2002 00:17:06 -0000 1.1.1.1
--- spawn.cc 24 Feb 2003 21:30:39 -0000 1.2
***************
*** 498,502 ****
}
! FIXME(1.0);
// iscygexec needs adjusted so that it truely identifies an MSYS executable.
if (real_path.iscygexec () || IsMsys((char *)real_path))
--- 498,502 ----
}
! FIXME;
// iscygexec needs adjusted so that it truely identifies an MSYS executable.
if (real_path.iscygexec () || IsMsys((char *)real_path))
***************
*** 568,572 ****
#if 0
! FIXME(1.1);
// I renamed ix to bufidx and made it private.
// This is the only public place it's used.
--- 568,572 ----
#if 0
! FIXME;
// I renamed ix to bufidx and made it private.
// This is the only public place it's used.
***************
*** 627,631 ****
/* Build windows style environment list */
char *envblock;
! /* FIXME:
* Why do we need to call winenv() for MSYS binary?
*/
--- 627,632 ----
/* Build windows style environment list */
char *envblock;
! FIXME;
! /*
* Why do we need to call winenv() for MSYS binary?
*/
***************
*** 648,651 ****
--- 649,653 ----
}
#else
+ FIXME;
// FIXME:
// ciresrv.moreinfo->envc is the max available not the used count.
***************
*** 708,711 ****
--- 710,714 ----
{
ciresrv.moreinfo->uid = getuid ();
+ FIXME;
/* FIXME: This leaks a handle in the CreateProcessAsUser case since the
child process doesn't know about cygwin_mount_h. */
Index: winsup.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/winsup.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** winsup.h 11 Dec 2002 00:17:10 -0000 1.1.1.1
--- winsup.h 24 Feb 2003 21:30:39 -0000 1.2
***************
*** 21,29 ****
#endif
- #define FIXME(FIXNO) debug_printf("%s-%s", "FIXME", (FIXNO))
#define HMMM(HUM) debug_printf("%s-%d: %s", "HMMM", __LINE__, (HUM))
#if DEBUGGING
# define TRACE_IN debug_printf("TRACE_IN: %s, %d", __FILE__, __LINE__)
#else
# define TRACE_IN
#endif
--- 21,30 ----
#endif
#define HMMM(HUM) debug_printf("%s-%d: %s", "HMMM", __LINE__, (HUM))
#if DEBUGGING
+ # define FIXME debug_printf("FIXME - %s (%s): %d", __FILE__, __FUNCTION__, __LINE__)
# define TRACE_IN debug_printf("TRACE_IN: %s, %d", __FILE__, __LINE__)
#else
+ # define FIXME
# define TRACE_IN
#endif
|
|
From: <ea...@us...> - 2003-02-24 21:30:44
|
Update of /cvsroot/mingw/msys/rt/src/winsup/msys/include/cygwin
In directory sc8-pr-cvs1:/tmp/cvs-serv12446/include/cygwin
Modified Files:
version.h
Log Message:
Merge recent change from ../cygwin
Index: version.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/msys/include/cygwin/version.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** version.h 11 Dec 2002 00:17:13 -0000 1.1.1.1
--- version.h 24 Feb 2003 21:30:39 -0000 1.2
***************
*** 43,50 ****
/* The current cygwin version is 1.3.3 */
! /* The current msys version is 1.0.7 */
#define CYGWIN_VERSION_DLL_MAJOR 1000
! #define CYGWIN_VERSION_DLL_MINOR 8
/* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
--- 43,50 ----
/* The current cygwin version is 1.3.3 */
! /* The current msys version is 1.0.9 */
#define CYGWIN_VERSION_DLL_MAJOR 1000
! #define CYGWIN_VERSION_DLL_MINOR 9
/* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
|
|
From: <na...@us...> - 2003-02-23 22:13:57
|
Update of /cvsroot/mingw/htdocs In directory sc8-pr-cvs1:/tmp/cvs-serv18934 Modified Files: ChangeLog Log Message: 2003-02-23 Nathan Fisher <na...@us...> * ChangeLog: Updated to reflect recent changes. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/htdocs/ChangeLog,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** ChangeLog 19 Feb 2003 03:47:40 -0000 1.122 --- ChangeLog 23 Feb 2003 22:13:54 -0000 1.123 *************** *** 1,4 **** --- 1,8 ---- 2003-02-18 Nathan Fisher <na...@us...> + * bugs.sh: Add to repository. + + 2003-02-18 Nathan Fisher <na...@us...> + * bugs.shtml: Change include/_win32.h to include/win32.h. |
|
From: <na...@us...> - 2003-02-23 22:12:17
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv18323
Added Files:
bugs.sh
Log Message:
2003-02-23 Nathan Fisher <na...@us...>
* bugs.sh: Add to repository.
--- NEW FILE: bugs.sh ---
#!/bin/sh
VERINFO_SRC=bugInfo.cpp
BUGREPORT=bugReport.cpp
FILEEXISTS=0
W32API_VER=`echo -e "#include <w32api.h>\n__W32API_MAJOR_VERSION.__W32API_MINOR_VERSION" | gcc -E - | grep -v "#"`
MINGW_VER=`echo -e "#include <_mingw.h>\n__MINGW32_VERSION" | gcc -E - | grep -v "#"`
#
# dumpInfo: generates C style comments in the bug report.
# the param 1 is a comment description, while param 2 is an executable
# command that will provide version information.
#
function dumpInfo {
echo "/* $1" >> $BUGREPORT
PROGOUT=`$2 2>&1`
echo $PROGOUT >> $BUGREPORT
echo "*/" >> $BUGREPORT
echo >> $BUGREPORT
}
#
# generateReport: clears a previous bug report and writes the version
# information, problem desc, and test case to a c or cpp file
#
function generateReport {
echo > $BUGREPORT # clear any previous report
dumpInfo "MinGW Bug Report" "date"
dumpInfo "MinGW Version:" "echo $MINGW_VER"
dumpInfo "W32API Version:" "echo $W32API_VER"
dumpInfo "gcc Version:" "gcc -v"
dumpInfo "ld Version:" "ld -v"
dumpInfo "MSYS Version:" "uname -a"
dumpInfo "Problem Description:" "cat $PROBDESC"
echo "/* ---------------- BEGIN TESTCASE ------------------- */" >> $BUGREPORT
cat $TSTCASE >> $BUGREPORT
echo "/* ---------------- END TESTCASE --------------------- */" >> $BUGREPORT
echo "Report generated as: " $BUGREPORT
}
#
# checkFile: checks if the file exists returns 1 if exists, else 0.
#
function checkFile {
if [ -f $1 ];
then
return 1
else
echo "ERR: File not found!"
return 0
fi
}
#
# getFiles: prompts the user to enter the filenames and checks if they exist
#
function getFiles {
while [ "$FILEEXISTS" != "1" ]; do
echo "Please enter the problem description filename: "
read PROBDESC
checkFile $PROBDESC
FILEEXISTS=$?
#if [ "$FILEEXISTS" != "1" ];
#then
# echo "Do you wish to generate a file named $PROBDESC now(y/n)?"
# read CREATEFILE
# echo $CREATEFILE
#yeah I know should check for uppercase Y too
# if [ "$CREATEFILE" == "y" ];
# then
# exec "vi $PROBDESC"
# fi
#fi
done
FILEEXISTS=0
while [ "$FILEEXISTS" != "1" ]; do
echo "Please enter the testcase source code filename: "
read TSTCASE
checkFile $TSTCASE
FILEEXISTS=$?
done
}
#
# usage: will be used later when command line parameters are enabled
#
function usage {
echo "usage: $0 problem_description.txt testcase.c[pp]"
exit
}
#---------------- BEGIN main ---------------------
getFiles
generateReport
# bugs.sh END
|
Update of /cvsroot/mingw/runtime/include
In directory sc8-pr-cvs1:/tmp/cvs-serv20076/include
Modified Files:
_mingw.h assert.h conio.h ctype.h direct.h dirent.h dos.h
errno.h fenv.h float.h inttypes.h io.h locale.h malloc.h
math.h mbctype.h mbstring.h process.h setjmp.h signal.h
stdio.h stdlib.h string.h time.h wchar.h wctype.h
Log Message:
Merge winsup changes
Index: _mingw.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/_mingw.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** _mingw.h 8 Feb 2003 14:59:33 -0000 1.13
--- _mingw.h 21 Feb 2003 21:19:51 -0000 1.14
***************
*** 30,33 ****
--- 30,34 ----
__MINGW_IMPORT The attribute definition to specify imported
variables/functions.
+ _CRTIMP As above. For MS compatibility.
__MINGW32_VERSION Runtime version.
__MINGW32_MAJOR_VERSION Runtime major version.
***************
*** 48,51 ****
--- 49,55 ----
# define __MINGW_IMPORT __declspec(dllimport)
# endif
+ # ifndef _CRTIMP
+ # define _CRTIMP __declspec(dllimport)
+ # endif
# define __DECLSPEC_SUPPORTED
#else /* __GNUC__ */
***************
*** 56,65 ****
limitations in handling dllimport attribute. */
# define __MINGW_IMPORT extern __attribute__((dllimport))
! # endif
# define __DECLSPEC_SUPPORTED
! # else
# undef __DECLSPEC_SUPPORTED
# undef __MINGW_IMPORT
! # endif
# undef __int64
# define __int64 long long
--- 60,81 ----
limitations in handling dllimport attribute. */
# define __MINGW_IMPORT extern __attribute__((dllimport))
! # endif
! # ifndef _CRTIMP
! # define _CRTIMP __attribute__((dllimport))
! # endif
# define __DECLSPEC_SUPPORTED
! # else /* __declspec */
# undef __DECLSPEC_SUPPORTED
# undef __MINGW_IMPORT
! # ifndef _CRTIMP
! # define _CRTIMP
! # endif
! # endif /* __declspec */
! # ifndef __cdecl
! # define __cdecl __attribute__((cdecl))
! # endif
! # ifndef __stdcall
! # define __stdcall __attribute__((stdcall))
! # endif
# undef __int64
# define __int64 long long
***************
*** 71,73 ****
#endif /* __MINGW_H */
-
--- 87,88 ----
Index: assert.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/assert.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** assert.h 29 Nov 2001 04:26:33 -0000 1.3
--- assert.h 21 Feb 2003 21:19:51 -0000 1.4
***************
*** 50,54 ****
* call to abort.
*/
! void _assert (const char*, const char*, int)
#ifdef __GNUC__
__attribute__ ((noreturn))
--- 50,54 ----
* call to abort.
*/
! _CRTIMP void __cdecl _assert (const char*, const char*, int)
#ifdef __GNUC__
__attribute__ ((noreturn))
Index: conio.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/conio.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** conio.h 29 Nov 2001 04:26:33 -0000 1.3
--- conio.h 21 Feb 2003 21:19:51 -0000 1.4
***************
*** 40,63 ****
#endif
! char* _cgets (char*);
! int _cprintf (const char*, ...);
! int _cputs (const char*);
! int _cscanf (char*, ...);
!
! int _getch (void);
! int _getche (void);
! int _kbhit (void);
! int _putch (int);
! int _ungetch (int);
#ifndef _NO_OLDNAMES
! int getch (void);
! int getche (void);
! int kbhit (void);
! int putch (int);
! int ungetch (int);
#endif /* Not _NO_OLDNAMES */
--- 40,62 ----
#endif
+ _CRTIMP char* __cdecl _cgets (char*);
+ _CRTIMP int __cdecl _cprintf (const char*, ...);
+ _CRTIMP int __cdecl _cputs (const char*);
+ _CRTIMP int __cdecl _cscanf (char*, ...);
! _CRTIMP int __cdecl _getch (void);
! _CRTIMP int __cdecl _getche (void);
! _CRTIMP int __cdecl _kbhit (void);
! _CRTIMP int __cdecl _putch (int);
! _CRTIMP int __cdecl _ungetch (int);
#ifndef _NO_OLDNAMES
! _CRTIMP int __cdecl getch (void);
! _CRTIMP int __cdecl getche (void);
! _CRTIMP int __cdecl kbhit (void);
! _CRTIMP int __cdecl putch (int);
! _CRTIMP int __cdecl ungetch (int);
#endif /* Not _NO_OLDNAMES */
Index: ctype.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/ctype.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ctype.h 5 Feb 2003 23:04:51 -0000 1.7
--- ctype.h 21 Feb 2003 21:19:51 -0000 1.8
***************
*** 60,82 ****
#endif
! int isalnum(int);
! int isalpha(int);
! int iscntrl(int);
! int isdigit(int);
! int isgraph(int);
! int islower(int);
! int isprint(int);
! int ispunct(int);
! int isspace(int);
! int isupper(int);
! int isxdigit(int);
#ifndef __STRICT_ANSI__
! int _isctype (int, int);
#endif
/* These are the ANSI versions, with correct checking of argument */
! int tolower(int);
! int toupper(int);
/*
--- 60,82 ----
#endif
! _CRTIMP int __cdecl isalnum(int);
! _CRTIMP int __cdecl isalpha(int);
! _CRTIMP int __cdecl iscntrl(int);
! _CRTIMP int __cdecl isdigit(int);
! _CRTIMP int __cdecl isgraph(int);
! _CRTIMP int __cdecl islower(int);
! _CRTIMP int __cdecl isprint(int);
! _CRTIMP int __cdecl ispunct(int);
! _CRTIMP int __cdecl isspace(int);
! _CRTIMP int __cdecl isupper(int);
! _CRTIMP int __cdecl isxdigit(int);
#ifndef __STRICT_ANSI__
! _CRTIMP int __cdecl _isctype (int, int);
#endif
/* These are the ANSI versions, with correct checking of argument */
! _CRTIMP int __cdecl tolower(int);
! _CRTIMP int __cdecl toupper(int);
/*
***************
*** 90,95 ****
* if the argument is not ASCII char or is not of appropriate case
*/
! int _tolower(int);
! int _toupper(int);
#endif
--- 90,95 ----
* if the argument is not ASCII char or is not of appropriate case
*/
! _CRTIMP int __cdecl _tolower(int);
! _CRTIMP int __cdecl _toupper(int);
#endif
***************
*** 153,174 ****
! #if ! (defined (__NO_CTYPE_INLINES) || defined (__STRICT_ANSI__ ))
/* use simple lookup if SB locale, else _isctype() */
#define __ISCTYPE(c, mask) (MB_CUR_MAX == 1 ? (_pctype[c] & mask) : _isctype(c, mask))
! extern __inline__ int isalnum(int c) {return __ISCTYPE(c, (_ALPHA|_DIGIT));}
! extern __inline__ int isalpha(int c) {return __ISCTYPE(c, _ALPHA);}
! extern __inline__ int iscntrl(int c) {return __ISCTYPE(c, _CONTROL);}
! extern __inline__ int isdigit(int c) {return __ISCTYPE(c, _DIGIT);}
! extern __inline__ int isgraph(int c) {return __ISCTYPE(c, (_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int islower(int c) {return __ISCTYPE(c, _LOWER);}
! extern __inline__ int isprint(int c) {return __ISCTYPE(c, (_BLANK|_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int ispunct(int c) {return __ISCTYPE(c, _PUNCT);}
! extern __inline__ int isspace(int c) {return __ISCTYPE(c, _SPACE);}
! extern __inline__ int isupper(int c) {return __ISCTYPE(c, _UPPER);}
! extern __inline__ int isxdigit(int c) {return __ISCTYPE(c, _HEX);}
/* these reproduce behaviour of lib underscored versions */
! extern __inline__ int _tolower(int c) {return ( c -'A'+'a');}
! extern __inline__ int _toupper(int c) {return ( c -'a'+'A');}
/* TODO? Is it worth inlining ANSI tolower, toupper? Probably only
--- 153,175 ----
! #if ! (defined (__NO_INLINE__) || defined (__NO_CTYPE_INLINES) \
! || defined (__STRICT_ANSI__ ))
/* use simple lookup if SB locale, else _isctype() */
#define __ISCTYPE(c, mask) (MB_CUR_MAX == 1 ? (_pctype[c] & mask) : _isctype(c, mask))
! extern __inline__ int __cdecl isalnum(int c) {return __ISCTYPE(c, (_ALPHA|_DIGIT));}
! extern __inline__ int __cdecl isalpha(int c) {return __ISCTYPE(c, _ALPHA);}
! extern __inline__ int __cdecl iscntrl(int c) {return __ISCTYPE(c, _CONTROL);}
! extern __inline__ int __cdecl isdigit(int c) {return __ISCTYPE(c, _DIGIT);}
! extern __inline__ int __cdecl isgraph(int c) {return __ISCTYPE(c, (_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int __cdecl islower(int c) {return __ISCTYPE(c, _LOWER);}
! extern __inline__ int __cdecl isprint(int c) {return __ISCTYPE(c, (_BLANK|_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int __cdecl ispunct(int c) {return __ISCTYPE(c, _PUNCT);}
! extern __inline__ int __cdecl isspace(int c) {return __ISCTYPE(c, _SPACE);}
! extern __inline__ int __cdecl isupper(int c) {return __ISCTYPE(c, _UPPER);}
! extern __inline__ int __cdecl isxdigit(int c) {return __ISCTYPE(c, _HEX);}
/* these reproduce behaviour of lib underscored versions */
! extern __inline__ int __cdecl _tolower(int c) {return ( c -'A'+'a');}
! extern __inline__ int __cdecl _toupper(int c) {return ( c -'a'+'A');}
/* TODO? Is it worth inlining ANSI tolower, toupper? Probably only
***************
*** 188,247 ****
#endif
! int iswalnum(wint_t);
! int iswalpha(wint_t);
! int iswascii(wint_t);
! int iswcntrl(wint_t);
! int iswctype(wint_t, wctype_t);
! int is_wctype(wint_t, wctype_t); /* Obsolete! */
! int iswdigit(wint_t);
! int iswgraph(wint_t);
! int iswlower(wint_t);
! int iswprint(wint_t);
! int iswpunct(wint_t);
! int iswspace(wint_t);
! int iswupper(wint_t);
! int iswxdigit(wint_t);
! wchar_t towlower(wchar_t);
! wchar_t towupper(wchar_t);
! int isleadbyte (int);
/* Also in wctype.h */
! #if ! (defined(__NO_CTYPE_INLINES) || defined(__WCTYPE_INLINES_DEFINED))
#define __WCTYPE_INLINES_DEFINED
! extern __inline__ int iswalnum(wint_t wc) {return (iswctype(wc,_ALPHA|_DIGIT));}
! extern __inline__ int iswalpha(wint_t wc) {return (iswctype(wc,_ALPHA));}
! extern __inline__ int iswascii(wint_t wc) {return ((wc & ~0x7F) ==0);}
! extern __inline__ int iswcntrl(wint_t wc) {return (iswctype(wc,_CONTROL));}
! extern __inline__ int iswdigit(wint_t wc) {return (iswctype(wc,_DIGIT));}
! extern __inline__ int iswgraph(wint_t wc) {return (iswctype(wc,_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int iswlower(wint_t wc) {return (iswctype(wc,_LOWER));}
! extern __inline__ int iswprint(wint_t wc) {return (iswctype(wc,_BLANK|_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int iswpunct(wint_t wc) {return (iswctype(wc,_PUNCT));}
! extern __inline__ int iswspace(wint_t wc) {return (iswctype(wc,_SPACE));}
! extern __inline__ int iswupper(wint_t wc) {return (iswctype(wc,_UPPER));}
! extern __inline__ int iswxdigit(wint_t wc) {return (iswctype(wc,_HEX));}
! extern __inline__ int isleadbyte(int c) {return (_pctype[(unsigned char)(c)] & _LEADBYTE);}
#endif /* !(defined(__NO_CTYPE_INLINES) || defined(__WCTYPE_INLINES_DEFINED)) */
#ifndef __STRICT_ANSI__
! int __isascii (int);
! int __toascii (int);
! int __iscsymf (int); /* Valid first character in C symbol */
! int __iscsym (int); /* Valid character in C symbol (after first) */
! #ifndef __NO_CTYPE_INLINES
! extern __inline__ int __isascii(int c) {return ((c & ~0x7F) == 0);}
! extern __inline__ int __toascii(int c) {return (c & 0x7F);}
! extern __inline__ int __iscsymf(int c) {return (isalpha(c) || (c == '_'));}
! extern __inline__ int __iscsym(int c) {return (isalnum(c) || (c == '_'));}
#endif /* __NO_CTYPE_INLINES */
#ifndef _NO_OLDNAMES
! int isascii (int);
! int toascii (int);
! int iscsymf (int);
! int iscsym (int);
#endif /* Not _NO_OLDNAMES */
--- 189,250 ----
#endif
! _CRTIMP int __cdecl iswalnum(wint_t);
! _CRTIMP int __cdecl iswalpha(wint_t);
! _CRTIMP int __cdecl iswascii(wint_t);
! _CRTIMP int __cdecl iswcntrl(wint_t);
! _CRTIMP int __cdecl iswctype(wint_t, wctype_t);
! _CRTIMP int __cdecl is_wctype(wint_t, wctype_t); /* Obsolete! */
! _CRTIMP int __cdecl iswdigit(wint_t);
! _CRTIMP int __cdecl iswgraph(wint_t);
! _CRTIMP int __cdecl iswlower(wint_t);
! _CRTIMP int __cdecl iswprint(wint_t);
! _CRTIMP int __cdecl iswpunct(wint_t);
! _CRTIMP int __cdecl iswspace(wint_t);
! _CRTIMP int __cdecl iswupper(wint_t);
! _CRTIMP int __cdecl iswxdigit(wint_t);
! _CRTIMP wchar_t __cdecl towlower(wchar_t);
! _CRTIMP wchar_t __cdecl towupper(wchar_t);
! _CRTIMP int __cdecl isleadbyte (int);
/* Also in wctype.h */
! #if ! (defined (__NO_INLINE__) || defined(__NO_CTYPE_INLINES) \
! || defined(__WCTYPE_INLINES_DEFINED))
#define __WCTYPE_INLINES_DEFINED
! extern __inline__ int __cdecl iswalnum(wint_t wc) {return (iswctype(wc,_ALPHA|_DIGIT));}
! extern __inline__ int __cdecl iswalpha(wint_t wc) {return (iswctype(wc,_ALPHA));}
! extern __inline__ int __cdecl iswascii(wint_t wc) {return ((wc & ~0x7F) ==0);}
! extern __inline__ int __cdecl iswcntrl(wint_t wc) {return (iswctype(wc,_CONTROL));}
! extern __inline__ int __cdecl iswdigit(wint_t wc) {return (iswctype(wc,_DIGIT));}
! extern __inline__ int __cdecl iswgraph(wint_t wc) {return (iswctype(wc,_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int __cdecl iswlower(wint_t wc) {return (iswctype(wc,_LOWER));}
! extern __inline__ int __cdecl iswprint(wint_t wc) {return (iswctype(wc,_BLANK|_PUNCT|_ALPHA|_DIGIT));}
! extern __inline__ int __cdecl iswpunct(wint_t wc) {return (iswctype(wc,_PUNCT));}
! extern __inline__ int __cdecl iswspace(wint_t wc) {return (iswctype(wc,_SPACE));}
! extern __inline__ int __cdecl iswupper(wint_t wc) {return (iswctype(wc,_UPPER));}
! extern __inline__ int __cdecl iswxdigit(wint_t wc) {return (iswctype(wc,_HEX));}
! extern __inline__ int __cdecl isleadbyte(int c) {return (_pctype[(unsigned char)(c)] & _LEADBYTE);}
#endif /* !(defined(__NO_CTYPE_INLINES) || defined(__WCTYPE_INLINES_DEFINED)) */
#ifndef __STRICT_ANSI__
! int __cdecl __isascii (int);
! int __cdecl __toascii (int);
! int __cdecl __iscsymf (int); /* Valid first character in C symbol */
! int __cdecl __iscsym (int); /* Valid character in C symbol (after first) */
! #if !(defined (__NO_INLINE__) || defined (__NO_CTYPE_INLINES))
! extern __inline__ int __cdecl __isascii(int c) {return ((c & ~0x7F) == 0);}
! extern __inline__ int __cdecl __toascii(int c) {return (c & 0x7F);}
! extern __inline__ int __cdecl __iscsymf(int c) {return (isalpha(c) || (c == '_'));}
! extern __inline__ int __cdecl __iscsym(int c) {return (isalnum(c) || (c == '_'));}
#endif /* __NO_CTYPE_INLINES */
#ifndef _NO_OLDNAMES
! /* Not _CRTIMP */
! int __cdecl isascii (int);
! int __cdecl toascii (int);
! int __cdecl iscsymf (int);
! int __cdecl iscsym (int);
#endif /* Not _NO_OLDNAMES */
Index: direct.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/direct.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** direct.h 29 Nov 2001 04:26:33 -0000 1.3
--- direct.h 21 Feb 2003 21:19:51 -0000 1.4
***************
*** 62,70 ****
* However, it does make it easier to port older code.
*/
! int _getdrive (void);
! unsigned long _getdrives(void);
! int _chdrive (int);
! char* _getdcwd (int, char*, int);
! unsigned _getdiskfree (unsigned, struct _diskfree_t *);
#ifndef _NO_OLDNAMES
--- 62,70 ----
* However, it does make it easier to port older code.
*/
! _CRTIMP int __cdecl _getdrive (void);
! _CRTIMP unsigned long __cdecl _getdrives(void);
! _CRTIMP int __cdecl _chdrive (int);
! _CRTIMP char* __cdecl _getdcwd (int, char*, int);
! _CRTIMP unsigned __cdecl _getdiskfree (unsigned, struct _diskfree_t *);
#ifndef _NO_OLDNAMES
***************
*** 75,83 ****
/* wide character versions. Also in wchar.h */
#ifdef __MSVCRT__
! int _wchdir(const wchar_t*);
! wchar_t* _wgetcwd(wchar_t*, int);
! wchar_t* _wgetdcwd(int, wchar_t*, int);
! int _wmkdir(const wchar_t*);
! int _wrmdir(const wchar_t*);
#endif /* __MSVCRT__ */
#define _WDIRECT_DEFINED
--- 75,83 ----
/* wide character versions. Also in wchar.h */
#ifdef __MSVCRT__
! _CRTIMP int __cdecl _wchdir(const wchar_t*);
! _CRTIMP wchar_t* __cdecl _wgetcwd(wchar_t*, int);
! _CRTIMP wchar_t* __cdecl _wgetdcwd(int, wchar_t*, int);
! _CRTIMP int __cdecl _wmkdir(const wchar_t*);
! _CRTIMP int __cdecl _wrmdir(const wchar_t*);
#endif /* __MSVCRT__ */
#define _WDIRECT_DEFINED
Index: dirent.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/dirent.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** dirent.h 14 Jun 2002 15:12:54 -0000 1.4
--- dirent.h 21 Feb 2003 21:19:51 -0000 1.5
***************
*** 78,87 ****
} DIR;
! DIR* opendir (const char*);
! struct dirent* readdir (DIR*);
! int closedir (DIR*);
! void rewinddir (DIR*);
! long telldir (DIR*);
! void seekdir (DIR*, long);
--- 78,87 ----
} DIR;
! DIR* __cdecl opendir (const char*);
! struct dirent* __cdecl readdir (DIR*);
! int __cdecl closedir (DIR*);
! void __cdecl rewinddir (DIR*);
! long __cdecl telldir (DIR*);
! void __cdecl seekdir (DIR*, long);
***************
*** 128,137 ****
! _WDIR* _wopendir (const wchar_t*);
! struct _wdirent* _wreaddir (_WDIR*);
! int _wclosedir (_WDIR*);
! void _wrewinddir (_WDIR*);
! long _wtelldir (_WDIR*);
! void _wseekdir (_WDIR*, long);
--- 128,137 ----
! _WDIR* __cdecl _wopendir (const wchar_t*);
! struct _wdirent* __cdecl _wreaddir (_WDIR*);
! int __cdecl _wclosedir (_WDIR*);
! void __cdecl _wrewinddir (_WDIR*);
! long __cdecl _wtelldir (_WDIR*);
! void __cdecl _wseekdir (_WDIR*, long);
Index: dos.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/dos.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** dos.h 14 Jun 2002 15:12:54 -0000 1.4
--- dos.h 21 Feb 2003 21:19:51 -0000 1.5
***************
*** 93,97 ****
#endif
! unsigned _getdiskfree (unsigned, struct _diskfree_t *);
#ifndef _NO_OLDNAMES
--- 93,97 ----
#endif
! _CRTIMP unsigned __cdecl _getdiskfree (unsigned, struct _diskfree_t *);
#ifndef _NO_OLDNAMES
Index: errno.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/errno.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** errno.h 29 Nov 2001 04:26:33 -0000 1.4
--- errno.h 21 Feb 2003 21:19:51 -0000 1.5
***************
*** 105,109 ****
extern int errno;
#else
! int* _errno(void);
#define errno (*_errno())
#endif
--- 105,109 ----
extern int errno;
#else
! _CRTIMP int* __cdecl _errno(void);
#define errno (*_errno())
#endif
Index: fenv.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/fenv.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fenv.h 14 Jun 2002 15:12:54 -0000 1.1
--- fenv.h 21 Feb 2003 21:19:51 -0000 1.2
***************
*** 66,86 ****
/* 7.6.2 Exception */
! extern int feclearexcept (int);
! extern int fegetexceptflag (fexcept_t * flagp, int excepts);
! extern int feraiseexcept (int excepts );
! extern int fesetexceptflag (const fexcept_t *, int);
! extern int fetestexcept (int excepts);
/* 7.6.3 Rounding */
! extern int fegetround (void);
! extern int fesetround (int mode);
/* 7.6.4 Environment */
! extern int fegetenv (fenv_t * envp);
! extern int fesetenv (const fenv_t * );
! extern int feupdateenv (const fenv_t *);
! extern int feholdexcept (fenv_t *);
#ifdef __cplusplus
--- 66,86 ----
/* 7.6.2 Exception */
! extern int __cdecl feclearexcept (int);
! extern int __cdecl fegetexceptflag (fexcept_t * flagp, int excepts);
! extern int __cdecl feraiseexcept (int excepts );
! extern int __cdecl fesetexceptflag (const fexcept_t *, int);
! extern int __cdecl fetestexcept (int excepts);
/* 7.6.3 Rounding */
! extern int __cdecl fegetround (void);
! extern int __cdecl fesetround (int mode);
/* 7.6.4 Environment */
! extern int __cdecl fegetenv (fenv_t * envp);
! extern int __cdecl fesetenv (const fenv_t * );
! extern int __cdecl feupdateenv (const fenv_t *);
! extern int __cdecl feholdexcept (fenv_t *);
#ifdef __cplusplus
Index: float.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/float.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** float.h 12 Aug 2002 13:06:35 -0000 1.9
--- float.h 21 Feb 2003 21:19:51 -0000 1.10
***************
*** 116,125 ****
* i.e. change the bits in unMask to have the values they have in unNew,
* leaving other bits unchanged. */
! unsigned int _controlfp (unsigned int unNew, unsigned int unMask);
! unsigned int _control87 (unsigned int unNew, unsigned int unMask);
! unsigned int _clearfp (void); /* Clear the FPU status word */
! unsigned int _statusfp (void); /* Report the FPU status word */
#define _clear87 _clearfp
#define _status87 _statusfp
--- 116,125 ----
* i.e. change the bits in unMask to have the values they have in unNew,
* leaving other bits unchanged. */
! _CRTIMP unsigned int __cdecl _controlfp (unsigned int unNew, unsigned int unMask);
! _CRTIMP unsigned int __cdecl _control87 (unsigned int unNew, unsigned int unMask);
! _CRTIMP unsigned int __cdecl _clearfp (void); /* Clear the FPU status word */
! _CRTIMP unsigned int __cdecl _statusfp (void); /* Report the FPU status word */
#define _clear87 _clearfp
#define _status87 _statusfp
***************
*** 135,143 ****
building your application.
*/
! void _fpreset (void);
! void fpreset (void);
/* Global 'variable' for the current floating point error code. */
! int * __fpecode(void);
#define _fpecode (*(__fpecode()))
--- 135,143 ----
building your application.
*/
! void __cdecl _fpreset (void);
! void __cdecl fpreset (void);
/* Global 'variable' for the current floating point error code. */
! _CRTIMP int * __cdecl __fpecode(void);
#define _fpecode (*(__fpecode()))
***************
*** 147,159 ****
*/
! double _chgsign (double);
! double _copysign (double, double);
! double _logb (double);
! double _nextafter (double, double);
! double _scalb (double, long);
! int _finite (double);
! int _fpclass (double);
! int _isnan (double);
#ifdef __cplusplus
--- 147,159 ----
*/
! _CRTIMP double __cdecl _chgsign (double);
! _CRTIMP double __cdecl _copysign (double, double);
! _CRTIMP double __cdecl _logb (double);
! _CRTIMP double __cdecl _nextafter (double, double);
! _CRTIMP double __cdecl _scalb (double, long);
! _CRTIMP int __cdecl _finite (double);
! _CRTIMP int __cdecl _fpclass (double);
! _CRTIMP int __cdecl _isnan (double);
#ifdef __cplusplus
Index: inttypes.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/inttypes.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** inttypes.h 14 Jun 2002 15:12:54 -0000 1.1
--- inttypes.h 21 Feb 2003 21:19:51 -0000 1.2
***************
*** 255,271 ****
#endif /* !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) */
! extern __inline__ intmax_t imaxabs (intmax_t j)
{return (j >= 0 ? j : -j);}
! imaxdiv_t imaxdiv (intmax_t numer, intmax_t denom);
/* 7.8.2 Conversion functions for greatest-width integer types */
! intmax_t strtoimax (const char* __restrict__ nptr, char** __restrict__ endptr, int base);
! uintmax_t strtoumax (const char* __restrict__ nptr, char** __restrict__ endptr, int base);
! intmax_t wcstoimax (const wchar_t* __restrict__ nptr, wchar_t** __restrict__ endptr,
! int base);
! uintmax_t wcstoumax (const wchar_t* __restrict__ nptr, wchar_t** __restrict__ endptr,
! int base);
#ifdef __cplusplus
--- 255,273 ----
#endif /* !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) */
! extern __inline__ intmax_t __cdecl imaxabs (intmax_t j)
{return (j >= 0 ? j : -j);}
! imaxdiv_t __cdecl imaxdiv (intmax_t numer, intmax_t denom);
/* 7.8.2 Conversion functions for greatest-width integer types */
! intmax_t __cdecl strtoimax (const char* __restrict__ nptr,
! char** __restrict__ endptr, int base);
! uintmax_t __cdecl strtoumax (const char* __restrict__ nptr,
! char** __restrict__ endptr, int base);
! intmax_t __cdecl wcstoimax (const wchar_t* __restrict__ nptr,
! wchar_t** __restrict__ endptr, int base);
! uintmax_t __cdecl wcstoumax (const wchar_t* __restrict__ nptr,
! wchar_t** __restrict__ endptr, int base);
#ifdef __cplusplus
Index: io.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/io.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** io.h 12 Nov 2002 15:29:38 -0000 1.6
--- io.h 21 Feb 2003 21:19:51 -0000 1.7
***************
*** 117,138 ****
* and 0 if a match was found. Call _findclose when you are finished.
*/
! int _findfirst (const char*, struct _finddata_t*);
! int _findnext (int, struct _finddata_t*);
! int _findclose (int);
! int _chdir (const char*);
! char* _getcwd (char*, int);
! int _mkdir (const char*);
! char* _mktemp (char*);
! int _rmdir (const char*);
! int _chmod (const char*, int);
#ifdef __MSVCRT__
! __int64 _filelengthi64(int);
! long _findfirsti64(const char*, struct _finddatai64_t*);
! int _findnexti64(long, struct _finddatai64_t*);
! __int64 _lseeki64(int, __int64, int);
! __int64 _telli64(int);
#endif /* __MSVCRT__ */
--- 117,138 ----
* and 0 if a match was found. Call _findclose when you are finished.
*/
! _CRTIMP int __cdecl _findfirst (const char*, struct _finddata_t*);
! _CRTIMP int __cdecl _findnext (int, struct _finddata_t*);
! _CRTIMP int __cdecl _findclose (int);
! _CRTIMP int __cdecl _chdir (const char*);
! _CRTIMP char* __cdecl _getcwd (char*, int);
! _CRTIMP int __cdecl _mkdir (const char*);
! _CRTIMP char* __cdecl _mktemp (char*);
! _CRTIMP int __cdecl _rmdir (const char*);
! _CRTIMP int __cdecl _chmod (const char*, int);
#ifdef __MSVCRT__
! _CRTIMP __int64 __cdecl _filelengthi64(int);
! _CRTIMP long __cdecl _findfirsti64(const char*, struct _finddatai64_t*);
! _CRTIMP int __cdecl _findnexti64(long, struct _finddatai64_t*);
! _CRTIMP __int64 __cdecl _lseeki64(int, __int64, int);
! _CRTIMP __int64 __cdecl _telli64(int);
#endif /* __MSVCRT__ */
***************
*** 141,150 ****
#ifndef _UWIN
! int chdir (const char*);
! char* getcwd (char*, int);
! int mkdir (const char*);
! char* mktemp (char*);
! int rmdir (const char*);
! int chmod (const char*, int);
#endif /* _UWIN */
--- 141,150 ----
#ifndef _UWIN
! _CRTIMP int __cdecl chdir (const char*);
! _CRTIMP char* __cdecl getcwd (char*, int);
! _CRTIMP int __cdecl mkdir (const char*);
! _CRTIMP char* __cdecl mktemp (char*);
! _CRTIMP int __cdecl rmdir (const char*);
! _CRTIMP int __cdecl chmod (const char*, int);
#endif /* _UWIN */
***************
*** 177,195 ****
#endif
! int _access (const char*, int);
! int _chsize (int, long);
! int _close (int);
! int _commit(int);
/* NOTE: The only significant bit in unPermissions appears to be bit 7 (0x80),
* the "owner write permission" bit (on FAT). */
! int _creat (const char*, int);
! int _dup (int);
! int _dup2 (int, int);
! long _filelength (int);
! int _fileno (FILE*);
! long _get_osfhandle (int);
! int _isatty (int);
/* In a very odd turn of events this function is excluded from those
--- 177,195 ----
#endif
! _CRTIMP int __cdecl _access (const char*, int);
! _CRTIMP int __cdecl _chsize (int, long);
! _CRTIMP int __cdecl _close (int);
! _CRTIMP int __cdecl _commit(int);
/* NOTE: The only significant bit in unPermissions appears to be bit 7 (0x80),
* the "owner write permission" bit (on FAT). */
! _CRTIMP int __cdecl _creat (const char*, int);
! _CRTIMP int __cdecl _dup (int);
! _CRTIMP int __cdecl _dup2 (int, int);
! _CRTIMP long __cdecl _filelength (int);
! _CRTIMP int __cdecl _fileno (FILE*);
! _CRTIMP long __cdecl _get_osfhandle (int);
! _CRTIMP int __cdecl _isatty (int);
/* In a very odd turn of events this function is excluded from those
***************
*** 199,227 ****
* the enum member in streambuf.h... we'll see. TODO */
#ifndef _STREAM_COMPAT
! int _eof (int);
#endif
/* LK_... locking commands defined in sys/locking.h. */
! int _locking (int, int, long);
! long _lseek (int, long, int);
/* Optional third argument is unsigned unPermissions. */
! int _open (const char*, int, ...);
! int _open_osfhandle (long, int);
! int _pipe (int *, unsigned int, int);
! int _read (int, void*, unsigned int);
! int _setmode (int, int);
/* SH_... flags for nShFlags defined in share.h
* Optional fourth argument is unsigned unPermissions */
! int _sopen (const char*, int, int, ...);
! long _tell (int);
/* Should umask be in sys/stat.h and/or sys/types.h instead? */
! int _umask (int);
! int _unlink (const char*);
! int _write (int, const void*, unsigned int);
/* Wide character versions. Also declared in wchar.h. */
--- 199,227 ----
* the enum member in streambuf.h... we'll see. TODO */
#ifndef _STREAM_COMPAT
! _CRTIMP int __cdecl _eof (int);
#endif
/* LK_... locking commands defined in sys/locking.h. */
! _CRTIMP int __cdecl _locking (int, int, long);
! _CRTIMP long __cdecl _lseek (int, long, int);
/* Optional third argument is unsigned unPermissions. */
! _CRTIMP int __cdecl _open (const char*, int, ...);
! _CRTIMP int __cdecl _open_osfhandle (long, int);
! _CRTIMP int __cdecl _pipe (int *, unsigned int, int);
! _CRTIMP int __cdecl _read (int, void*, unsigned int);
! _CRTIMP int __cdecl _setmode (int, int);
/* SH_... flags for nShFlags defined in share.h
* Optional fourth argument is unsigned unPermissions */
! _CRTIMP int __cdecl _sopen (const char*, int, int, ...);
! _CRTIMP long __cdecl _tell (int);
/* Should umask be in sys/stat.h and/or sys/types.h instead? */
! _CRTIMP int __cdecl _umask (int);
! _CRTIMP int __cdecl _unlink (const char*);
! _CRTIMP int __cdecl _write (int, const void*, unsigned int);
/* Wide character versions. Also declared in wchar.h. */
***************
*** 229,243 ****
#if !defined (_WIO_DEFINED)
#if defined (__MSVCRT__)
! int _waccess(const wchar_t*, int);
! int _wchmod(const wchar_t*, int);
! int _wcreat(const wchar_t*, int);
! long _wfindfirst(const wchar_t*, struct _wfinddata_t*);
! int _wfindnext(long, struct _wfinddata_t *);
! int _wunlink(const wchar_t*);
! int _wopen(const wchar_t*, int, ...);
! int _wsopen(const wchar_t*, int, int, ...);
! wchar_t * _wmktemp(wchar_t*);
! long _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*);
! int _wfindnexti64(long, struct _wfinddatai64_t*);
#endif /* defined (__MSVCRT__) */
#define _WIO_DEFINED
--- 229,243 ----
#if !defined (_WIO_DEFINED)
#if defined (__MSVCRT__)
! _CRTIMP int __cdecl _waccess(const wchar_t*, int);
! _CRTIMP int __cdecl _wchmod(const wchar_t*, int);
! _CRTIMP int __cdecl _wcreat(const wchar_t*, int);
! _CRTIMP long __cdecl _wfindfirst(const wchar_t*, struct _wfinddata_t*);
! _CRTIMP int __cdecl _wfindnext(long, struct _wfinddata_t *);
! _CRTIMP int __cdecl _wunlink(const wchar_t*);
! _CRTIMP int __cdecl _wopen(const wchar_t*, int, ...);
! _CRTIMP int __cdecl _wsopen(const wchar_t*, int, int, ...);
! _CRTIMP wchar_t * __cdecl _wmktemp(wchar_t*);
! _CRTIMP long __cdecl _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*);
! _CRTIMP int __cdecl _wfindnexti64(long, struct _wfinddatai64_t*);
#endif /* defined (__MSVCRT__) */
#define _WIO_DEFINED
***************
*** 251,273 ****
#ifndef _UWIN
! int access (const char*, int);
! int chsize (int, long );
! int close (int);
! int creat (const char*, int);
! int dup (int);
! int dup2 (int, int);
! int eof (int);
! long filelength (int);
! int fileno (FILE*);
! int isatty (int);
! long lseek (int, long, int);
! int open (const char*, int, ...);
! int read (int, void*, unsigned int);
! int setmode (int, int);
! int sopen (const char*, int, int, ...);
! long tell (int);
! int umask (int);
! int unlink (const char*);
! int write (int, const void*, unsigned int);
#endif /* _UWIN */
--- 251,273 ----
#ifndef _UWIN
! _CRTIMP int __cdecl access (const char*, int);
! _CRTIMP int __cdecl chsize (int, long );
! _CRTIMP int __cdecl close (int);
! _CRTIMP int __cdecl creat (const char*, int);
! _CRTIMP int __cdecl dup (int);
! _CRTIMP int __cdecl dup2 (int, int);
! _CRTIMP int __cdecl eof (int);
! _CRTIMP long __cdecl filelength (int);
! _CRTIMP int __cdecl fileno (FILE*);
! _CRTIMP int __cdecl isatty (int);
! _CRTIMP long __cdecl lseek (int, long, int);
! _CRTIMP int __cdecl open (const char*, int, ...);
! _CRTIMP int __cdecl read (int, void*, unsigned int);
! _CRTIMP int __cdecl setmode (int, int);
! _CRTIMP int __cdecl sopen (const char*, int, int, ...);
! _CRTIMP long __cdecl tell (int);
! _CRTIMP int __cdecl umask (int);
! _CRTIMP int __cdecl unlink (const char*);
! _CRTIMP int __cdecl write (int, const void*, unsigned int);
#endif /* _UWIN */
Index: locale.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/locale.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** locale.h 8 Feb 2003 14:16:47 -0000 1.4
--- locale.h 21 Feb 2003 21:19:51 -0000 1.5
***************
*** 85,95 ****
#endif
! char* setlocale (int, const char*);
! struct lconv* localeconv (void);
#ifndef _WLOCALE_DEFINED /* also declared in wchar.h */
# define __need_wchar_t
# include <stddef.h>
! wchar_t* _wsetlocale(int, const wchar_t*);
# define _WLOCALE_DEFINED
#endif /* ndef _WLOCALE_DEFINED */
--- 85,95 ----
#endif
! _CRTIMP char* __cdecl setlocale (int, const char*);
! _CRTIMP struct lconv* __cdecl localeconv (void);
#ifndef _WLOCALE_DEFINED /* also declared in wchar.h */
# define __need_wchar_t
# include <stddef.h>
! _CRTIMP wchar_t* __cdecl _wsetlocale(int, const wchar_t*);
# define _WLOCALE_DEFINED
#endif /* ndef _WLOCALE_DEFINED */
Index: malloc.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/malloc.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** malloc.h 20 Dec 2002 13:35:27 -0000 1.8
--- malloc.h 21 Feb 2003 21:19:51 -0000 1.9
***************
*** 61,65 ****
but not W9x. On latter, they always set errno to ENOSYS.
*/
! int _heapwalk (_HEAPINFO*);
#ifdef __GNUC__
#define _alloca(x) __builtin_alloca((x))
--- 61,65 ----
but not W9x. On latter, they always set errno to ENOSYS.
*/
! _CRTIMP int __cdecl _heapwalk (_HEAPINFO*);
#ifdef __GNUC__
#define _alloca(x) __builtin_alloca((x))
***************
*** 67,71 ****
#ifndef _NO_OLDNAMES
! int heapwalk (_HEAPINFO*);
#ifdef __GNUC__
#define alloca(x) __builtin_alloca((x))
--- 67,71 ----
#ifndef _NO_OLDNAMES
! _CRTIMP int __cdecl heapwalk (_HEAPINFO*);
#ifdef __GNUC__
#define alloca(x) __builtin_alloca((x))
***************
*** 73,84 ****
#endif /* Not _NO_OLDNAMES */
! int _heapchk (void); /* Verify heap integrety. */
! int _heapmin (void); /* Return unused heap to the OS. */
! int _heapset (unsigned int);
! size_t _msize (void*);
! size_t _get_sbh_threshold (void);
! int _set_sbh_threshold (size_t);
! void * _expand (void*, size_t);
#ifdef __cplusplus
--- 73,84 ----
#endif /* Not _NO_OLDNAMES */
! _CRTIMP int __cdecl _heapchk (void); /* Verify heap integrety. */
! _CRTIMP int __cdecl _heapmin (void); /* Return unused heap to the OS. */
! _CRTIMP int __cdecl _heapset (unsigned int);
! _CRTIMP size_t __cdecl _msize (void*);
! _CRTIMP size_t __cdecl _get_sbh_threshold (void);
! _CRTIMP int __cdecl _set_sbh_threshold (size_t);
! _CRTIMP void* __cdecl _expand (void*, size_t);
#ifdef __cplusplus
Index: math.h
===================================================================
RCS file: /cvsroot/mingw/runtime/include/math.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** math.h 5 Feb 2003 23:04:51 -0000 1.13
--- math.h 21 Feb 2003 21:19:51 -0000 1.14
***************
*** 147,169 ****
! double sin (double);
! double cos (double);
! double tan (double);
! double sinh (double);
! double cosh (double);
! double tanh (double);
! double asin (double);
! double acos (double);
! double atan (double);
! double atan2 (double, double);
! double exp (double);
! double log (double);
! double log10 (double);
! double pow (double, double);
! double sqrt (double);
! double ceil (double);
! double floor (double);
! double fabs (double);
! extern __inline__ double fabs (double x)
{
double res;
--- 147,173 ----
! _CRTIMP double __cdecl sin (double);
! _CRTIMP double __cdecl cos (double);
! _CRTIMP double __cdecl tan (double);
! _CRTIMP double __cdecl sinh (double);
! _CRTIMP double __cdecl cosh (double);
! _CRTIMP double __cdecl tanh (double);
! _CRTIMP double __cdecl asin (double);
! _CRTIMP double __cdecl acos (double);
! _CRTIMP double __cdecl atan (double);
! _CRTIMP double __cdecl atan2 (double, double);
! _CRTIMP double __cdecl exp (double);
! _CRTIMP double __cdecl log (double);
! _CRTIMP double __cdecl log10 (double);
! #ifdef __NO_ISOCEXT
! _CRTIMP
! #endif
! double __cdecl pow (double, double);
! _CRTIMP double __cdecl sqrt (double);
! _CRTIMP double __cdecl ceil (double);
! _CRTIMP double __cdecl floor (double);
! _CRTIMP double __cdecl fabs (double);
! #if !defined (__NO_INLINES__)
! extern __inline__ __cdecl double fabs (double x)
{
double res;
***************
*** 171,181 ****
return res;
}
! double ldexp (double, int);
! double frexp (double, int*);
! double modf (double, double*);
! double fmod (double, double);
! #ifndef __STRICT_ANSI__
/* Complex number (for cabs). This really belongs in complex.h */
--- 175,186 ----
return res;
}
! #endif
! _CRTIMP double __cdecl ldexp (double, int);
! _CRTIMP double __cdecl frexp (double, int*);
! _CRTIMP double __cdecl modf (double, double*);
! _CRTIMP double __cdecl fmod (double, double);
! #ifndef __STRICT_ANSI__
/* Complex number (for cabs). This really belongs in complex.h */
***************
*** 186,199 ****
};
! double _cabs (struct _complex);
! double _hypot (double, double);
! double _j0 (double);
! double _j1 (double);
! double _jn (int, double);
! double _y0 (double);
! double _y1 (double);
! double _yn (int, double);
! int _matherr (struct _exception *);
/* These are also declared in Mingw float.h; needed here as well to work
--- 191,204 ----
};
! _CRTIMP double __cdecl _cabs (struct _complex);
! _CRTIMP double __cdecl _hypot (double, double);
! _CRTIMP double __cdecl _j0 (double);
! _CRTIMP double __cdecl _j1 (double);
! _CRTIMP double __cdecl _jn (int, double);
! _CRTIMP double __cdecl _y0 (double);
! _CRTIMP double __cdecl _y1 (double);
! _CRTIMP double __cdecl _yn (int, double);
! _CRTIMP int __cdecl _matherr (struct _exception *);
/* These are also declared in Mingw float.h; needed here as well to work
***************
*** 204,216 ****
*/
! double _chgsign (double);
! double _copysign (double, double);
! double _logb (double);
! double _nextafter (double, double);
! double _scalb (double, long);
! int _finite (double);
! int _fpclass (double);
! int _isnan (double);
/* END FLOAT.H COPY */
--- 209,221 ----
*/
! _CRTIMP double __cdecl _chgsign (double);
! _CRTIMP double __cdecl _copysign (double, double);
! _CRTIMP double __cdecl _logb (double);
! _CRTIMP double __cdecl _nextafter (double, double);
! _CRTIMP double __cdecl _scalb (double, long);
! _CRTIMP int __cdecl _finite (double);
! _CRTIMP int __cdecl _fpclass (double);
! _CRTIMP int __cdecl _isnan (double);
/* END FLOAT.H COPY */
***************
*** 224,241 ****
#if !defined (_NO_OLDNAMES)
! double cabs (struct _complex);
! double j0 (double);
! double j1 (double);
! double jn (int, double);
! double y0 (double);
! double y1 (double);
! double yn (int, double);
! double chgsign (double);
! double scalb (double, long);
! int finite (double);
! int fpclass (double);
! #endif /* Not _NO_OLDNAMES */
#endif /* __STRICT_ANSI__ */
--- 229,246 ----
#if !defined (_NO_OLDNAMES)
! _CRTIMP double __cdecl cabs (struct _complex);
! _CRTIMP double __cdecl j0 (double);
! _CRTIMP double __cdecl j1 (double);
! _CRTIMP double __cdecl jn (int, double);
! _CRTIMP double __cdecl y0 (double);
! _CRTIMP double __cdecl y1 (double);
! _CRTIMP double __cdecl yn (int, double);
! _CRTIMP double __cdecl chgsign (double);
! _CRTIMP double __cdecl scalb (double, long);
! _CRTIMP int __cdecl finite (double);
! _CRTIMP int __cdecl fpclass (double);
! #endif /* Not _NO_OLDNAMES */
#endif /* __STRICT_ANSI__ */
***************
*** 244,248 ****
#ifndef __NO_ISOCEXT
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
! || !defined __STRICT_ANSI__ || defined __GLIBCPP__
#define NAN (0.0F/0.0F)
--- 249,253 ----
#ifndef __NO_ISOCEXT
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
! || !defined __STRICT_ANSI__ || defined __GLIBCPP__
#define NAN (0.0F/0.0F)
***************
*** 274,281 ****
*/
! extern int __fpclassifyf (float);
! extern int __fpclassify (double);
! extern __inline__ int __fpclassifyl (long double x){
unsigned short sw;
__asm__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x));
--- 279,286 ----
*/
! extern int __cdecl __fpclassifyf (float);
! extern int __cdecl __fpclassify (double);
! extern __inline__ int __cdecl __fpclassifyl (long double x){
unsigned short sw;
__asm__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x));
***************
*** 297,301 ****
A NaN stays a NaN. */
! extern __inline__ int __isnan (double _x)
{
unsigned short sw;
--- 302,306 ----
A NaN stays a NaN. */
! extern __inline__ int __cdecl __isnan (double _x)
{
unsigned short sw;
***************
*** 306,310 ****
}
! extern __inline__ int __isnanf (float _x)
{
unsigned short sw;
--- 311,315 ----
}
! extern __inline__ int __cdecl __isnanf (float _x)
{
unsigned short sw;
***************
*** 315,319 ****
}
! extern __inline__ int __isnanl (long double _x)
{
unsigned short sw;
--- 320,324 ----
}
! extern __inline__ int __cdecl __isnanl (long double _x)
{
unsigned short sw;
***************
*** 333,337 ****
/* 7.12.3.6 The signbit macro */
! extern __inline__ int __signbit (double x) {
unsigned short stw;
__asm__ ( "fxam; fstsw %%ax;": "=a" (stw) : "t" (x));
--- 338,342 ----
/* 7.12.3.6 The signbit macro */
! extern __inline__ int __cdecl __signbit (double x) {
unsigned short stw;
__asm__ ( "fxam; fstsw %%ax;": "=a" (stw) : "t" (x));
***************
*** 339,348 ****
}
! extern __inline__ int __signbitf (float x) {
unsigned short stw;
__asm__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x));
return stw & 0x0200;
}
! extern __inline__ int __signbitl (long double x) {
unsigned short stw;
__asm__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x));
--- 344,354 ----
}
! extern __inline__ int __cdecl __signbitf (float x) {
unsigned short stw;
__asm__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x));
return stw & 0x0200;
}
!
! extern __inline__ int __cdecl __signbitl (long double x) {
unsigned short stw;
__asm__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x));
***************
*** 350,354 ****
}
-
#define signbit(x) (sizeof (x) == sizeof (float) ? __signbitf (x) \
: sizeof (x) == sizeof (double) ? __signbit (x) \
--- 356,359 ----
***************
*** 356,392 ****
/* 7.12.4 Trigonometric functions: Double in C89 */
! extern float sinf (float);
! extern long double sinl (long double);
! extern float cosf (float);
! extern long double cosl (long double);
! extern float tanf (float);
! extern long double tanl (long double);
! extern float asinf (float);
! extern long double asinl (long double);
! extern float acosf (float);
! extern long double acosl (long double);
! extern float atanf (float);
! extern long double atanl (long double);
! extern float atan2f (float, float);
! extern long double atan2l (long double, long double);
/* 7.12.5 Hyperbolic functions: Double in C89 */
! extern __inline__ float sinhf (float x)
{return (float) sinh (x);}
! extern long double sinhl (long double);
! extern __inline__ float coshf (float x)
{return (float) cosh (x);}
! extern long double coshl (long double);
! extern __inline__ float tanhf (float x)
{return (float) tanh (x);}
! extern long double tanhl (long double);
/*
--- 361,397 ----
/* 7.12.4 Trigonometric functions: Double in C89 */
! extern float __cdecl sinf (float);
! extern long double __cdecl sinl (long double);
! extern float __cdecl cosf (float);
! extern long double __cdecl cosl (long double);
! extern float __cdecl tanf (float);
! extern long double __cdecl tanl (long double);
! extern float __cdecl asinf (float);
! extern long double __cdecl asinl (long double);
! extern float __cdecl acosf (float);
! extern long double __cdecl acosl (long double);
! extern float __cdecl atanf (float);
! extern long double __cdecl atanl (long double);
! extern float __cdecl atan2f (float, float);
! extern long double __cdecl atan2l (long double, long double);
/* 7.12.5 Hyperbolic functions: Double in C89 */
! extern __inline__ float __cdecl sinhf (float x)
{return (float) sinh (x);}
! extern long double __cdecl sinhl (long double);
! extern __inline__ float __cdecl coshf (float x)
{return (float) cosh (x);}
! extern long double __cdecl coshl (long double);
! extern __inline__ float __cdecl tanhf (float x)
{return (float) tanh (x);}
! extern long double __cdecl tanhl (long double);
/*
***************
*** 395,450 ****
/* 7.12.6.1 Double in C89 */
! extern __inline__ float expf (float x)
{return (float) exp (x);}
! extern long double expl (long double);
/* 7.12.6.2 */
! extern double exp2(double);
! extern float exp2f(float);
! extern long double exp2l(long double);
/* 7.12.6.3 The expm1 functions: TODO */
/* 7.12.6.4 Double in C89 */
! extern __inline__ float frexpf (float x, int* expn)
{return (float) frexp (x, expn);}
! extern long double frexpl (long double, int*);
/* 7.12.6.5 */
#define FP_ILOGB0 ((int)0x80000000)
#define FP_ILOGBNAN ((int)0x80000000)
! extern int ilogb (double);
! extern int ilogbf (float);
! extern int ilogbl (long double);
/* 7.12.6.6 Double in C89 */
! extern __inline__ float ldexpf (float x, int expn)
{return (float) ldexp (x, expn);}
! extern long double ldexpl (long double, int);
/* 7.12.6.7 Double in C89 */
! extern float logf (float);
! extern long double logl (long double);
/* 7.12.6.8 Double in C89 */
! extern float log10f (float);
! extern long double log10l (long double);
/* 7.12.6.9 */
! extern double log1p(double);
! extern float log1pf(float);
! extern long double log1pl(long double);
/* 7.12.6.10 */
! extern double log2 (double);
! extern float log2f (float);
! extern long double log2l (long double);
/* 7.12.6.11 */
! extern double logb (double);
! extern float logbf (float);
! extern long double logbl (long double);
! extern __inline__ double logb (double x)
{
double res;
--- 400,455 ----
/* 7.12.6.1 Double in C89 */
! extern __inline__ float __cdecl expf (float x)
{return (float) exp (x);}
! extern long double __cdecl expl (long double);
/* 7.12.6.2 */
! extern double __cdecl exp2(double);
! extern float __cdecl exp2f(float);
! extern long double __cdecl exp2l(long double);
/* 7.12.6.3 The expm1 functions: TODO */
/* 7.12.6.4 Double in C89 */
! extern __inline__ float __cdecl frexpf (float x, int* expn)
{return (float) frexp (x, expn);}
! extern long double __cdecl frexpl (long double, int*);
/* 7.12.6.5 */
#define FP_ILOGB0 ((int)0x80000000)
#define FP_ILOGBNAN ((int)0x80000000)
! extern int __cdecl ilogb (double);
! extern int __cdecl ilogbf (float);
! extern int __cdecl ilogbl (long double);
/* 7.12.6.6 Double in C89 */
! extern __inline__ float __cdecl ldexpf (float x, int expn)
{return (float) ldexp (x, expn);}
! extern long double __cdecl ldexpl (long double, int);
/* 7.12.6.7 Double in C89 */
! extern float __cdecl logf (float);
! extern long double __cdecl logl (long double);
/* 7.12.6.8 Double in C89 */
! extern float __cdecl log10f (float);
! extern long double __cdecl log10l (long double);
/* 7.12.6.9 */
! extern double __cdecl log1p(double);
! extern float __cdecl log1pf(float);
! extern long double __cdecl log1pl(long double);
/* 7.12.6.10 */
! extern double __cdecl log2 (double);
! extern float __cdecl log2f (float);
! extern long double __cdecl log2l (long double);
/* 7.12.6.11 */
! extern double __cdecl logb (double);
! extern float __cdecl logbf (float);
! extern long double __cdecl logbl (long double);
! extern __inline__ double __cdecl logb (double x)
{
double res;
***************
*** 454,458 ****
}
! extern __inline__ float logbf (float x)
{
float res;
--- 459,463 ----
}
! extern __inline__ float __cdecl logbf (float x)
{
float res;
***************
*** 462,466 ****
}
! extern __inline__ long double logbl (long double x)
{
long double res;
--- 467,471 ----
}
! extern __inline__ long double __cdecl logbl (long double x)
{
long double res;
***************
*** 471,494 ****
/* 7.12.6.12 Double in C89 */
! extern float modff (float, float*);
! extern long double modfl (long double, long double*);
/* 7.12.6.13 */
! extern double scalbn (double, int);
! extern float scalbnf (float, int);
! extern long double scalbnl (long double, int);
! extern double scalbln (double, long);
! extern float scalblnf (float, long);
! extern long double scalblnl (long double, long);
/* 7.12.7.1 */
/* Implementations adapted from Cephes versions */
! extern double cbrt (double);
! extern float cbrtf (float);
! extern long double cbrtl (long double);
/* 7.12.7.2 The fabs functions: Double in C89 */
! extern __inline__ float fabsf (float x)
{
float res;
--- 476,499 ----
/* 7.12.6.12 Double in C89 */
! extern float __cdecl modff (float, float*);
! extern long double __cdecl modfl (long double, long double*);
/* 7.12.6.13 */
! extern double __cdecl scalbn (double, int);
! extern float __cdecl scalbnf (float, int);
! extern long double __cdecl scalbnl (long double, int);
! extern double __cdecl scalbln (double, long);
! extern float __cdecl scalblnf (float, long);
! extern long double __cdecl scalblnl (long double, long);
/* 7.12.7.1 */
/* Implementations adapted from Cephes versions */
! extern double __cdecl cbrt (double);
! extern float __cdecl cbrtf (float);
! extern long double __cdecl cbrtl (long double);
/* 7.12.7.2 The fabs functions: Double in C89 */
! extern __inline__ float __cdecl fabsf (float x)
{
float res;
***************
*** 497,501 ****
}
! extern __inline__ long double fabsl (long double x)
{
long double res;
--- 502,506 ----
}
! extern __inline__ long double __cdecl fabsl (long double x)
{
long double res;
***************
*** 505,562 ****
/* 7.12.7.3 */
! extern double hypot (double, double); /* in libmoldname.a */
! extern __inline__ float hypotf (float x, float y)
{ return (float) hypot (x, y);}
! extern long double hypotl (long double, long double);
/* 7.12.7.4 The pow functions. Double in C89 */
! extern __inline__ float powf (float x, float y)
{return (float) pow (x, y);}
! extern long double powl (long double, long double);
/* 7.12.7.5 The sqrt functions. Double in C89. */
! extern float sqrtf (float);
! extern long double sqrtl (long double);
/* 7.12.8.1 The erf functions */
! extern double erf (double);
! extern float erff (float);
/* TODO
! extern long double erfl (long double);
*/
/* 7.12.8.2 The erfc functions */
! extern double erfc (double);
! extern float erfcf (float);
/* TODO
! extern long double erfcl (long double);
*/
/* 7.12.8.3 The lgamma functions */
! extern double lgamma (double);
! extern float lgammaf (float);
! extern long double lgammal (long double);
/* 7.12.8.4 The tgamma functions */
! extern double tgamma (double);
! extern float tgammaf (float);
! extern long double tgammal (long double);
/* 7.12.9.1 Double in C89 */
! extern float ceilf (float);
! extern long double ceill (long double);
/* 7.12.9.2 Double in C89 */
! extern float floorf (float);
! extern long double floorl (long double);
/* 7.12.9.3 */
! extern double nearbyint ( double);
! extern float nearbyintf (float);
! extern long double nearbyintl (long double);
/* 7.12.9.4 */
/* round, using fpu control word settings */
! extern __inline__ double rint (double x)
{
double retval;
--- 510,567 ----
/* 7.12.7.3 */
! extern double __cdecl hypot (double, double); /* in libmoldname.a */
! extern __inline__ float __cdecl hypotf (float x, float y)
{ return (float) hypot (x, y);}
! extern long double __cdecl hypotl (long double, long double);
/* 7.12.7.4 The pow functions. Double in C89 */
! extern __inline__ float __cdecl powf (float x, float y)
{return (float) pow (x, y);}
! extern long double __cdecl powl (long double, long double);
/* 7.12.7.5 The sqrt functions. Double in C89. */
! extern float __cdecl sqrtf (float);
! extern long double __cdecl sqrtl (long double);
/* 7.12.8.1 The erf functions */
! extern double __cdecl erf (double);
! extern float __cdecl erff (float);
/* TODO
! extern long double __cdecl erfl (long double);
*/
/* 7.12.8.2 The erfc functions */
! extern double __cdecl erfc (double);
! extern float __cdecl erfcf (float);
/* TODO
! extern long double __cdecl erfcl (long double);
*/
/* 7.12.8.3 The lgamma functions */
! extern double __cdecl lgamma (double);
! extern float __cdecl lgammaf (float);
! extern long double __cdecl lgammal (long double);
/* 7.12.8.4 The tgamma functions */
! extern double __cdecl tgamma (double);
! extern float __cdecl tgammaf (float);
! extern long double __cdecl tgammal (long double);
/* 7.12.9.1 Double in C89 */
! extern float __cdecl ceilf (float);
! extern long double __cdecl ceill (long double);
/* 7.12.9.2 Double in C89 */
! extern float __cdecl floorf (float);
! extern long double __cdecl floorl (long double);
/* 7.12.9.3 */
! extern double __cdecl nearbyint ( double);
! extern float __cdecl nearbyintf (float);
! extern long double __cdecl nearbyintl (long double);
/* 7.12.9.4 */
/* round, using fpu control word settings */
! extern __inline__ double __cdecl rint (double x)
{
double retval;
***************
*** 565,569 ****
}
! extern __inline__ float rintf (float x)
{
float retval;
--- 570,574 ----
}
! extern __inline__ float __cdecl rintf (float x)
{
float retval;
***************
*** 572,576 ****
}
! extern __inline__ long double rintl (long double x)
{
long double retval;
--- 577,581 ----
}
! extern __inline__ long double __cdecl rintl (long double x)
{
long double retval;
***************
*** 580,584 ****
/* 7.12.9.5 */
! extern __inline__ long lrint (double x)
{
long retval;
--- 585,589 ----
/* 7.12.9.5 */
! extern __inline__ long __cdecl lrint (double x)
{
long retval;
***************
*** 588,592 ****
}
! extern __inline__ long lrintf (float x)
{
long retval;
--- 593,597 ----
}
! extern __inline__ long __cdecl lrintf (float x)
{
long retval;
***************
*** 596,600 ****
}
! extern __inline__ long lrintl (long double x)
{
long retval;
--- 601,605 ----
}
! extern __inline__ long __cdecl lrintl (long double x)
{
long retval;
***************
*** 604,608 ****
}
! extern __inline__ long long llrint (double x)
{
long long retval;
--- 609,613 ----
}
! extern __inline__ long long __cdecl llrint (double x)
{
long long retval;
***************
*** 612,616 ****
}
! extern __inline__ long long llrintf (float x)
{
long long retval;
--- 617,621 ----
}
! extern __inline__ long long __cdecl llrintf (float x)
{
long long retval;
***************
*** 620,624 ****
}
! extern __inline__ long long llrintl (long double x)
{
long long retval;
--- 625,629 ----
}
! extern __inline__ long long __cdecl llrintl (long double x)
{
long long retval;
***************
*** 630,675 ****
/* 7.12.9.6 */
/* round away from zero, regardless of fpu control word settings */
! extern double round (double);
! extern float roundf (float);
! extern long double roundl (long double);
/* 7.12.9.7 */
! extern long lround (double);
! extern long lroundf (float);
! extern long lroundl (long double);
! extern long long llround (double);
! extern long long llroundf (float);
! extern long long llroundl (long double);
/* 7.12.9.8 */
/* round towards zero, regardless of fpu control word settings */
! extern double trunc (double);
! extern float truncf (float);
! extern long double truncl (long double);
/* 7.12.10.1 Double in C89 */
! extern float fmodf (float, float);
! extern long double fmodl (long double, long double);
/* 7.12.10.2 */
! extern double remainder (double, double);
! extern float remainderf (float, float);
! extern long double remainderl (long double, long double);
/* 7.12.10.3 */
! extern double remquo(double, double, int *);
! extern float remquof(float, float, int *);
! extern long double remquol(long double, long double, int *);
/* 7.12.11.1 */
! extern double copysign (double, double); /* in libmoldname.a */
! extern float copysignf (float, float);
! extern long double copysignl (long double, long double);
/* 7.12.11.2 Return a NaN */
! extern double nan(const char *tagp);
! extern float nanf(const char *tagp);
! extern long double nanl(const char *tagp);
#ifndef __STRICT_ANSI__
--- 635,680 ----
/* 7.12.9.6 */
/* round away from zero, regardless of fpu control word settings */
! extern double __cdecl round (double);
! extern float __cdecl roundf (float);
! extern long double __cdecl roundl (long double);
/* 7.12.9.7 */
! extern long __cdecl lround (double);
! extern long __cdecl lroundf (float);
! extern long __cdecl lroundl (long double);
! extern long long __cdecl llround (double);
! extern long long __cdecl llroundf (float);
! extern long long __cdecl llroundl (long double);
/* 7.12.9.8 */
/* round towards zero, regardless of fpu control word settings */
! extern double __cdecl trunc (double);
! extern float __cdecl truncf (float);
! extern long double __cdecl truncl (long double);
/* 7.12.10.1 Double in C89 */
! extern float __cdecl fmodf (float, float);
! extern long double __cdecl fmodl (long double, long double);
/* 7.12.10.2 */
! extern double __cdecl remainder (double, double);
! extern float __cdecl remainderf (float, float);
! extern long double __cdecl remainderl (long double, long double);
/* 7.12.10.3 */
! extern double __cdecl remquo(double, double, int *);
! extern float __cdecl remquof(float, float, int *);
! extern long double __cdecl remquol(long double, long double, int *);
/* 7.12.11.1 */
! extern double __cdecl copysign (double, double); /* in libmoldname.a */
! extern float __cdecl copysignf (float, float);
! extern long double __cdecl copysignl (long double, long double);
/* 7.12.11.2 Return a NaN */
! extern double __cdecl nan(const char *tagp);
! extern float __cdecl nanf(const char *tagp);
! extern long double __cdecl nanl(const char *tagp);
#ifndef __STRICT_ANSI__
***************
*** 680,687 ****
/* 7.12.11.3 */
! extern double nextafter (double, double); /* in libmoldname.a */
! extern float nextafterf (float, float);
/* TODO: Not yet implemented */
! /* extern long double nextafterl (long double, long double); */
/* 7.12.11.4 The nexttoward functions: TODO */
--- 685,692 ----
/* 7.12.11.3 */
! extern double __cdecl nextafter (double, double); /* in libmoldname.a */
! extern float __cdecl nextafterf (float, float);
/* TODO: Not yet implemented */
! /* extern long double __cdecl nextafterl (long double, long double); */
/* 7.12.11.4 The nexttoward functions: TODO */
***************
*** 689,695 ****
/* 7.12.12.1 */
/* x > y ? (x - y) : 0.0 */
! extern double fdim (double x, double y);
! extern float fdimf (float x, float y);
! extern long double fdiml (long double x, long double y);
/* fmax and fmin.
--- 694,700 ----
/* 7.12.12.1 */
/* x > y ? (x - y) : 0.0 */
! extern ...
[truncated message content] |
|
From: <ea...@us...> - 2003-02-21 21:19:56
|
Update of /cvsroot/mingw/runtime/profile
In directory sc8-pr-cvs1:/tmp/cvs-serv20076/profile
Modified Files:
Makefile.in
Log Message:
Merge winsup changes
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mingw/runtime/profile/Makefile.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Makefile.in 14 Jun 2002 15:12:55 -0000 1.3
--- Makefile.in 21 Feb 2003 21:19:52 -0000 1.4
***************
*** 90,93 ****
--- 90,98 ----
$(CC) -D__MSVCRT__ -c -o $@ $(CPPFLAGS) $(CFLAGS) $?
+ #FIXME: Optimizing at higher than -O1 tweaks a bug in gcc 3.2.2
+ # and earlier
+ mcount.o: mcount.c
+ $(CC) -D__MSVCRT__ -c -o $@ $(CPPFLAGS) ${filter-out -O%,$(ALL_CFLAGS)} -O1 $?
+
Makefile: Makefile.in config.status configure
$(SHELL) config.status
|
|
From: <ea...@us...> - 2003-02-21 21:19:55
|
Update of /cvsroot/mingw/runtime/include/sys In directory sc8-pr-cvs1:/tmp/cvs-serv20076/include/sys Modified Files: stat.h timeb.h utime.h Log Message: Merge winsup changes Index: stat.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/sys/stat.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** stat.h 29 Nov 2001 04:26:33 -0000 1.4 --- stat.h 21 Feb 2003 21:19:52 -0000 1.5 *************** *** 155,168 **** #endif ! int _fstat (int, struct _stat*); ! int _chmod (const char*, int); ! int _stat (const char*, struct _stat*); #if defined (__MSVCRT__) ! int _fstati64(int, struct _stati64 *); ! int _stati64(const char *, struct _stati64 *); #if !defined ( _WSTAT_DEFINED) /* also declared in wchar.h */ ! int _wstat(const wchar_t*, struct _stat*); ! int _wstati64 (const wchar_t*, struct _stati64*); #define _WSTAT_DEFINED #endif /* _WSTAT_DEFIND */ --- 155,168 ---- #endif ! _CRTIMP int __cdecl _fstat (int, struct _stat*); ! _CRTIMP int __cdecl _chmod (const char*, int); ! _CRTIMP int __cdecl _stat (const char*, struct _stat*); #if defined (__MSVCRT__) ! _CRTIMP int __cdecl _fstati64(int, struct _stati64 *); ! _CRTIMP int __cdecl _stati64(const char *, struct _stati64 *); #if !defined ( _WSTAT_DEFINED) /* also declared in wchar.h */ ! _CRTIMP int __cdecl _wstat(const wchar_t*, struct _stat*); ! _CRTIMP int __cdecl _wstati64 (const wchar_t*, struct _stati64*); #define _WSTAT_DEFINED #endif /* _WSTAT_DEFIND */ *************** *** 172,178 **** /* These functions live in liboldnames.a. */ ! int fstat (int, struct stat*); ! int chmod (const char*, int); ! int stat (const char*, struct stat*); #endif /* Not _NO_OLDNAMES */ --- 172,178 ---- /* These functions live in liboldnames.a. */ ! _CRTIMP int __cdecl fstat (int, struct stat*); ! _CRTIMP int __cdecl chmod (const char*, int); ! _CRTIMP int __cdecl stat (const char*, struct stat*); #endif /* Not _NO_OLDNAMES */ Index: timeb.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/sys/timeb.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** timeb.h 29 Nov 2001 04:26:33 -0000 1.3 --- timeb.h 21 Feb 2003 21:19:52 -0000 1.4 *************** *** 65,72 **** /* TODO: Not tested. */ ! void _ftime (struct _timeb*); #ifndef _NO_OLDNAMES ! void ftime (struct timeb*); #endif /* Not _NO_OLDNAMES */ --- 65,72 ---- /* TODO: Not tested. */ ! _CRTIMP void __cdecl _ftime (struct _timeb*); #ifndef _NO_OLDNAMES ! _CRTIMP void __cdecl ftime (struct timeb*); #endif /* Not _NO_OLDNAMES */ Index: utime.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/sys/utime.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** utime.h 29 Nov 2001 04:26:33 -0000 1.3 --- utime.h 21 Feb 2003 21:19:52 -0000 1.4 *************** *** 66,79 **** #endif ! int _utime (const char*, struct _utimbuf*); ! int _futime (int, struct _utimbuf*); /* The wide character version, only available for MSVCRT versions of the * C runtime library. */ #ifdef __MSVCRT__ ! int _wutime (const wchar_t*, struct _utimbuf*); #endif /* MSVCRT runtime */ #ifndef _NO_OLDNAMES ! int utime (const char*, struct utimbuf*); #endif /* Not _NO_OLDNAMES */ --- 66,79 ---- #endif ! _CRTIMP int __cdecl _utime (const char*, struct _utimbuf*); ! _CRTIMP int __cdecl _futime (int, struct _utimbuf*); /* The wide character version, only available for MSVCRT versions of the * C runtime library. */ #ifdef __MSVCRT__ ! _CRTIMP int __cdecl _wutime (const wchar_t*, struct _utimbuf*); #endif /* MSVCRT runtime */ #ifndef _NO_OLDNAMES ! _CRTIMP int __cdecl utime (const char*, struct utimbuf*); #endif /* Not _NO_OLDNAMES */ |
|
From: <ea...@us...> - 2003-02-21 21:19:55
|
Update of /cvsroot/mingw/runtime/mingwex/math In directory sc8-pr-cvs1:/tmp/cvs-serv20076/mingwex/math Modified Files: cephes_emath.h Log Message: Merge winsup changes Index: cephes_emath.h =================================================================== RCS file: /cvsroot/mingw/runtime/mingwex/math/cephes_emath.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cephes_emath.h 20 Dec 2002 13:35:27 -0000 1.1 --- cephes_emath.h 21 Feb 2003 21:19:52 -0000 1.2 *************** *** 286,290 **** /* #define XPD */ #define NANS - #define INFINITY /* NaN's require infinity support. */ --- 286,289 ---- |
|
From: <ea...@us...> - 2003-02-21 21:19:54
|
Update of /cvsroot/mingw/runtime
In directory sc8-pr-cvs1:/tmp/cvs-serv20076
Modified Files:
ChangeLog Makefile.in
Added Files:
msvcrt.def.in
Removed Files:
moldname-crtdll.def moldname-msvcrt.def moldname.def
Log Message:
Merge winsup changes
--- NEW FILE: msvcrt.def.in ---
;
; __FILENAME__
; created from msvcrt.def.in
;
; Exports from msvcrt.dll. Msvcrt.dll appears to be distributed with
; Internet Explorer 4.0, and may be more common in the future, but
; right now it seems like a risky choice. There are differences, although
; they seem to be minor overall, between the exports from msvcrt and msvcrt20.
; However, for most purposes the two sets are interchangable.
;
; NOTE: All exports, except for what appeared to be C++ mangled names,
; are included. Not all functions have prototypes in the headers
; (and some are not functions at all).
;
; Contributors:
; Created by Colin Peters <co...@bi...>
;
; THIS SOFTWARE IS NOT COPYRIGHTED
;
; This source code is offered for use in the public domain. You may
; use, modify or distribute it freely.
;
; This code is distributed in the hope that it will be useful but
; WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
; DISCLAMED. This includes but is not limited to warrenties of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
;
; $Revision: 1.1 $
; $Author: earnie $
; $Date: 2003/02/21 21:19:50 $
;
EXPORTS
_CIacos
_CIasin
_CIatan
_CIatan2
_CIcos
_CIcosh
_CIexp
_CIfmod
_CIlog
_CIlog10
_CIpow
_CIsin
_CIsinh
_CIsqrt
_CItan
_CItanh
_CxxThrowException
_EH_prolog
_Getdays
_Getmonths
_Gettnames
_HUGE DATA
_Strftime
_XcptFilter
__CxxFrameHandler
__CxxLongjmpUnwind
__RTCastToVoid
__RTDynamicCast
__RTtypeid
__STRINGTOLD
__argc DATA
__argv DATA
__badioinfo
__crtCompareStringA
__crtGetLocaleInfoW
__crtLCMapStringA
__dllonexit
__doserrno
__fpecode
__getmainargs
__initenv DATA
__isascii
__iscsym
__iscsymf
__lc_codepage
__lc_handle
__lconv_init
__mb_cur_max DATA
__p___argc
__p___argv
__p___initenv
__p___mb_cur_max
__p___wargv
__p___winitenv
__p__acmdln
__p__amblksiz
__p__commode
__p__daylight
__p__dstbias
__p__environ
__p__fileinfo
__p__fmode
__p__iob
__p__mbctype
__p__osver
__p__pctype
__p__pgmptr
__p__pwctype
__p__timezone
__p__tzname
__p__wcmdln
__p__wenviron
__p__winmajor
__p__winminor
__p__winver
__p__wpgmptr
__pioinfo
__pxcptinfoptrs
__set_app_type
__setlc_active
__setusermatherr
__threadhandle
__threadid
__toascii
__unDName
__unguarded_readlc_active
__wargv DATA
__wgetmainargs
__winitenv DATA
_abnormal_termination
_access
_acmdln DATA
_adj_fdiv_m16i
_adj_fdiv_m32
_adj_fdiv_m32i
_adj_fdiv_m64
_adj_fdiv_r
_adj_fdivr_m16i
_adj_fdivr_m32
_adj_fdivr_m32i
_adj_fdivr_m64
_adj_fpatan
_adj_fprem
_adj_fprem1
_adj_fptan
_adjust_fdiv DATA
_aexit_rtn DATA
_amsg_exit
_assert
_atodbl
_atoi64
_atoldbl
_beep
_beginthread
_beginthreadex
_c_exit
_cabs
_callnewh
_cexit
_cgets
_chdir
_chdrive
_chgsign
_chmod
_chsize
_clearfp
_close
_commit
_commode DATA
_control87
_controlfp
_copysign
_cprintf
_cputs
_creat
_cscanf
_ctype DATA
_cwait
_daylight DATA
_dstbias
_dup
_dup2
_ecvt
_endthread
_endthreadex
_environ DATA
_eof
_errno
_except_handler2
_except_handler3
_execl
_execle
_execlp
_execlpe
_execv
_execve
_execvp
_execvpe
_exit
_expand
_fcloseall
_fcvt
_fdopen
_fgetchar
_fgetwchar
_filbuf
_fileinfo DATA
_filelength
_filelengthi64
_fileno
_findclose
_findfirst
_findfirsti64
_findnext
_findnexti64
_finite
_flsbuf
_flushall
_fmode DATA
_fpclass
_fpieee_flt
_fpreset DATA
_fputchar
_fputwchar
_fsopen
_fstat
_fstati64
_ftime
_ftol
_fullpath
_futime
_gcvt
_get_osfhandle
_get_sbh_threshold
_getch
_getche
_getcwd
_getdcwd
_getdiskfree
_getdllprocaddr
_getdrive
_getdrives
_getmaxstdio
_getmbcp
_getpid
_getsystime
_getw
_getws
_global_unwind2
_heapadd
_heapchk
_heapmin
_heapset
_heapused
_heapwalk
_hypot
_i64toa
_i64tow
_initterm
_inp
_inpd
_inpw
_iob DATA
_isatty
_isctype
_ismbbalnum
_ismbbalpha
_ismbbgraph
_ismbbkalnum
_ismbbkana
_ismbbkprint
_ismbbkpunct
_ismbblead
_ismbbprint
_ismbbpunct
_ismbbtrail
_ismbcalnum
_ismbcalpha
_ismbcdigit
_ismbcgraph
_ismbchira
_ismbckata
_ismbcl0
_ismbcl1
_ismbcl2
_ismbclegal
_ismbclower
_ismbcprint
_ismbcpunct
_ismbcspace
_ismbcsymbol
_ismbcupper
_ismbslead
_ismbstrail
_isnan
_itoa
_itow
_j0
_j1
_jn
_kbhit
_lfind
_loaddll
_local_unwind2
_lock
_locking
_logb
_longjmpex
_lrotl
_lrotr
_lsearch
_lseek
_lseeki64
_ltoa
_ltow
_makepath
_mbbtombc
_mbbtype
_mbccpy
_mbcjistojms
_mbcjmstojis
_mbclen
_mbctohira
_mbctokata
_mbctolower
_mbctombb
_mbctoupper
_mbctype DATA
_mbsbtype
_mbscat
_mbschr
_mbscmp
_mbscoll
_mbscpy
_mbscspn
_mbsdec
_mbsdup
_mbsicmp
_mbsicoll
_mbsinc
_mbslen
_mbslwr
_mbsnbcat
_mbsnbcmp
_mbsnbcnt
_mbsnbcoll
_mbsnbcpy
_mbsnbicmp
_mbsnbicoll
_mbsnbset
_mbsncat
_mbsnccnt
_mbsncmp
_mbsncoll
_mbsncpy
_mbsnextc
_mbsnicmp
_mbsnicoll
_mbsninc
_mbsnset
_mbspbrk
_mbsrchr
_mbsrev
_mbsset
_mbsspn
_mbsspnp
_mbsstr
_mbstok
_mbstrlen
_mbsupr
_memccpy
_memicmp
_mkdir
_mktemp
_msize
_nextafter
_onexit DATA
_open
_open_osfhandle
_osver DATA
_outp
_outpd
_outpw
_pclose
_pctype DATA
_pgmptr DATA
_pipe
_popen
_purecall
_putch
_putenv
_putw
_putws
_pwctype DATA
_read
_rmdir
_rmtmp
_rotl
_rotr
_safe_fdiv
_safe_fdivr
_safe_fprem
_safe_fprem1
_scalb
_searchenv
_seh_longjmp_unwind
_set_error_mode
_set_sbh_threshold
_seterrormode
_setjmp
_setjmp3
_setmaxstdio
_setmbcp
_setmode
_setsystime
_sleep
_snprintf
_snwprintf
_sopen
_spawnl
_spawnle
_spawnlp
_spawnlpe
_spawnv
_spawnve
_spawnvp
_spawnvpe
_splitpath
_stat
_stati64
_statusfp
_strcmpi
_strdate
_strdup
_strerror
_stricmp
_stricoll
_strlwr
_strncoll
_strnicmp
_strnicoll
_strnset
_strrev
_strset
_strtime
_strupr
_swab
_sys_errlist DATA
_sys_nerr DATA
_tell
_telli64
_tempnam
_timezone DATA
_tolower
_toupper
_tzname DATA
_tzset
_ui64toa
_ui64tow
_ultoa
_ultow
_umask
_ungetch
_unlink
_unloaddll
_unlock
_utime
_vsnprintf
_vsnwprintf
_waccess
_wasctime
_wchdir
_wchmod
_wcmdln DATA
_wcreat
_wcsdup
_wcsicmp
_wcsicoll
_wcslwr
_wcsncoll
_wcsnicmp
_wcsnicoll
_wcsnset
_wcsrev
_wcsset
_wcsupr
_wctime
_wenviron DATA
_wexecl
_wexecle
_wexeclp
_wexeclpe
_wexecv
_wexecve
_wexecvp
_wexecvpe
_wfdopen
_wfindfirst
_wfindfirsti64
_wfindnext
_wfindnexti64
_wfopen
_wfreopen
_wfsopen
_wfullpath
_wgetcwd
_wgetdcwd
_wgetenv
_winmajor DATA
_winminor DATA
_winver DATA
_wmakepath
_wmkdir
_wmktemp
_wopen
_wperror
_wpgmptr DATA
_wpopen
_wputenv
_wremove
_wrename
_write
_wrmdir
_wsearchenv
_wsetlocale
_wsopen
_wspawnl
_wspawnle
_wspawnlp
_wspawnlpe
_wspawnv
_wspawnve
_wspawnvp
_wspawnvpe
_wsplitpath
_wstat
_wstati64
_wstrdate
_wstrtime
_wsystem
_wtempnam
_wtmpnam
_wtoi
_wtoi64
_wtol
_wunlink
_wutime
_y0
_y1
_yn
abort
abs
acos
asctime
asin
atan
atan2
atexit DATA
atof
atoi
atol
bsearch
calloc
ceil
clearerr
clock
cos
cosh
ctime
difftime
div
exit
exp
fabs
fclose
feof
ferror
fflush
fgetc
fgetpos
fgets
fgetwc
fgetws
floor
fmod
fopen
fprintf
fputc
fputs
fputwc
fputws
fread
free
freopen
frexp
fscanf
fseek
fsetpos
ftell
fwprintf
fwrite
fwscanf
getc
getchar
getenv
gets
getwc
getwchar
gmtime
is_wctype
isalnum
isalpha
iscntrl
isdigit
isgraph
isleadbyte
islower
isprint
ispunct
isspace
isupper
iswalnum
iswalpha
iswascii
iswcntrl
iswctype
iswdigit
iswgraph
iswlower
iswprint
iswpunct
iswspace
iswupper
iswxdigit
isxdigit
labs
ldexp
ldiv
localeconv
localtime
log
log10
longjmp
malloc
mblen
mbstowcs
mbtowc
memchr
memcmp
memcpy
memmove
memset
mktime
modf
perror
pow
printf
putc
putchar
puts
putwc
putwchar
qsort
raise
rand
realloc
remove
rename
rewind
scanf
setbuf
setlocale
setvbuf
signal
sin
sinh
sprintf
sqrt
srand
sscanf
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strerror
strftime
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
swprintf
swscanf
system
tan
tanh
time
tmpfile
tmpnam
tolower
toupper
towlower
towupper
ungetc
ungetwc
vfprintf
vfwprintf
vprintf
vsprintf
vswprintf
vwprintf
wcscat
wcschr
wcscmp
wcscoll
wcscpy
wcscspn
wcsftime
wcslen
wcsncat
wcsncmp
wcsncpy
wcspbrk
wcsrchr
wcsspn
wcsstr
wcstod
wcstok
wcstol
wcstombs
wcstoul
wcsxfrm
wctomb
wprintf
wscanf
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/runtime/ChangeLog,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** ChangeLog 8 Feb 2003 14:59:32 -0000 1.45
--- ChangeLog 21 Feb 2003 21:19:50 -0000 1.46
***************
*** 1,2 ****
--- 1,79 ----
+ 2003-02-21 Earnie Boyd <ea...@us...>
+
+ Thanks to David Frasier <da...@sj...> who inspired portions of
+ this patch.
+ * Makefile.in (libmsvcrtd.a): Add target library.
+ (libmoldnamed.a): Ditto.
+ (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
+ template to create.
+ ($(srcdir)): Remove explicit reference for depencies of object targets.
+ * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
+ msvcrt20.def, msvcrt40.def: Remove.
+ * msvcrt.def.in: New file (Copy of previous msvcrt.def).
+
+ 2003-02-20 Corinna Vinschen <co...@vi...>
+
+ * Makefile.in: Make sure libmingwex.a from current build tree is used.
+
+ 2003-02-14 Christopher Faylor <cg...@re...>
+
+ * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
+ ensure -mno-cygwin where appropriate. Filter out -O2.
+
+ 2003-02-13 Danny Smith <dan...@us...>
+
+ * profile/Makefile.in (mcount.o): Use -O1 optimization
+ switch to compile.
+
+ 2003-02-10 Danny Smith <dan...@us...>
+
+ * include/math.h: Remove _CRTIMP from pow() prototype,
+ unless __NO_ISOCEXT.
+
+ 2003-02-10 Danny Smith <dan...@us...>
+
+ * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
+
+ 2003-02-10 Danny Smith <dan...@us...>
+
+ * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
+ __declspec(dllimport) supported.
+ (__cdecl): Define if not already defined.
+ (__stdcall): Likewise.
+ * include/dirent.h: Qualify fuctions with __cdecl.
+ * include/fenv.h: Likewise.
+ * include/inttypes.h: Likewise.
+ * include/assert.h: Qualify fuctions with __cdecl. Qualify
+ CRT dll imports with _CRTIMP.
+ * include/conio.h: Likewise.
+ * include/ctype.h: Likewise.
+ * include/direct.h: Likewise.
+ * include/dos.h: Likewise.
+ * include/errno.h: Likewise.
+ * include/float.h: Likewise.
+ * include/io.h: Likewise.
+ * include/locale.h: Likewise.
+ * include/malloc.h: Likewise.
+ * include/math.h: Likewise.
+ * include/mbctype.h: Likewise.
+ * include/mbstring.h: Likewise.
+ * include/process.h: Likewise.
+ * include/setjmp.h: Likewise.
+ * include/signal.h: Likewise.
+ * include/stdio.h: Likewise.
+ * include/stdlib.h: Likewise.
+ * include/string.h: Likewise.
+ * include/time.h: Likewise.
+ * include/wchar.h: Likewise.
+ * include/wctype.h: Likewise.
+ * include/sys/stat.h: Likewise.
+ * include/sys/timeb.h: Likewise.
+ * include/sys/utime.h: Likewise.
+
+ * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
+ * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
+
+ * include/stdio.h (__VALIST): Guard against prior definition.
+
2003-02-08 Earnie Boyd <ea...@us...>
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mingw/runtime/Makefile.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** Makefile.in 8 Feb 2003 14:59:32 -0000 1.18
--- Makefile.in 21 Feb 2003 21:19:50 -0000 1.19
***************
*** 155,160 ****
MOLD_OBJS = ctype_old.o string_old.o
! LIBS = libcrtdll.a libmsvcrt.a libmsvcrt20.a libmsvcrt40.a libmingw32.a \
! libcoldname.a libmoldname.a $(LIBM_A) libmingwthrd.a
DLLS = $(THREAD_DLL_NAME)
--- 155,161 ----
MOLD_OBJS = ctype_old.o string_old.o
! LIBS = libcrtdll.a libmsvcrt.a libmsvcrtd.a libmsvcrt20.a libmsvcrt40.a \
! libmingw32.a \
! libcoldname.a libmoldname.a libmoldnamed.a $(LIBM_A) libmingwthrd.a
DLLS = $(THREAD_DLL_NAME)
***************
*** 163,169 ****
Makefile.in README TODO config.guess config.sub configure configure.in \
crt1.c crtdll.def crtmt.c crtst.c ctype_old.c dllcrt1.c dllmain.c \
! gccmain.c init.c install-sh jamfile main.c mkinstalldirs moldname-crtdll.def \
! moldname-msvcrt.def moldname.def moldname.def.in msvcrt.def msvcrt20.def \
! msvcrt40.def mthr.c mthr_init.c mthr_stub.c readme.txt string_old.c \
CRT_fp8.c CRT_fp10.c test_headers.c txtmode.c binmode.c pseudo-reloc.c \
pseudo-reloc-list.c
--- 164,170 ----
Makefile.in README TODO config.guess config.sub configure configure.in \
crt1.c crtdll.def crtmt.c crtst.c ctype_old.c dllcrt1.c dllmain.c \
! gccmain.c init.c install-sh jamfile main.c mkinstalldirs \
! moldname.def.in msvcrt.def.in \
! mthr.c mthr_init.c mthr_stub.c readme.txt string_old.c \
CRT_fp8.c CRT_fp10.c test_headers.c txtmode.c binmode.c pseudo-reloc.c \
pseudo-reloc-list.c
***************
*** 209,213 ****
DLL_CC_STUFF = -B./ -mdll $(MNO_CYGWIN) -Wl,--image-base,0x6FBC0000 \
-Wl,--entry,_DllMainCRTStartup@12 \
! $(DLL_OFILES)
DLL_DLLTOOL_STUFF = --as=$(AS) --dllname $(THREAD_DLL_NAME) \
--def mingwthrd.def \
--- 210,215 ----
DLL_CC_STUFF = -B./ -mdll $(MNO_CYGWIN) -Wl,--image-base,0x6FBC0000 \
-Wl,--entry,_DllMainCRTStartup@12 \
! $(DLL_OFILES) \
! -Lmingwex
DLL_DLLTOOL_STUFF = --as=$(AS) --dllname $(THREAD_DLL_NAME) \
--def mingwthrd.def \
***************
*** 229,233 ****
$(RANLIB) $@
! $(srcdir)/moldname-crtdll.def: moldname.def.in
$(CC) -DRUNTIME=crtdll \
-D__FILENAME__=moldname-crtdll.def \
--- 231,241 ----
$(RANLIB) $@
! msvcrt.def msvcrtd.def msvcrt20.def msvcrt40.def: msvcrt.def.in
! $(CC) -DRUNTIME=$(basename $(notdir $@)) \
! -D__FILENAME__=$@ \
! -D__MSVCRT__ -C -E -P \
! -xc-header $? > $@
!
! moldname-crtdll.def: moldname.def.in
$(CC) -DRUNTIME=crtdll \
-D__FILENAME__=moldname-crtdll.def \
***************
*** 235,239 ****
-xc-header $? > $@
! $(srcdir)/moldname-msvcrt.def: moldname.def.in
$(CC) -DRUNTIME=msvcrt \
-D__FILENAME__=moldname-msvcrt.def \
--- 243,247 ----
-xc-header $? > $@
! moldname-msvcrt.def: moldname.def.in
$(CC) -DRUNTIME=msvcrt \
-D__FILENAME__=moldname-msvcrt.def \
***************
*** 241,256 ****
-xc-header $? > $@
! libcoldname.a: $(srcdir)/moldname-crtdll.def $(MOLD_OBJS)
$(DLLTOOL) --as $(AS) -k -U \
--dllname crtdll.dll \
! --def $(srcdir)/moldname-crtdll.def \
--output-lib $@
$(AR) rc $@ $(MOLD_OBJS)
$(RANLIB) $@
! libmoldname.a: $(srcdir)/moldname-msvcrt.def $(MOLD_OBJS)
$(DLLTOOL) --as $(AS) -k -U \
--dllname msvcrt.dll \
! --def $(srcdir)/moldname-msvcrt.def \
--output-lib $@
$(AR) rc $@ $(MOLD_OBJS)
--- 249,272 ----
-xc-header $? > $@
! libcoldname.a: moldname-crtdll.def $(MOLD_OBJS)
$(DLLTOOL) --as $(AS) -k -U \
--dllname crtdll.dll \
! --def moldname-crtdll.def \
--output-lib $@
$(AR) rc $@ $(MOLD_OBJS)
$(RANLIB) $@
! libmoldname.a: moldname-msvcrt.def $(MOLD_OBJS)
$(DLLTOOL) --as $(AS) -k -U \
--dllname msvcrt.dll \
! --def moldname-msvcrt.def \
! --output-lib $@
! $(AR) rc $@ $(MOLD_OBJS)
! $(RANLIB) $@
!
! libmoldnamed.a: moldname-msvcrt.def $(MOLD_OBJS)
! $(DLLTOOL) --as $(AS) -k -U \
! --dllname msvcrtd.dll \
! --def moldname-msvcrt.def \
--output-lib $@
$(AR) rc $@ $(MOLD_OBJS)
***************
*** 287,296 ****
-rm -f *.o *.a *~ core a.out mingwthrd.def mingwthrd.base mingwthrd.exp
-rm -f $(THREAD_DLL_NAME) mingwthrd_dummy.exe
@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)
! distclean:
@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)
- -rm -f *.o *.a *~ core a.out mingwthrd.def mingwthrd.base mingwthrd.exp
- -rm -f $(THREAD_DLL_NAME)
-rm -f config.cache config.status config.log
-rm -f Makefile
--- 303,311 ----
-rm -f *.o *.a *~ core a.out mingwthrd.def mingwthrd.base mingwthrd.exp
-rm -f $(THREAD_DLL_NAME) mingwthrd_dummy.exe
+ -rm -f moldname-*.def
@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)
! distclean: clean
@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)
-rm -f config.cache config.status config.log
-rm -f Makefile
***************
*** 398,422 ****
# Dependancies
#
! libcrtdll.a: $(srcdir)/crtdll.def
! libmsvcrt.a: $(srcdir)/msvcrt.def
! libmsvcrt20.a: $(srcdir)/msvcrt20.def
! libmsvcrt40.a: $(srcdir)/msvcrt40.def
! CRT_noglob.o: $(srcdir)/CRT_noglob.c
! CRTfmode.o: $(srcdir)/CRTfmode.c
! CRTglob.o: $(srcdir)/CRTglob.c
! CRTinit.o: $(srcdir)/CRTinit.c
! crt1.o: $(srcdir)/crt1.c $(srcdir)/init.c
! crt2.o: $(srcdir)/crt1.c $(srcdir)/init.c
! crtmt.o: $(srcdir)/crtmt.c
! crtst.o: $(srcdir)/crtst.c
! ctype_old.o: $(srcdir)/ctype_old.c
! dllcrt1.o: $(srcdir)/dllcrt1.c
! dllcrt2.o: $(srcdir)/dllcrt1.c
! dllmain.o: $(srcdir)/dllmain.c
! main.o: $(srcdir)/main.c
! oldnames.o: $(srcdir)/oldnames.c
! string_old.o: $(srcdir)/string_old.c
! CRT_fp8.o: $(srcdir)/CRT_fp8.c
! CRT_fp10.o: $(srcdir)/CRT_fp10.c
--- 413,438 ----
# Dependancies
#
! libcrtdll.a: crtdll.def
! libmsvcrt.a: msvcrt.def
! libmsvcrtd.a: msvcrtd.def
! libmsvcrt20.a: msvcrt20.def
! libmsvcrt40.a: msvcrt40.def
! CRT_noglob.o: CRT_noglob.c
! CRTfmode.o: CRTfmode.c
! CRTglob.o: CRTglob.c
! CRTinit.o: CRTinit.c
! crt1.o: crt1.c init.c
! crt2.o: crt1.c init.c
! crtmt.o: crtmt.c
! crtst.o: crtst.c
! ctype_old.o: ctype_old.c
! dllcrt1.o: dllcrt1.c
! dllcrt2.o: dllcrt1.c
! dllmain.o: dllmain.c
! main.o: main.c
! oldnames.o: oldnames.c
! string_old.o: string_old.c
! CRT_fp8.o: CRT_fp8.c
! CRT_fp10.o: CRT_fp10.c
--- moldname-crtdll.def DELETED ---
--- moldname-msvcrt.def DELETED ---
--- moldname.def DELETED ---
|
|
From: <na...@us...> - 2003-02-19 03:47:43
|
Update of /cvsroot/mingw/htdocs In directory sc8-pr-cvs1:/tmp/cvs-serv5191 Modified Files: ChangeLog Log Message: 2003-02-18 Nathan Fisher <na...@us...> * ChangeLog: Add period for last update. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/htdocs/ChangeLog,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** ChangeLog 19 Feb 2003 03:46:24 -0000 1.121 --- ChangeLog 19 Feb 2003 03:47:40 -0000 1.122 *************** *** 1,5 **** 2003-02-18 Nathan Fisher <na...@us...> ! * bugs.shtml: Change include/_win32.h to include/win32.h 2003-02-18 Nathan Fisher <na...@us...> --- 1,5 ---- 2003-02-18 Nathan Fisher <na...@us...> ! * bugs.shtml: Change include/_win32.h to include/win32.h. 2003-02-18 Nathan Fisher <na...@us...> |
|
From: <na...@us...> - 2003-02-19 03:46:27
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv4864
Modified Files:
ChangeLog bugs.shtml
Log Message:
2003-02-18 Nathan Fisher <na...@us...>
* bugs.shtml: Change include/_win32.h to include/win32.h.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/htdocs/ChangeLog,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -d -r1.120 -r1.121
*** ChangeLog 18 Feb 2003 23:41:03 -0000 1.120
--- ChangeLog 19 Feb 2003 03:46:24 -0000 1.121
***************
*** 1,4 ****
--- 1,8 ----
2003-02-18 Nathan Fisher <na...@us...>
+ * bugs.shtml: Change include/_win32.h to include/win32.h
+
+ 2003-02-18 Nathan Fisher <na...@us...>
+
* download.shtml: Add package installation instructions.
Add detailed post-MSYS MinGW normalization instructions.
Index: bugs.shtml
===================================================================
RCS file: /cvsroot/mingw/htdocs/bugs.shtml,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** bugs.shtml 18 Feb 2003 23:41:03 -0000 1.9
--- bugs.shtml 19 Feb 2003 03:46:24 -0000 1.10
***************
*** 76,80 ****
</li>
<li>
! w32api version ( include/_win32.h )
</li>
<li>
--- 76,80 ----
</li>
<li>
! w32api version ( include/win32.h )
</li>
<li>
|
|
From: <na...@us...> - 2003-02-18 23:41:07
|
Update of /cvsroot/mingw/htdocs In directory sc8-pr-cvs1:/tmp/cvs-serv6219 Modified Files: ChangeLog bugs.shtml download.shtml Log Message: 2003-02-18 Nathan Fisher * download.shtml: Add package installation instructions. Add detailed post-MSYS MinGW normalization instructions. * bugs.shtml: Add request for OS info. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/htdocs/ChangeLog,v retrieving revision 1.119 retrieving revision 1.120 diff -C2 -d -r1.119 -r1.120 *** ChangeLog 18 Feb 2003 05:46:11 -0000 1.119 --- ChangeLog 18 Feb 2003 23:41:03 -0000 1.120 *************** *** 1,2 **** --- 1,8 ---- + 2003-02-18 Nathan Fisher <na...@us...> + + * download.shtml: Add package installation instructions. + Add detailed post-MSYS MinGW normalization instructions. + * bugs.shtml: Add request for OS info. + 2003-02-17 Nathan Fisher <na...@us...> Index: bugs.shtml =================================================================== RCS file: /cvsroot/mingw/htdocs/bugs.shtml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** bugs.shtml 18 Feb 2003 05:46:11 -0000 1.8 --- bugs.shtml 18 Feb 2003 23:41:03 -0000 1.9 *************** *** 1,15 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html> ! <head> ! <meta content= ! "HTML Tidy for Linux/x86 (vers 1st February 2003), see www.w3.org" ! name="generator"> ! <meta http-equiv="content-type" content= ! "text/html; charset=us-ascii"> ! <link href="mingw.css" type="text/css" rel="stylesheet" ! title="MinGW"> ! <title> ! MinGW - Reporting bugs ! </title> <style type="text/css"> :link { color: #000099 } --- 1,7 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head> ! <meta content="HTML Tidy for Linux/x86 (vers 1st February 2003), see www.w3.org" name="generator"> ! <meta http-equiv="content-type" content="text/html; charset=us-ascii"> ! <link href="mingw.css" type="text/css" rel="stylesheet" title="MinGW"><title>MinGW - Reporting bugs</title> ! <style type="text/css"> :link { color: #000099 } *************** *** 17,22 **** :active { color: #000099 } img.c3 {border:0;width:88px;height:31px} ! </style> ! </head> <body> <h1> --- 9,14 ---- :active { color: #000099 } img.c3 {border:0;width:88px;height:31px} ! </style></head> ! <body> <h1> *************** *** 50,55 **** --- 42,51 ---- <ul> <li> + OS version ( Windows 98, ME, NT, 2000, XP )<br> + </li> + <li> gcc version ( `gcc -v` ) </li> + <li> ld version ( `ld -v` )<br> *************** *** 88,98 **** </ul> SourceForge gives us nice tools to keep track of your bug reports, so please ! <a href= ! "https://sourceforge.net/tracker/?group_id=2435&atid=102435" ! target="_nw">follow this link to file your report.</a> You will need a SourceForge login account. If you don't have one then ! <a href= ! "https://sourceforge.net/account/register.php">follow this link to register for one.</a><br> <br> --- 84,91 ---- </ul> SourceForge gives us nice tools to keep track of your bug reports, so please ! <a href="https://sourceforge.net/tracker/?group_id=2435&atid=102435" target="_nw">follow this link to file your report.</a> You will need a SourceForge login account. If you don't have one then ! <a href="https://sourceforge.net/account/register.php">follow this link to register for one.</a><br> <br> *************** *** 131,147 **** <li> gcc bug reporting guidelines:<br> ! <a href= ! "http://www.gnu.org/software/gcc/bugs.html"> http://www.gnu.org/software/gcc/bugs.html</a> </li> <li> gcc mailing list archives:<br> ! <a href= ! "http://gcc.gnu.org/lists.html">http://gcc.gnu.org/lists.html</a> </li> <li> cygwin (binutils, gdb and cygwin):<br> ! <a href= ! "http://sources.redhat.com/lists.html">http://sources.redhat.com/lists.html</a><br> </li> </ul> --- 124,137 ---- <li> gcc bug reporting guidelines:<br> ! <a href="http://www.gnu.org/software/gcc/bugs.html"> http://www.gnu.org/software/gcc/bugs.html</a> </li> <li> gcc mailing list archives:<br> ! <a href="http://gcc.gnu.org/lists.html">http://gcc.gnu.org/lists.html</a> </li> <li> cygwin (binutils, gdb and cygwin):<br> ! <a href="http://sources.redhat.com/lists.html">http://sources.redhat.com/lists.html</a><br> </li> </ul> *************** *** 157,167 **** <!--#include file="ssi/footer.html"--> <p> ! <a href= ! "http://validator.w3.org/check/referer"><img border="0" ! src="http://www.w3.org/Icons/valid-html401" alt= ! "Valid HTML 4.01!" height="31" width="88"></a> <a href= ! "http://jigsaw.w3.org/css-validator/"><img class="c3" ! src="http://jigsaw.w3.org/css-validator/images/vcss" ! alt="Valid CSS!"></a> </p> <address> --- 147,151 ---- <!--#include file="ssi/footer.html"--> <p> ! <a href="http://validator.w3.org/check/referer"><img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a> <a href="http://jigsaw.w3.org/css-validator/"><img class="c3" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a> </p> <address> *************** *** 169,172 **** Last revised $Date$ </address> ! </body> ! </html> --- 153,155 ---- Last revised $Date$ </address> ! </body></html> Index: download.shtml =================================================================== RCS file: /cvsroot/mingw/htdocs/download.shtml,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** download.shtml 4 Feb 2003 21:44:54 -0000 1.15 --- download.shtml 18 Feb 2003 23:41:03 -0000 1.16 *************** *** 1,268 **** <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta http-equiv="content-type" ! content="text/html; charset=ISO-8859-1"> ! <meta name="description" ! content="Home of MinGW -- Minimalist GNU for Windows -- project. Contains information about the MinGW runtime library and GNU/OSS development tools for MinGW."> ! <meta name="keywords" ! content="mingw, mingw32, programming, C++, C, C/C++, libraries, software, development tools, editors, IDEs, GNU"> ! <link href="mingw.css" type="text/css" rel="stylesheet" title="MinGW"> ! <title>Download</title> ! </head> ! <body link="#000099" vlink="#990099" alink="#000099"> ! <h1 align="center">MinGW: Download</h1> ! <table class="prim" cellspacing="6" border="0"> ! <tbody> ! <tr> ! <td class="side"><!--#include file="ssi/lsidebar.html"--> <br> ! </td> ! <td> ! <table class="sec" cellspacing="6" border="0"> ! <tbody> ! <tr> ! <td><!-- ======================================================================= --><!-- --><!-- Main Body --><!-- --> ! <h2>Downloading MinGW</h2> ! <p> Development of MinGW is done within a framework of ! inter-related <i>packages</i>. There is a package for the MinGW ! runtime, packages for GCC and other tool ports, a package ! for the w32api, and so forth. All of these packages conform ! to a set of common conventions (internal layout, directory structure, ! naming scheme). The traditional method for installing MinGW ! was to create a directory for the installation, download the desired ! individual packages, and extract their contents into the installation ! directory (the common internal layout shared by the packages made this ! possible). </p> ! <p> However, in mid-2001 the team began publishing a ! single-archive "MinGW distribution"... bundling the latest versions of ! all individual packages available at the time of release. ! This was done partially to streamline the installation ! process for newbies, and partially to help application and ! library developers design products that will build using MinGW ! (previously MinGW was a moving target with all the constant updates to ! individual packages, but now it is easier to verify things as being ! "MinGW 1.0 compatible"). </p> ! <p> The individual packages making up the MinGW distribution ! are still produced and made available for download ! seperately. Updated versions of individual packages will ! sometimes be made available in between releases of the main ! MinGW distribution... in most cases it should be possible to extract a ! package's content into your MinGW directory to take advantage of the ! updates immediately. </p> ! <h3>Download location</h3> ! <p> The standard MinGW download page is hosted by <a ! target="_nw" ! href="http://sourceforge.net/project/showfiles.php?group_id=2435"> ! SourceForge</a>. This page contains the latest version of the main ! MinGW distribution archive, as well as all available pacakges files to ! download.<br> ! </p> ! <a name="download-release"></a><!--#include file="ssi/release.html"--> ! <h3>Mirror Sites</h3> ! <ul> ! <li> <a href="http://prdownloads.sf.net/mingw/"> ! http://prdownloads.sf.net/mingw/ </a> </li> ! <li> <a href="ftp://gd.tuwien.ac.at/gnu/mingw/">ftp://gd.tuwien.ac.at/gnu/mingw/</a> </li> ! <li> <a href="http://gd.tuwien.ac.at/gnu/mingw/"> ! http://gd.tuwien.ac.at/gnu/mingw/</a></li> ! </ul> ! <p>If you wish to mirror the MinGW distributions then ! please send a request to <a ! href="mailto:min...@li..."> ! min...@li...</a>.</p> ! <h3>Downloading the distribution</h3> ! <p> The naming scheme for the main MinGW distribution file ! is: </p> ! <blockquote> <tt> ! Mingw-<version>[-<stamp>].<tar.gz or zip> </tt> </blockquote> ! Where: ! <dl> ! <dt> <tt><version></tt> </dt> ! <dd> Arbitrarily chosen by the MinGW development team, the ! latest version at the time of this writing was 1.0.1. ! Major updates to the distribution will involve incrementing the ! most-significant digit in the version number, smaller updates will ! increment less-significant digits. </dd> ! <dt> <tt><stamp></tt> </dt> ! <dd> Always YYYYMMDD format, representing the date on ! which the distribution was bundled (not related to the ! timestamp or version of any component package. </dd> ! <dt> <tt><suffix></tt> </dt> ! <dd> File extension corresponding to the compression ! method used. We are using <tt>zip</tt> and/or <tt>tar.gz</tt>.</dd> ! </dl> ! <h3>Downloading packages</h3> ! <p> All the MinGW releases use consistent naming scheme: </p> ! <blockquote> <tt> ! <package_name>-<original_version>[-<stamp>].<suffix> </tt> </blockquote> ! Where: ! <dl> ! <dt> <tt><package_name></tt> </dt> ! <dd> Package name of this release. Package name is usually ! obtained from the official short software name. </dd> ! <dt> <tt><original_version></tt> </dt> ! <dd> Official software vesrion. Since most of MinGW ! packages is official GNU software, we don't control ! this field and take it as is from documentation or ! specification files. </dd> ! <dt> <tt><stamp></tt> </dt> ! <dd> Stamp is: ! <ul> ! <li> Always YYYYMMDD timestamp for non-production ! releases (i.e. alpha and beta releases). </li> ! <li> Sequental integer (release number) for official ! releases of ported software (i.e. software ! which we do not maintain). </li> ! <li> May not be present for our own packages (we ! increment version for them, not release number). </li> ! </ul> ! </dd> ! <dt> <tt><suffix></tt> </dt> ! <dd> File extension corresponding to the compression ! method used. We are using <tt>zip</tt> and/or <tt>tar.gz</tt>.</dd> ! </dl> ! For example, <tt>binutils-2.10.91-20001205.zip</tt> is a binutils ! (which are GNU Binary Utilities) 2.10.91 alpha or beta release made on ! 5th of December, 2000.<br> ! <br> ! <em><b>WinZip Caution:</b></em><br> ! Make sure that you first <b>uncheck</b> the "TAR file smart CR/LF ! conversion" checkbox found in the Configuration -> Miscellaneous tab ! of the Options menu. <br> ! <br> ! <em><a href="http://www.7-zip.org" target="_nw">7-Zip</a></em><br> ! <p>We've found that this zip/unzip utility is fast and ! reliable for differing compression algorithms. If you need a ! decompression utility, you should visit <a href="http://www.7-Zip.org" ! target="_nw">7-Zip</a> for the latest version. If you don't need a ! compression/decompression utility, I suggest you visit <a ! href="http://www.7-Zip.org" target="_nw">7-Zip</a> for one of the best ! compression algorithms available. <b> </b></p> ! <hr> ! <h2>Installing MinGW</h2> ! <span style="font-weight: bold;">Installing MinGW using ! MinGW-__VERSION__.exe:<br> ! </span><br> ! <span style="text-decoration: underline;">Summary for the ! click happy and impatient:</span><br> ! <ul> ! <li>Make sure you read and understand the License ! agreement.</li> ! <li>Accept all of the defaults unless you have reason not ! to (ie/ installation dir to c:\msys\__VERSION__\mingw for a combined ! MinGW/MSYS installation).</li> ! </ul> ! <span style="text-decoration: underline;">Detailed ! Instructions:</span><br> ! <span style="font-weight: bold;"></span> ! <ol> ! <li>Download the latest MinGW binary executable.</li> ! <li>Run the executable.</li> ! <li>Click "<span style="text-decoration: underline;">N</span>ext" ! if you wish to continue with the installation.<br> ! </li> ! <li>Carefully read through the License Agreement.</li> ! <li>Click "<span style="text-decoration: underline;">Y</span>es" ! only if you agree with the terms of the license.</li> ! <li>Read through the Setup Info.</li> ! <li>Click "<span style="text-decoration: underline;">N</span>ext".</li> ! <li>Select your installation directory or accept the ! default.</li> ! <li>Click "<span style="text-decoration: underline;">N</span>ext".</li> ! <li>An architecture dialog will be displayed, accept the ! default.</li> ! <li>Click "<span style="text-decoration: underline;">N</span>ext".</li> ! <li>Review the installation summary go "<span ! style="text-decoration: underline;">B</span>ack" if necessary.</li> ! <li>Click "Install" to continue with the installation.</li> ! <li>A progress bar will be displayed indicating the ! current install progress.</li> ! <li>Upon completion click "<span ! style="text-decoration: underline;">N</span>ext"</li> ! <li>Click "<span style="text-decoration: underline;">F</span>inish" ! to finalize the installation.</li> ! </ol> ! <span style="font-weight: bold;">Normalizing MinGW with ! your build environment<br> ! <br> ! Windows Command prompt:<br> ! <br> ! </span><span style="text-decoration: underline;">Summary:</span><br> ! <ul> ! <li>set PATH=c:\__MinGW_Install_Dir__\bin;%PATH%</li> ! <li>test installation with "gcc -v"<br> ! </li> ! <li>add the above path to c:\autoexec.bat</li> ! </ul> ! <span style="text-decoration: underline;">Detailed ! Instructions:<br> ! </span> ! <ol> ! <li>run command.com (98 or ME) or cmd.exe (NT, 2000 or XP)</li> ! <li>type "set PATH=c:\__MinGW_Install_Dir__\bin;%PATH%", ! substituting __MinGW_Install_Dir__ with the directory path you installed ! MinGW into.</li> ! <li>type "gcc -v" and ensure that it outputs version ! information which will start similar to the following:<br> ! <pre> Reading specs from c:/mingw/bin/../lib/gcc-lib/i386-pc-mingw32/3.2.1/specs<br> </pre> ! </li> ! <li>To permanently set the path type "notepad ! c:\autoexec.bat" at the command prompt</li> ! <li>In notepad goto the last line and add the 'set PATH' ! command you typed in step 2.</li> ! <li>Save and close notepad.</li> ! </ol> ! <span style="font-weight: bold;">pre-MSYS:<br> ! </span><br> ! <span style="text-decoration: underline;">Summary:</span><br> ! <ul> ! <li>During the MSYS install specify your MinGW directory ! during the environment normalization</li> ! </ul> ! <span style="text-decoration: underline;">Detailed ! Instructions:<br> ! <span style="text-decoration: underline;"></span></span>Sorry ! on the todo list<span style="text-decoration: underline;"><span ! style="text-decoration: underline;"></span><br> ! <br> ! </span> <span style="font-weight: bold;">post-MSYS:<br> ! <br> ! </span><span style="text-decoration: underline;">Summary:<br> ! </span> ! <ul> ! <li>Start up msys, copy /etc/fstab.sample to /etc/fstab</li> ! <li>Edit /etc/fstab updating the location of your MinGW ! installation appropriately</li> ! </ul> ! <span style="text-decoration: underline;">Detailed ! Instructions:</span><br> ! Sorry on the todo list<br> ! <br> ! <span style="text-decoration: underline;"></span><span ! style="font-weight: bold;">Cygwin:<br> ! </span>Sorry on the todo list<br> ! <br> ! <span style="font-weight: bold;">Other:<br> ! </span>Please submit to suggestions as a patch.<!-- End of Main Body --> </td> ! </tr> ! <tr> ! <td style="vertical-align: top;"><br> ! </td> ! </tr> ! </tbody> ! </table> ! </td> ! </tr> ! </tbody> ! </table> ! <!--#include file="ssi/bottombar.html"--><!--#include file="ssi/footer.html"--> ! <p> <a href="http://validator.w3.org/check/referer"><img border="0" ! src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" ! height="31" width="88"></a> <a ! href="http://jigsaw.w3.org/css-validator/"> <img ! style="border: 0pt none ; width: 88px; height: 31px;" ! src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a> </p> ! <address> <br> ! Last revised $Date$ </address> ! </body> </html> --- 1,502 ---- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta content= ! "HTML Tidy for Linux/x86 (vers 1st February 2003), see www.w3.org" ! name="generator"> ! <meta http-equiv="content-type" content= ! "text/html; charset=us-ascii"> ! <meta name="description" content= ! "Home of MinGW -- Minimalist GNU for Windows -- project. Contains information about the MinGW runtime library and GNU/OSS development tools for MinGW."> ! <meta name="keywords" content= ! "mingw, mingw32, programming, C++, C, C/C++, libraries, software, development tools, editors, IDEs, GNU"> ! <link href="mingw.css" type="text/css" rel="stylesheet" ! title="MinGW"> ! <title> ! Download ! </title> ! <style type="text/css"> ! :link { color: #000099 } ! :visited { color: #990099 } ! :active { color: #000099 } ! img.c5 {border: 0pt none ; width: 88px; height: 31px;} ! td.c4 {vertical-align: top;} ! </style> ! </head> ! <body> ! <h1> ! MinGW: Download ! </h1> ! <table class="prim" cellspacing="6" border="0"> ! <tbody> ! <tr> ! <td class="side"> ! <!--#include file="ssi/lsidebar.html"--><br> ! ! </td> ! <td> ! <table class="sec" cellspacing="6" border="0"> ! <tbody> ! <tr> ! <td> ! <!-- ======================================================================= --><!-- --><!-- Main Body --><!-- --> ! <h2> ! Downloading MinGW ! </h2> ! <p> ! Development of MinGW is done within a ! framework of inter-related <i>packages</i>. ! There is a package for the MinGW runtime, ! packages for GCC and other tool ports, a ! package for the w32api, and so forth. All of ! these packages conform to a set of common ! conventions (internal layout, directory ! structure, naming scheme). The traditional ! method for installing MinGW was to create a ! directory for the installation, download the ! desired individual packages, and extract ! their contents into the installation ! directory (the common internal layout shared ! by the packages made this possible). ! </p> ! <p> ! However, in mid-2001 the team began ! publishing a single-archive "MinGW ! distribution"... bundling the latest versions ! of all individual packages available at the ! time of release. This was done partially to ! streamline the installation process for ! newbies, and partially to help application ! and library developers design products that ! will build using MinGW (previously MinGW was ! a moving target with all the constant updates ! to individual packages, but now it is easier ! to verify things as being "MinGW 1.0 ! compatible"). ! </p> ! <p> ! The individual packages making up the MinGW ! distribution are still produced and made ! available for download seperately. Updated ! versions of individual packages will ! sometimes be made available in between ! releases of the main MinGW distribution... in ! most cases it should be possible to extract a ! package's content into your MinGW directory ! to take advantage of the updates immediately. ! </p> ! <h3> ! Download location ! </h3> ! <p> ! The standard MinGW download page is hosted by ! <a target="_nw" href= ! "http://sourceforge.net/project/showfiles.php?group_id=2435"> ! SourceForge</a>. This page contains the ! latest version of the main MinGW distribution ! archive, as well as all available pacakges ! files to download. ! </p><a name="download-release"></a> ! <!--#include file="ssi/release.html"--> ! ! <h3> ! Mirror Sites ! </h3> ! <ul> ! <li> ! <a href= ! "http://prdownloads.sf.net/mingw/">http://prdownloads.sf.net/mingw/</a> ! </li> ! <li> ! <a href= ! "ftp://gd.tuwien.ac.at/gnu/mingw/">ftp://gd.tuwien.ac.at/gnu/mingw/</a> ! </li> ! <li> ! <a href= ! "http://gd.tuwien.ac.at/gnu/mingw/">http://gd.tuwien.ac.at/gnu/mingw/</a> ! </li> ! </ul> ! <p> ! If you wish to mirror the MinGW distributions ! then please send a request to <a href= ! "mailto:min...@li..."> ! min...@li...</a>. ! </p> ! <h3> ! Downloading the distribution ! </h3> ! <p> ! The naming scheme for the main MinGW ! distribution file is: ! </p> ! <blockquote> ! <tt>Mingw-<version>[-<stamp>].<tar.gz ! or zip></tt> ! </blockquote>Where: ! <dl> ! <dt> ! <tt><version></tt> ! </dt> ! <dd> ! Arbitrarily chosen by the MinGW development ! team, the latest version at the time of ! this writing was 1.0.1. Major updates to ! the distribution will involve incrementing ! the most-significant digit in the version ! number, smaller updates will increment ! less-significant digits. ! </dd> ! <dt> ! <tt><stamp></tt> ! </dt> ! <dd> ! Always YYYYMMDD format, representing the ! date on which the distribution was bundled ! (not related to the timestamp or version of ! any component package. ! </dd> ! <dt> ! <tt><suffix></tt> ! </dt> ! <dd> ! File extension corresponding to the ! compression method used. We are using ! <tt>zip</tt> and/or <tt>tar.gz</tt>. ! </dd> ! </dl> ! <h3> ! Downloading packages ! </h3> ! <p> ! All the MinGW releases use consistent naming ! scheme: ! </p> ! <blockquote> ! <tt><package_name>-<original_version>[-<stamp>].<suffix></tt> ! </blockquote>Where: ! <dl> ! <dt> ! <tt><package_name></tt> ! </dt> ! <dd> ! Package name of this release. Package name ! is usually obtained from the official short ! software name. ! </dd> ! <dt> ! <tt><original_version></tt> ! </dt> ! <dd> ! Official software vesrion. Since most of ! MinGW packages is official GNU software, we ! don't control this field and take it as is ! from documentation or specification files. ! </dd> ! <dt> ! <tt><stamp></tt> ! </dt> ! <dd> ! Stamp is: ! <ul> ! <li> ! Always YYYYMMDD timestamp for ! non-production releases (i.e. alpha and ! beta releases). ! </li> ! <li> ! Sequental integer (release number) for ! official releases of ported software ! (i.e. software which we do not ! maintain). ! </li> ! <li> ! May not be present for our own packages ! (we increment version for them, not ! release number). ! </li> ! </ul> ! </dd> ! <dt> ! <tt><suffix></tt> ! </dt> ! <dd> ! File extension corresponding to the ! compression method used. We are using ! <tt>zip</tt> and/or <tt>tar.gz</tt>. ! </dd> ! </dl>For example, ! <tt>binutils-2.10.91-20001205.zip</tt> is a ! binutils (which are GNU Binary Utilities) ! 2.10.91 alpha or beta release made on 5th of ! December, 2000.<br> ! <br> ! <em><b>WinZip Caution:</b></em><br> ! Make sure that you first <b>uncheck</b> the ! "TAR file smart CR/LF conversion" checkbox ! found in the Configuration -> Miscellaneous ! tab of the Options menu.<br> ! <br> ! <em><a href="http://www.7-zip.org" target= ! "_nw">7-Zip</a></em><br> ! ! <p> ! We've found that this zip/unzip utility is ! fast and reliable for differing compression ! algorithms. If you need a decompression ! utility, you should visit <a href= ! "http://www.7-Zip.org" target="_nw">7-Zip</a> ! for the latest version. If you don't need a ! compression/decompression utility, I suggest ! you visit <a href="http://www.7-Zip.org" ! target="_nw">7-Zip</a> for one of the best ! compression algorithms available. ! </p> ! <hr> ! <h2> ! Installing MinGW ! </h2><span class="bold">Installing MinGW using ! MinGW-__VERSION__.exe:<br></span><br> ! <span class="underline">Summary for the click happy ! and impatient:</span><br> ! ! <ul> ! <li> ! Make sure you read and understand the ! License agreement. ! </li> ! <li> ! Accept all of the defaults unless you have ! reason not to (ie/ installation dir to ! c:\msys\__VERSION__\mingw for a combined ! MinGW/MSYS installation). ! </li> ! </ul><span class="underline">Detailed ! Instructions:</span><br> ! ! <ol> ! <li> ! Download the latest MinGW binary ! executable. ! </li> ! <li> ! Run the executable. ! </li> ! <li> ! Click "<span class="underline">N</span>ext" if you ! wish to continue with the installation.<br> ! </li> ! <li> ! Carefully read through the License ! Agreement. ! </li> ! <li> ! Click "<span class="underline">Y</span>es" only if ! you agree with the terms of the license. ! </li> ! <li> ! Read through the Setup Info. ! </li> ! <li> ! Click "<span class="underline">N</span>ext". ! </li> ! <li> ! Select your installation directory or ! accept the default. ! </li> ! <li> ! Click "<span class="underline">N</span>ext". ! </li> ! <li> ! An architecture dialog will be displayed, ! accept the default. ! </li> ! <li> ! Click "<span class="underline">N</span>ext". ! </li> ! <li> ! Review the installation summary go ! "<span class="underline">B</span>ack" if ! necessary. ! </li> ! <li> ! Click "Install" to continue with the ! installation. ! </li> ! <li> ! A progress bar will be displayed indicating ! the current install progress. ! </li> ! <li> ! Upon completion click "<span class= ! "underline">N</span>ext" ! </li> ! <li> ! Click "<span class="underline">F</span>inish" to ! finalize the installation. ! </li> ! </ol><span class="bold"><span class= ! "bold">Installing MinGW package ! updates:</span></span><br> ! <br> ! <span class="underline">Summary:</span><br> ! ! <ul> ! <li> ! Unpack the mingw tarball into the root of ! your mingw installation (ie/ C:\mingw). ! </li> ! </ul><span class="underline">Detailed ! Instructions:</span><br> ! Sory on the todo list<br> ! <span class="bold"><br> ! Normalizing MinGW with your build ! environment<br> ! <br> ! Windows Command prompt:<br> ! <br></span> <span class= ! "underline">Summary:</span><br> ! ! <ul> ! <li> ! set ! PATH=c:\__MinGW_Install_Dir__\bin;%PATH% ! </li> ! <li> ! test installation with "gcc -v"<br> ! </li> ! <li> ! add the above path to c:\autoexec.bat ! </li> ! </ul><span class="underline">Detailed ! Instructions:<br></span> ! <ol> ! <li> ! Run command.com (98 or ME) or cmd.exe (NT, ! 2000 or XP). ! </li> ! <li> ! Type "set ! PATH=c:\__MinGW_Install_Dir__\bin;%PATH%", ! substituting __MinGW_Install_Dir__ with the ! directory path you installed MinGW into. ! </li> ! <li> ! Type "gcc -v" and ensure that it outputs ! version information which will start ! similar to the following:<br> ! ! <pre> ! Reading specs from c:/mingw/bin/../lib/gcc-lib/i386-pc-mingw32/3.2.1/specs<br> ! </pre> ! </li> ! <li> ! To permanently set the path type "notepad ! c:\autoexec.bat" at the command prompt. ! </li> ! <li> ! In notepad goto the last line and add the ! 'set PATH' command you typed in step 2. ! </li> ! <li> ! Save and close notepad. ! </li> ! </ol><span class="bold">pre-MSYS:<br></span><br> ! <span class="underline">Summary:</span><br> ! ! <ul> ! <li> ! During the MSYS install specify your MinGW ! directory during the environment ! normalization ! </li> ! </ul><span class="underline">Detailed ! Instructions:<br></span> Sorry on the todo ! list<span class="underline"><br> ! <br></span> <span class="bold">post-MSYS:<br> ! <br></span> <span class= ! "underline">Summary:<br></span> ! <ul> ! <li> ! Start up msys, copy /etc/fstab.sample to ! /etc/fstab ! </li> ! <li> ! Edit /etc/fstab updating the location of ! your MinGW installation appropriately ! </li> ! </ul><span class="underline">Detailed ! Instructions:</span><br> ! ! <ol> ! <li> ! Start MSYS. ! </li> ! <li> ! Type "cd /etc". ! </li> ! <li> ! Type "cp fstab.sample fstab". ! </li> ! <li> ! Type "notepad fstab". ! </li> ! <li> ! If necessary modify the ! "c:/mingw /mingw" entry to ! reflect where you installed MinGW during ! setup. ! </li> ! <li> ! Save the file. ! </li> ! <li> ! Shutdown and restart MSYS. ! </li> ! <li> ! Type "gcc -v" and ensure that it outputs ! version information which will start ! similar to the following:<br> ! ! <pre> ! Reading specs from c:/mingw/bin/../lib/gcc-lib/i386-pc-mingw32/3.2.1/specs ! </pre> ! </li> ! <li> ! Happy programming if you get the above ! output.<br> ! </li> ! </ol><span class="bold">Cygwin:<br></span> Sorry ! on the todo list<br> ! <br> ! <span class="bold">Other:<br></span> Please ! submit to suggestions as a patch. ! <!-- End of Main Body --> ! </td> ! </tr> ! <tr> ! <td class="c4"> ! <br> ! </td> ! </tr> ! </tbody> ! </table> ! </td> ! </tr> ! </tbody> ! </table><!--#include file="ssi/bottombar.html"--> ! <!--#include file="ssi/footer.html"--> ! <p> ! <a href= ! "http://validator.w3.org/check/referer"><img border="0" ! src="http://www.w3.org/Icons/valid-html401" alt= ! "Valid HTML 4.01!" height="31" width="88"></a> <a href= ! "http://jigsaw.w3.org/css-validator/"><img class="c5" ! src="http://jigsaw.w3.org/css-validator/images/vcss" ! alt="Valid CSS!"></a> ! </p> ! <address> ! <br> ! Last revised $Date$ ! </address> ! </body> </html> |
|
From: <na...@us...> - 2003-02-18 05:46:14
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv23986
Modified Files:
ChangeLog bugs.shtml mingw.css
Log Message:
2003-02-18 Nathan Fisher
* bugs.shtml: Update vers info retrieval.
* mingw.css: Add underline class for span.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/htdocs/ChangeLog,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -d -r1.118 -r1.119
*** ChangeLog 13 Feb 2003 03:05:16 -0000 1.118
--- ChangeLog 18 Feb 2003 05:46:11 -0000 1.119
***************
*** 1,2 ****
--- 1,7 ----
+ 2003-02-17 Nathan Fisher <na...@us...>
+
+ * bugs.shtml: Update version info retrieval.
+ * mingw.css: Add underline class to span.
+
2003-02-12 Nathan Fisher <na...@us...>
Index: bugs.shtml
===================================================================
RCS file: /cvsroot/mingw/htdocs/bugs.shtml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** bugs.shtml 13 Feb 2003 03:01:48 -0000 1.7
--- bugs.shtml 18 Feb 2003 05:46:11 -0000 1.8
***************
*** 17,30 ****
:active { color: #000099 }
img.c3 {border:0;width:88px;height:31px}
- span.c2 {font-weight: bold; text-decoration: underline;}
- h1.c1 {text-align: center}
- </style>
- <style type="text/css">
- span.c2 {text-decoration: underline;}
- span.c1 {font-weight: bold;}
</style>
</head>
<body>
! <h1 class="c1">
Reporting bugs
</h1>
--- 17,24 ----
:active { color: #000099 }
img.c3 {border:0;width:88px;height:31px}
</style>
</head>
<body>
! <h1>
Reporting bugs
</h1>
***************
*** 40,47 ****
<tr>
<td>
! <!-- ======================================================================= -->
! <!-- -->
! <!-- Main Body -->
! <!-- -->
So you think you have found a bug and want to
report the problem? Before reporting a bug
--- 34,41 ----
<tr>
<td>
! <!-- ======================================================================= -->
! <!-- -->
! <!-- Main Body -->
! <!-- -->
So you think you have found a bug and want to
report the problem? Before reporting a bug
***************
*** 56,71 ****
<ul>
<li>
! gcc version
</li>
<li>
! mingw version<br>
</li>
<li>
! build environment (MSYS, Cygwin,
! Cross-Compiler, etc)
</li>
<li>
small test case demonstrating the bug
! <span class="c2">OR</span>
</li>
<li>
--- 50,73 ----
<ul>
<li>
! gcc version ( `gcc -v` )
</li>
<li>
! ld version ( `ld -v` )<br>
</li>
<li>
! mingw version ( name of installer package
! eg/ MinGW-2.0.0-3.exe )<br>
! </li>
! <li>
! build environment ( MSYS, Cygwin,
! Cross-Compiler, etc )
! </li>
! <li>
! if using MSYS version number ( `uname -a`
! )<br>
</li>
<li>
small test case demonstrating the bug
! <span class="underline">OR</span>
</li>
<li>
***************
*** 74,79 ****
</li>
<li>
! win32api version (refer to include/_win32.h
! for version information)
</li>
<li>
--- 76,84 ----
</li>
<li>
! mingw-runtime version ( include/_mingw.h
! )<br>
! </li>
! <li>
! w32api version ( include/_win32.h )
</li>
<li>
***************
*** 92,99 ****
this link to register for one.</a><br>
<br>
! <span class="c1">Generic Package
Bugs</span><br>
<br>
! Under certain circumstances you may find a bug
in a base package, such as gcc, that is
platform independent (ie/ can be reproduced on
--- 97,104 ----
this link to register for one.</a><br>
<br>
! <span class="bold">Generic Package
Bugs</span><br>
<br>
! Under certain circumstances you may find a bug
in a base package, such as gcc, that is
platform independent (ie/ can be reproduced on
***************
*** 103,107 ****
standard headers and libraries. Please
submit the bug following the procedure detailed
! above <span class="c2">prior</span> to
submiting it to the primary maintainers. After
receiving verification from a MinGW developer
--- 108,112 ----
standard headers and libraries. Please
submit the bug following the procedure detailed
! above <span class="underline">prior</span> to
submiting it to the primary maintainers. After
receiving verification from a MinGW developer
***************
*** 120,124 ****
users list.<br>
<br>
! <span class="c1">External Bug Reporting Lists
and Guidelines<br>
<br></span>
--- 125,129 ----
users list.<br>
<br>
! <span class="bold">External Bug Reporting Lists
and Guidelines<br>
<br></span>
***************
*** 141,145 ****
</li>
</ul>
! <!-- End of Main Body -->
</td>
</tr>
--- 146,150 ----
</li>
</ul>
! <!-- End of Main Body -->
</td>
</tr>
Index: mingw.css
===================================================================
RCS file: /cvsroot/mingw/htdocs/mingw.css,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** mingw.css 10 Jan 2003 08:19:55 -0000 1.14
--- mingw.css 18 Feb 2003 05:46:11 -0000 1.15
***************
*** 11,14 ****
--- 11,15 ----
P.smi { font-size: small; text-align: center; font-style: italic; }
+ SPAN.underline { text-decoration: underline; }
SPAN.bold { font-weight: bold; }
|
|
From: <ea...@us...> - 2003-02-17 21:07:32
|
Update of /cvsroot/mingw/msys/rt/src/newlib In directory sc8-pr-cvs1:/tmp/cvs-serv18218 Modified Files: ChangeLog.MSYS Log Message: * libc/stdlib/mallocr.c (unlink): Add filters. Index: ChangeLog.MSYS =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/ChangeLog.MSYS,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog.MSYS 13 Jun 2002 22:02:16 -0000 1.2 --- ChangeLog.MSYS 17 Feb 2003 21:07:29 -0000 1.3 *************** *** 1,2 **** --- 1,6 ---- + 2003.02.17 Earnie Boyd <ea...@us...> + + * libc/stdlib/mallocr.c (unlink): Add filters. + 2002.06.13 Earnie Boyd <ea...@us...> |
|
From: <ea...@us...> - 2003-02-17 21:07:32
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/stdlib
In directory sc8-pr-cvs1:/tmp/cvs-serv18218/libc/stdlib
Modified Files:
mallocr.c
Log Message:
* libc/stdlib/mallocr.c (unlink): Add filters.
Index: mallocr.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdlib/mallocr.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** mallocr.c 13 Jun 2002 22:02:17 -0000 1.4
--- mallocr.c 17 Feb 2003 21:07:28 -0000 1.5
***************
*** 1,3 ****
! #ifdef MALLOC_PROVIDED
int _dummy_mallocr = 1;
#else
--- 1,3 ----
! #if defined MALLOC_PROVIDED && ! defined __MSYS__
int _dummy_mallocr = 1;
#else
***************
*** 1937,1942 ****
BK = P->bk; \
FD = P->fd; \
! FD->bk = BK; \
! BK->fd = FD; \
} \
--- 1937,1942 ----
BK = P->bk; \
FD = P->fd; \
! if (FD) FD->bk = BK; \
! if (BK) BK->fd = FD; \
} \
|
|
From: <ea...@us...> - 2003-02-17 21:06:00
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory sc8-pr-cvs1:/tmp/cvs-serv17396
Modified Files:
cygheap.cc heap.cc ChangeLog.MSYS
Log Message:
* cygheap.cc (init_cygheap::etc_changed): Use more appropriate object
name.
* heap.cc (heap_init): Add FIXME debug macro.
Index: cygheap.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/cygheap.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cygheap.cc 15 Oct 2001 22:22:32 -0000 1.2
--- cygheap.cc 17 Feb 2003 21:05:54 -0000 1.3
***************
*** 355,363 ****
if (!etc_changed_h)
{
! path_conv pwd ("/etc");
! etc_changed_h = FindFirstChangeNotification (pwd, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
if (etc_changed_h == INVALID_HANDLE_VALUE)
! system_printf ("Can't open /etc for checking, %E", (char *) pwd,
etc_changed_h);
else if (!DuplicateHandle (hMainProc, etc_changed_h, hMainProc,
--- 355,363 ----
if (!etc_changed_h)
{
! path_conv etc ("/etc");
! etc_changed_h = FindFirstChangeNotification (etc, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
if (etc_changed_h == INVALID_HANDLE_VALUE)
! system_printf ("Can't open /etc for checking, %E", (char *) etc,
etc_changed_h);
else if (!DuplicateHandle (hMainProc, etc_changed_h, hMainProc,
***************
*** 365,369 ****
DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE))
{
! system_printf ("Can't inherit /etc handle, %E", (char *) pwd,
etc_changed_h);
etc_changed_h = INVALID_HANDLE_VALUE;
--- 365,369 ----
DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE))
{
! system_printf ("Can't inherit /etc handle, %E", (char *) etc,
etc_changed_h);
etc_changed_h = INVALID_HANDLE_VALUE;
Index: heap.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/heap.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** heap.cc 15 Oct 2001 22:22:33 -0000 1.2
--- heap.cc 17 Feb 2003 21:05:55 -0000 1.3
***************
*** 84,87 ****
--- 84,88 ----
#define pround(n) (((size_t)(n) + page_const) & ~page_const)
+ FIXME;
/* FIXME: This function no longer handles "split heaps". */
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** ChangeLog.MSYS 12 Feb 2003 15:50:14 -0000 1.39
--- ChangeLog.MSYS 17 Feb 2003 21:05:55 -0000 1.40
***************
*** 1,2 ****
--- 1,8 ----
+ 2003-02-17 Earnie Boyd <ea...@us...>
+
+ * cygheap.cc (init_cygheap::etc_changed): Use more appropriate object
+ name.
+ * heap.cc (heap_init): Add FIXME debug macro.
+
2003-02-12 Earnie Boyd <ea...@us...>
|
|
From: <ea...@us...> - 2003-02-17 20:43:11
|
Update of /cvsroot/mingw/msys/dvlpr/doc/msys In directory sc8-pr-cvs1:/tmp/cvs-serv725/doc/msys Modified Files: MSYS-1.0.9-changes.rtf Log Message: * doc/msys/MSYS-1.0.9-changes.rtf: Update changes for 2003-02-17 snap. Index: MSYS-1.0.9-changes.rtf =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/doc/msys/MSYS-1.0.9-changes.rtf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsBQE9Ag and /tmp/cvsCJ4rWm differ |