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
|
3
(4) |
4
|
5
(4) |
6
(15) |
7
|
|
8
|
9
|
10
|
11
(3) |
12
|
13
(5) |
14
|
|
15
(1) |
16
(6) |
17
(3) |
18
|
19
|
20
(1) |
21
|
|
22
|
23
|
24
|
25
(1) |
26
|
27
|
28
|
|
29
(1) |
30
(10) |
|
|
|
|
|
|
From: <ea...@us...> - 2003-06-30 19:19:19
|
Update of /cvsroot/mingw/htdocs In directory sc8-pr-cvs1:/tmp/cvs-serv21762 Modified Files: ChangeLog lists.shtml Log Message: * lists.shtml: Correct the archives link for mingw-dvlpr, mingw-editor and mingw-cvs. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/htdocs/ChangeLog,v retrieving revision 1.135 retrieving revision 1.136 diff -C2 -d -r1.135 -r1.136 *** ChangeLog 30 Jun 2003 16:37:52 -0000 1.135 --- ChangeLog 30 Jun 2003 19:19:16 -0000 1.136 *************** *** 2,5 **** --- 2,7 ---- * download.shtml: Correct ending tags throughout. + * lists.shtml: Correct the archives link for mingw-dvlpr, mingw-editor + and mingw-cvs. 2003-06-28 Earnie Boyd <ea...@us...> Index: lists.shtml =================================================================== RCS file: /cvsroot/mingw/htdocs/lists.shtml,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** lists.shtml 12 Jan 2003 18:33:32 -0000 1.13 --- lists.shtml 30 Jun 2003 19:19:16 -0000 1.14 *************** *** 53,57 **** This is a private mailing list for MinGW developers. You can check what the developers are discussing at the ! <a href="http://www.geocrawler.com/redir-sf.php3?list=mingw-dvlpr"> <strong>archives</strong></a>. </p><p> --- 53,57 ---- This is a private mailing list for MinGW developers. You can check what the developers are discussing at the ! <a href="http://sourceforge.net/mailarchive/forum.php?forum=mingw-dvlpr"> <strong>archives</strong></a>. </p><p> *************** *** 67,79 **** This list is a private list used to discuss changes to the MinGW site and documentation. You can check out proposed changes in the ! <a href="http://www.geocrawler.com/redir-sf.php3?list=mingw-editor"> <strong>archives</strong></a>. </p><p> <a href="http://lists.sourceforge.net/mailman/listinfo/mingw-cvs"> <strong>MinGW-cvs</strong></a>: ! This is a notification list for cvs changes. ! There are ! <a href="http://www.geocrawler.com/redir-sf.php3?list=mingw-cvs"> ! <strong>archives</strong></a> but I doubt it'll be interesting. </p><p> <a href="http://lists.sourceforge.net/mailman/listinfo/mingw-notify"> --- 67,77 ---- This list is a private list used to discuss changes to the MinGW site and documentation. You can check out proposed changes in the ! <a href="http://sourceforge.net/mailarchive/forum.php?forum=mingw-editor"> <strong>archives</strong></a>. </p><p> <a href="http://lists.sourceforge.net/mailman/listinfo/mingw-cvs"> <strong>MinGW-cvs</strong></a>: ! This is a notification list for cvs changes. There are no archives for this ! list. </p><p> <a href="http://lists.sourceforge.net/mailman/listinfo/mingw-notify"> |
|
From: <ea...@us...> - 2003-06-30 18:07:54
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv9387
Modified Files:
download.shtml
Log Message:
Validator fixup
Index: download.shtml
===================================================================
RCS file: /cvsroot/mingw/htdocs/download.shtml,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** download.shtml 30 Jun 2003 17:23:44 -0000 1.24
--- download.shtml 30 Jun 2003 18:07:51 -0000 1.25
***************
*** 206,211 ****
<hr>
<h2><a href="#Contents" name="hdr5">
! Decompression and Unarchiving Utilities</h2>
! </a><p>
<em><b>WinZip Caution:</b></em><br>
Make sure that you first <b>uncheck</b> the
--- 206,211 ----
<hr>
<h2><a href="#Contents" name="hdr5">
! Decompression and Unarchiving Utilities</a></h2>
! <p>
<em><b>WinZip Caution:</b></em><br>
Make sure that you first <b>uncheck</b> the
|
|
From: <ea...@us...> - 2003-06-30 17:23:47
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv2178a
Modified Files:
download.shtml
Log Message:
Validator fixup
Index: download.shtml
===================================================================
RCS file: /cvsroot/mingw/htdocs/download.shtml,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** download.shtml 30 Jun 2003 17:14:56 -0000 1.23
--- download.shtml 30 Jun 2003 17:23:44 -0000 1.24
***************
*** 142,148 ****
File List
</a></h2>
! <p>
<!--#include file="ssi/release.html"-->
- </p>
<hr>
--- 142,147 ----
File List
</a></h2>
!
<!--#include file="ssi/release.html"-->
<hr>
***************
*** 150,154 ****
Mirror Sites
</a></h2>
- <p>
<ul>
<li>
--- 149,152 ----
***************
*** 161,165 ****
</li>
</ul>
- </p>
<p>
If you wish to mirror the MinGW distributions
--- 159,162 ----
|
|
From: <ea...@us...> - 2003-06-30 17:14:59
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv992
Modified Files:
download.shtml
Log Message:
Better placement for returning to #Contents
Index: download.shtml
===================================================================
RCS file: /cvsroot/mingw/htdocs/download.shtml,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** download.shtml 30 Jun 2003 16:37:52 -0000 1.22
--- download.shtml 30 Jun 2003 17:14:56 -0000 1.23
***************
*** 56,61 ****
</ul>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr1">
MinGW and MSYS Distributions
</a></h2>
--- 56,61 ----
</ul>
! <hr>
! <h2><a href="#Contents" name="hdr1">
MinGW and MSYS Distributions
</a></h2>
***************
*** 138,143 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr2">
File List
</a></h2>
--- 138,143 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr2">
File List
</a></h2>
***************
*** 146,151 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr3">
Mirror Sites
</a></h2>
--- 146,151 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr3">
Mirror Sites
</a></h2>
***************
*** 169,174 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr4">
Understanding MinGW Packaging
</a></h2>
--- 169,174 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr4">
Understanding MinGW Packaging
</a></h2>
***************
*** 207,212 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr5">
Decompression and Unarchiving Utilities</h2>
</a><p>
--- 207,212 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr5">
Decompression and Unarchiving Utilities</h2>
</a><p>
***************
*** 225,230 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr6">
Installing MinGW
</a></h2>
--- 225,230 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr6">
Installing MinGW
</a></h2>
***************
*** 263,268 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr7">
Updating MinGW
</a></h2>
--- 263,268 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr7">
Updating MinGW
</a></h2>
***************
*** 277,282 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr8">
Installing MSYS
</a></h2>
--- 277,282 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr8">
Installing MSYS
</a></h2>
***************
*** 299,304 ****
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr9">
Updating MSYS
</a></h2>
--- 299,304 ----
</p>
! <hr>
! <h2><a href="#Contents" name="hdr9">
Updating MSYS
</a></h2>
|
|
From: <ea...@us...> - 2003-06-30 16:37:55
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv26232
Modified Files:
ChangeLog download.shtml
Log Message:
* download.shtml: Correct ending tags throughout.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/htdocs/ChangeLog,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** ChangeLog 29 Jun 2003 22:52:41 -0000 1.134
--- ChangeLog 30 Jun 2003 16:37:52 -0000 1.135
***************
*** 1,2 ****
--- 1,6 ----
+ 2003-06-30 Earnie Boyd <ea...@us...>
+
+ * download.shtml: Correct ending tags throughout.
+
2003-06-28 Earnie Boyd <ea...@us...>
Index: download.shtml
===================================================================
RCS file: /cvsroot/mingw/htdocs/download.shtml,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** download.shtml 29 Jun 2003 22:52:41 -0000 1.21
--- download.shtml 30 Jun 2003 16:37:52 -0000 1.22
***************
*** 41,47 ****
<td>
<!-- ======================================================================= --><!-- --><!-- Main Body --><!-- -->
! <h2><a name="Contents" />
Contents
! </h2>
<ul>
<li><a href="#hdr1">MinGW and MSYS Distributions</a></li>
--- 41,47 ----
<td>
<!-- ======================================================================= --><!-- --><!-- Main Body --><!-- -->
! <h2><a name="Contents">
Contents
! </a></h2>
<ul>
<li><a href="#hdr1">MinGW and MSYS Distributions</a></li>
***************
*** 56,63 ****
</ul>
! <hr />
! <h2><a name="hdr1" />
MinGW and MSYS Distributions
! </h2>
<p>
Development of MinGW is done within a
--- 56,63 ----
</ul>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr1">
MinGW and MSYS Distributions
! </a></h2>
<p>
Development of MinGW is done within a
***************
*** 138,153 ****
</p>
! <hr />
! <h2><a name="hdr2" />
File List
! </h2>
<p>
<!--#include file="ssi/release.html"-->
</p>
! <hr />
! <h2><a name="hdr3" />
Mirror Sites
! </h2>
<p>
<ul>
--- 138,153 ----
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr2">
File List
! </a></h2>
<p>
<!--#include file="ssi/release.html"-->
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr3">
Mirror Sites
! </a></h2>
<p>
<ul>
***************
*** 169,176 ****
</p>
! <hr />
! <h2><a name="hdr4" />
Understanding MinGW Packaging
! </h2>
<p>
Each package is the responsibility of the individual
--- 169,176 ----
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr4">
Understanding MinGW Packaging
! </a></h2>
<p>
Each package is the responsibility of the individual
***************
*** 207,214 ****
</p>
! <hr />
! <h2><a name="hdr5" />
Decompression and Unarchiving Utilities</h2>
! <p>
<em><b>WinZip Caution:</b></em><br>
Make sure that you first <b>uncheck</b> the
--- 207,214 ----
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr5">
Decompression and Unarchiving Utilities</h2>
! </a><p>
<em><b>WinZip Caution:</b></em><br>
Make sure that you first <b>uncheck</b> the
***************
*** 225,232 ****
</p>
! <hr />
! <h2><a name="hdr6" />
Installing MinGW
! </h2>
<p>
How are you going to use MinGW? That is a question you
--- 225,232 ----
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr6">
Installing MinGW
! </a></h2>
<p>
How are you going to use MinGW? That is a question you
***************
*** 263,270 ****
</p>
! <hr />
! <h2><a name="hdr7" />
Updating MinGW
! </h2>
<p>
You should watch the mailing list and news entries for
--- 263,270 ----
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr7">
Updating MinGW
! </a></h2>
<p>
You should watch the mailing list and news entries for
***************
*** 277,284 ****
</p>
! <hr />
! <h2><a name="hdr8" />
Installing MSYS
! </h2>
<p>
MSYS is a self contained, win32 style installation
--- 277,284 ----
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr8">
Installing MSYS
! </a></h2>
<p>
MSYS is a self contained, win32 style installation
***************
*** 299,306 ****
</p>
! <hr />
! <h2><a name="hdr9" />
Updating MSYS
! </h2>
<p>
Watch for annoucements in the mailing list and news posts
--- 299,306 ----
</p>
! <a href="#Contents"><hr></a>
! <h2><a name="hdr9">
Updating MSYS
! </a></h2>
<p>
Watch for annoucements in the mailing list and news posts
|
|
From: <ea...@us...> - 2003-06-30 14:17:28
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory sc8-pr-cvs1:/tmp/cvs-serv2421
Modified Files:
ChangeLog.MSYS environ.cc malloc.cc msys.h msys_symlink.cc
path.cc path.h spawn.cc sync.cc sync.h syscalls.cc winsup.h
Log Message:
* environ.cc: Add debug_printf throughout.
(winenv): Add a FIXME workaround that reverses the value of keep_posix.
Add a stab in the dark pad of (MAX_PATH * 256) to the malloc of the
envblock pointer (Note: this is likely to be removed).
* malloc.cc: Add malloc_printf throughout. Add TRACE_IN throughout.
* msys.h (debugnow): New macro intended for more immediate debugging
and not meant to be left in the source (Note: must -Ddebugger to make
the macro useful).
* msys_symlink.cc: Add include of winsup.h.
(msys_symlink): Add a FIXME to identify a resource leak.
* path.cc (check_sysfile): Deleted.
(symlink_info::check): Add initialization of HANDLE h to stop warning.
(IsAbsWin32Path): Recode.
(ScrubRetpath): New static function used by msys_p2w.
(msys_p2w): Streamline the code and use ScrubRetpath if the path has
changed else just retpath. Also, protect the argument values from
changing.
* path.h (path_conv::iscygexec): Add recognition of an msys dependent
executable via use of IsMsys function.
* spawn.cc: Move char *envblockarg to global space and make static.
(spawn_guts): Remove use of IsMsys() function.
Streamline newargv population.
Streamline envblock and envblockarg population.
Use envblockarg in the CreateProcess function instead of envblock.
Remove child->copysigs (myself) call.
* sync.cc (muto::~muto): Comment out.
* sync.h (~muto): Ditto.
* syscalls.cc (check_posix_perm): Use alloca instead of new operator.
* winsup.h (TRACE_IN): Add a TRACING filter to make it work.
(IsMsys): Change the declaration.
* include/sys/cygwin.h (msys_p2w): Ditto.
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** ChangeLog.MSYS 16 Jun 2003 16:37:22 -0000 1.52
--- ChangeLog.MSYS 30 Jun 2003 14:17:24 -0000 1.53
***************
*** 1,2 ****
--- 1,36 ----
+ 2003-06-30 Earnie Boyd <ea...@us...>
+
+ * environ.cc: Add debug_printf throughout.
+ (winenv): Add a FIXME workaround that reverses the value of keep_posix.
+ Add a stab in the dark pad of (MAX_PATH * 256) to the malloc of the
+ envblock pointer (Note: this is likely to be removed).
+ * malloc.cc: Add malloc_printf throughout. Add TRACE_IN throughout.
+ * msys.h (debugnow): New macro intended for more immediate debugging
+ and not meant to be left in the source (Note: must -Ddebugger to make
+ the macro useful).
+ * msys_symlink.cc: Add include of winsup.h.
+ (msys_symlink): Add a FIXME to identify a resource leak.
+ * path.cc (check_sysfile): Deleted.
+ (symlink_info::check): Add initialization of HANDLE h to stop warning.
+ (IsAbsWin32Path): Recode.
+ (ScrubRetpath): New static function used by msys_p2w.
+ (msys_p2w): Streamline the code and use ScrubRetpath if the path has
+ changed else just retpath. Also, protect the argument values from
+ changing.
+ * path.h (path_conv::iscygexec): Add recognition of an msys dependent
+ executable via use of IsMsys function.
+ * spawn.cc: Move char *envblockarg to global space and make static.
+ (spawn_guts): Remove use of IsMsys() function.
+ Streamline newargv population.
+ Streamline envblock and envblockarg population.
+ Use envblockarg in the CreateProcess function instead of envblock.
+ Remove child->copysigs (myself) call.
+ * sync.cc (muto::~muto): Comment out.
+ * sync.h (~muto): Ditto.
+ * syscalls.cc (check_posix_perm): Use alloca instead of new operator.
+ * winsup.h (TRACE_IN): Add a TRACING filter to make it work.
+ (IsMsys): Change the declaration.
+ * include/sys/cygwin.h (msys_p2w): Ditto.
+
2003-06-16 Earnie Boyd <ea...@us...>
Index: environ.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/environ.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** environ.cc 13 Jun 2003 18:34:08 -0000 1.8
--- environ.cc 30 Jun 2003 14:17:24 -0000 1.9
***************
*** 79,82 ****
--- 79,83 ----
{
TRACE_IN;
+ debug_printf("called by %x", ((int *)&in_posix)[-1]);
posix = (char *) realloc (posix, strlen (in_posix) + 1);
strcpy (posix, in_posix);
***************
*** 207,211 ****
for (envp = in_envp; *envp; envp++)
if (debug_print)
! debug_printf ("%s", *envp);
return (1 + envp - in_envp) * sizeof (const char *);
}
--- 208,212 ----
for (envp = in_envp; *envp; envp++)
if (debug_print)
! debug_printf ("(%d) %s", (envp - in_envp), *envp);
return (1 + envp - in_envp) * sizeof (const char *);
}
***************
*** 791,794 ****
--- 792,805 ----
{
TRACE_IN;
+ FIXME;
+ // For some reason keep_posix appears to be reversed in the logic flow.
+ // I'm adding this reversing algorithm because I've just spent days of time
+ // chasing a bug that kept leading me here.
+ keep_posix = keep_posix ? 0 : 1;
+ // The meaning of keep_posix is supposed to allow a msys dll dependent binary
+ // from needing to convert the environment to win32 format. A ``FIXME'' in
+ // the spawn.cc (spawn_guts) function asks why we need to call this function
+ // for an msys dll dependent process anyway. This function needs fixed.
+
int srcplen, envc, envblocklen;
const char * const *srcp;
***************
*** 800,807 ****
envblocklen = 0;
-
for (envc = 0; envp[envc]; envc++)
continue;
const char *newenvp[envc + 1 + FORCED_WINENV_SIZE];
--- 811,819 ----
envblocklen = 0;
for (envc = 0; envp[envc]; envc++)
continue;
+ debug_printf ("envc = %d", envc);
+
const char *newenvp[envc + 1 + FORCED_WINENV_SIZE];
***************
*** 859,863 ****
/* Create an environment block suitable for passing to CreateProcess. */
char *ptr, *envblock;
! envblock = (char *) malloc (envblocklen + 2);
for (srcp = newenvp, ptr = envblock; *srcp; srcp++)
{
--- 871,875 ----
/* Create an environment block suitable for passing to CreateProcess. */
char *ptr, *envblock;
! envblock = (char *) malloc (envblocklen + 2 + (MAX_PATH * 256));
for (srcp = newenvp, ptr = envblock; *srcp; srcp++)
{
Index: malloc.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/malloc.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** malloc.cc 13 Jun 2002 21:54:21 -0000 1.3
--- malloc.cc 30 Jun 2003 14:17:24 -0000 1.4
***************
*** 22,25 ****
--- 22,26 ----
#include "sync.h"
#include "perprocess.h"
+ #include "msys.h"
/* we provide these stubs to call into a user's
***************
*** 51,54 ****
--- 52,56 ----
_malloc_r (struct _reent *, size_t size)
{
+ TRACE_IN;
export_malloc_called = 1;
return malloc (size);
***************
*** 59,62 ****
--- 61,65 ----
_calloc_r (struct _reent *, size_t nmemb, size_t size)
{
+ TRACE_IN;
export_malloc_called = 1;
return calloc (nmemb, size);
***************
*** 67,70 ****
--- 70,74 ----
_free_r (struct _reent *, void *p)
{
+ TRACE_IN;
export_malloc_called = 1;
assert (!incygheap (p));
***************
*** 77,80 ****
--- 81,85 ----
_realloc_r (struct _reent *, void *p, size_t size)
{
+ TRACE_IN;
export_malloc_called = 1;
assert (!incygheap (p));
***************
*** 87,90 ****
--- 92,96 ----
strdup_dbg (const char *s, const char *file, int line)
{
+ TRACE_IN;
char *p;
export_malloc_called = 1;
***************
*** 98,101 ****
--- 104,108 ----
strdup (const char *s)
{
+ TRACE_IN;
return strdup_dbg (s, __FILE__, __LINE__);
}
***************
*** 108,112 ****
--- 115,121 ----
malloc (size_t size)
{
+ TRACE_IN;
void *res;
+ malloc_printf("called by %x", ((int *)&size)[-1]);
res = user_data->malloc (size);
return res;
***************
*** 116,119 ****
--- 125,129 ----
free (void *p)
{
+ TRACE_IN;
user_data->free (p);
}
***************
*** 122,126 ****
--- 132,138 ----
realloc (void *p, size_t size)
{
+ TRACE_IN;
void *res;
+ malloc_printf("called by %x", ((int *)&p)[-1]);
res = user_data->realloc (p, size);
return res;
***************
*** 130,133 ****
--- 142,146 ----
calloc (size_t nmemb, size_t size)
{
+ TRACE_IN;
void *res;
res = user_data->calloc (nmemb, size);
***************
*** 138,141 ****
--- 151,155 ----
strdup (const char *s)
{
+ TRACE_IN;
char *p;
size_t len = strlen (s) + 1;
***************
*** 148,151 ****
--- 162,166 ----
_strdup_r (struct _reent *, const char *s)
{
+ TRACE_IN;
return strdup (s);
}
***************
*** 158,161 ****
--- 173,177 ----
export_free (void *p)
{
+ TRACE_IN;
malloc_printf ("(%p), called by %x", p, ((int *)&p)[-1]);
if (use_internal_malloc)
***************
*** 168,171 ****
--- 184,188 ----
export_malloc (int size)
{
+ TRACE_IN;
void *res;
export_malloc_called = 1;
***************
*** 181,184 ****
--- 198,203 ----
export_realloc (void *p, int size)
{
+ TRACE_IN;
+ malloc_printf ("called by %x", ((int *)&p)[-1]);
void *res;
if (use_internal_malloc)
***************
*** 193,196 ****
--- 212,216 ----
export_calloc (size_t nmemb, size_t size)
{
+ TRACE_IN;
void *res;
if (use_internal_malloc)
***************
*** 214,217 ****
--- 234,238 ----
malloc_init ()
{
+ TRACE_IN;
mprotect = new_muto (FALSE, "mprotect");
/* Check if mallock is provided by application. If so, redirect all
***************
*** 234,237 ****
--- 255,259 ----
__malloc_lock (struct _reent *)
{
+ TRACE_IN;
mprotect->acquire ();
}
***************
*** 240,243 ****
--- 262,266 ----
__malloc_unlock (struct _reent *)
{
+ TRACE_IN;
mprotect->release ();
}
Index: msys.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/msys.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** msys.h 18 Apr 2003 12:16:47 -0000 1.2
--- msys.h 30 Jun 2003 14:17:24 -0000 1.3
***************
*** 29,31 ****
--- 29,44 ----
};
+ #include <stdio.h>
+ #ifdef debugger
+ #define debugnow(x,y) \
+ { \
+ char *a = (char *)malloc (80 + strlen ((x))); \
+ sprintf(a, "%s@%d[%x] %s", __FILE__, __LINE__, y, (x)); \
+ OutputDebugString (a); \
+ free (a); \
+ }
+ #else
+ #define debugnow(x,y)
+ #endif
+
#endif
Index: msys_symlink.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/msys_symlink.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** msys_symlink.cc 13 Jun 2003 18:34:08 -0000 1.4
--- msys_symlink.cc 30 Jun 2003 14:17:24 -0000 1.5
***************
*** 5,8 ****
--- 5,9 ----
#include "msys_symlink.h"
+ #include "winsup.h"
#if !DO_CPP_NEW
#include <stdlib.h>
***************
*** 96,99 ****
--- 97,101 ----
}
+ FIXME; // w_frompath and w_topath are resource leaks.
w_frompath = msys_p2w(frompath);
debug_printf("w_frompath: %s", w_frompath);
Index: path.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/path.cc,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** path.cc 16 Jun 2003 16:37:22 -0000 1.38
--- path.cc 30 Jun 2003 14:17:24 -0000 1.39
***************
*** 2563,2626 ****
}
- static int
- check_sysfile (const char *path, DWORD fileattr, HANDLE h,
- char *contents, int *error, unsigned *pflags)
- {
- TRACE_IN;
- char cookie_buf[sizeof (SYMLINK_COOKIE) - 1];
- DWORD got;
- int res = 0;
-
- if (!ReadFile (h, cookie_buf, sizeof (cookie_buf), &got, 0))
- {
- debug_printf ("ReadFile1 failed");
- *error = EIO;
- }
- else if (got == sizeof (cookie_buf)
- && memcmp (cookie_buf, SYMLINK_COOKIE, sizeof (cookie_buf)) == 0)
- {
- /* It's a symlink. */
- *pflags = PATH_SYMLINK;
-
- res = ReadFile (h, contents, MAX_PATH + 1, &got, 0);
- if (!res)
- {
- debug_printf ("ReadFile2 failed");
- *error = EIO;
- }
- else
- {
- /* Versions prior to b16 stored several trailing
- NULs with the path (to fill the path out to 1024
- chars). Current versions only store one trailing
- NUL. The length returned is the path without
- *any* trailing NULs. We also have to handle (or
- at least not die from) corrupted paths. */
- if (memchr (contents, 0, got) != NULL)
- res = strlen (contents);
- else
- res = got;
- }
- }
- else if (got == sizeof (cookie_buf)
- && memcmp (cookie_buf, SOCKET_COOKIE, sizeof (cookie_buf)) == 0)
- *pflags |= PATH_SOCKET;
- else
- {
- /* Not a symlink, see if executable. */
- if (*pflags & PATH_ALL_EXEC)
- /* Nothing to do */;
- else if (has_exec_chars (cookie_buf, got))
- *pflags |= PATH_EXEC;
- else
- *pflags |= PATH_NOTEXEC;
- }
- syscall_printf ("%d = symlink.check_sysfile (%s, %s) (%p)",
- res, path, contents, *pflags);
-
- CloseHandle (h);
- return res;
- }
-
char *
suffix_scan::has (const char *in_path, const suffix_info *in_suffixes)
--- 2563,2566 ----
***************
*** 2761,2765 ****
{
TRACE_IN;
! HANDLE h;
int res = 0;
suffix_scan suffix;
--- 2701,2705 ----
{
TRACE_IN;
! HANDLE h = (HANDLE)NULL;
int res = 0;
suffix_scan suffix;
***************
*** 3139,3152 ****
IsAbsWin32Path (const char * path)
{
! if (((path[0] >= 'a' && path[0] <= 'z') ||
! (path[0] >= 'A' && path[0] <= 'Z')) &&
! path[1] == ':')
! return true;
! if (path[0] == '\\' &&
! path[1] == '\\' &&
! path[2] == '.' &&
! path[3] == '\\')
! return true;
! return false;
}
--- 3079,3132 ----
IsAbsWin32Path (const char * path)
{
! int plen = strlen (path);
! bool p0alpha = isalpha (path[0]);
! bool p1colon = (plen > 1 && path[1] == ':');
! bool rval =
! ( (plen == 2 && p0alpha && p1colon)
! || (plen > 2 && p0alpha && p1colon && strchr (&path[2], ':') == 0)
! || ( plen > 3
! && path[0] == '\\'
! && path[1] == '\\'
! && path[2] == '.'
! && path[3] == '\\'
! )
! );
! return rval;
! }
!
! static char *
! ScrubRetpath (char * const retpath)
! {
! char * sspath = (char *)retpath;
! //
! // Check for null path because Win32 doesn't like them.
! // I.E.: Path lists of c:/foo;;c:/bar need changed to
! // c:/foo;c:/bar.
! //
! // This need be executed only if we actually converted the path.
! //
! while (*sspath)
! {
! if (*sspath == ';' && sspath[1] == ';')
! for (char *i = sspath; *i; i++)
! *i = *(i + 1);
! else
! sspath++;
! }
! if (*(sspath - 1) == ';')
! *(sspath - 1) = '\0';
!
! //
! // If we modified the path then convert all / to \ if we have a path list
! // else convert all \ to /.
! //
! if ((strchr (retpath, ';')))
! {
! backslashify (retpath, retpath, 0);
! } else
! {
! slashify (retpath, retpath, 0);
! }
! return retpath;
}
***************
*** 3158,3179 ****
extern "C"
char *
! msys_p2w (const char *path)
{
TRACE_IN;
! if (!path || !*path)
! {
! char *retpath = (char *)malloc (1);
! *retpath = '\0';
! return retpath;
! }
! static bool path_list_found = false;
! static bool path_changed = false;
! const char *spath = path;
! char *sptr;
char * sspath;
// retpath will be what sets win32_path before exiting.
! char *retpath = (char *)malloc(MAX_PATH);
memset (retpath, 0, MAX_PATH);
int retpath_len = 0;
--- 3138,3162 ----
extern "C"
char *
! msys_p2w (char const * const path)
{
TRACE_IN;
! int pathlen = (path ? strlen (path): 0);
!
! if (pathlen == 0)
! {
! char *retpath = (char *)malloc (sizeof (char));
! memset (retpath, 0, sizeof (char));
! return retpath;
! }
! debug_printf("msys_p2w (%s)", path);
!
! char *spath = (char *)alloca (pathlen + 1);
! memcpy (spath, path, pathlen + 1);
char * sspath;
// retpath will be what sets win32_path before exiting.
! char *retpath = (char *)malloc(((MAX_PATH - pathlen) > 0) ?
! MAX_PATH : pathlen + MAX_PATH);
memset (retpath, 0, MAX_PATH);
int retpath_len = 0;
***************
*** 3181,3185 ****
#define retpathcat(retstr) \
- path_changed = true; \
retpath_len += strlen(retstr); \
if (retpath_buflen <= retpath_len) \
--- 3164,3167 ----
***************
*** 3192,3199 ****
#define retpathcpy(retstr) \
- if (retstr == path) \
- path_changed = false; \
- else \
- path_changed = true; \
retpath_len = strlen (retstr); \
*retpath = '\0'; \
--- 3174,3177 ----
***************
*** 3206,3213 ****
strcpy (retpath, retstr);
- #if DEBUGGING
- debug_printf("msys_p2w (%s)", path);
- #endif
-
//
// Just return win32 paths and path lists.
--- 3184,3187 ----
***************
*** 3217,3221 ****
)
{
! retpathcpy (path);
}
//
--- 3191,3195 ----
)
{
! return ((char *)path);
}
//
***************
*** 3237,3240 ****
--- 3211,3215 ----
retpathcpy (&spath[1]);
}
+ return ScrubRetpath (retpath);
}
//
***************
*** 3245,3248 ****
--- 3220,3224 ----
{
retpathcpy (&path[1]);
+ return ScrubRetpath (retpath);
}
//
***************
*** 3262,3266 ****
)
{
! retpathcpy (path);
}
else
--- 3238,3242 ----
)
{
! return ((char *)path);
}
else
***************
*** 3281,3285 ****
// Yes, convert to Win32 path list.
//
- path_list_found = true;
while (sspath)
{
--- 3257,3260 ----
***************
*** 3290,3311 ****
//
retpathcat (swin32_path);
! free (swin32_path);
spath = sspath + 1;
sspath = strchr (spath, ':');
! if (sspath)
{
! retpathcat (";");
}
}
! //
! // Handle colon at end of string.
! //
! if (*spath)
! {
! retpathcat (";");
! char *swin32_path = msys_p2w (spath);
! retpathcat (swin32_path);
! free (swin32_path);
! }
}
else
--- 3265,3285 ----
//
retpathcat (swin32_path);
! if (swin32_path != spath)
! free (swin32_path);
spath = sspath + 1;
sspath = strchr (spath, ':');
! retpathcat (";");
! //
! // Handle the last path in the list.
! //
! if (!sspath)
{
! char *swin32_path = msys_p2w (spath);
! retpathcat (swin32_path);
! if (swin32_path != spath)
! free (swin32_path);
}
}
! return ScrubRetpath (retpath);
}
else
***************
*** 3326,3330 ****
{
return ((char *)path);
- break;
}
retpathcpy (swin32_path);
--- 3300,3303 ----
***************
*** 3332,3336 ****
retpathcat (sspath);
free (swin32_path);
! break;
}
path_conv p (spath, 0);
--- 3305,3309 ----
retpathcat (sspath);
free (swin32_path);
! return ScrubRetpath (retpath);
}
path_conv p (spath, 0);
***************
*** 3339,3346 ****
set_errno(p.error);
return ((char *)path);
- break;
}
retpathcpy (p.get_win32 ());
! break;
}
case '-':
--- 3312,3318 ----
set_errno(p.error);
return ((char *)path);
}
retpathcpy (p.get_win32 ());
! return ScrubRetpath (retpath);
}
case '-':
***************
*** 3355,3363 ****
//
*sspath = '\0';
! char *swin32_path = msys_p2w(++sspath);
! if (swin32_path == sspath)
{
return ((char *)path);
- break;
}
retpathcpy (spath);
--- 3327,3335 ----
//
*sspath = '\0';
! char *swin32_path = msys_p2w(sspath + 1);
! if (swin32_path == sspath + 1)
{
+ *sspath = '=';
return ((char *)path);
}
retpathcpy (spath);
***************
*** 3365,3369 ****
retpathcat (swin32_path);
free (swin32_path);
! break;
}
else
--- 3337,3341 ----
retpathcat (swin32_path);
free (swin32_path);
! return ScrubRetpath (retpath);
}
else
***************
*** 3381,3385 ****
{
return ((char *)path);
- break;
}
sspath = (char *)spath;
--- 3353,3356 ----
***************
*** 3391,3400 ****
retpathcat (swin32_path);
free (swin32_path);
! break;
}
else
{
! retpathcpy (path);
! break;
}
}
--- 3362,3370 ----
retpathcat (swin32_path);
free (swin32_path);
! return ScrubRetpath (retpath);
}
else
{
! return ((char *)path);
}
}
***************
*** 3411,3422 ****
{
return ((char *)path);
- break;
}
retpathcat (swin32_path);
free (swin32_path);
! break;
}
! retpathcpy (path);
! break;
case '\'':
//
--- 3381,3390 ----
{
return ((char *)path);
}
retpathcat (swin32_path);
free (swin32_path);
! return ScrubRetpath (retpath);
}
! return ((char *)path);
case '\'':
//
***************
*** 3430,3441 ****
{
return ((char *)path);
- break;
}
retpathcat (swin32_path);
free (swin32_path);
! break;
}
! retpathcpy (path);
! break;
default:
//
--- 3398,3407 ----
{
return ((char *)path);
}
retpathcat (swin32_path);
free (swin32_path);
! return ScrubRetpath (retpath);
}
! return ((char *)path);
default:
//
***************
*** 3451,3517 ****
{
return ((char *)path);
- break;
}
retpathcat (swin32_path);
free (swin32_path);
! break;
}
//
// Oh well, nothing special found, set win32_path same as path.
//
! retpathcpy (path);
! break;
! }
! }
! }
! //
! // Check for null path because Win32 doesn't like them.
! // I.E.: Path lists of c:/foo;;c:/bar need changed to
! // c:/foo;c:/bar.
! //
! // This need be executed only if we actually converted the path.
! //
! if (path_changed)
! {
! sspath = strchr (retpath, ';');
! while (sspath)
! {
! if (sspath[1] == ';' || sspath[1] == '\0')
! for (char *i = sspath; *i; i++)
! *i = *(i + 1);
! sspath = strchr (sspath + 1, ';');
! }
! }
!
! //
! // If we modified the path then convert all / to \ if we have a path list
! // else convert all \ to /.
! //
! if (path_list_found)
! {
! if (path_changed)
! {
! spath = retpath;
! while ((sspath = strchr(spath, '/')))
! {
! *sspath = '\\';
! spath = sspath + 1;
! }
! }
! }
! else
! {
! if (path_changed)
! {
! spath = retpath;
! while ((sspath = strchr(spath, '\\')))
! {
! *sspath = '/';
! spath = sspath + 1;
! }
}
}
!
! return retpath;
}
--- 3417,3435 ----
{
return ((char *)path);
}
retpathcat (swin32_path);
free (swin32_path);
! return ScrubRetpath (retpath);
}
//
// Oh well, nothing special found, set win32_path same as path.
//
! return ((char *)path);
}
+ }
}
! // I should not get to this point.
! assert (false);
! return ScrubRetpath (retpath);
}
Index: path.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/path.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** path.h 13 Jun 2002 21:54:21 -0000 1.5
--- path.h 30 Jun 2003 14:17:24 -0000 1.6
***************
*** 86,90 ****
// 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;}
executable_states exec_state ()
{
--- 86,91 ----
// 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)
! || IsMsys (path));}
executable_states exec_state ()
{
Index: spawn.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/spawn.cc,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** spawn.cc 16 Jun 2003 16:37:22 -0000 1.19
--- spawn.cc 30 Jun 2003 14:17:24 -0000 1.20
***************
*** 39,42 ****
--- 39,43 ----
#include "environ.h"
+ static char *envblockarg = (char *)NULL;
static suffix_info std_suffixes[] =
{
***************
*** 502,506 ****
FIXME;
// iscygexec needs adjusted so that it truely identifies an MSYS executable.
! if (real_path.iscygexec () || IsMsys((char *)real_path))
newargv.dup_all ();
else
--- 503,507 ----
FIXME;
// iscygexec needs adjusted so that it truely identifies an MSYS executable.
! if (real_path.iscygexec ())
newargv.dup_all ();
else
***************
*** 509,525 ****
{
//convert argv to win32
! if (strlen(newargv[i]) < MAX_PATH)
! {
! char *tmpbuf = msys_p2w(newargv[i]);
! debug_printf("newargv[%d] = %s", i, newargv[i]);
! newargv.replace (i, tmpbuf);
! if (tmpbuf != newargv[i])
! free (tmpbuf);
! }
}
for (int i = 0; i < newargv.argc; i++)
{
! char *p = NULL;
! const char *a;
newargv.dup_maybe (i);
--- 510,527 ----
{
//convert argv to win32
! int newargvlen = strlen (newargv[i]);
! char *tmpbuf = (char *)malloc (newargvlen + 1);
! memcpy (tmpbuf, newargv[i], newargvlen + 1);
! tmpbuf = msys_p2w(tmpbuf);
! debug_printf("newargv[%d] = %s", i, newargv[i]);
! newargv.replace (i, tmpbuf);
! free (tmpbuf);
}
+ FIXME; // Is the below loop necessary?
+ // Well at least combine the above with it.
for (int i = 0; i < newargv.argc; i++)
{
! char *p = NULL; // Temporary use pointer.
! const char *a; // Pointer to newargv element.
newargv.dup_maybe (i);
***************
*** 567,571 ****
MALLOC_CHECK;
}
-
#if 0
FIXME;
--- 569,572 ----
***************
*** 632,704 ****
* Why do we need to call winenv() for MSYS binary?
*/
! if (real_path.iscygexec () || IsMsys((char *)real_path))
! envblock = winenv (envp, 0);
else
{
envblock = winenv (envp, 0);
char *envblockn = envblock;
! char *envdebug = envblock;
! int envblockcnt = 0;
! envblockcnt = 0;
! debug_printf("envblockn");
! #if 1
! while (*envblockn)
! {
! debug_printf("block%d: %s", envblockcnt, envblockn);
! envblockn = strchr(envblockn, '\0') + 1;
! envblockcnt++;
! }
! #else
! FIXME;
! // FIXME:
! // ciresrv.moreinfo->envc is the max available not the used count.
! // Is there a count of used?
! envblockcnt = ciresrv.moreinfo->envc;
! #endif
! char **envblockarg = (char **)malloc(sizeof (char *) * (envblockcnt + 1));
! memset (envblockarg, 0, (sizeof (char *) * (envblockcnt + 1)));
- char *tptr;
- int envblocknlen = 0, envblockarglen = 0;
- envblockn = envblock;
for (int loop=0;loop < envblockcnt;loop++)
{
! envblocknlen = strlen(envblockn);
! envblockarg[loop] = (char *) malloc(envblocknlen + MAX_PATH + 1);
! memset (envblockarg[loop], 0, envblocknlen + MAX_PATH + 1);
!
! if ((tptr = strchr(envblockn, '=')))
! {
! tptr++;
! strncpy (envblockarg[loop], envblockn, tptr - envblockn);
! char *wpath = msys_p2w(tptr);
! debug_printf("wpath=%s", wpath);
! strcat(envblockarg[loop], wpath);
! if (wpath != tptr)
! free (wpath);
! }
!
! debug_printf("envblockarg[%d] = %s", loop, envblockarg[loop]);
! envblockarglen += strlen(envblockarg[loop]) + 1;
! envblockn = envblockn + envblocknlen + 1;
} // END FOR (int loop=0;loop < envblockcnt;loop++)
- envblockarg[envblockcnt] = '\0';
if (envblock)
free (envblock);
- envblock = (char *)malloc (envblockarglen + 1);
-
- tptr = envblock;
- for (int i=0;i < envblockcnt;i++)
- {
- envblocknlen = strlen (envblockarg[i]) + 1;
- memcpy (tptr, envblockarg[i], envblocknlen);
- tptr += envblocknlen;
- if (envblockarg[i])
- free (envblockarg[i]);
- }
- *++tptr = '\0';
- if (envblockarg)
- free (envblockarg);
}
--- 633,669 ----
* Why do we need to call winenv() for MSYS binary?
*/
! if (real_path.iscygexec ())
! envblockarg = winenv (envp, 1);
else
{
envblock = winenv (envp, 0);
char *envblockn = envblock;
! int envblockcnt = ciresrv.moreinfo->envc;
! const int
! const int envchunk = 4 * oneK;
! int envchunkcnt = 1;
! if (envblockarg)
! free (envblockarg);
! envblockarg = (char *)malloc(envchunk);
!
! int envblockarglen = 0;
for (int loop=0;loop < envblockcnt;loop++)
{
! char *wpath = msys_p2w(envblockn);
! int wpathlen = strlen(wpath) + 1;
! envblockarglen += wpathlen;
! if (envblockarglen > (envchunk * envchunkcnt)) {
! envchunkcnt++;
! envblockarg = (char *) realloc (envblockarg, envchunk * envchunkcnt);
! }
! memcpy (envblockarg + envblockarglen - wpathlen, wpath, wpathlen);
! if (wpath != envblockn)
! free (wpath);
! envblockn += strlen (envblockn) + 1;
} // END FOR (int loop=0;loop < envblockcnt;loop++)
if (envblock)
free (envblock);
}
***************
*** 731,735 ****
TRUE, /* inherit handles from parent */
flags,
! envblock,/* environment */
0, /* use current drive/directory */
&si,
--- 696,700 ----
TRUE, /* inherit handles from parent */
flags,
! envblockarg,/* environment */
0, /* use current drive/directory */
&si,
***************
*** 792,796 ****
TRUE, /* inherit handles from parent */
flags,
! envblock,/* environment */
0, /* use current drive/directory */
&si,
--- 757,761 ----
TRUE, /* inherit handles from parent */
flags,
! envblockarg,/* environment */
0, /* use current drive/directory */
&si,
***************
*** 805,810 ****
MALLOC_CHECK;
- if (envblock)
- free (envblock);
cygheap_setup_for_child_cleanup (&ciresrv);
--- 770,773 ----
***************
*** 866,872 ****
child->dwProcessId = pi.dwProcessId;
child->hProcess = pi.hProcess;
- child->copysigs (myself);
child.remember ();
strcpy (child->progname, real_path);
/* Start the child running */
ResumeThread (pi.hThread);
--- 829,836 ----
child->dwProcessId = pi.dwProcessId;
child->hProcess = pi.hProcess;
child.remember ();
strcpy (child->progname, real_path);
+ (void) DuplicateHandle (hMainProc, child.shared_handle (), pi.hProcess,
+ NULL, 0, 0, DUPLICATE_SAME_ACCESS);
/* Start the child running */
ResumeThread (pi.hThread);
Index: sync.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/sync.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sync.cc 15 Oct 2001 22:22:33 -0000 1.2
--- sync.cc 30 Jun 2003 14:17:24 -0000 1.3
***************
*** 41,44 ****
--- 41,45 ----
}
+ #if 0
/* Destructor (racy?) */
muto::~muto ()
***************
*** 53,56 ****
--- 54,58 ----
CloseHandle (h);
}
+ #endif
/* Acquire the lock. Argument is the number of milliseconds to wait for
Index: sync.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/sync.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sync.h 15 Oct 2001 22:22:33 -0000 1.2
--- sync.h 30 Jun 2003 14:17:24 -0000 1.3
***************
*** 31,35 ****
--- 31,37 ----
/* The real constructor. */
muto(int inh, const char *name);
+ #if 0
~muto ();
+ #endif
int acquire (DWORD ms = INFINITE) __attribute__ ((regparm(1))); /* Acquire the lock. */
int release (); /* Release the lock. */
Index: syscalls.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/syscalls.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** syscalls.cc 13 Jun 2002 21:54:21 -0000 1.5
--- syscalls.cc 30 Jun 2003 14:17:24 -0000 1.6
***************
*** 1493,1497 ****
return 0;
! char *root = rootdir (strcpy (new char [(strlen (fname))], fname));
if (!allow_smbntsec
--- 1493,1497 ----
return 0;
! char *root = rootdir (strcpy ((char *)alloca (strlen (fname)), fname));
if (!allow_smbntsec
Index: winsup.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/winsup.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** winsup.h 19 Apr 2003 01:03:48 -0000 1.11
--- winsup.h 30 Jun 2003 14:17:24 -0000 1.12
***************
*** 25,31 ****
#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
--- 25,34 ----
#if DEBUGGING
# define FIXME debug_printf("FIXME - %s (%s): %d", __FILE__, __FUNCTION__, __LINE__)
#else
# define FIXME
+ #endif
+ #if TRACING
+ # define TRACE_IN debug_printf("TRACE_IN: %s, %d", __FILE__, __LINE__)
+ #else
# define TRACE_IN
#endif
***************
*** 284,288 ****
extern HANDLE hMainProc;
! extern bool IsMsys (const char *);
#define winsock2_active (wsadata.wVersion >= 512)
--- 287,291 ----
extern HANDLE hMainProc;
! extern bool IsMsys (char const * const);
#define winsock2_active (wsadata.wVersion >= 512)
|
|
From: <ea...@us...> - 2003-06-30 14:17:27
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/sys In directory sc8-pr-cvs1:/tmp/cvs-serv2421/include/sys Modified Files: cygwin.h Log Message: * environ.cc: Add debug_printf throughout. (winenv): Add a FIXME workaround that reverses the value of keep_posix. Add a stab in the dark pad of (MAX_PATH * 256) to the malloc of the envblock pointer (Note: this is likely to be removed). * malloc.cc: Add malloc_printf throughout. Add TRACE_IN throughout. * msys.h (debugnow): New macro intended for more immediate debugging and not meant to be left in the source (Note: must -Ddebugger to make the macro useful). * msys_symlink.cc: Add include of winsup.h. (msys_symlink): Add a FIXME to identify a resource leak. * path.cc (check_sysfile): Deleted. (symlink_info::check): Add initialization of HANDLE h to stop warning. (IsAbsWin32Path): Recode. (ScrubRetpath): New static function used by msys_p2w. (msys_p2w): Streamline the code and use ScrubRetpath if the path has changed else just retpath. Also, protect the argument values from changing. * path.h (path_conv::iscygexec): Add recognition of an msys dependent executable via use of IsMsys function. * spawn.cc: Move char *envblockarg to global space and make static. (spawn_guts): Remove use of IsMsys() function. Streamline newargv population. Streamline envblock and envblockarg population. Use envblockarg in the CreateProcess function instead of envblock. Remove child->copysigs (myself) call. * sync.cc (muto::~muto): Comment out. * sync.h (~muto): Ditto. * syscalls.cc (check_posix_perm): Use alloca instead of new operator. * winsup.h (TRACE_IN): Add a TRACING filter to make it work. (IsMsys): Change the declaration. * include/sys/cygwin.h (msys_p2w): Ditto. Index: cygwin.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/sys/cygwin.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** cygwin.h 13 Jun 2003 18:34:09 -0000 1.4 --- cygwin.h 30 Jun 2003 14:17:25 -0000 1.5 *************** *** 36,40 **** extern int cygwin_posix_to_win32_path_list_buf_size (const char *); extern int cygwin_conv_to_win32_path (const char *, char *); ! extern char * msys_p2w (const char *); extern int cygwin_conv_to_full_win32_path (const char *, char *); extern int cygwin_conv_to_posix_path (const char *, char *); --- 36,40 ---- extern int cygwin_posix_to_win32_path_list_buf_size (const char *); extern int cygwin_conv_to_win32_path (const char *, char *); ! extern char * msys_p2w (char const * const); extern int cygwin_conv_to_full_win32_path (const char *, char *); extern int cygwin_conv_to_posix_path (const char *, char *); |
|
From: <ea...@us...> - 2003-06-30 13:24:41
|
Update of /cvsroot/mingw/msys/rt/src/newlib In directory sc8-pr-cvs1:/tmp/cvs-serv25263 Modified Files: ChangeLog.MSYS Log Message: * libc/stdlib/mallocr.c: Update with new version from newlib. Index: ChangeLog.MSYS =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/ChangeLog.MSYS,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ChangeLog.MSYS 13 Jun 2003 18:22:30 -0000 1.7 --- ChangeLog.MSYS 30 Jun 2003 13:24:38 -0000 1.8 *************** *** 1,4 **** --- 1,8 ---- 2003.06.13 Earnie Boyd <ea...@us...> + * libc/stdlib/mallocr.c: Update with new version from newlib. + + 2003.06.13 Earnie Boyd <ea...@us...> + * libc/stdlib/mallocr.c: Remove needless filter check for ! __MSYS__. Make sure _WIN32 and WIN32 are undefined for __MSYS__. |
|
From: <ea...@us...> - 2003-06-30 13:24:41
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/stdlib
In directory sc8-pr-cvs1:/tmp/cvs-serv25263/libc/stdlib
Modified Files:
mallocr.c
Log Message:
* libc/stdlib/mallocr.c: Update with new version from newlib.
Index: mallocr.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdlib/mallocr.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** mallocr.c 13 Jun 2003 18:22:30 -0000 1.7
--- mallocr.c 30 Jun 2003 13:24:38 -0000 1.8
***************
*** 1,3 ****
! #if defined MALLOC_PROVIDED
int _dummy_mallocr = 1;
#else
--- 1,3 ----
! #ifdef MALLOC_PROVIDED
int _dummy_mallocr = 1;
#else
***************
*** 169,176 ****
Define this to 16 if you need 16 byte alignment instead of 8 byte alignment
which is the normal default.
- SIZE_T_SMALLER_THAN_LONG (default: NOT defined)
- Define this when the platform you are compiling has sizeof(long) > sizeof(size_t).
- The option causes some extra code to be generated to handle operations
- that use size_t operands and have long results.
REALLOC_ZERO_BYTES_FREES (default: NOT defined)
Define this if you think that realloc(p, 0) should be equivalent
--- 169,172 ----
***************
*** 272,276 ****
--- 268,277 ----
#include <stdio.h> /* needed for malloc_stats */
+ #include <limits.h> /* needed for overflow checks */
+ #ifdef WIN32
+ #define WIN32_LEAN_AND_MEAN
+ #include <windows.h>
+ #endif
/*
***************
*** 305,314 ****
#define MALLOC_UNLOCK __malloc_unlock(reent_ptr)
! #ifdef __CYGWIN__
# undef _WIN32
# undef WIN32
#endif
!
! #ifdef __MSYS__
# undef _WIN32
# undef WIN32
--- 306,314 ----
#define MALLOC_UNLOCK __malloc_unlock(reent_ptr)
! #ifdef __CYGWIN__
# undef _WIN32
# undef WIN32
#endif
! #ifdef __MSYS__
# undef _WIN32
# undef WIN32
***************
*** 449,457 ****
*/
! #ifdef SIZE_T_SMALLER_THAN_LONG
! #define long_sub_size_t(x, y) ( (x < y) ? -((long)(y - x)) : (x - y) );
! #else
! #define long_sub_size_t(x, y) ( (long)(x - y) )
! #endif
/*
--- 449,456 ----
*/
! #define long_sub_size_t(x, y) \
! (sizeof (long) > sizeof (INTERNAL_SIZE_T) && x < y \
! ? -(long) (y - x) \
! : (long) (x - y))
/*
***************
*** 1082,1086 ****
#ifdef WIN32
! #define AlignPage(add) (((add) + (malloc_getpagesize-1)) & ~(malloc_getpagesize-1))
/* resrve 64MB to insure large contiguous space */
--- 1081,1086 ----
#ifdef WIN32
! #define AlignPage(add) (((add) + (malloc_getpagesize-1)) & \
! ~(malloc_getpagesize-1))
/* resrve 64MB to insure large contiguous space */
***************
*** 1404,1409 ****
#define request2size(req) \
! (((long)((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
! (long)(MINSIZE + MALLOC_ALIGN_MASK)) ? ((MINSIZE + MALLOC_ALIGN_MASK) & ~(MALLOC_ALIGN_MASK)) : \
(((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) & ~(MALLOC_ALIGN_MASK)))
--- 1404,1409 ----
#define request2size(req) \
! (((unsigned long)((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
! (unsigned long)(MINSIZE + MALLOC_ALIGN_MASK)) ? ((MINSIZE + MALLOC_ALIGN_MASK) & ~(MALLOC_ALIGN_MASK)) : \
(((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) & ~(MALLOC_ALIGN_MASK)))
***************
*** 2338,2341 ****
--- 2338,2345 ----
INTERNAL_SIZE_T nb = request2size(bytes); /* padded request size; */
+ /* Check for overflow and just fail, if so. */
+ if (nb > INT_MAX)
+ return 0;
+
MALLOC_LOCK;
***************
*** 2797,2800 ****
--- 2801,2808 ----
nb = request2size(bytes);
+ /* Check for overflow and just fail, if so. */
+ if (nb > INT_MAX)
+ return 0;
+
#if HAVE_MMAP
if (chunk_is_mmapped(oldp))
***************
*** 3217,3221 ****
#endif /* DEFINE_CALLOC */
! #if defined(DEFINE_CFREE) && !(defined(__CYGWIN__)||defined(__MSYS__))
/*
--- 3225,3229 ----
#endif /* DEFINE_CALLOC */
! #if defined(DEFINE_CFREE) && !(defined(__CYGWIN__) || defined(__MSYS__))
/*
|
|
From: <ea...@us...> - 2003-06-30 11:59:32
|
Update of /cvsroot/mingw/msys/packages/make/3.79.1
In directory sc8-pr-cvs1:/tmp/cvs-serv11093
Modified Files:
main.c
Added Files:
ChangeLog.MSYS
Log Message:
* ChangeLog.MSYS: New file.
* main.c (find_and_set_default_shell): Fix typo with MSYS macro.
--- NEW FILE: ChangeLog.MSYS ---
2003.06.30 Earnie Boyd <ea...@us...>
* ChangeLog.MSYS: New file.
* main.c (find_and_set_default_shell): Fix typo with MSYS macro.
Index: main.c
===================================================================
RCS file: /cvsroot/mingw/msys/packages/make/3.79.1/main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** main.c 24 Apr 2002 14:26:08 -0000 1.2
--- main.c 30 Jun 2003 11:59:29 -0000 1.3
***************
*** 708,712 ****
/* CYGNUS LOCAL: need to check PATH if Path doesn't yield a result */
! #if defined (__CYGWIN__) || defined (__CYGWIN__)
if (!v)
v = lookup_variable ("PATH", 4);
--- 708,712 ----
/* CYGNUS LOCAL: need to check PATH if Path doesn't yield a result */
! #if defined (__CYGWIN__) || defined (__MSYS__)
if (!v)
v = lookup_variable ("PATH", 4);
|
|
From: <ea...@us...> - 2003-06-29 22:52:44
|
Update of /cvsroot/mingw/htdocs In directory sc8-pr-cvs1:/tmp/cvs-serv15493 Modified Files: ChangeLog download.shtml Log Message: * download.shtml (Installing MinGW): Add content for individual tarball package installation. (Updating MinGW): Update with appropriate information. (Installing MSYS): Ditto. (Updating MSYS): Ditto. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/htdocs/ChangeLog,v retrieving revision 1.133 retrieving revision 1.134 diff -C2 -d -r1.133 -r1.134 *** ChangeLog 20 Jun 2003 15:04:41 -0000 1.133 --- ChangeLog 29 Jun 2003 22:52:41 -0000 1.134 *************** *** 1,2 **** --- 1,10 ---- + 2003-06-28 Earnie Boyd <ea...@us...> + + * download.shtml (Installing MinGW): Add content for individual tarball + package installation. + (Updating MinGW): Update with appropriate information. + (Installing MSYS): Ditto. + (Updating MSYS): Ditto. + 2003-06-20 Earnie Boyd <ea...@us...> Index: download.shtml =================================================================== RCS file: /cvsroot/mingw/htdocs/download.shtml,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** download.shtml 20 Jun 2003 15:04:41 -0000 1.20 --- download.shtml 29 Jun 2003 22:52:41 -0000 1.21 *************** *** 252,255 **** --- 252,265 ---- file to point the MSYS /mingw directory to it. </p> + <p> + If you want to download the minimal set of tar.[gz|bz2] + you will need the mingw-runtime, w32api, binutils and gcc + tarball packages. You can find the current versions of + these in the "Current" section above. These will allow + you to create your win32 native packages from the command + line or configurable IDE. Other packages that you might + need to round out your minimal installation are gdb and + mingw32-make. + </p> <hr /> *************** *** 258,262 **** </h2> <p> ! On the round tuit list. </p> --- 268,278 ---- </h2> <p> ! You should watch the mailing list and news entries for ! updates to packages. In particular you want to update the ! mingw-runtime and w32api when new versions of these ! packages are announced. Make sure that you install the ! updates in your c:\mingw (or whereever you installed ! MinGW). If your using MSYS you can cd /mingw to unarchive ! the updated tarballs. </p> *************** *** 266,270 **** </h2> <p> ! On the round tuit list. </p> --- 282,300 ---- </h2> <p> ! MSYS is a self contained, win32 style installation ! package. To install it, simply download the MSYS .exe ! file and then execute the file. Once you've executed ! the installation package accept the License, look at the ! changes, choose the install directory, select if you ! want icons, etc. and when you are done you should have a ! working MSYS environment to execute your configure scripts ! in. ! ! If you need autoconf, automake, libtool, cvs, etc. you ! will want to also install the msysDTK package. Similar ! to MSYS, the download is an installation binary. It will ! default the directory location to your MSYS installation ! assuming that you've installed MSYS which you need to do ! anyway as the package is dependent on it. </p> *************** *** 274,278 **** </h2> <p> ! On the round tuit list. </p> <!-- End of Main Body --> --- 304,319 ---- </h2> <p> ! Watch for annoucements in the mailing list and news posts ! for updates to the MSYS packages. Make certain that you ! have exited all MSYS binaries before updating. The update ! is executed similar to the installation process. Note, ! changes to files in the /etc directory will be ! overwritten. You should refrain from making changes to ! files such as /etc/profile and instead add entries to ! ~/.profile. Similarly changes to /msys.bat should also ! be avoided as this file will also be overwritten. If you ! wish to change the colors of the rxvt terminal then create ! appropriate environment variables as described in the ! msys.bat file. </p> <!-- End of Main Body --> |
|
From: <BPh...@ho...> - 2003-06-25 14:57:21
|
PEJPRFkgYmdDb2xvcj0jZmZmZmZmPg0KPERJVj48Rk9OVCBzaXplPTI+DQo8VEFCTEU+DQog IDxUQk9EWT4NCiAgPFRSPg0KICAgIDxURCBhbGlnbj1sZWZ0IGJnQ29sb3I9I2U2ZTZjYSB2 QWxpZ249dG9wPg0KICAgICAgPFRBQkxFIGJvcmRlcj0wIGNlbGxQYWRkaW5nPTAgY2VsbFNw YWNpbmc9MCB3aWR0aD0iMTAwJSI+DQogICAgICAgIDxUQk9EWT4NCiAgICAgICAgPFRSPg0K ICAgICAgICAgIDxURCB3aWR0aD0iNzglIj48Qj48Rk9OVCBjb2xvcj0jODAwMDAwIGZhY2U9 IkFyaWFsIEJsYWNrIiANCiAgICAgICAgICAgIHNpemU9Nj5CdWxsZXQgUHJvb2YgPC9GT05U PjwvQj48L0ZPTlQ+PEI+PEZPTlQgDQogICAgICAgICAgICBmYWNlPSJBcmlhbCBCbGFjayI+ PEZPTlQgY29sb3I9IzgwMDAwMCBzaXplPTY+QnVsayBFbWFpbCBGcmllbmRseSANCiAgICAg ICAgICAgIFdlYiBIb3N0aW5nPC9GT05UPjwvRk9OVD48L0I+PC9URD48Rk9OVCBzaXplPTI+ DQogICAgICAgICAgPFREIHdpZHRoPSIyMiUiPg0KICAgICAgICAgICAgPFAgYWxpZ249Y2Vu dGVyPjwvUD48L1REPjwvVFI+PC9UQk9EWT48L1RBQkxFPg0KICAgICAgPFA+PEZPTlQgY29s b3I9IzAwMDAwMCBmYWNlPSJBcmlhbCBCbGFjayIgc2l6ZT0zPiZuYnNwOzwvRk9OVD48Rk9O VCANCiAgICAgIGNvbG9yPSMwMDAwMDAgZmFjZT1BcmlhbCBzaXplPTM+Jm5ic3A7IElmIHlv dSB3YW50IHRvIHByb21vdGUgeW91ciB3ZWIgDQogICAgICBzaXRlIHZpYSBjb21tZXJjaWFs IGVtYWlsLCBidWxsZXQgcHJvb2Ygd2ViIGhvc3RpbmcgaXMgYSBtdXN0ISBBcyB5b3UgbWF5 IA0KICAgICAgYWxyZWFkeSBrbm93LCBtYW55IHdlYiBob3N0aW5nIGNvbXBhbmllcyBoYXZl IFRlcm1zIG9mIFNlcnZpY2UgKFRPUykgb3IgDQogICAgICBBY2NlcHRhYmxlIFVzZSBQb2xp Y2llcyAoQVVQKSBhZ2FpbnN0IHRoZSBkZWxpdmVyeSBvZiBlbWFpbHMgYWR2ZXJ0aXNpbmcg DQogICAgICBvciBwcm9tb3RpbmcgeW91ciB3ZWIgc2l0ZS4mbmJzcDsgSWYgeW91ciB3ZWIg c2l0ZSBob3N0IHJlY2VpdmVzIA0KICAgICAgY29tcGxhaW50cyBvciBkaXNjb3ZlcnMgdGhh dCB5b3VyIHdlYiBzaXRlIGhhcyBiZWVuIGFkdmVydGlzZWQgaW4gZW1haWwgDQogICAgICBi cm9hZGNhc3RzLCB0aGV5IG1heSBkaXNjb25uZWN0IHlvdXIgYWNjb3VudCBhbmQgc2h1dCBk b3duIHlvdXIgd2ViIA0KICAgICAgc2l0ZS48L0ZPTlQ+PC9QPg0KICAgICAgPFA+PEZPTlQg ZmFjZT1BcmlhbD48Rk9OVCBjb2xvcj0jMDAwMGZmIA0KICAgICAgc2l6ZT0zPiZuYnNwOzwv Rk9OVD48L0ZPTlQ+PC9GT05UPjxGT05UIGNvbG9yPSMwMDAwZmYgZmFjZT1BcmlhbCANCiAg ICAgIHNpemU9Mz4mbmJzcDsgPC9GT05UPjxGT05UIHNpemU9Mj48Rk9OVCBjb2xvcj0jMDAw MDAwIGZhY2U9QXJpYWwgc2l6ZT0zPldlIA0KICAgICAgb2ZmZXIgcmVsaWFibGUgYnVsayBl bWFpbCBmcmllbmRseSB3ZWIgaG9zdGluZyBzZXJ2aWNlcy4mbmJzcDsgWW91IGNhbiBub3cg DQogICAgICBoYXZlIHRoZSBwZWFjZSBvZiBtaW5kIGtub3dpbmcgdGhhdCB5b3VyIHdlYiBz aXRlIGlzIHNlY3VyZSBkdXJpbmcgeW91ciANCiAgICAgIGVtYWlsIG1hcmtldGluZyBjYW1w YWlnbnMuPC9GT05UPiANCiAgICAgIDxUQUJMRSBib3JkZXI9MCBjZWxsUGFkZGluZz0wIGNl bGxTcGFjaW5nPTAgd2lkdGg9IjEwMCUiPg0KICAgICAgICA8VEJPRFk+DQogICAgICAgIDxU Uj4NCiAgICAgICAgICA8VEQgd2lkdGg9IjUwJSI+PC9URD4NCiAgICAgICAgICA8VEQgd2lk dGg9IjUwJSI+DQogICAgICAgICAgICA8UCBhbGlnbj1jZW50ZXI+PC9QPjwvVEQ+PC9UUj48 L1RCT0RZPjwvVEFCTEU+PC9GT05UPjwvUD48L1REPjwvVFI+DQogIDxUUj4NCiAgICA8VEQg YWxpZ249bGVmdCBiZ0NvbG9yPSNmZmUyYzYgdkFsaWduPXRvcD4NCiAgICAgIDxQIGFsaWdu PWxlZnQ+PEI+PEZPTlQgZmFjZT0iQXJpYWwgQmxhY2siIHNpemU9NT48Rk9OVCANCiAgICAg IGNvbG9yPSMwMDAwODA+Jm5ic3A7Jm5ic3A7Jm5ic3A7IEJ1bGxldCBQcm9vZiBXZWIgSG9z dGluZyAxMDAlIA0KICAgICAgR3VhcmFudGVlZCE8L0ZPTlQ+Jm5ic3A7PC9GT05UPjwvQj48 L1A+DQogICAgICA8UCBhbGlnbj1sZWZ0PjwvRk9OVD48Rk9OVCBmYWNlPUFyaWFsIHNpemU9 Mz48Rk9OVCANCiAgICAgIGNvbG9yPSMwMDAwMDA+Jm5ic3A7Jm5ic3A7Jm5ic3A7IFRoaXMg bWVhbnMgeW91IGNhbiBzZW5kIGJ1bGs8L0ZPTlQ+PEZPTlQgDQogICAgICBjb2xvcj0jZmZm ZmZmPiA8L0ZPTlQ+PEZPTlQgY29sb3I9IzAwMDAwMD5lbWFpbCB3aXRoIHlvdXIgd2Vic2l0 ZSBhZGRyZXNzIA0KICAgICAgaW4gaXQsIDwvRk9OVD5hbmQgeW91ciB3ZWJzaXRlIHdpbGwg bm90IGdldCBzaHV0IGRvd24hIEknbSBzdXJlIHlvdSd2ZSBoYWQgDQogICAgICBhIHdlYnNp dGUgc2h1dCBkb3duIGJlY2F1c2UgeW91IGxpc3RlZCBpdCBpbiB5b3VyIGJ1bGsgDQogICAg ZW1haWxzLjwvRk9OVD48L1A+PC9URD48L1RSPg0KICA8VFI+DQogICAgPFREIGFsaWduPWxl ZnQgYmdDb2xvcj0jZTZlNmNhIHZBbGlnbj10b3A+PEI+PEZPTlQgZmFjZT1BcmlhbCBzaXpl PTM+PEZPTlQgDQogICAgICBjb2xvcj0jMDAwMGZmPiZuYnNwOyZuYnNwOyZuYnNwOyBGb3Ig bW9yZSBpbmZvcm1hdGlvbiwgcGxlYXNlIEVtYWlsIHVzIA0KICAgICAgYXQ8L0ZPTlQ+PEZP TlQgY29sb3I9I2ZmMDBmZj4mbmJzcDsgPC9GT05UPjxBIA0KICAgICAgaHJlZj0ibWFpbHRv Omhvc3RpbmdAamFtZXMuYmFnLmdzLHRhcmdldGVtYWlscmVxdWVzdEBidGFtYWlsLm5ldC5j biI+PEZPTlQgDQogICAgICBjb2xvcj0jZmYwMDAwPmhvc3RpbmdAamFtZXMuYmFnLmdzPC9G T05UPjwvQT48Rk9OVCANCiAgICAgIGNvbG9yPSNmZjAwZmY+Jm5ic3A7PEZPTlQgY29sb3I9 IzAwMDBmZj48Rk9OVCBjb2xvcj0jZmYwMGZmPiANCiAgICAgIDwvRk9OVD5hbmQ8L0ZPTlQ+ Jm5ic3A7IDxBIA0KICAgICAgaHJlZj0ibWFpbHRvOnRhcmdldGVtYWlscmVxdWVzdEBidGFt YWlsLm5ldC5jbixob3N0aW5nQGphbWVzLmJhZy5ncyI+PEZPTlQgDQogICAgICBjb2xvcj0j ZmYwMDAwPnRhcmdldGVtYWlscmVxdWVzdEBidGFtYWlsLm5ldC5jbjwvRk9OVD48L0E+PC9G T05UPjwvRk9OVD48L0I+PC9URD48L1RSPjwvVEJPRFk+PC9UQUJMRT48L0RJVj4NCjxQPqGh PC9QPjwvRk9OVD48L0JPRFk+DQogICAg |
|
From: <ea...@us...> - 2003-06-20 15:04:44
|
Update of /cvsroot/mingw/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv3768
Modified Files:
download.shtml ChangeLog
Log Message:
* download.shtml (Understanding MinGW Packages): Add more content.
(Installing MinGW): Modify content into paragraphs.
(Updating MInGW): Add section place holder.
(Installing MSYS): Ditto.
(Updating MSYS): Ditto.
Index: download.shtml
===================================================================
RCS file: /cvsroot/mingw/htdocs/download.shtml,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** download.shtml 11 Jun 2003 23:46:48 -0000 1.19
--- download.shtml 20 Jun 2003 15:04:41 -0000 1.20
***************
*** 14,18 ****
title="MinGW">
<title>
! Mingw: Download
</title>
<style type="text/css">
--- 14,18 ----
title="MinGW">
<title>
! Mingw: File Download
</title>
<style type="text/css">
***************
*** 26,30 ****
<body>
<h1>
! MinGW: File Download
</h1>
<table class="prim" cellspacing="6" border="0">
--- 26,30 ----
<body>
<h1>
! File Download
</h1>
<table class="prim" cellspacing="6" border="0">
***************
*** 41,45 ****
<td>
<!-- ======================================================================= --><!-- --><!-- Main Body --><!-- -->
! <h2>Contents</h2>
<ul>
<li><a href="#hdr1">MinGW and MSYS Distributions</a></li>
--- 41,47 ----
<td>
<!-- ======================================================================= --><!-- --><!-- Main Body --><!-- -->
! <h2><a name="Contents" />
! Contents
! </h2>
<ul>
<li><a href="#hdr1">MinGW and MSYS Distributions</a></li>
***************
*** 49,53 ****
--- 51,60 ----
<li><a href="#hdr5">Decompression and Unarchiving Utilities</a></li>
<li><a href="#hdr6">Installing MinGW</a></li>
+ <li><a href="#hdr7">Updating MinGW</a></li>
+ <li><a href="#hdr8">Installing MSYS</a></li>
+ <li><a href="#hdr9">Updating MSYS</a></li>
</ul>
+
+ <hr />
<h2><a name="hdr1" />
MinGW and MSYS Distributions
***************
*** 130,146 ****
of updates.
</p>
<h2><a name="hdr2" />
File List
</h2>
<!--#include file="ssi/release.html"-->
<h2><a name="hdr3" />
Mirror Sites
</h2>
<ul>
- <!--<li>
- <a href=
- "http://prdownloads.sf.net/mingw/">http://prdownloads.sf.net/mingw/</a>
- </li>-->
<li>
<a href=
--- 137,155 ----
of updates.
</p>
+
+ <hr />
<h2><a name="hdr2" />
File List
</h2>
+ <p>
<!--#include file="ssi/release.html"-->
+ </p>
+ <hr />
<h2><a name="hdr3" />
Mirror Sites
</h2>
+ <p>
<ul>
<li>
<a href=
***************
*** 152,155 ****
--- 161,165 ----
</li>
</ul>
+ </p>
<p>
If you wish to mirror the MinGW distributions
***************
*** 159,162 ****
--- 169,173 ----
</p>
+ <hr />
<h2><a name="hdr4" />
Understanding MinGW Packaging
***************
*** 180,288 ****
but is a must for anything else.
</p>
! <!--
! <p>
! The naming scheme for the main MinGW
! distribution file is:
! </p>
! <blockquote>
! <tt>Mingw-<version>[-<stamp>].<tar.[gz|bz2], zip or exe></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>
! -->
<h2><a name="hdr5" />
Decompression and Unarchiving Utilities</h2>
--- 191,211 ----
but is a must for anything else.
</p>
! <p>
! The packages that have a suffix .exe are developer
! prepared Win32 installer executables. They install the
! package on your system in a known to the developer
! manner. This helps the developer to give you assistance
! when it is requested. Currently, two of these installer
! executables are package bundles, MinGW-<version>-<fileversion>.exe.
! and MSYS-<version>.exe. MinGW consists of various
! packages chosen by the developer to be included in a
! base package bundle. Updates to MinGW can be accomplished
! by installing the individual package updates. With MSYS
! there currently isn't an individual package for each
! package in its bundle. The developer distributes the
! entire package when there's an update.
! </p>
!
! <hr />
<h2><a name="hdr5" />
Decompression and Unarchiving Utilities</h2>
***************
*** 295,299 ****
</p>
<p>
! <h3>An Open Source Win32 style solution</h3>
<a href="http://www.7-zip.org" target=
"_nw">7-Zip</a> offers an open source compression and
--- 218,222 ----
</p>
<p>
! <em><b>An Open Source Win32 style solution:</b></em><br>
<a href="http://www.7-zip.org" target=
"_nw">7-Zip</a> offers an open source compression and
***************
*** 301,520 ****
and decompress in several formats.
</p>
! <hr>
<h2><a name="hdr6" />
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>
! <!-- End of Main Body -->
</td>
</tr>
--- 224,280 ----
and decompress in several formats.
</p>
!
! <hr />
<h2><a name="hdr6" />
Installing MinGW
! </h2>
! <p>
! How are you going to use MinGW? That is a question you
! need to ask yourself. If you are a Bourne command line
! wizard and want to use ./configure && make then you want
! to install MSYS as well. If you are an IDE wizard and
! have a configurable IDE then you need to determine if the
! IDE distributors provide MinGW for you need to download
! from MinGW are updates to the individual packages. You
! can if you want even use MinGW from the %COMSPEC% shell
! if you're proficient with that.
! </p>
! <p>
! Once you've decided how you are using MinGW, then you
! need to decide what to download. The MinGW bundle with
! individual updates are a good choice if you're also going
! to use MSYS or from the %COMSPEC% shell. The individual
! packages you need to update your IDE with are a good
! choice for that. If you plan to use MSYS then you could
! install MSYS first and install MinGW into the
! <msys_prefix>/mingw directory. Or install MinGW
! in a separate directory tree and use the MSYS /etc/fstab
! file to point the MSYS /mingw directory to it.
! </p>
!
! <hr />
! <h2><a name="hdr7" />
! Updating MinGW
! </h2>
! <p>
! On the round tuit list.
! </p>
!
! <hr />
! <h2><a name="hdr8" />
! Installing MSYS
! </h2>
! <p>
! On the round tuit list.
! </p>
!
! <hr />
! <h2><a name="hdr9" />
! Updating MSYS
! </h2>
! <p>
! On the round tuit list.
! </p>
! <!-- End of Main Body -->
</td>
</tr>
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/htdocs/ChangeLog,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -d -r1.132 -r1.133
*** ChangeLog 11 Jun 2003 23:46:47 -0000 1.132
--- ChangeLog 20 Jun 2003 15:04:41 -0000 1.133
***************
*** 1,2 ****
--- 1,10 ----
+ 2003-06-20 Earnie Boyd <ea...@us...>
+
+ * download.shtml (Understanding MinGW Packages): Add more content.
+ (Installing MinGW): Modify content into paragraphs.
+ (Updating MInGW): Add section place holder.
+ (Installing MSYS): Ditto.
+ (Updating MSYS): Ditto.
+
2003-06-11 Earnie Boyd <ea...@us...>
|
|
From: <in...@us...> - 2003-06-17 11:56:06
|
Update of /cvsroot/mingw/msys/packages/texinfo/4.3
In directory sc8-pr-cvs1:/tmp/cvs-serv21903
Modified Files:
ChangeLog.MSYS Makefile.in configure
Log Message:
* makeinfo/makeinfo.c (fix_whitespace): Treat \r as whitespace.
* makeinfo/tests/xref-cr, makeinfo/tests/xref-cr.txi: New test.
* makeinfo/tests/Makefile.am: Add xref-cr test to the build.
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/packages/texinfo/4.3/ChangeLog.MSYS,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ChangeLog.MSYS 5 Dec 2002 21:15:18 -0000 1.1
--- ChangeLog.MSYS 17 Jun 2003 11:56:02 -0000 1.2
***************
*** 1,2 ****
--- 1,8 ----
+ 2003.06.17 Luke Dunstan <in...@us...>
+
+ * makeinfo/makeinfo.c (fix_whitespace): Treat \r as whitespace.
+ * makeinfo/tests/xref-cr, makeinfo/tests/xref-cr.txi: New test.
+ * makeinfo/tests/Makefile.am: Add xref-cr test to the build.
+
2002.12.05 Earnie Boyd <ea...@us...>
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mingw/msys/packages/texinfo/4.3/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile.in 5 Dec 2002 21:07:12 -0000 1.1
--- Makefile.in 17 Jun 2003 11:56:02 -0000 1.2
***************
*** 89,92 ****
--- 89,93 ----
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
+ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBICONV = @LTLIBICONV@
Index: configure
===================================================================
RCS file: /cvsroot/mingw/msys/packages/texinfo/4.3/configure,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** configure 5 Dec 2002 21:07:12 -0000 1.1
--- configure 17 Jun 2003 11:56:02 -0000 1.2
***************
*** 1,5 ****
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.54 for GNU Texinfo 4.3.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
--- 1,5 ----
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.56 for GNU Texinfo 4.3.
#
[...4526 lines suppressed...]
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
***************
*** 10739,10744 ****
if test "$no_create" != yes; then
ac_cs_success=:
exec 5>/dev/null
! $SHELL $CONFIG_STATUS || ac_cs_success=false
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
--- 11526,11534 ----
if test "$no_create" != yes; then
ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
exec 5>/dev/null
! $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
From: <in...@us...> - 2003-06-17 11:56:06
|
Update of /cvsroot/mingw/msys/packages/texinfo/4.3/makeinfo/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv21903/makeinfo/tests
Modified Files:
Makefile.am Makefile.in
Added Files:
xref-cr xref-cr.txi
Log Message:
* makeinfo/makeinfo.c (fix_whitespace): Treat \r as whitespace.
* makeinfo/tests/xref-cr, makeinfo/tests/xref-cr.txi: New test.
* makeinfo/tests/Makefile.am: Add xref-cr test to the build.
--- NEW FILE: xref-cr ---
#!/bin/sh
# Test that carriage returns in command braces are ignored
: ${srcdir=.}
../makeinfo $srcdir/xref-cr.txi || exit 1
../makeinfo --no-split --html $srcdir/xref-cr.txi -o xref-cr.html || exit 1
rm -f xref-cr*.html xref-cr.info
--- NEW FILE: xref-cr.txi ---
\input texinfo
@c **** This file must have DOS newlines to see the bug ****
@setfilename bug.info
@node Top
@top Bug
@menu
* Chapter Foo::
* Chapter Bar::
@end menu
@node Chapter Foo
@chapter Chapter Foo
...
@node Chapter Bar
@chapter Chapter Bar
Please see @xref{Chapter
Foo}
Index: Makefile.am
===================================================================
RCS file: /cvsroot/mingw/msys/packages/texinfo/4.3/makeinfo/tests/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile.am 5 Dec 2002 21:07:18 -0000 1.1
--- Makefile.am 17 Jun 2003 11:56:02 -0000 1.2
***************
*** 7,11 ****
no-headers \
node-expand node-value node-whitespace \
! top top2
noinst_SCRIPTS = $(TESTS)
--- 7,12 ----
no-headers \
node-expand node-value node-whitespace \
! top top2 \
! xref-cr
noinst_SCRIPTS = $(TESTS)
***************
*** 16,18 ****
macro-at.txi menu-whitespace.txi \
node-expand.txi node-value.txi node-whitespace.txi \
! top.txi top2.txi
--- 17,21 ----
macro-at.txi menu-whitespace.txi \
node-expand.txi node-value.txi node-whitespace.txi \
! top.txi top2.txi \
! xref-cr.txi
!
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mingw/msys/packages/texinfo/4.3/makeinfo/tests/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile.in 5 Dec 2002 21:07:18 -0000 1.1
--- Makefile.in 17 Jun 2003 11:56:02 -0000 1.2
***************
*** 80,83 ****
--- 80,84 ----
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
+ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBICONV = @LTLIBICONV@
***************
*** 148,152 ****
no-headers \
node-expand node-value node-whitespace \
! top top2
--- 149,154 ----
no-headers \
node-expand node-value node-whitespace \
! top top2 \
! xref-cr
***************
*** 158,162 ****
macro-at.txi menu-whitespace.txi \
node-expand.txi node-value.txi node-whitespace.txi \
! top.txi top2.txi
subdir = makeinfo/tests
--- 160,165 ----
macro-at.txi menu-whitespace.txi \
node-expand.txi node-value.txi node-whitespace.txi \
! top.txi top2.txi \
! xref-cr.txi
subdir = makeinfo/tests
|
|
From: <in...@us...> - 2003-06-17 11:56:06
|
Update of /cvsroot/mingw/msys/packages/texinfo/4.3/makeinfo
In directory sc8-pr-cvs1:/tmp/cvs-serv21903/makeinfo
Modified Files:
makeinfo.c
Log Message:
* makeinfo/makeinfo.c (fix_whitespace): Treat \r as whitespace.
* makeinfo/tests/xref-cr, makeinfo/tests/xref-cr.txi: New test.
* makeinfo/tests/Makefile.am: Add xref-cr test to the build.
Index: makeinfo.c
===================================================================
RCS file: /cvsroot/mingw/msys/packages/texinfo/4.3/makeinfo/makeinfo.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** makeinfo.c 5 Dec 2002 21:07:17 -0000 1.1
--- makeinfo.c 17 Jun 2003 11:56:02 -0000 1.2
***************
*** 868,877 ****
c = temp[temp_index++] = string[string_index++];
! if (c == ' ' || c == '\n' || c == '\t')
{
temp[temp_index - 1] = ' ';
! while ((c = string[string_index]) && (c == ' ' ||
! c == '\t' ||
! c == '\n'))
string_index++;
}
--- 868,875 ----
c = temp[temp_index++] = string[string_index++];
! if (cr_or_whitespace (c))
{
temp[temp_index - 1] = ' ';
! while ((c = string[string_index]) && cr_or_whitespace (c))
string_index++;
}
|
|
From: <ea...@us...> - 2003-06-16 16:37:25
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory sc8-pr-cvs1:/tmp/cvs-serv16005
Modified Files:
ChangeLog.MSYS path.cc spawn.cc
Log Message:
* path.cc (cygwin_conv_to_win32_path): Copy data to win32_path, don't
change the pointer value.
* spawn.cc (spawn_guts): Free tmpbuf if needed. Ditto for wpath.
Set envblockarg to contain 0 for it's length.
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** ChangeLog.MSYS 13 Jun 2003 18:34:08 -0000 1.51
--- ChangeLog.MSYS 16 Jun 2003 16:37:22 -0000 1.52
***************
*** 1,2 ****
--- 1,9 ----
+ 2003-06-16 Earnie Boyd <ea...@us...>
+
+ * path.cc (cygwin_conv_to_win32_path): Copy data to win32_path, don't
+ change the pointer value.
+ * spawn.cc (spawn_guts): Free tmpbuf if needed. Ditto for wpath.
+ Set envblockarg to contain 0 for it's length.
+
2003-06-13 Earnie Boyd <ea...@us...>
Index: path.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/path.cc,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** path.cc 13 Jun 2003 18:34:08 -0000 1.37
--- path.cc 16 Jun 2003 16:37:22 -0000 1.38
***************
*** 3521,3526 ****
{
TRACE_IN;
! win32_path = msys_p2w(path);
! return ((win32_path == path) ? -1 : 0);
}
--- 3521,3534 ----
{
TRACE_IN;
! char *tptr = msys_p2w(path);
! int rval = 0;
! if (tptr == path) {
! rval = -1;
! strcpy(win32_path, path);
! } else {
! strcpy(win32_path, tptr);
! free (tptr);
! }
! return rval;
}
Index: spawn.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/spawn.cc,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** spawn.cc 13 Jun 2003 18:34:09 -0000 1.18
--- spawn.cc 16 Jun 2003 16:37:22 -0000 1.19
***************
*** 512,518 ****
{
char *tmpbuf = msys_p2w(newargv[i]);
- //debug_printf("%d of %d, %s, %s", i, ac, newargv[i], tmpbuf);
debug_printf("newargv[%d] = %s", i, newargv[i]);
newargv.replace (i, tmpbuf);
}
}
--- 512,519 ----
{
char *tmpbuf = msys_p2w(newargv[i]);
debug_printf("newargv[%d] = %s", i, newargv[i]);
newargv.replace (i, tmpbuf);
+ if (tmpbuf != newargv[i])
+ free (tmpbuf);
}
}
***************
*** 655,659 ****
envblockcnt = ciresrv.moreinfo->envc;
#endif
! char **envblockarg = (char **)malloc(sizeof (char *) * (envblockcnt + 1));
char *tptr;
int envblocknlen = 0, envblockarglen = 0;
--- 656,662 ----
envblockcnt = ciresrv.moreinfo->envc;
#endif
! char **envblockarg = (char **)malloc(sizeof (char *) * (envblockcnt + 1));
! memset (envblockarg, 0, (sizeof (char *) * (envblockcnt + 1)));
!
char *tptr;
int envblocknlen = 0, envblockarglen = 0;
***************
*** 672,676 ****
debug_printf("wpath=%s", wpath);
strcat(envblockarg[loop], wpath);
! free (wpath);
}
--- 675,680 ----
debug_printf("wpath=%s", wpath);
strcat(envblockarg[loop], wpath);
! if (wpath != tptr)
! free (wpath);
}
|
|
From: <ea...@us...> - 2003-06-16 13:01:21
|
Update of /cvsroot/mingw/msys/dvlpr/var/msys In directory sc8-pr-cvs1:/tmp/cvs-serv16128/var/msys Modified Files: exe.dat script.dat Log Message: * bin/msysinfo: Updates from John Kane. * doc/msys/MSYS-1.0.9-changes.rtf: Add msysinfo addition. Add 1.1.1 section to future plans. Move new pathing classes and methods to section 1.1.1. Index: exe.dat =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/var/msys/exe.dat,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** exe.dat 18 Dec 2002 13:30:18 -0000 1.1 --- exe.dat 16 Jun 2003 13:01:17 -0000 1.2 *************** *** 57,59 **** --- 57,60 ---- vim.exe wc.exe + xargs.exe Index: script.dat =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/var/msys/script.dat,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** script.dat 18 Dec 2002 13:30:18 -0000 1.1 --- script.dat 16 Jun 2003 13:01:17 -0000 1.2 *************** *** 9,12 **** --- 9,13 ---- gunzip lnkcnv + msysinfo printf pwd |
|
From: <ea...@us...> - 2003-06-16 13:01:21
|
Update of /cvsroot/mingw/msys/dvlpr/doc/mingw In directory sc8-pr-cvs1:/tmp/cvs-serv16128/doc/mingw Modified Files: MinGW_PACKAGES.rtf Log Message: * bin/msysinfo: Updates from John Kane. * doc/msys/MSYS-1.0.9-changes.rtf: Add msysinfo addition. Add 1.1.1 section to future plans. Move new pathing classes and methods to section 1.1.1. Index: MinGW_PACKAGES.rtf =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/doc/mingw/MinGW_PACKAGES.rtf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs9przvW and /tmp/cvsgiW2LI differ |
|
From: <ea...@us...> - 2003-06-16 13:01:20
|
Update of /cvsroot/mingw/msys/dvlpr/doc/msys In directory sc8-pr-cvs1:/tmp/cvs-serv16128/doc/msys Modified Files: MSYS-1.0.9-changes.rtf Log Message: * bin/msysinfo: Updates from John Kane. * doc/msys/MSYS-1.0.9-changes.rtf: Add msysinfo addition. Add 1.1.1 section to future plans. Move new pathing classes and methods to section 1.1.1. 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.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvs9YHnr3 and /tmp/cvsKD4ADW differ |
|
From: <ea...@us...> - 2003-06-16 13:01:20
|
Update of /cvsroot/mingw/msys/dvlpr/bin In directory sc8-pr-cvs1:/tmp/cvs-serv16128/bin Modified Files: msys.bat msysinfo Log Message: * bin/msysinfo: Updates from John Kane. * doc/msys/MSYS-1.0.9-changes.rtf: Add msysinfo addition. Add 1.1.1 section to future plans. Move new pathing classes and methods to section 1.1.1. Index: msys.bat =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/bin/msys.bat,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** msys.bat 7 Mar 2003 17:13:14 -0000 1.7 --- msys.bat 16 Jun 2003 13:01:17 -0000 1.8 *************** *** 123,127 **** rem 2003.02.03 Earnie Boyd mailto:ea...@us... rem * Win9x doesn't like ``EXISTS dir'' so change it to ``EXISTS dir\nul''. ! rem Thanks to Nicolas Weber <nic...@gm...>. rem rem 2003.03.06 Earnie Boyd mailto:ea...@us... --- 123,127 ---- rem 2003.02.03 Earnie Boyd mailto:ea...@us... rem * Win9x doesn't like ``EXISTS dir'' so change it to ``EXISTS dir\nul''. ! rem Thanks to Nicolas Weber mailto:nic...@gm.... rem rem 2003.03.06 Earnie Boyd mailto:ea...@us... Index: msysinfo =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/bin/msysinfo,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** msysinfo 5 Jun 2003 18:34:43 -0000 1.1 --- msysinfo 16 Jun 2003 13:01:17 -0000 1.2 *************** *** 1,32 **** ! #!/bin/sh ! # Copyright (C) 2003 John Kane ! # This script has been placed in the public domain by its author. ! # ! # This file is part of MSYS ! # http://www.mingw.org/msys.shtml ! # File: msysinfo ! ! echo 'msysinfo-1.2: Send this to the MSYS support list:' ! echo ' (msysinfo-1.28-unstable)' ! echo ; echo 'MSYS '$(uname -rvmp)"; targ="$(uname -s|cut -d_ -f1) ! echo $(sh --version | grep -i '[0-9]\.[0-9]')"; ENV=${ENV:-.profile}" ! echo -n $(make --version | grep -i '[0-9]\.[0-9]' | cut -db -f1)"" ! echo $(make --version | grep -i 'Built')"; MAKE_MODE=$MAKE_MODE" ! echo $(gcc --version | grep -i '[0-9]\.[0-9]')"; targ="$(uname -s|cut -d_ -f1) ! ld --version | grep -i '[0-9]\.[0-9]' ! ls -o --full-time /bin/msys*.dll | cut -c 25- ! ls -o --full-time $(type -p make).exe | cut -c 25- ! ls -o --full-time $(type -p gcc).exe | cut -c 25- ! ls -o --full-time $(type -p ld).exe | cut -c 25- ! echo "HOME=$HOME" ! echo "Sysname=$(uname --sysname) OSTYPE=$OSTYPE TERM=$TERM" ! echo "PATH=$PATH" | fold -w 64 ; echo "$ ls -tx $PWD" ; ls -tAxFw64 ! if [ "$1" = "all" ] || [ "$1" = "long" ] ; then ! echo ; md5sum -b /bin/msys*.dll ; md5sum -b $(type -p make).exe ! md5sum -b $(type -p gcc).exe ; md5sum -b $(type -p ld).exe ! echo ; echo "In /etc/fstab:" ; cat /etc/fstab | grep '/' ! echo ; echo "In /etc/profile:" ; cat /etc/profile | grep -i 'export' ! echo ; grep -a '%%%' /bin/msys*.dll ! echo ; set | fold -sw 64 ! echo ; echo '$ msysinfo all >msysinfo.txt will save this to a file' fi --- 1,29 ---- ! #!/bin/sh ! # This script has been placed in the public domain by its author, John Kane. ! # This file is part of MSYS ! # http://www.mingw.org/msys.shtml ! # File: msysinfo ! ! echo 'msysinfo-1.3: Send this to the MSYS support list:' ! echo ; echo 'MSYS '$(uname -rvmp)"; targ="$(uname -s|cut -d_ -f1) ! echo $(sh --version | grep -i '[0-9]\.[0-9]')"; ENV=${ENV:-.profile}" ! echo -n $(make --version | grep -i '[0-9]\.[0-9]' | cut -db -f1)"" ! echo $(make --version | grep -i 'Built')"; MAKE_MODE=$MAKE_MODE" ! echo $(gcc --version | grep -i '[0-9]\.[0-9]')"; targ="$(uname -s|cut -d_ -f1) ! ld --version | grep -i '[0-9]\.[0-9]' ! ls -o --full-time /bin/msys*.dll | cut -c 25- ! ls -o --full-time $(type -p make).exe | cut -c 25- ! ls -o --full-time $(type -p gcc).exe | cut -c 25- ! ls -o --full-time $(type -p ld).exe | cut -c 25- ! echo "HOME=$HOME" ! echo "Sysname=$(uname --sysname) OSTYPE=$OSTYPE TERM=$TERM" ! echo "PATH=$PATH" | fold -w 64 ; echo "$ ls -tx $PWD" ; ls -tAxFw64 ! if [ "$1" = "all" ] || [ "$1" = "long" ] ; then ! echo ; md5sum -b /bin/msys*.dll ; md5sum -b $(type -p make).exe ! md5sum -b $(type -p gcc).exe ; md5sum -b $(type -p ld).exe ! echo ; echo "In /etc/fstab:" ; cat /etc/fstab | grep '/' ! echo ; echo "In /etc/profile:" ; cat /etc/profile | grep -i 'export' ! echo ; grep -a '%%%' /bin/msys*.dll ! echo ; set | fold -sw 64 ! echo ; echo '$ msysinfo all >msysinfo.txt will save this to a file' fi |
|
From: <ea...@us...> - 2003-06-16 13:01:20
|
Update of /cvsroot/mingw/msys/dvlpr In directory sc8-pr-cvs1:/tmp/cvs-serv16128 Modified Files: ChangeLog Log Message: * bin/msysinfo: Updates from John Kane. * doc/msys/MSYS-1.0.9-changes.rtf: Add msysinfo addition. Add 1.1.1 section to future plans. Move new pathing classes and methods to section 1.1.1. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/ChangeLog,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** ChangeLog 5 Jun 2003 19:00:23 -0000 1.32 --- ChangeLog 16 Jun 2003 13:01:17 -0000 1.33 *************** *** 1,2 **** --- 1,9 ---- + 2003.06.16 Earnie Boyd <ea...@us...> + + * bin/msysinfo: Updates from John Kane. + * doc/msys/MSYS-1.0.9-changes.rtf: Add msysinfo addition. + Add 1.1.1 section to future plans. Move new pathing classes and methods + to section 1.1.1. + 2003.06.05 Earnie Boyd <ea...@us...> |
|
From: <ea...@us...> - 2003-06-13 18:38:48
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory sc8-pr-cvs1:/tmp/cvs-serv24496
Modified Files:
exceptions.cc
Log Message:
I meant to make this change before the earlier commit
Index: exceptions.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/exceptions.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** exceptions.cc 13 Jun 2003 18:34:08 -0000 1.4
--- exceptions.cc 13 Jun 2003 18:38:42 -0000 1.5
***************
*** 199,212 ****
#ifdef __i386__
#define HAVE_STATUS
! if (exception_name)
! small_printf ("MSYS-%d.%d.%d Build:%s\nException: %s at eip=%08x\r\n",
cygwin_version.dll_major / 1000,
cygwin_version.dll_major % 1000,
cygwin_version.dll_minor,
! cygwin_version.dll_build_date,
! exception_name,
! in->Eip);
else
! small_printf ("Exception %d at eip=%08x\r\n", e->ExceptionCode, in->Eip);
small_printf ("eax=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x\r\n",
in->Eax, in->Ebx, in->Ecx, in->Edx, in->Esi, in->Edi);
--- 199,211 ----
#ifdef __i386__
#define HAVE_STATUS
! small_printf ("MSYS-%d.%d.%d Build:%s\r\n",
cygwin_version.dll_major / 1000,
cygwin_version.dll_major % 1000,
cygwin_version.dll_minor,
! cygwin_version.dll_build_date);
! if (exception_name)
! small_printf ("Exception: %s at eip=%08x\r\n", exception_name, in->Eip);
else
! small_printf ("Exception: %d at eip=%08x\r\n", e->ExceptionCode, in->Eip);
small_printf ("eax=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x\r\n",
in->Eax, in->Ebx, in->Ecx, in->Edx, in->Esi, in->Edi);
|
|
From: <ea...@us...> - 2003-06-13 18:34:16
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/sys In directory sc8-pr-cvs1:/tmp/cvs-serv21910/include/sys Modified Files: cygwin.h Log Message: * environ.cc: Remove DO_CPP_NEW filters througout. * exceptions.cc (exception): Output version and build date info to the stackdump file. * msys_symlink.cc (msys_symlink): Use msys_p2w() instead of cygwin_conv_to_win32_path(). * spawn.cc (spawn_guts): Ditto. * path.cc (msys_p2w): New function (copy previous cygwin_conv_to_win32_path and heavily modify). (cygwin_conv_to_win32_path): Remove contents and use msys_p2w. include/sys/cygwin.h (msys_p2w): Add declaration. Index: cygwin.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/sys/cygwin.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cygwin.h 15 Oct 2001 22:22:33 -0000 1.3 --- cygwin.h 13 Jun 2003 18:34:09 -0000 1.4 *************** *** 36,39 **** --- 36,40 ---- extern int cygwin_posix_to_win32_path_list_buf_size (const char *); extern int cygwin_conv_to_win32_path (const char *, char *); + extern char * msys_p2w (const char *); extern int cygwin_conv_to_full_win32_path (const char *, char *); extern int cygwin_conv_to_posix_path (const char *, char *); |
|
From: <ea...@us...> - 2003-06-13 18:34:16
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory sc8-pr-cvs1:/tmp/cvs-serv21910
Modified Files:
ChangeLog.MSYS environ.cc exceptions.cc msys_symlink.cc
path.cc spawn.cc
Log Message:
* environ.cc: Remove DO_CPP_NEW filters througout.
* exceptions.cc (exception): Output version and build date info to the
stackdump file.
* msys_symlink.cc (msys_symlink): Use msys_p2w() instead of
cygwin_conv_to_win32_path().
* spawn.cc (spawn_guts): Ditto.
* path.cc (msys_p2w): New function (copy previous
cygwin_conv_to_win32_path and heavily modify).
(cygwin_conv_to_win32_path): Remove contents and use msys_p2w.
include/sys/cygwin.h (msys_p2w): Add declaration.
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** ChangeLog.MSYS 11 Jun 2003 14:20:27 -0000 1.50
--- ChangeLog.MSYS 13 Jun 2003 18:34:08 -0000 1.51
***************
*** 1,2 ****
--- 1,15 ----
+ 2003-06-13 Earnie Boyd <ea...@us...>
+
+ * environ.cc: Remove DO_CPP_NEW filters througout.
+ * exceptions.cc (exception): Output version and build date info to the
+ stackdump file.
+ * msys_symlink.cc (msys_symlink): Use msys_p2w() instead of
+ cygwin_conv_to_win32_path().
+ * spawn.cc (spawn_guts): Ditto.
+ * path.cc (msys_p2w): New function (copy previous
+ cygwin_conv_to_win32_path and heavily modify).
+ (cygwin_conv_to_win32_path): Remove contents and use msys_p2w.
+ include/sys/cygwin.h (msys_p2w): Add declaration.
+
2003-06-11 Earnie Boyd <ea...@us...>
Index: environ.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/environ.cc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** environ.cc 17 Jul 2002 13:06:56 -0000 1.7
--- environ.cc 13 Jun 2003 18:34:08 -0000 1.8
***************
*** 815,823 ****
else
{
- #if DO_CPP_NEW
- tptr = new char [strlen (conv->native) + 1];
- #else
tptr = (char *) alloca (strlen (conv->native) + 1);
- #endif
strcpy (tptr, conv->native);
*dstp = tptr;
--- 815,819 ----
***************
*** 826,834 ****
if ((*dstp)[0] == '!' && isdrive ((*dstp) + 1) && (*dstp)[3] == '=')
{
- #if DO_CPP_NEW
- tptr = new char [strlen (*dstp) + 1];
- #else
tptr = (char *) alloca (strlen (*dstp) + 1);
- #endif
strcpy (tptr, *dstp);
*tptr = '=';
--- 822,826 ----
***************
*** 845,853 ****
{
srcplen = strlen (forced_winenv_vars[i]);
- #if DO_CPP_NEW
- tptr = new char [srcplen + MAX_PATH + 1];
- #else
tptr = (char *) alloca (srcplen + MAX_PATH + 1);
- #endif
strcpy (tptr, forced_winenv_vars[i]);
strcat (tptr, "=");
--- 837,841 ----
***************
*** 871,880 ****
/* Create an environment block suitable for passing to CreateProcess. */
char *ptr, *envblock;
- #if DO_CPP_NEW
- envblock = new char [envblocklen + 2 + (MAX_PATH * 256)];
- #else
- //envblock = (char *) malloc (envblocklen + 2 + (MAX_PATH * 256));
envblock = (char *) malloc (envblocklen + 2);
- #endif
for (srcp = newenvp, ptr = envblock; *srcp; srcp++)
{
--- 859,863 ----
Index: exceptions.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/exceptions.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** exceptions.cc 19 Apr 2003 01:03:46 -0000 1.3
--- exceptions.cc 13 Jun 2003 18:34:08 -0000 1.4
***************
*** 22,25 ****
--- 22,26 ----
#include "perprocess.h"
#include "security.h"
+ #include "cygwin_version.h"
#define CALL_HANDLER_RETRY 20
***************
*** 199,203 ****
#define HAVE_STATUS
if (exception_name)
! small_printf ("Exception: %s at eip=%08x\r\n", exception_name, in->Eip);
else
small_printf ("Exception %d at eip=%08x\r\n", e->ExceptionCode, in->Eip);
--- 200,210 ----
#define HAVE_STATUS
if (exception_name)
! small_printf ("MSYS-%d.%d.%d Build:%s\nException: %s at eip=%08x\r\n",
! cygwin_version.dll_major / 1000,
! cygwin_version.dll_major % 1000,
! cygwin_version.dll_minor,
! cygwin_version.dll_build_date,
! exception_name,
! in->Eip);
else
small_printf ("Exception %d at eip=%08x\r\n", e->ExceptionCode, in->Eip);
Index: msys_symlink.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/msys_symlink.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** msys_symlink.cc 19 Jul 2002 16:13:25 -0000 1.3
--- msys_symlink.cc 13 Jun 2003 18:34:08 -0000 1.4
***************
*** 96,102 ****
}
! cygwin_conv_to_win32_path (frompath, w_frompath);
debug_printf("w_frompath: %s", w_frompath);
! cygwin_conv_to_win32_path (topath, w_topath);
debug_printf("w_topath: %s", w_topath);
--- 96,102 ----
}
! w_frompath = msys_p2w(frompath);
debug_printf("w_frompath: %s", w_frompath);
! w_topath = msys_p2w(topath);
debug_printf("w_topath: %s", w_topath);
Index: path.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/path.cc,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** path.cc 3 Jun 2003 12:24:30 -0000 1.36
--- path.cc 13 Jun 2003 18:34:08 -0000 1.37
***************
*** 3157,3162 ****
extern "C"
! int
! cygwin_conv_to_win32_path (const char *path, char *win32_path)
{
TRACE_IN;
--- 3157,3162 ----
extern "C"
! char *
! msys_p2w (const char *path)
{
TRACE_IN;
***************
*** 3164,3169 ****
if (!path || !*path)
{
! *win32_path = '\0';
! return 0;
}
--- 3164,3170 ----
if (!path || !*path)
{
! char *retpath = (char *)malloc (1);
! *retpath = '\0';
! return retpath;
}
***************
*** 3173,3186 ****
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;
- int sret;
- int retval = 0;
#define retpathcat(retstr) \
--- 3174,3182 ----
char *sptr;
char * sspath;
// retpath will be what sets win32_path before exiting.
! char *retpath = (char *)malloc(MAX_PATH);
memset (retpath, 0, MAX_PATH);
int retpath_len = 0;
int retpath_buflen = MAX_PATH;
#define retpathcat(retstr) \
***************
*** 3191,3195 ****
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)crealloc (retpath, retpath_buflen); \
} \
strcat (retpath, retstr);
--- 3187,3191 ----
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)realloc (retpath, retpath_buflen); \
} \
strcat (retpath, retstr);
***************
*** 3206,3217 ****
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';
-
#if DEBUGGING
! debug_printf("cygwin_conv_to_win32_path (%s, ...)", path);
#endif
--- 3202,3211 ----
retpath_buflen = ((retpath_buflen * 2 <= retpath_len) ? \
retpath_len + 1 : retpath_buflen * 2); \
! retpath = (char *)realloc (retpath, retpath_buflen); \
} \
strcpy (retpath, retstr);
#if DEBUGGING
! debug_printf("msys_p2w (%s)", path);
#endif
***************
*** 3291,3299 ****
{
*sspath = '\0';
! sret = cygwin_conv_to_win32_path (spath, swin32_path);
//
// Just ignore sret; swin32_path has the value we need.
//
retpathcat (swin32_path);
spath = sspath + 1;
sspath = strchr (spath, ':');
--- 3285,3294 ----
{
*sspath = '\0';
! char *swin32_path = msys_p2w (spath);
//
// Just ignore sret; swin32_path has the value we need.
//
retpathcat (swin32_path);
+ free (swin32_path);
spath = sspath + 1;
sspath = strchr (spath, ':');
***************
*** 3309,3314 ****
{
retpathcat (";");
! sret = cygwin_conv_to_win32_path (spath, swin32_path);
retpathcat (swin32_path);
}
}
--- 3304,3310 ----
{
retpathcat (";");
! char *swin32_path = msys_p2w (spath);
retpathcat (swin32_path);
+ free (swin32_path);
}
}
***************
*** 3326,3334 ****
{
*(sspath - 1) = '\0';
! sret = cygwin_conv_to_win32_path (spath, swin32_path);
! if (sret)
{
! retpathcpy (path);
! retval = -1;
break;
}
--- 3322,3329 ----
{
*(sspath - 1) = '\0';
! char *swin32_path = msys_p2w (spath);
! if (swin32_path == spath)
{
! return ((char *)path);
break;
}
***************
*** 3336,3339 ****
--- 3331,3335 ----
retpathcat ("/");
retpathcat (sspath);
+ free (swin32_path);
break;
}
***************
*** 3342,3347 ****
{
set_errno(p.error);
! retpathcpy (path);
! retval = -1;
break;
}
--- 3338,3342 ----
{
set_errno(p.error);
! return ((char *)path);
break;
}
***************
*** 3360,3368 ****
//
*sspath = '\0';
! sret = cygwin_conv_to_win32_path (++sspath, swin32_path);
! if (sret)
{
! retpathcpy (path);
! retval = -1;
break;
}
--- 3355,3362 ----
//
*sspath = '\0';
! char *swin32_path = msys_p2w(++sspath);
! if (swin32_path == sspath)
{
! return ((char *)path);
break;
}
***************
*** 3370,3373 ****
--- 3364,3368 ----
retpathcat ("=");
retpathcat (swin32_path);
+ free (swin32_path);
break;
}
***************
*** 3382,3390 ****
debug_printf("spath = %s", spath);
#endif
! sret = cygwin_conv_to_win32_path (sspath, swin32_path);
! if (sret)
{
! retpathcpy (path);
! retval = -1;
break;
}
--- 3377,3384 ----
debug_printf("spath = %s", spath);
#endif
! char *swin32_path = msys_p2w (sspath);
! if (swin32_path == sspath)
{
! return ((char *)path);
break;
}
***************
*** 3396,3399 ****
--- 3390,3394 ----
*sspath = '/';
retpathcat (swin32_path);
+ free (swin32_path);
break;
}
***************
*** 3412,3423 ****
{
retpathcpy ("\"");
! sret = cygwin_conv_to_win32_path (&spath[1], swin32_path);
! if (sret)
{
! retpathcpy (path);
! retval = -1;
break;
}
retpathcat (swin32_path);
break;
}
--- 3407,3418 ----
{
retpathcpy ("\"");
! char *swin32_path = msys_p2w (&spath[1]);
! if (swin32_path == &spath[1])
{
! return ((char *)path);
break;
}
retpathcat (swin32_path);
+ free (swin32_path);
break;
}
***************
*** 3431,3442 ****
{
retpathcpy ("'");
! sret = cygwin_conv_to_win32_path (&spath[1], swin32_path);
! if (sret)
{
! retpathcpy (path);
! retval = -1;
break;
}
retpathcat (swin32_path);
break;
}
--- 3426,3437 ----
{
retpathcpy ("'");
! char *swin32_path = msys_p2w (&spath[1]);
! if (swin32_path == &spath[1])
{
! return ((char *)path);
break;
}
retpathcat (swin32_path);
+ free (swin32_path);
break;
}
***************
*** 3452,3463 ****
retpathcpy (spath);
sspath[1] = '/';
! sret = cygwin_conv_to_win32_path (&sspath[1], swin32_path);
! if (sret)
{
! retpathcpy (path);
! retval = -1;
break;
}
retpathcat (swin32_path);
break;
}
--- 3447,3458 ----
retpathcpy (spath);
sspath[1] = '/';
! char *swin32_path = msys_p2w (&sspath[1]);
! if (swin32_path == &sspath[1])
{
! return ((char *)path);
break;
}
retpathcat (swin32_path);
+ free (swin32_path);
break;
}
***************
*** 3488,3495 ****
}
}
- //
- // Copy the return value.
- //
- strcpy (win32_path, retpath);
//
--- 3483,3486 ----
***************
*** 3501,3505 ****
if (path_changed)
{
! spath = win32_path;
while ((sspath = strchr(spath, '/')))
{
--- 3492,3496 ----
if (path_changed)
{
! spath = retpath;
while ((sspath = strchr(spath, '/')))
{
***************
*** 3513,3517 ****
if (path_changed)
{
! spath = win32_path;
while ((sspath = strchr(spath, '\\')))
{
--- 3504,3508 ----
if (path_changed)
{
! spath = retpath;
while ((sspath = strchr(spath, '\\')))
{
***************
*** 3522,3530 ****
}
! if (swin32_path)
! cfree(swin32_path);
! if (retpath)
! cfree(retpath);
! return retval;
}
--- 3513,3526 ----
}
! return retpath;
! }
!
! extern "C"
! int
! cygwin_conv_to_win32_path (const char *path, char *win32_path)
! {
! TRACE_IN;
! win32_path = msys_p2w(path);
! return ((win32_path == path) ? -1 : 0);
}
Index: spawn.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/spawn.cc,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** spawn.cc 11 Jun 2003 14:20:31 -0000 1.17
--- spawn.cc 13 Jun 2003 18:34:09 -0000 1.18
***************
*** 509,517 ****
{
//convert argv to win32
- char tmpbuf[MAX_PATH] = "\0";
-
if (strlen(newargv[i]) < MAX_PATH)
{
! cygwin_conv_to_win32_path(newargv[i], tmpbuf);
//debug_printf("%d of %d, %s, %s", i, ac, newargv[i], tmpbuf);
debug_printf("newargv[%d] = %s", i, newargv[i]);
--- 509,515 ----
{
//convert argv to win32
if (strlen(newargv[i]) < MAX_PATH)
{
! char *tmpbuf = msys_p2w(newargv[i]);
//debug_printf("%d of %d, %s, %s", i, ac, newargv[i], tmpbuf);
debug_printf("newargv[%d] = %s", i, newargv[i]);
***************
*** 658,662 ****
#endif
char **envblockarg = (char **)malloc(sizeof (char *) * (envblockcnt + 1));
! char *tptr, *wpath;
int envblocknlen = 0, envblockarglen = 0;
envblockn = envblock;
--- 656,660 ----
#endif
char **envblockarg = (char **)malloc(sizeof (char *) * (envblockcnt + 1));
! char *tptr;
int envblocknlen = 0, envblockarglen = 0;
envblockn = envblock;
***************
*** 664,671 ****
{
envblocknlen = strlen(envblockn);
! envblockarg[loop] = (char *) malloc(envblocknlen + MAX_PATH);
! memset (envblockarg[loop], 0, envblocknlen + MAX_PATH);
! wpath = (char *)malloc (envblocknlen + MAX_PATH);
! memset (wpath, 0, envblocknlen + MAX_PATH);
if ((tptr = strchr(envblockn, '=')))
--- 662,667 ----
{
envblocknlen = strlen(envblockn);
! envblockarg[loop] = (char *) malloc(envblocknlen + MAX_PATH + 1);
! memset (envblockarg[loop], 0, envblocknlen + MAX_PATH + 1);
if ((tptr = strchr(envblockn, '=')))
***************
*** 673,678 ****
tptr++;
strncpy (envblockarg[loop], envblockn, tptr - envblockn);
! cygwin_conv_to_win32_path (tptr, wpath);
strcat(envblockarg[loop], wpath);
}
--- 669,676 ----
tptr++;
strncpy (envblockarg[loop], envblockn, tptr - envblockn);
! char *wpath = msys_p2w(tptr);
! debug_printf("wpath=%s", wpath);
strcat(envblockarg[loop], wpath);
+ free (wpath);
}
***************
*** 680,686 ****
envblockarglen += strlen(envblockarg[loop]) + 1;
envblockn = envblockn + envblocknlen + 1;
- if (wpath)
- free (wpath);
} // END FOR (int loop=0;loop < envblockcnt;loop++)
if (envblock)
--- 678,683 ----
envblockarglen += strlen(envblockarg[loop]) + 1;
envblockn = envblockn + envblocknlen + 1;
} // END FOR (int loop=0;loop < envblockcnt;loop++)
+ envblockarg[envblockcnt] = '\0';
if (envblock)
|