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
(3) |
|
2
|
3
|
4
(9) |
5
|
6
|
7
|
8
|
|
9
(1) |
10
(3) |
11
|
12
(4) |
13
(2) |
14
|
15
|
|
16
(2) |
17
(5) |
18
|
19
(5) |
20
|
21
|
22
(25) |
|
23
|
24
|
25
|
26
(1) |
27
|
28
(3) |
29
|
|
30
|
|
|
|
|
|
|
|
From: Earnie B. <ea...@us...> - 2001-09-28 23:31:48
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/cygwin
In directory usw-pr-cvs1:/tmp/cvs-serv6308/winsup/cygwin/include/cygwin
Modified Files:
version.h
Log Message:
2001.09.28 Earnie Boyd <ea...@SF...>
* ltcf-c.sh: Add msys filters and definitions.
* ltcf-cxx.sh: Ditto.
* ltcf-gcj.sh: Ditto.
* ltconfig: Ditto.
* ltmain.sh: Ditto.
* cygwin.din (msys_dll_init): Renamed cygwin_dll_init.
(dll_nonmsys_dllcrt0): Rename dll_noncygwin_dllcrt0.
(msys_detach_dll): Rename cygwin_detach_dll.
(cygwin_dll_init): Removed.
(dll_noncygwin_dllcrt0): Ditto.
(cygwin_detach_dll): Ditto.
* dcrt0.cc (msys_dll_init): Renamed cygwin_dll_init.
(cygwin_dll_init): Removed.
* dll_init.cc (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
(dll_noncygwin_dllcrt0): Removed.
(msys_detach_dll): Renamed cygwin_detach_dll.
(cygwin_detach_dll): Removed.
* winsup.h (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
(dll_noncygwin_dllcrt0): Removed.
* include/cygwin/version.h: Adjusted comment for dll_nonmsys_dllcrt0.
Index: version.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/cygwin/version.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** version.h 2001/08/07 17:51:16 1.1.1.1
--- version.h 2001/09/28 23:31:45 1.2
***************
*** 90,94 ****
1: Export cygwin32_ calls as cygwin_ as well.
2: Export j1, jn, y1, yn.
! 3: Export dll_noncygwin_dllcrt0.
4: New socket ioctls, revamped ifconf support.
5: Thread support/exports.
--- 90,94 ----
1: Export cygwin32_ calls as cygwin_ as well.
2: Export j1, jn, y1, yn.
! 3: Export dll_nonmsys_dllcrt0.
4: New socket ioctls, revamped ifconf support.
5: Thread support/exports.
|
|
From: Earnie B. <ea...@us...> - 2001-09-28 23:31:48
|
Update of /cvsroot/mingw/msys/rt/src
In directory usw-pr-cvs1:/tmp/cvs-serv6308
Modified Files:
ChangeLog ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh ltconfig ltmain.sh
Log Message:
2001.09.28 Earnie Boyd <ea...@SF...>
* ltcf-c.sh: Add msys filters and definitions.
* ltcf-cxx.sh: Ditto.
* ltcf-gcj.sh: Ditto.
* ltconfig: Ditto.
* ltmain.sh: Ditto.
* cygwin.din (msys_dll_init): Renamed cygwin_dll_init.
(dll_nonmsys_dllcrt0): Rename dll_noncygwin_dllcrt0.
(msys_detach_dll): Rename cygwin_detach_dll.
(cygwin_dll_init): Removed.
(dll_noncygwin_dllcrt0): Ditto.
(cygwin_detach_dll): Ditto.
* dcrt0.cc (msys_dll_init): Renamed cygwin_dll_init.
(cygwin_dll_init): Removed.
* dll_init.cc (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
(dll_noncygwin_dllcrt0): Removed.
(msys_detach_dll): Renamed cygwin_detach_dll.
(cygwin_detach_dll): Removed.
* winsup.h (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
(dll_noncygwin_dllcrt0): Removed.
* include/cygwin/version.h: Adjusted comment for dll_nonmsys_dllcrt0.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ChangeLog 2001/09/22 17:43:43 1.2
--- ChangeLog 2001/09/28 23:31:45 1.3
***************
*** 1,2 ****
--- 1,10 ----
+ 2001.09.28 Earnie Boyd <ea...@SF...>
+
+ * ltcf-c.sh: Add msys filters and definitions.
+ * ltcf-cxx.sh: Ditto.
+ * ltcf-gcj.sh: Ditto.
+ * ltconfig: Ditto.
+ * ltmain.sh: Ditto.
+
2001.09.21 Earnie Boyd <ea...@SF...>
Index: ltcf-c.sh
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/ltcf-c.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ltcf-c.sh 2001/08/07 17:49:13 1.1.1.1
--- ltcf-c.sh 2001/09/28 23:31:45 1.2
***************
*** 40,44 ****
## Linker Characteristics
case $host_os in
! cygwin* | mingw*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
--- 40,44 ----
## Linker Characteristics
case $host_os in
! cygwin* | mingw* | msys*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
***************
*** 97,101 ****
;;
! cygwin* | mingw*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
--- 97,101 ----
;;
! cygwin* | mingw* | msys*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
***************
*** 113,121 ****
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
! # cygwin and mingw dlls have different entry points and sets of symbols
! # to exclude.
# FIXME: what about values for MSVC?
! dll_entry=__cygwin_dll_entry@12
! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
case $host_os in
mingw*)
--- 113,121 ----
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
! # cygwin, msys and mingw dlls have different entry points and sets of
! # symbols to exclude.
# FIXME: what about values for MSVC?
! dll_entry=__msys_dll_entry@12
! dll_exclude_symbols=DllMain@12,_msys_dll_entry@12,_msys_nonmsys_dll_entry@12~
case $host_os in
mingw*)
***************
*** 126,134 ****
esac
! # mingw and cygwin differ, and it's simplest to just exclude the union
# of the two symbol sets.
! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
! # recent cygwin and mingw systems supply a stub DllMain which the user
# can override, but on older systems we have to supply one (in ltdll.c)
if test "x$lt_cv_need_dllmain" = "xyes"; then
--- 126,134 ----
esac
! # mingw and msys differ, and it's simplest to just exclude the union
# of the two symbol sets.
! dll_exclude_symbols=DllMain@12,_msys_dll_entry@12,_msys_nonmsys_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
! # recent msys and mingw systems supply a stub DllMain which the user
# can override, but on older systems we have to supply one (in ltdll.c)
if test "x$lt_cv_need_dllmain" = "xyes"; then
***************
*** 237,241 ****
export_dynamic_flag_spec='${wl}--export-dynamic'
case $host_os in
! cygwin* | mingw*)
# dlltool doesn't understand --whole-archive et. al.
whole_archive_flag_spec=
--- 237,241 ----
export_dynamic_flag_spec='${wl}--export-dynamic'
case $host_os in
! cygwin* | mingw* | msys*)
# dlltool doesn't understand --whole-archive et. al.
whole_archive_flag_spec=
***************
*** 362,366 ****
;;
! cygwin* | mingw*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
--- 362,366 ----
;;
! cygwin* | mingw* | msys*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
***************
*** 648,652 ****
# PIC is the default for these OSes.
;;
! cygwin* | mingw* | os2*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
--- 648,652 ----
# PIC is the default for these OSes.
;;
! cygwin* | mingw* | os2* | msys*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
***************
*** 692,696 ****
;;
! cygwin* | mingw* | os2*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
--- 692,696 ----
;;
! cygwin* | mingw* | os2* | msys*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
Index: ltcf-cxx.sh
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/ltcf-cxx.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ltcf-cxx.sh 2001/08/07 17:49:13 1.1.1.1
--- ltcf-cxx.sh 2001/09/28 23:31:45 1.2
***************
*** 683,687 ****
# PIC is the default for these OSes.
;;
! cygwin* | mingw* | os2*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
--- 683,687 ----
# PIC is the default for these OSes.
;;
! cygwin* | mingw* | os2* | msys*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
Index: ltcf-gcj.sh
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/ltcf-gcj.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ltcf-gcj.sh 2001/08/07 17:49:14 1.1.1.1
--- ltcf-gcj.sh 2001/09/28 23:31:45 1.2
***************
*** 43,47 ****
## Linker Characteristics
case $host_os in
! cygwin* | mingw*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
--- 43,47 ----
## Linker Characteristics
case $host_os in
! cygwin* | mingw* | msys*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
***************
*** 100,104 ****
;;
! cygwin* | mingw*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
--- 100,104 ----
;;
! cygwin* | mingw* | msys*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
***************
*** 116,124 ****
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
! # cygwin and mingw dlls have different entry points and sets of symbols
# to exclude.
# FIXME: what about values for MSVC?
! dll_entry=__cygwin_dll_entry@12
! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
case $host_os in
mingw*)
--- 116,124 ----
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
! # msys and mingw dlls have different entry points and sets of symbols
# to exclude.
# FIXME: what about values for MSVC?
! dll_entry=__msys_dll_entry@12
! dll_exclude_symbols=DllMain@12,_msys_dll_entry@12,_msys_nonmsys_dll_entry@12~
case $host_os in
mingw*)
***************
*** 129,137 ****
esac
! # mingw and cygwin differ, and it's simplest to just exclude the union
# of the two symbol sets.
! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
! # recent cygwin and mingw systems supply a stub DllMain which the user
# can override, but on older systems we have to supply one (in ltdll.c)
if test "x$lt_cv_need_dllmain" = "xyes"; then
--- 129,137 ----
esac
! # mingw and msys differ, and it's simplest to just exclude the union
# of the two symbol sets.
! dll_exclude_symbols=DllMain@12,_msys_dll_entry@12,_msys_nonmsys_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
! # recent msys and mingw systems supply a stub DllMain which the user
# can override, but on older systems we have to supply one (in ltdll.c)
if test "x$lt_cv_need_dllmain" = "xyes"; then
***************
*** 230,234 ****
export_dynamic_flag_spec='${wl}--export-dynamic'
case $host_os in
! cygwin* | mingw*)
# dlltool doesn't understand --whole-archive et. al.
whole_archive_flag_spec=
--- 230,234 ----
export_dynamic_flag_spec='${wl}--export-dynamic'
case $host_os in
! msys* | mingw*)
# dlltool doesn't understand --whole-archive et. al.
whole_archive_flag_spec=
***************
*** 355,359 ****
;;
! cygwin* | mingw*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
--- 355,359 ----
;;
! cygwin* | mingw* | msys*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
***************
*** 618,622 ****
ac_cv_prog_cc_pic=
;;
! cygwin* | mingw* | os2*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
--- 618,622 ----
ac_cv_prog_cc_pic=
;;
! cygwin* | mingw* | os2* | msys*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
Index: ltconfig
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/ltconfig,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ltconfig 2001/09/22 17:43:43 1.2
--- ltconfig 2001/09/28 23:31:45 1.3
***************
*** 1068,1072 ****
;;
! cygwin* | mingw* | pw32*)
version_type=windows
need_version=no
--- 1068,1072 ----
;;
! cygwin* | mingw* | pw32* | msys*)
version_type=windows
need_version=no
***************
*** 1074,1077 ****
--- 1074,1078 ----
case $with_gcc,$host_os in
yes,cygwin*)
+ yes,msys*)
library_names_spec='$libname.dll.a'
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
***************
*** 1378,1382 ****
symcode='[BCDT]'
;;
! cygwin* | mingw* | pw32*)
symcode='[ABCDGISTW]'
;;
--- 1379,1383 ----
symcode='[BCDT]'
;;
! cygwin* | mingw* | pw32* | msys*)
symcode='[ABCDGISTW]'
;;
***************
*** 1530,1534 ****
# configure.in, otherwise build static only libraries.
case $host_os in
! cygwin* | mingw* | pw32* | os2*)
if test x$can_build_shared = xyes; then
test x$enable_win32_dll = xno && can_build_shared=no
--- 1531,1535 ----
# configure.in, otherwise build static only libraries.
case $host_os in
! cygwin* | mingw* | pw32* | os2* | msys*)
if test x$can_build_shared = xyes; then
test x$enable_win32_dll = xno && can_build_shared=no
***************
*** 2276,2286 ****
MAGIC_CMD=$MAGIC_CMD
! # Used on cygwin: DLL creation program.
DLLTOOL="$DLLTOOL"
! # Used on cygwin: object dumper.
OBJDUMP="$OBJDUMP"
! # Used on cygwin: assembler.
AS="$AS"
--- 2277,2287 ----
MAGIC_CMD=$MAGIC_CMD
! # Used on msys: DLL creation program.
DLLTOOL="$DLLTOOL"
! # Used on msys: object dumper.
OBJDUMP="$OBJDUMP"
! # Used on msys: assembler.
AS="$AS"
***************
*** 2518,2522 ****
esac
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
cat <<'EOF' >> "$ofile"
# This is a source program that is used to create dlls on Windows
--- 2519,2523 ----
esac
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-msys*)
cat <<'EOF' >> "$ofile"
# This is a source program that is used to create dlls on Windows
Index: ltmain.sh
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/ltmain.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ltmain.sh 2001/08/07 17:49:15 1.1.1.1
--- ltmain.sh 2001/09/28 23:31:45 1.2
***************
*** 560,564 ****
# On Cygwin there's no "real" PIC flag so we must build both object types
case $host_os in
! cygwin* | mingw* | pw32* | os2*)
pic_mode=default
;;
--- 560,564 ----
# On Cygwin there's no "real" PIC flag so we must build both object types
case $host_os in
! cygwin* | mingw* | pw32* | os2* | msys*)
pic_mode=default
;;
***************
*** 793,797 ****
modename="$modename: link"
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
# It is impossible to link a dll without this setting, and
# we shouldn't force the makefile maintainer to figure out
--- 793,797 ----
modename="$modename: link"
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-msys*)
# It is impossible to link a dll without this setting, and
# we shouldn't force the makefile maintainer to figure out
***************
*** 1202,1206 ****
esac
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
case :$dllsearchpath: in
*":$dir:"*) ;;
--- 1202,1206 ----
esac
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-msys*)
case :$dllsearchpath: in
*":$dir:"*) ;;
***************
*** 1215,1219 ****
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
case $host in
! *-*-cygwin* | *-*-pw32* | *-*-beos*)
# These systems don't actually have a C or math library (as such)
continue
--- 1215,1219 ----
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
case $host in
! *-*-cygwin* | *-*-pw32* | *-*-beos* | *-*-msys*)
# These systems don't actually have a C or math library (as such)
continue
***************
*** 1241,1245 ****
-no-install)
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
# The PATH hackery in wrapper scripts is required on Windows
# in order for the loader to find any dlls it needs.
--- 1241,1245 ----
-no-install)
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-msys*)
# The PATH hackery in wrapper scripts is required on Windows
# in order for the loader to find any dlls it needs.
***************
*** 2061,2065 ****
# bleh windows
case $host in
! *cygwin*)
major=`expr $current - $age`
versuffix="-$major"
--- 2061,2065 ----
# bleh windows
case $host in
! *cygwin* | *msys*)
major=`expr $current - $age`
versuffix="-$major"
***************
*** 2745,2749 ****
if test -n "$rpath"; then
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
# these systems don't actually have a c library (as such)!
;;
--- 2745,2749 ----
if test -n "$rpath"; then
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-*-msys*)
# these systems don't actually have a c library (as such)!
;;
***************
*** 3507,3511 ****
prog)
case $host in
! *cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
esac
if test -n "$vinfo"; then
--- 3507,3511 ----
prog)
case $host in
! *cygwin* | *msys*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
esac
if test -n "$vinfo"; then
***************
*** 3575,3579 ****
fi
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
case :$dllsearchpath: in
*":$libdir:"*) ;;
--- 3575,3579 ----
fi
case $host in
! *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-msys*)
case :$dllsearchpath: in
*":$libdir:"*) ;;
***************
*** 3960,3966 ****
*.exe) output=`echo $output|sed 's,.exe$,,'` ;;
esac
! # test for cygwin because mv fails w/o .exe extensions
case $host in
! *cygwin*) exeext=.exe ;;
*) exeext= ;;
esac
--- 3960,3966 ----
*.exe) output=`echo $output|sed 's,.exe$,,'` ;;
esac
! # test for cygwin or msys because mv fails w/o .exe extensions
case $host in
! *cygwin* | *msys*) exeext=.exe ;;
*) exeext= ;;
esac
***************
*** 4115,4119 ****
# win32 systems need to use the prog path for dll
# lookup to work
! *-*-cygwin* | *-*-pw32*)
$echo >> $output "\
exec \$progdir/\$program \${1+\"\$@\"}
--- 4115,4119 ----
# win32 systems need to use the prog path for dll
# lookup to work
! *-*-cygwin* | *-*-pw32* | *-*-msys*)
$echo >> $output "\
exec \$progdir/\$program \${1+\"\$@\"}
***************
*** 4352,4359 ****
fi
$rm $output
! # place dlname in correct position for cygwin
tdlname=$dlname
case $host,$output,$installed,$module,$dlname in
*cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
esac
$echo > $output "\
--- 4352,4360 ----
fi
$rm $output
! # place dlname in correct position for cygwin or msys
tdlname=$dlname
case $host,$output,$installed,$module,$dlname in
*cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+ *msys*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
esac
$echo > $output "\
***************
*** 4794,4797 ****
--- 4795,4799 ----
case $install_prog,$host in
*/usr/bin/install*,*cygwin*)
+ */usr/bin/install*,*msys*)
case $file:$destfile in
*.exe:*.exe)
|
|
From: Earnie B. <ea...@us...> - 2001-09-28 23:31:48
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory usw-pr-cvs1:/tmp/cvs-serv6308/winsup/cygwin
Modified Files:
ChangeLog cygwin.din dcrt0.cc dll_init.cc winsup.h
Log Message:
2001.09.28 Earnie Boyd <ea...@SF...>
* ltcf-c.sh: Add msys filters and definitions.
* ltcf-cxx.sh: Ditto.
* ltcf-gcj.sh: Ditto.
* ltconfig: Ditto.
* ltmain.sh: Ditto.
* cygwin.din (msys_dll_init): Renamed cygwin_dll_init.
(dll_nonmsys_dllcrt0): Rename dll_noncygwin_dllcrt0.
(msys_detach_dll): Rename cygwin_detach_dll.
(cygwin_dll_init): Removed.
(dll_noncygwin_dllcrt0): Ditto.
(cygwin_detach_dll): Ditto.
* dcrt0.cc (msys_dll_init): Renamed cygwin_dll_init.
(cygwin_dll_init): Removed.
* dll_init.cc (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
(dll_noncygwin_dllcrt0): Removed.
(msys_detach_dll): Renamed cygwin_detach_dll.
(cygwin_detach_dll): Removed.
* winsup.h (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
(dll_noncygwin_dllcrt0): Removed.
* include/cygwin/version.h: Adjusted comment for dll_nonmsys_dllcrt0.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ChangeLog 2001/09/26 23:03:09 1.3
--- ChangeLog 2001/09/28 23:31:45 1.4
***************
*** 1,2 ****
--- 1,20 ----
+ 2001-09-28 Earnie Boyd <ea...@SF...>
+
+ * cygwin.din (msys_dll_init): Renamed cygwin_dll_init.
+ (dll_nonmsys_dllcrt0): Rename dll_noncygwin_dllcrt0.
+ (msys_detach_dll): Rename cygwin_detach_dll.
+ (cygwin_dll_init): Removed.
+ (dll_noncygwin_dllcrt0): Ditto.
+ (cygwin_detach_dll): Ditto.
+ * dcrt0.cc (msys_dll_init): Renamed cygwin_dll_init.
+ (cygwin_dll_init): Removed.
+ * dll_init.cc (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
+ (dll_noncygwin_dllcrt0): Removed.
+ (msys_detach_dll): Renamed cygwin_detach_dll.
+ (cygwin_detach_dll): Removed.
+ * winsup.h (dll_nonmsys_dllcrt0): Renamed dll_noncygwin_dllcrt0.
+ (dll_noncygwin_dllcrt0): Removed.
+ * include/cygwin/version.h: Adjusted comment for dll_nonmsys_dllcrt0.
+
2001-09-26 Earnie Boyd <ea...@SF...>
Index: cygwin.din
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/cygwin.din,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cygwin.din 2001/08/07 17:51:07 1.1.1.1
--- cygwin.din 2001/09/28 23:31:45 1.2
***************
*** 132,140 ****
_dll_crt0@0
dll_crt0__FP11per_process
! cygwin_dll_init
dll_dllcrt0
! dll_noncygwin_dllcrt0
! cygwin_detach_dll
! cygwin32_detach_dll = cygwin_detach_dll
@DEF_DLL_ENTRY@
drem
--- 132,139 ----
_dll_crt0@0
dll_crt0__FP11per_process
! msys_dll_init
dll_dllcrt0
! dll_nonmsys_dllcrt0
! msys_detach_dll
@DEF_DLL_ENTRY@
drem
Index: dcrt0.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/dcrt0.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** dcrt0.cc 2001/09/22 17:43:44 1.2
--- dcrt0.cc 2001/09/28 23:31:45 1.3
***************
*** 848,852 ****
/* Flush signals and ensure that signal thread is up and running. Can't
! do this for noncygwin case since the signal thread is blocked due to
LoadLibrary serialization. */
sig_send (NULL, __SIGFLUSH);
--- 848,852 ----
/* Flush signals and ensure that signal thread is up and running. Can't
! do this for nonmsys case since the signal thread is blocked due to
LoadLibrary serialization. */
sig_send (NULL, __SIGFLUSH);
***************
*** 942,946 ****
/* This must be called by anyone who uses LoadLibrary to load msys-1.0.dll */
extern "C" void
! cygwin_dll_init ()
{
static char **envp;
--- 942,946 ----
/* This must be called by anyone who uses LoadLibrary to load msys-1.0.dll */
extern "C" void
! msys_dll_init ()
{
static char **envp;
Index: dll_init.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/dll_init.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** dll_init.cc 2001/08/07 17:51:07 1.1.1.1
--- dll_init.cc 2001/09/28 23:31:45 1.2
***************
*** 369,377 ****
/* OBSOLETE: This function is obsolescent and will go away in the
! future. Cygwin can now handle being loaded from a noncygwin app
using the same entry point. */
extern "C" int
! dll_noncygwin_dllcrt0 (HMODULE h, per_process *p)
{
return dll_dllcrt0 (h, p);
--- 369,377 ----
/* OBSOLETE: This function is obsolescent and will go away in the
! future. Cygwin can now handle being loaded from a nonmsys app
using the same entry point. */
extern "C" int
! dll_nonmsys_dllcrt0 (HMODULE h, per_process *p)
{
return dll_dllcrt0 (h, p);
***************
*** 379,383 ****
extern "C" void
! cygwin_detach_dll (dll *d)
{
dlls.detach (d);
--- 379,383 ----
extern "C" void
! msys_detach_dll (dll *d)
{
dlls.detach (d);
Index: winsup.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/winsup.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** winsup.h 2001/09/22 17:43:44 1.2
--- winsup.h 2001/09/28 23:31:45 1.3
***************
*** 140,144 ****
/* dynamically loaded dll initialization for non-cygwin apps */
! extern "C" int dll_noncygwin_dllcrt0 (HMODULE, per_process *);
/* exit the program */
--- 140,144 ----
/* dynamically loaded dll initialization for non-cygwin apps */
! extern "C" int dll_nonmsys_dllcrt0 (HMODULE, per_process *);
/* exit the program */
|
|
From: Earnie B. <ea...@us...> - 2001-09-26 23:03:12
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory usw-pr-cvs1:/tmp/cvs-serv856
Modified Files:
ChangeLog path.cc
Log Message:
2001-09-26 Earnie Boyd <ea...@SF...>
* path.cc (fchdir): Apply Corinna's 8/3/2001 patch.
Set the fhandler's path to absolute value to ensure changing to the
correct directory even if the fhandler originally points to a
relative path.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ChangeLog 2001/09/22 17:43:44 1.2
--- ChangeLog 2001/09/26 23:03:09 1.3
***************
*** 1,2 ****
--- 1,8 ----
+ 2001-09-26 Earnie Boyd <ea...@SF...>
+
+ * path.cc (fchdir): Apply Corinna's 8/3/2001 patch.
+ Set the fhandler's path to absolute value to ensure changing to the
+ correct directory even if the fhandler originally points to a
+ relative path.
2001-09-21 Earnie Boyd <ea...@SF...>
Index: path.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/path.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** path.cc 2001/08/07 17:51:13 1.1.1.1
--- path.cc 2001/09/26 23:03:09 1.2
***************
*** 3155,3158 ****
--- 3155,3177 ----
}
int ret = chdir (cygheap->fdtab[fd]->get_name ());
+ if (!ret)
+ {
+ /* The name in the fhandler is explicitely overwritten with the full path.
+ Otherwise fchmod() to a path originally given as a relative path could
+ end up in a completely different directory. Imagine:
+
+ fd = open ("..");
+ fchmod(fd);
+ fchmod(fd);
+
+ The 2nd fchmod should chdir to the same dir as the first call, not
+ to it's parent dir. */
+ char path[MAX_PATH];
+ char posix_path[MAX_PATH];
+ mount_table->conv_to_posix_path (cygheap->cwd.get (path, 0, 1),
+ posix_path, 0);
+ cygheap->fdtab[fd]->set_name (path, posix_path);
+ }
+
syscall_printf ("%d = fchdir (%d)", ret, fd);
return ret;
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/testsuite/libltp/lib
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/testsuite/libltp/lib
Modified Files:
parse_opts.c str_to_bytes.c tst_sig.c write_log.c
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: parse_opts.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/libltp/lib/parse_opts.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** parse_opts.c 2001/08/07 17:51:21 1.1.1.1
--- parse_opts.c 2001/09/22 17:43:45 1.2
***************
*** 78,82 ****
#include <sys/time.h>
! #ifdef __CYGWIN__
#include <getopt.h>
#endif
--- 78,82 ----
#include <sys/time.h>
! #if defined (__CYGWIN__) || defined (__MSYS__)
#include <getopt.h>
#endif
Index: str_to_bytes.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/libltp/lib/str_to_bytes.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** str_to_bytes.c 2001/08/07 17:51:21 1.1.1.1
--- str_to_bytes.c 2001/09/22 17:43:45 1.2
***************
*** 64,68 ****
#elif linux
#define B_MULT DEV_BSIZE /* block size */
! #elif __CYGWIN__
#include <sys/stat.h>
#define B_MULT S_BLKSIZE /* block size */
--- 64,68 ----
#elif linux
#define B_MULT DEV_BSIZE /* block size */
! #elif __CYGWIN__ || __MSYS__
#include <sys/stat.h>
#define B_MULT S_BLKSIZE /* block size */
Index: tst_sig.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/libltp/lib/tst_sig.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** tst_sig.c 2001/08/07 17:51:21 1.1.1.1
--- tst_sig.c 2001/09/22 17:43:45 1.2
***************
*** 151,155 ****
case SIGPTRESCHED:
#endif /* SIGPTRESCHED */
! #ifdef __CYGWIN__
case SIGSEGV:
case SIGILL:
--- 151,155 ----
case SIGPTRESCHED:
#endif /* SIGPTRESCHED */
! #if defined (__CYGWIN__) || defined (__MSYS__)
case SIGSEGV:
case SIGILL:
Index: write_log.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/libltp/lib/write_log.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** write_log.c 2001/08/07 17:51:21 1.1.1.1
--- write_log.c 2001/09/22 17:43:45 1.2
***************
*** 78,82 ****
#define BSIZE DEV_BSIZE
#else
! #ifdef __CYGWIN__
#define BSIZE S_BLKSIZE
#else
--- 78,82 ----
#define BSIZE DEV_BSIZE
#else
! #if defined (__CYGWIN__) || defined (__MSYS__)
#define BSIZE S_BLKSIZE
#else
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/cygwin/include
Modified Files:
getopt.h glob.h sched.h semaphore.h
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: getopt.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/getopt.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** getopt.h 2001/08/07 17:51:15 1.1.1.1
--- getopt.h 2001/09/22 17:43:44 1.2
***************
*** 54,58 ****
int getopt (int, char * const *, const char *);
! int getopt_long (int, char **, char *, struct option *, int *);
#define no_argument 0
--- 54,58 ----
int getopt (int, char * const *, const char *);
! int getopt_long (int, char * const *, const char *, const struct option *, int *);
#define no_argument 0
Index: glob.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/glob.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** glob.h 2001/08/07 17:51:15 1.1.1.1
--- glob.h 2001/09/22 17:43:44 1.2
***************
*** 97,101 ****
#undef DLLEXPORT
! #ifdef __INSIDE_CYGWIN__
# define DLLEXPORT
#else
--- 97,101 ----
#undef DLLEXPORT
! #if defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)
# define DLLEXPORT
#else
Index: sched.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/sched.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** sched.h 2001/08/07 17:51:15 1.1.1.1
--- sched.h 2001/09/22 17:43:44 1.2
***************
*** 48,52 ****
int sched_yield (void);
! #if defined(__INSIDE_CYGWIN__)
/* These are private helper functions used to calculate scheduler settings and
* validate parameters */
--- 48,52 ----
int sched_yield (void);
! #if defined(__INSIDE_CYGWIN__) || defined(__INSIDE_MSYS__)
/* These are private helper functions used to calculate scheduler settings and
* validate parameters */
***************
*** 57,61 ****
int sched_set_thread_priority(HANDLE thread, int priority);
! #endif /* INSIDE_CYGWIN */
#ifdef __cplusplus
--- 57,61 ----
int sched_set_thread_priority(HANDLE thread, int priority);
! #endif /* __INSIDE_CYGWIN__ || __INSIDE_MSYS__*/
#ifdef __cplusplus
Index: semaphore.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/semaphore.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** semaphore.h 2001/08/07 17:51:15 1.1.1.1
--- semaphore.h 2001/09/22 17:43:44 1.2
***************
*** 21,25 ****
#endif
! #ifndef __INSIDE_CYGWIN__
typedef void *sem_t;
#endif
--- 21,25 ----
#endif
! #if !(defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__))
typedef void *sem_t;
#endif
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/cygwin
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/cygwin/include/cygwin
Modified Files:
cygwin_dll.h types.h
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: cygwin_dll.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/cygwin/cygwin_dll.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cygwin_dll.h 2001/08/07 17:51:16 1.1.1.1
--- cygwin_dll.h 2001/09/22 17:43:44 1.2
***************
*** 27,32 ****
int WINAPI Entry (HINSTANCE h, DWORD reason, void *ptr); \
typedef int (*mainfunc) (int, char **, char **); \
! extern int cygwin_attach_dll (HMODULE, mainfunc); \
! extern void cygwin_detach_dll (DWORD); \
CDECL_END \
\
--- 27,32 ----
int WINAPI Entry (HINSTANCE h, DWORD reason, void *ptr); \
typedef int (*mainfunc) (int, char **, char **); \
! extern int msys_attach_dll (HMODULE, mainfunc); \
! extern void msys_detach_dll (DWORD); \
CDECL_END \
\
***************
*** 42,46 ****
static DWORD dll_index; \
\
! int WINAPI _cygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr) \
{ \
int ret; \
--- 42,46 ----
static DWORD dll_index; \
\
! int WINAPI _msys_dll_entry (HINSTANCE h, DWORD reason, void *ptr) \
{ \
int ret; \
***************
*** 54,58 ****
storedReason = reason; \
storedPtr = ptr; \
! dll_index = cygwin_attach_dll (h, &__dllMain); \
if (dll_index == (DWORD) -1) \
ret = 0; \
--- 54,58 ----
storedReason = reason; \
storedPtr = ptr; \
! dll_index = msys_attach_dll (h, &__dllMain); \
if (dll_index == (DWORD) -1) \
ret = 0; \
***************
*** 65,69 ****
if (ret) \
{ \
! cygwin_detach_dll (dll_index); \
dll_index = (DWORD) -1; \
} \
--- 65,69 ----
if (ret) \
{ \
! msys_detach_dll (dll_index); \
dll_index = (DWORD) -1; \
} \
***************
*** 87,93 ****
\
/* OBSOLETE: This is only provided for source level compatibility. */ \
! int WINAPI _cygwin_noncygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr) \
{ \
! return _cygwin_dll_entry (h, reason, ptr); \
} \
--- 87,93 ----
\
/* OBSOLETE: This is only provided for source level compatibility. */ \
! int WINAPI _msys_nonmsys_dll_entry (HINSTANCE h, DWORD reason, void *ptr) \
{ \
! return _msys_dll_entry (h, reason, ptr); \
} \
Index: types.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/cygwin/types.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** types.h 2001/08/07 17:51:16 1.1.1.1
--- types.h 2001/09/22 17:43:44 1.2
***************
*** 18,22 ****
#define _CYGWIN_TYPES_H
! #if !defined(__INSIDE_CYGWIN__) || !defined(__cplusplus)
typedef void *pthread_t;
--- 18,22 ----
#define _CYGWIN_TYPES_H
! #if !(defined(__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)) || !defined(__cplusplus)
typedef void *pthread_t;
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/testsuite/winsup.api/ltp
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/testsuite/winsup.api/ltp
Modified Files:
link04.c select01.c unlink07.c
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: link04.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/winsup.api/ltp/link04.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** link04.c 2001/08/07 17:51:23 1.1.1.1
--- link04.c 2001/09/22 17:43:45 1.2
***************
*** 164,168 ****
ENOENT, no_setup, no_setup },
! #ifndef __CYGWIN__
{ "regfile/file", "path contains a regular file", "nefile", "nefile",
ENOTDIR, filepath_setup, no_setup },
--- 164,168 ----
ENOENT, no_setup, no_setup },
! #if !(defined (__CYGWIN__) || defined (__MSYS__))
{ "regfile/file", "path contains a regular file", "nefile", "nefile",
ENOTDIR, filepath_setup, no_setup },
Index: select01.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/winsup.api/ltp/select01.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** select01.c 2001/08/07 17:51:23 1.1.1.1
--- select01.c 2001/09/22 17:43:45 1.2
***************
*** 118,122 ****
#include <sys/time.h>
! #ifdef __CYGWIN__
/*
FIXME: workaround for bug in newlib -- FD_ZERO is defined via bzero and
--- 118,122 ----
#include <sys/time.h>
! #if defined (__CYGWIN__) || defined (__MSYS__)
/*
FIXME: workaround for bug in newlib -- FD_ZERO is defined via bzero and
Index: unlink07.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/winsup.api/ltp/unlink07.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** unlink07.c 2001/08/07 17:51:24 1.1.1.1
--- unlink07.c 2001/09/22 17:43:45 1.2
***************
*** 150,154 ****
ENOENT, no_setup },
{ High_address, "address beyond address space", EFAULT, no_setup },
! #ifndef __CYGWIN__
{ "file/file", "path contains a regular file",
ENOTDIR, filepath_setup },
--- 150,154 ----
ENOENT, no_setup },
{ High_address, "address beyond address space", EFAULT, no_setup },
! #if !(defined (__CYGWIN__) || defined (__MSYS__))
{ "file/file", "path contains a regular file",
ENOTDIR, filepath_setup },
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/lib
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/cygwin/lib
Modified Files:
_cygwin_crt0_common.cc crt0.h cygwin_attach_dll.c
cygwin_crt0.c dll_entry.c getopt.c
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: _cygwin_crt0_common.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/lib/_cygwin_crt0_common.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** _cygwin_crt0_common.cc 2001/08/07 17:51:16 1.1.1.1
--- _cygwin_crt0_common.cc 2001/09/22 17:43:45 1.2
***************
*** 21,27 ****
{
char **environ;
! void cygwin_crt0 (MainFunc);
! int cygwin_attach_dll (HMODULE, MainFunc);
! int cygwin_attach_noncygwin_dll (HMODULE, MainFunc);
int main (int, char **, char **);
struct _reent *_impure_ptr;
--- 21,27 ----
{
char **environ;
! void msys_crt0 (MainFunc);
! int msys_attach_dll (HMODULE, MainFunc);
! int msys_attach_nonmsys_dll (HMODULE, MainFunc);
int main (int, char **, char **);
struct _reent *_impure_ptr;
***************
*** 32,36 ****
int __stdcall
! _cygwin_crt0_common (MainFunc f, per_process *u)
{
/* This is used to record what the initial sp was. The value is needed
--- 32,36 ----
int __stdcall
! _msys_crt0_common (MainFunc f, per_process *u)
{
/* This is used to record what the initial sp was. The value is needed
Index: crt0.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/lib/crt0.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** crt0.h 2001/08/07 17:51:16 1.1.1.1
--- crt0.h 2001/09/22 17:43:45 1.2
***************
*** 15,19 ****
struct per_process;
typedef int (*MainFunc) (int argc, char *argv[], char **env);
! int __stdcall _cygwin_crt0_common (MainFunc, struct per_process *);
int dll_dllcrt0 (HMODULE, struct per_process *);
--- 15,19 ----
struct per_process;
typedef int (*MainFunc) (int argc, char *argv[], char **env);
! int __stdcall _msys_crt0_common (MainFunc, struct per_process *);
int dll_dllcrt0 (HMODULE, struct per_process *);
Index: cygwin_attach_dll.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/lib/cygwin_attach_dll.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cygwin_attach_dll.c 2001/08/07 17:51:16 1.1.1.1
--- cygwin_attach_dll.c 2001/09/22 17:43:45 1.2
***************
*** 10,13 ****
--- 10,14 ----
#undef __INSIDE_CYGWIN__
+ #undef __INSIDE_MSYS__
#include <windows.h>
#include <sys/cygwin.h>
***************
*** 16,23 ****
/* for a loaded dll */
int
! cygwin_attach_dll (HMODULE h, MainFunc f)
{
static struct per_process u;
! (void) _cygwin_crt0_common (f, &u);
/* jump into the dll. */
--- 17,24 ----
/* for a loaded dll */
int
! msys_attach_dll (HMODULE h, MainFunc f)
{
static struct per_process u;
! (void) _msys_crt0_common (f, &u);
/* jump into the dll. */
Index: cygwin_crt0.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/lib/cygwin_crt0.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cygwin_crt0.c 2001/08/07 17:51:16 1.1.1.1
--- cygwin_crt0.c 2001/09/22 17:43:45 1.2
***************
*** 10,13 ****
--- 10,14 ----
#undef __INSIDE_CYGWIN__
+ #undef __INSIDE_MSYS__
#include <windows.h>
#include <sys/cygwin.h>
***************
*** 20,27 ****
/* for main module */
void
! cygwin_crt0 (MainFunc f)
{
struct per_process *u;
! if (_cygwin_crt0_common (f, NULL))
u = NULL; /* Newer DLL. Use DLL internal per_process. */
else /* Older DLL. Provide a per_process */
--- 21,28 ----
/* for main module */
void
! msys_crt0 (MainFunc f)
{
struct per_process *u;
! if (_msys_crt0_common (f, NULL))
u = NULL; /* Newer DLL. Use DLL internal per_process. */
else /* Older DLL. Provide a per_process */
***************
*** 29,33 ****
u = (struct per_process *) alloca (sizeof (*u));
memset (u, 0, sizeof (u));
! (void) _cygwin_crt0_common (f, u);
}
dll_crt0__FP11per_process (u); /* Jump into the dll, never to return */
--- 30,34 ----
u = (struct per_process *) alloca (sizeof (*u));
memset (u, 0, sizeof (u));
! (void) _msys_crt0_common (f, u);
}
dll_crt0__FP11per_process (u); /* Jump into the dll, never to return */
Index: dll_entry.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/lib/dll_entry.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** dll_entry.c 2001/08/07 17:51:16 1.1.1.1
--- dll_entry.c 2001/09/22 17:43:45 1.2
***************
*** 8,12 ****
/* Here we simply instantiate the DECLARE_CYGWIN_DLL to define the
! linker entry point, __cygwin_dll_entry@12, which in turn calls
_DllMain@12 to do user-specific initialization, if any. There is a
default DllMain stub in the library if there is no user supplied
--- 8,12 ----
/* Here we simply instantiate the DECLARE_CYGWIN_DLL to define the
! linker entry point, __msys_dll_entry@12, which in turn calls
_DllMain@12 to do user-specific initialization, if any. There is a
default DllMain stub in the library if there is no user supplied
Index: getopt.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/lib/getopt.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** getopt.c 2001/08/07 17:51:16 1.1.1.1
--- getopt.c 2001/09/22 17:43:45 1.2
***************
*** 146,152 ****
getopt_long(nargc, nargv, options, long_options, index)
int nargc;
! char ** nargv;
! char * options;
! struct option * long_options;
int * index;
{
--- 146,152 ----
getopt_long(nargc, nargv, options, long_options, index)
int nargc;
! char * const * nargv;
! const char * options;
! const struct option * long_options;
int * index;
{
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/cygwin
Modified Files:
ChangeLog dcrt0.cc localtime.c winsup.h
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ChangeLog 2001/08/07 17:50:59 1.1.1.1
--- ChangeLog 2001/09/22 17:43:44 1.2
***************
*** 1,3 ****
--- 1,39 ----
+ 2001-09-21 Earnie Boyd <ea...@SF...>
+
+ * dcrt0.cc: Don't api_fatal for differing versions.
+ * localtime.c: Add preprocessor filters for __MSYS__.
+ * winsup.h: Conditionalize defining __INSIDE_CYGWIN__ and
+ __INSIDE_MSYS__.
+ * include/getopt.h (getopt_long): Modify the parameter list for
+ consistancy between the various headers of like name.
+ * include/glob.h: Add preprocessor filters for __INSIDE_MSYS__.
+ * include/semaphore.h: Ditto.
+ * include/cygwin/cygwin_dll.h (msys_attach_dll):
+ Renamed cygwin_attach_dll.
+ (msys_detach_dll): Renamed cygwin_detach_dll.
+ (_msys_dll_entry): Renamed _cygwin_dll_entry.
+ (_msys_nonmsys_dll_entry): Renamed _msys_nonmsys_dll_entry.
+ * include/cygwin/types.h: Add preprocessor filters for __INSIDE_MSYS__.
+ * include/cygwin/sys/cygwin.h: Ditto.
+ * lib/_cygwin_crt0_common.c (msys_crt0): Renamed cygwin_crt0.
+ (msys_attach_dll): Renamed cygwin_attach_dll.
+ (msys_attach_nonmsys_dll): Renamed cygwin_attach_noncygwin_dll.
+ (_msys_crt0_common): Renamed _cygwin_crt0_common.
+ * lib/crt0.h (_msys_crt0_common): Ditto.
+ * lib/cygwin_attach_dll.c (__INSIDE_MSYS__): Undefine.
+ (msys_attach_dll): Renamed cygwin_attach_dll.
+ (_msys_crt0_common): Renamed _cygwin_crt0_common.
+ * lib/cygwin_crt0.c (__INSIDE_MSYS__): Undefine.
+ (msys_crt0): Renamed cygwin_crt0.
+ (_msys_crt0_common): Renamed _cygwin_crt0_common.
+ * lib/dll_entry.c: Substitute __msys_dll_entry@12 in comments.
+ * lib/getopt/c (getopt_long): Change parameter structure to match
+ the header changes.
+ * lib/parse_opts.c: Add preprocessor filters for __MSYS__.
+ * lib/str_to_bytes.c: Ditto.
+ * lib/tst_sig.c: Ditto.
+ * lib/write_log.c: Ditto.
+
2001-07-27 Earnie Boyd <ea...@So...>
Index: dcrt0.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/dcrt0.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** dcrt0.cc 2001/08/07 17:51:07 1.1.1.1
--- dcrt0.cc 2001/09/22 17:43:44 1.2
***************
*** 918,923 ****
--- 918,925 ----
}
default:
+ /*
if ((fork_info->type & PROC_MAGIC_MASK) == PROC_MAGIC_GENERIC)
api_fatal ("conflicting versions of msys-1.0.dll detected. Use only the most recent version.\n");
+ */
break;
}
Index: localtime.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/localtime.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** localtime.c 2001/08/07 17:51:12 1.1.1.1
--- localtime.c 2001/09/22 17:43:44 1.2
***************
*** 1430,1434 ****
}
#endif /* defined ALL_STATE */
! #if defined (_WIN32) || defined (__CYGWIN__)
#define is_upper(c) ((unsigned)(c) - 'A' <= 26)
{
--- 1430,1434 ----
}
#endif /* defined ALL_STATE */
! #if defined (_WIN32) || defined (__CYGWIN__) || defined (__MSYS__)
#define is_upper(c) ((unsigned)(c) - 'A' <= 26)
{
Index: winsup.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/winsup.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** winsup.h 2001/08/07 17:51:15 1.1.1.1
--- winsup.h 2001/09/22 17:43:44 1.2
***************
*** 13,19 ****
#endif
! #define __INSIDE_CYGWIN__ 1
! #define __MSYS__ 1
! #define __INSIDE_MSYS__ 1
#define alloca __builtin_alloca
--- 13,23 ----
#endif
! #if defined (__CYGWIN__)
! #define __INSIDE_CYGWIN__ 1
! #endif
!
! #if defined (__MSYS__)
! #define __INSIDE_MSYS__ 1
! #endif
#define alloca __builtin_alloca
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/utils
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/utils
Modified Files:
ChangeLog Makefile.in strace.cc
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/utils/ChangeLog,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ChangeLog 2001/08/07 17:51:24 1.1.1.1
--- ChangeLog 2001/09/22 17:43:45 1.2
***************
*** 1,2 ****
--- 1,8 ----
+ 2001.09.22 Earnie Boyd <Ea...@SF...>
+
+ * Makefile.in (MINGW_CXXFLAGS): Use -mmingw switch instead of
+ -mno-cygwin.
+ (MINGW_CFLAGS): Ditto.
+ * strace.cc: Substitute -mno-cygwin for -mmingw.
2001.07.27 Earnie Boyd <Ea...@So...>
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/utils/Makefile.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Makefile.in 2001/08/07 17:51:24 1.1.1.1
--- Makefile.in 2001/09/22 17:43:45 1.2
***************
*** 44,49 ****
DUMPER_INCLUDES:=-I$(bupdir2)/bfd -I$(updir1)/include
! MINGW_CXXFLAGS:=$(CXXFLAGS) -mno-cygwin $(MINGW_INCLUDES)
! MINGW_CFLAGS:=-mno-cygwin $(MINGW_INCLUDES)
libcygwin:=$(cygwin_build)/libmsys-1.0.dll.a
--- 44,49 ----
DUMPER_INCLUDES:=-I$(bupdir2)/bfd -I$(updir1)/include
! MINGW_CXXFLAGS:=$(CXXFLAGS) -mmingw $(MINGW_INCLUDES)
! MINGW_CFLAGS:=-mmingw $(MINGW_INCLUDES)
libcygwin:=$(cygwin_build)/libmsys-1.0.dll.a
Index: strace.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/utils/strace.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** strace.cc 2001/08/07 17:51:24 1.1.1.1
--- strace.cc 2001/09/22 17:43:45 1.2
***************
*** 24,28 ****
get undefine references to __impure_ptr, and hence the following
hack. It should be reasonably safe however as long as this file
! is built using -mno-cygwin as is intended. */
int _impure_ptr;
--- 24,28 ----
get undefine references to __impure_ptr, and hence the following
hack. It should be reasonably safe however as long as this file
! is built using -mmingw as is intended. */
int _impure_ptr;
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/winsup/testsuite In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/testsuite Modified Files: ChangeLog Added Files: ChangeLog.cygwin Log Message: Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details. --- NEW FILE: ChangeLog.cygwin --- 2001-05-21 Corinna Vinschen <co...@vi...> * winsup.api/mmaptest01.c: Add log output. * winsup.api/mmaptest02.c: Write log output to stdout. * winsup.api/mmaptest03.c: Ditto. 2001-05-15 Corinna Vinschen <co...@vi...> * winsup.api/winsup.exp: Force linking all tests against binmode.o. 2001-04-27 Corinna Vinschen <co...@vi...> * winsup.api/mmaptest04.c: Take care for binmode explicitely. 2001-04-19 Corinna Vinschen <co...@vi...> * winsup.api/mmaptest02.c: New test. * winsup.api/mmaptest03.c: Ditto. * winsup.api/mmaptest04.c: Ditto. 2001-04-03 Corinna Vinschen <co...@vi...> * winsup.api/mmaptest01.c: New test. 2001-03-10 Egor Duda <de...@lo...> * winsup.api/ltp/access01.c: Avoid compilation error if X_OK isn't declared as a constant. 2001-03-09 Egor Duda <de...@lo...> * config/default.exp: Remove unneeded debugging output. * Makefile.in: Use correct path to find dejagnu in local tree. 2000-09-06 Egor Duda <de...@lo...> Add 'const' qualifiers where needed to avoid compiler warnings. * libltp/lib/tst_sig.c (tst_sig): Don't attempt to cleanup on fatal errors. * libltp/lib/parse_opts.c (parse_opts): Initialize allocated string to prevent heap corruption. 2000-09-04 Egor Duda <de...@lo...> * Makefile.in: Always add libltp headers directory to headers search path. 2000-09-02 Egor Duda <de...@lo...> * moved here everything from cygwin/testsuite/ * configure.in: New file * configure: New file, generated from configure.in with autoconf 2.13 * Makefile.in: New file * libltp/: New directory. Contains a support library and headers for tests in winsup.api/ltp/ * config/default.exp: Print value of CYGWIN environment variable when test completed * winsup.api/samples/xf-sample-fail.c renamed to winsup.api/samples/sample-fail.c * winsup.api/samples/xf-sample-miscompile.c renamed to winsup.api/samples/sample-miscompile.c * winsup.api/known_bugs.tcl: New file. * winsup.api/winsup.exp: Xfail test if its name is in list from known_bugs.tcl * winsup.api/winsup.exp: Don't stop if compiled test executable can't be deleted * winsup.api/winsup.exp: If in verbose mode, write test output to <testname>.log * winsup.api/ltp/: New directory. Contains cygwin port of testsuite from Linux Testing Project * winsup.api/sigchld.c: New file. Test if process recieves SIGCHLD signal when its child terminates. * winsup.api/waitpid.c: New file. Test if waitpid function works Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/testsuite/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ChangeLog 2001/08/07 17:51:19 1.1.1.1 --- ChangeLog 2001/09/22 17:43:45 1.2 *************** *** 1,74 **** ! 2001-05-21 Corinna Vinschen <co...@vi...> ! ! * winsup.api/mmaptest01.c: Add log output. ! * winsup.api/mmaptest02.c: Write log output to stdout. ! * winsup.api/mmaptest03.c: Ditto. ! ! 2001-05-15 Corinna Vinschen <co...@vi...> ! ! * winsup.api/winsup.exp: Force linking all tests against binmode.o. ! ! 2001-04-27 Corinna Vinschen <co...@vi...> ! ! * winsup.api/mmaptest04.c: Take care for binmode explicitely. ! ! 2001-04-19 Corinna Vinschen <co...@vi...> ! ! * winsup.api/mmaptest02.c: New test. ! * winsup.api/mmaptest03.c: Ditto. ! * winsup.api/mmaptest04.c: Ditto. ! ! 2001-04-03 Corinna Vinschen <co...@vi...> ! ! * winsup.api/mmaptest01.c: New test. ! ! 2001-03-10 Egor Duda <de...@lo...> ! ! * winsup.api/ltp/access01.c: Avoid compilation error if X_OK ! isn't declared as a constant. ! ! 2001-03-09 Egor Duda <de...@lo...> ! ! * config/default.exp: Remove unneeded debugging output. ! * Makefile.in: Use correct path to find dejagnu in local tree. ! ! 2000-09-06 Egor Duda <de...@lo...> ! ! Add 'const' qualifiers where needed to avoid compiler warnings. ! * libltp/lib/tst_sig.c (tst_sig): Don't attempt to cleanup on ! fatal errors. ! * libltp/lib/parse_opts.c (parse_opts): Initialize allocated ! string to prevent heap corruption. ! ! 2000-09-04 Egor Duda <de...@lo...> ! ! * Makefile.in: Always add libltp headers directory to headers ! search path. ! ! 2000-09-02 Egor Duda <de...@lo...> ! * moved here everything from cygwin/testsuite/ ! * configure.in: New file ! * configure: New file, generated from configure.in ! with autoconf 2.13 ! * Makefile.in: New file ! * libltp/: New directory. Contains a support library ! and headers for tests in winsup.api/ltp/ ! * config/default.exp: Print value of CYGWIN environment ! variable when test completed ! * winsup.api/samples/xf-sample-fail.c renamed to ! winsup.api/samples/sample-fail.c ! * winsup.api/samples/xf-sample-miscompile.c renamed to ! winsup.api/samples/sample-miscompile.c ! * winsup.api/known_bugs.tcl: New file. ! * winsup.api/winsup.exp: Xfail test if its name is in ! list from known_bugs.tcl ! * winsup.api/winsup.exp: Don't stop if compiled test executable ! can't be deleted ! * winsup.api/winsup.exp: If in verbose mode, write test output ! to <testname>.log ! * winsup.api/ltp/: New directory. Contains cygwin port of testsuite ! from Linux Testing Project ! * winsup.api/sigchld.c: New file. Test if process recieves SIGCHLD ! signal when its child terminates. ! * winsup.api/waitpid.c: New file. Test if waitpid function works --- 1,6 ---- ! 2001.09.22 Earnie Boyd <ea...@SF...> ! * ChangeLog.cygwin: Renamed original ChangeLog. ! * winsup.api/ltp/link04.c: Add preprocessor filters for __MSYS__. ! * winsup.api/ltp/select01.c: Ditto. ! * winsup.api/ltp/unlink07.c: Ditto. |
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:49
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/stdlib
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/stdlib
Modified Files:
mallocr.c system.c
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: mallocr.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdlib/mallocr.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** mallocr.c 2001/08/07 17:50:10 1.1.1.1
--- mallocr.c 2001/09/22 17:43:44 1.2
***************
*** 305,309 ****
#define MALLOC_UNLOCK __malloc_unlock(reent_ptr)
! #ifdef __CYGWIN__
# undef _WIN32
# undef WIN32
--- 305,309 ----
#define MALLOC_UNLOCK __malloc_unlock(reent_ptr)
! #if defined(__CYGWIN__) || defined(__MSYS__)
# undef _WIN32
# undef WIN32
***************
*** 3204,3208 ****
#endif /* DEFINE_CALLOC */
! #if defined(DEFINE_CFREE) && !defined(__CYGWIN__)
/*
--- 3204,3208 ----
#endif /* DEFINE_CALLOC */
! #if defined(DEFINE_CFREE) && !defined(__CYGWIN__) && !defined(__MSYS__)
/*
Index: system.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdlib/system.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** system.c 2001/08/07 17:50:12 1.1.1.1
--- system.c 2001/09/22 17:43:44 1.2
***************
*** 61,65 ****
#include <reent.h>
! #if defined (unix) || defined (__CYGWIN__)
static int do_system ();
#endif
--- 61,65 ----
#include <reent.h>
! #if defined (unix) || defined (__CYGWIN__) || defined (__MSYS__)
static int do_system ();
#endif
***************
*** 82,86 ****
handle otherwise (this can always be relaxed in the future). */
! #if defined (unix) || defined (__CYGWIN32__)
if (s == NULL)
return 1;
--- 82,86 ----
handle otherwise (this can always be relaxed in the future). */
! #if defined (unix) || defined (__CYGWIN__) || defined (__MSYS__)
if (s == NULL)
return 1;
***************
*** 107,111 ****
#endif
! #if defined (unix) && !defined (__CYGWIN__) && !defined(__rtems__)
extern char **environ;
--- 107,111 ----
#endif
! #if defined (unix) && !defined (__CYGWIN__) && !defined(__rtems__) && !defined (__MSYS__)
extern char **environ;
***************
*** 146,150 ****
#endif
! #if defined (__CYGWIN__)
static int
do_system (ptr, s)
--- 146,150 ----
#endif
! #if defined (__CYGWIN__) || defined (__MSYS__)
static int
do_system (ptr, s)
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:48
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/sys
In directory usw-pr-cvs1:/tmp/cvs-serv18569/winsup/cygwin/include/sys
Modified Files:
cygwin.h
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: cygwin.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/sys/cygwin.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cygwin.h 2001/08/07 17:51:16 1.1.1.1
--- cygwin.h 2001/09/22 17:43:44 1.2
***************
*** 185,189 ****
DWORD unused2[5];
! #ifdef __INSIDE_CYGWIN__
ResourceLocks *resourcelocks;
MTinterface *threadinterface;
--- 185,189 ----
DWORD unused2[5];
! #if defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)
ResourceLocks *resourcelocks;
MTinterface *threadinterface;
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:48
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/sys
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/sys
Modified Files:
aclocal.m4
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/sys/aclocal.m4,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** aclocal.m4 2001/08/07 17:50:13 1.1.1.1
--- aclocal.m4 2001/09/22 17:43:44 1.2
***************
*** 151,155 ****
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
--- 151,155 ----
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin* | *-*-msys*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:48
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libm
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libm
Modified Files:
aclocal.m4
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libm/aclocal.m4,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** aclocal.m4 2001/08/07 17:50:36 1.1.1.1
--- aclocal.m4 2001/09/22 17:43:44 1.2
***************
*** 164,168 ****
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
--- 164,168 ----
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin* | *-*-msys*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:48
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/stdio
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/stdio
Modified Files:
flags.c fopen.c mktemp.c stdio.c
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: flags.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdio/flags.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** flags.c 2001/08/07 17:50:05 1.1.1.1
--- flags.c 2001/09/22 17:43:44 1.2
***************
*** 73,77 ****
#endif
}
! #ifdef __CYGWIN__
else if (mode[1] && (mode[1] == 't' || mode[2] == 't'))
#else
--- 73,77 ----
#endif
}
! #if defined(__CYGWIN__) || defined(__MSYS__)
else if (mode[1] && (mode[1] == 't' || mode[2] == 't'))
#else
Index: fopen.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdio/fopen.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** fopen.c 2001/08/07 17:50:05 1.1.1.1
--- fopen.c 2001/09/22 17:43:44 1.2
***************
*** 117,121 ****
#include <errno.h>
#include "local.h"
! #ifdef __CYGWIN__
#include <fcntl.h>
#endif
--- 117,121 ----
#include <errno.h>
#include "local.h"
! #if defined(__CYGWIN__) || defined(__MSYS__)
#include <fcntl.h>
#endif
Index: mktemp.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdio/mktemp.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** mktemp.c 2001/08/07 17:50:06 1.1.1.1
--- mktemp.c 2001/09/22 17:43:44 1.2
***************
*** 152,156 ****
>= 0)
return 1;
! #if defined(__CYGWIN32__) || defined(__CYGWIN__)
if (ptr->_errno != EEXIST && ptr->_errno != EACCES)
#else
--- 152,156 ----
>= 0)
return 1;
! #if defined(__CYGWIN__) || defined(__MSYS__)
if (ptr->_errno != EEXIST && ptr->_errno != EACCES)
#else
Index: stdio.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/stdio/stdio.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** stdio.c 2001/08/07 17:50:06 1.1.1.1
--- stdio.c 2001/09/22 17:43:44 1.2
***************
*** 124,128 ****
__stextmode (int fd)
{
! #ifdef __CYGWIN__
return _cygwin_istext_for_stdio (fd);
#else
--- 124,128 ----
__stextmode (int fd)
{
! #if defined(__CYGWIN__) || defined(__MSYS__)
return _cygwin_istext_for_stdio (fd);
#else
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:48
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/sys/cygwin
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/sys/cygwin
Modified Files:
crt0.c
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: crt0.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/sys/cygwin/crt0.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** crt0.c 2001/08/07 17:50:16 1.1.1.1
--- crt0.c 2001/09/22 17:43:44 1.2
***************
*** 53,56 ****
--- 53,60 ----
#endif
+ #if defined (__MSYS__)
+ msys_crt0 (main);
+ #else
cygwin_crt0 (main);
+ #endif
}
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:47
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/posix
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/posix
Modified Files:
execvp.c popen.c
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: execvp.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/posix/execvp.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** execvp.c 2001/08/07 17:50:03 1.1.1.1
--- execvp.c 2001/09/22 17:43:44 1.2
***************
*** 12,16 ****
#include <ctype.h>
! #ifdef __CYGWIN32__
static char path_delim;
#define PATH_DELIM path_delim
--- 12,16 ----
#include <ctype.h>
! #if defined(__CYGWIN__) || defined(__MSYS__)
static char path_delim;
#define PATH_DELIM path_delim
***************
*** 53,57 ****
/* If FILE contains a directory, don't search $PATH. */
if (strchr (file, '/')
! #ifdef __CYGWIN32__
|| strchr (file, '\\')
#endif
--- 53,57 ----
/* If FILE contains a directory, don't search $PATH. */
if (strchr (file, '/')
! #if defined(__CYGWIN__) || defined(__MSYS__)
|| strchr (file, '\\')
#endif
***************
*** 59,63 ****
return execv (file, argv);
! #ifdef __CYGWIN32__
/* If a drive letter is passed, the path is still an absolute one.
Technically this isn't true, but Cygwin is currently defined so
--- 59,63 ----
return execv (file, argv);
! #if defined(__CYGWIN__) || defined(__MSYS__)
/* If a drive letter is passed, the path is still an absolute one.
Technically this isn't true, but Cygwin is currently defined so
***************
*** 68,72 ****
#endif
! #ifdef __CYGWIN32__
path_delim = cygwin_posix_path_list_p (path) ? ':' : ';';
#endif
--- 68,72 ----
#endif
! #if defined(__CYGWIN__) || defined(__MSYS__)
path_delim = cygwin_posix_path_list_p (path) ? ':' : ';';
#endif
Index: popen.c
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/posix/popen.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** popen.c 2001/08/07 17:50:03 1.1.1.1
--- popen.c 2001/09/22 17:43:44 1.2
***************
*** 107,112 ****
}
execl(_PATH_BSHELL, "sh", "-c", program, NULL);
! #ifdef __CYGWIN32__
! /* On cygwin32, we may not have /bin/sh. In that
case, try to find sh on PATH. */
execlp("sh", "sh", "-c", program, NULL);
--- 107,112 ----
}
execl(_PATH_BSHELL, "sh", "-c", program, NULL);
! #if defined(__CYGWIN__) || defined(__MSYS__)
! /* On cygwin or msys, we may not have /bin/sh. In that
case, try to find sh on PATH. */
execlp("sh", "sh", "-c", program, NULL);
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:47
|
Update of /cvsroot/mingw/msys/rt/src/newlib
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib
Modified Files:
ChangeLog aclocal.m4 configure.host
Added Files:
ChangeLog.cygwin
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
--- NEW FILE: ChangeLog.cygwin ---
2001-05-28 Nick Clifton <ni...@ca...>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
2001-05-25 Nick Clifton <ni...@ca...>
* libc/machine/xscale/memcmp.c: Fix bug when both pointers have
matching, non-word alignment, and the length is <= 4 but more than
enough to move them over a word boundary.
Add comments explaining what each instruction does.
Mon May 7 20:39:25 2001 Christopher Faylor <cg...@cy...>
* libc/include/sys/stat.h: Revert March 3, Cygwin change.
* libc/include/sys/unistd.h: Ditto.
2001-05-04 Earnie Boyd <ea...@us...>
* libc/string/strrchr.c: Use strchr for the speed improvements.
[...8079 lines suppressed...]
* libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
* libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
than sprintf.
* libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
* Method of producting float versions of double functions has
changed, functions will be modified gradually. So far:
libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
altered
* libc/string/memcmp.c: now uses unsigned chars
* libc/string/bcmp.c, libc/string/strcpy.c,
libc/stsring/strxfrm.c: fixed doc
* libc/sys/sysvnecv70.tex: fix example of sbrk code
Local Variables:
version-control: never
End:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/ChangeLog,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ChangeLog 2001/08/07 17:49:43 1.1.1.1
--- ChangeLog 2001/09/22 17:43:43 1.2
***************
*** 1,8118 ****
! 2001-05-28 Nick Clifton <ni...@ca...>
!
! * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
!
! 2001-05-25 Nick Clifton <ni...@ca...>
!
! * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
! matching, non-word alignment, and the length is <= 4 but more than
! enough to move them over a word boundary.
! Add comments explaining what each instruction does.
[...8125 lines suppressed...]
* libc/include/machine/setjmp.h: Ditto.
+ * libc/include/sys/config.h: Ditto.
* libc/include/sys/errno.h: Ditto.
+ * libc/include/sys/fcntl.h: Ditto..
+ * libc/include/sys/features.h: Ditto.
* libc/include/sys/signal.h: Ditto.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/time.h: Ditto.
* libc/include/sys/types.h: Ditto.
! * libc/include/sys/unistd.h: Ditto.
! * libc/locale/locale.c: Ditto.
! * libc/posix/execvp.c: Ditto.
! * libc/posix/popen.c: Ditto.
! * libc/stdio/flags.c: Ditto.
! * libc/stdio/fopen.c: Ditto.
! * libc/stdio/mktemp.c: Ditto.
! * libc/stdio/stdio.c: Ditto.
! * libc/stdlib/mallocr.c: Ditto.
! * libc/stdlib/system.c: Ditto.
! * libc/sys/cygwin/crt0.c: Call msys_crt0 if __MSYS__ else cygwin_crt0.
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/aclocal.m4,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** aclocal.m4 2001/08/07 17:49:41 1.1.1.1
--- aclocal.m4 2001/09/22 17:43:44 1.2
***************
*** 151,155 ****
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
--- 151,155 ----
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin* | *-*-msys*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
Index: configure.host
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/configure.host,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** configure.host 2001/08/07 17:49:44 1.1.1.1
--- configure.host 2001/09/22 17:43:44 1.2
***************
*** 96,100 ****
# Don't use for these since they provide their own setjmp.
case ${host} in
! *-*-go32 | *-*-sco* | *-*-cygwin*)
machine_dir=i386
;;
--- 96,100 ----
# Don't use for these since they provide their own setjmp.
case ${host} in
! *-*-go32 | *-*-sco* | *-*-cygwin* | *-*-msys*)
machine_dir=i386
;;
***************
*** 200,204 ****
case "${host}" in
! *-*-cygwin*)
sys_dir=cygwin
posix_dir=posix
--- 200,204 ----
case "${host}" in
! *-*-cygwin* | *-*-msys*)
sys_dir=cygwin
posix_dir=posix
***************
*** 326,330 ****
case "${host}" in
! *-*-cygwin*)
newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -DWANT_IO_LONG_DBL -DWANT_PRINTF_LONG_LONG -D_COMPILING_NEWLIB -DHAVE_FCNTL"
# CYGWIN provides its own malloc if --enable-malloc-debugging is set
--- 326,330 ----
case "${host}" in
! *-*-cygwin* | *-*-msys*)
newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -DWANT_IO_LONG_DBL -DWANT_PRINTF_LONG_LONG -D_COMPILING_NEWLIB -DHAVE_FCNTL"
# CYGWIN provides its own malloc if --enable-malloc-debugging is set
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/include/sys
Modified Files:
config.h errno.h fcntl.h features.h signal.h stat.h time.h
types.h unistd.h
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: config.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/config.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** config.h 2001/08/07 17:49:48 1.1.1.1
--- config.h 2001/09/22 17:43:44 1.2
***************
*** 127,134 ****
! #if defined(__CYGWIN32__) || defined(__CYGWIN__)
#define __FILENAME_MAX__ (260 - 1 /* NUL */)
#define _READ_WRITE_RETURN_TYPE ssize_t
! #if defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB)
#define __IMPORT
#else
--- 127,134 ----
! #if defined(__CYGWIN__) || defined(__MSYS__)
#define __FILENAME_MAX__ (260 - 1 /* NUL */)
#define _READ_WRITE_RETURN_TYPE ssize_t
! #if defined(__INSIDE_CYGWIN__) || defined(__INSIDE_MSYS__) || defined(_COMPILING_NEWLIB)
#define __IMPORT
#else
Index: errno.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/errno.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** errno.h 2001/08/07 17:49:48 1.1.1.1
--- errno.h 2001/09/22 17:43:44 1.2
***************
*** 141,145 ****
#define ECASECLASH 137 /* Filename exists with different case */
! /* From cygwin32. */
#define EWOULDBLOCK EAGAIN /* Operation would block */
--- 141,145 ----
#define ECASECLASH 137 /* Filename exists with different case */
! /* From cygwin32 and MSYS. */
#define EWOULDBLOCK EAGAIN /* Operation would block */
Index: fcntl.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/fcntl.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** fcntl.h 2001/08/07 17:49:48 1.1.1.1
--- fcntl.h 2001/09/22 17:43:44 1.2
***************
*** 44,48 ****
#define O_NOCTTY _FNOCTTY
/* For machines which care - */
! #if defined (_WIN32) || defined (__CYGWIN__)
#define _FBINARY 0x10000
#define _FTEXT 0x20000
--- 44,48 ----
#define O_NOCTTY _FNOCTTY
/* For machines which care - */
! #if defined (_WIN32) || defined (__CYGWIN__) || defined (__MSYS__)
#define _FBINARY 0x10000
#define _FTEXT 0x20000
Index: features.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/features.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** features.h 2001/08/07 17:49:48 1.1.1.1
--- features.h 2001/09/22 17:43:44 1.2
***************
*** 78,82 ****
#endif
! #ifdef __CYGWIN__
# define _POSIX_JOB_CONTROL 1
# define _POSIX_SAVED_IDS 0
--- 78,82 ----
#endif
! #if defined(__CYGWIN__) || defined(__MSYS__)
# define _POSIX_JOB_CONTROL 1
# define _POSIX_SAVED_IDS 0
Index: signal.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/signal.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** signal.h 2001/08/07 17:49:48 1.1.1.1
--- signal.h 2001/09/22 17:43:44 1.2
***************
*** 114,118 ****
#define SA_NOCLDSTOP 1 /* only value supported now for sa_flags */
! #ifdef __CYGWIN__
# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */
# define SA_NODEFER 0x40000000 /* Don't automatically block the signal when
--- 114,118 ----
#define SA_NOCLDSTOP 1 /* only value supported now for sa_flags */
! #if defined(__CYGWIN__) || defined(__MSYS__)
# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */
# define SA_NODEFER 0x40000000 /* Don't automatically block the signal when
***************
*** 139,144 ****
#endif
! /* protos for functions found in winsup sources for CYGWIN */
! #if defined(__CYGWIN__) || defined(__rtems__)
#undef sigaddset
#undef sigemptyset
--- 139,144 ----
#endif
! /* protos for functions found in winsup sources for CYGWIN and MSYS*/
! #if defined(__CYGWIN__) || defined(__rtems__) || defined(__MSYS__)
#undef sigaddset
#undef sigemptyset
***************
*** 179,183 ****
#endif /* defined(_POSIX_REALTIME_SIGNALS) */
! #endif /* defined(__CYGWIN32__) || defined(__rtems__) */
/* #endif __STRICT_ANSI__ */
--- 179,183 ----
#endif /* defined(_POSIX_REALTIME_SIGNALS) */
! #endif /* defined(__CYGWIN32__) || defined(__rtems__) || defined(__MSYS__) */
/* #endif __STRICT_ANSI__ */
***************
*** 217,221 ****
#define SIGUSR2 19
#define NSIG 20
! #elif defined(__CYGWIN__) /* BSD signals semantics */
#define SIGHUP 1 /* hangup */
#define SIGINT 2 /* interrupt */
--- 217,221 ----
#define SIGUSR2 19
#define NSIG 20
! #elif defined(__CYGWIN__) || defined(__MSYS__) /* BSD signals semantics */
#define SIGHUP 1 /* hangup */
#define SIGINT 2 /* interrupt */
Index: stat.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/stat.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** stat.h 2001/08/07 17:49:48 1.1.1.1
--- stat.h 2001/09/22 17:43:44 1.2
***************
*** 124,128 ****
mode_t _EXFUN(umask,( mode_t __mask ));
! #if defined(__rtems__) || defined(__CYGWIN__)
int _EXFUN(lstat,( const char *__path, struct stat *__buf ));
int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev ));
--- 124,128 ----
mode_t _EXFUN(umask,( mode_t __mask ));
! #if defined(__rtems__) || defined(__CYGWIN__) || defined(__MSYS__)
int _EXFUN(lstat,( const char *__path, struct stat *__buf ));
int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev ));
Index: time.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/time.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** time.h 2001/08/07 17:49:48 1.1.1.1
--- time.h 2001/09/22 17:43:44 1.2
***************
*** 24,30 ****
};
! #ifdef __CYGWIN__
#include <sys/select.h>
! #endif /* __CYGWIN__ */
#endif /* _WINSOCK_H */
--- 24,30 ----
};
! #if defined(__CYGWIN__) || defined(__MSYS__)
#include <sys/select.h>
! #endif /* __CYGWIN__ or __MSYS__ */
#endif /* _WINSOCK_H */
***************
*** 40,44 ****
/* BSD time macros used by RTEMS code */
! #if defined (__rtems__) || defined (__CYGWIN__)
/* Convenience macros for operations on timevals.
--- 40,44 ----
/* BSD time macros used by RTEMS code */
! #if defined (__rtems__) || defined (__CYGWIN__) || defined (__MSYS__)
/* Convenience macros for operations on timevals.
***************
*** 69,73 ****
} \
} while (0)
! #endif /* defined (__rtems__) || defined (__CYGWIN__) */
int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
--- 69,73 ----
} \
} while (0)
! #endif /* defined (__rtems__) || defined (__CYGWIN__) || defined (__MSYS__) */
int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
Index: types.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/types.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** types.h 2001/08/07 17:49:48 1.1.1.1
--- types.h 2001/09/22 17:43:44 1.2
***************
*** 19,23 ****
#define _SYS_TYPES_H
! #if defined (_WIN32) || defined (__CYGWIN__)
#define __MS_types__
#endif
--- 19,23 ----
#define _SYS_TYPES_H
! #if defined (_WIN32) || defined (__CYGWIN__) || defined (__MSYS__)
#define __MS_types__
#endif
***************
*** 159,163 ****
defines Windows versions of them. Note that a program which
includes the W32api winsock[2].h header must know what it is doing;
! it must not call the cygwin32 select function.
*/
# if !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS))
--- 159,163 ----
defines Windows versions of them. Note that a program which
includes the W32api winsock[2].h header must know what it is doing;
! it must not call the cygwin32 or msys select function.
*/
# if !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS))
***************
*** 207,211 ****
newlib user of these, the ifdef is just on RTEMS. */
! #if defined(__rtems__) || defined(__CYGWIN__)
#ifndef __clockid_t_defined
--- 207,211 ----
newlib user of these, the ifdef is just on RTEMS. */
! #if defined(__rtems__) || defined(__CYGWIN__) || defined(__MSYS__)
#ifndef __clockid_t_defined
***************
*** 222,227 ****
! /* Cygwin will probably never have full posix compliance due to little things
! * like an inability to set the stackaddress. Cygwin is also using void *
* pointers rather than structs to ensure maximum binary compatability with
* previous releases.
--- 222,227 ----
! /* Cygwin nor msys will probably never have full posix compliance due to little
! * things like an inability to set the stackaddress. Cygwin is also using void *
* pointers rather than structs to ensure maximum binary compatability with
* previous releases.
***************
*** 229,233 ****
* <cygwin/types.h>
*/
! #if defined(_POSIX_THREADS) && !defined(__CYGWIN__)
#include <sys/sched.h>
--- 229,233 ----
* <cygwin/types.h>
*/
! #if defined(_POSIX_THREADS) && !defined(__CYGWIN__) && !defined(__MSYS__)
#include <sys/sched.h>
***************
*** 323,327 ****
} pthread_once_t; /* dynamic package initialization */
#else
! #if defined (__CYGWIN__)
#include <cygwin/types.h>
#endif
--- 323,327 ----
} pthread_once_t; /* dynamic package initialization */
#else
! #if defined (__CYGWIN__) || defined (__MSYS__)
#include <cygwin/types.h>
#endif
Index: unistd.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/unistd.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** unistd.h 2001/08/07 17:49:48 1.1.1.1
--- unistd.h 2001/09/22 17:43:44 1.2
***************
*** 21,25 ****
int _EXFUN(chmod, (const char *__path, mode_t __mode ));
int _EXFUN(chown, (const char *__path, uid_t __owner, gid_t __group ));
! #ifdef __CYGWIN__
int _EXFUN(chroot, (const char *__path ));
#endif
--- 21,25 ----
int _EXFUN(chmod, (const char *__path, mode_t __mode ));
int _EXFUN(chown, (const char *__path, uid_t __owner, gid_t __group ));
! #if defined (__CYGWIN__) || defined (__MSYS__)
int _EXFUN(chroot, (const char *__path ));
#endif
***************
*** 56,60 ****
pid_t _EXFUN(getppid, (void ));
uid_t _EXFUN(getuid, (void ));
! #ifdef __CYGWIN__
char _EXFUN(*getwd, (char *__buf ));
#endif
--- 56,60 ----
pid_t _EXFUN(getppid, (void ));
uid_t _EXFUN(getuid, (void ));
! #if defined (__CYGWIN__) || defined (__MSYS__)
char _EXFUN(*getwd, (char *__buf ));
#endif
***************
*** 66,70 ****
long _EXFUN(pathconf, (const char *__path, int __name ));
int _EXFUN(pause, (void ));
! #ifdef __CYGWIN__
int _EXFUN(pthread_atfork, (void (*)(void), void (*)(void), void (*)(void)));
#endif
--- 66,70 ----
long _EXFUN(pathconf, (const char *__path, int __name ));
int _EXFUN(pause, (void ));
! #if defined (__CYGWIN__) || defined (__MSYS__)
int _EXFUN(pthread_atfork, (void (*)(void), void (*)(void), void (*)(void)));
#endif
***************
*** 77,81 ****
void * _EXFUN(sbrk, (size_t __incr));
#endif
! #if defined(__CYGWIN__)
int _EXFUN(setegid, (gid_t __gid ));
int _EXFUN(seteuid, (uid_t __uid ));
--- 77,81 ----
void * _EXFUN(sbrk, (size_t __incr));
#endif
! #if defined(__CYGWIN__) || defined(__MSYS__)
int _EXFUN(setegid, (gid_t __gid ));
int _EXFUN(seteuid, (uid_t __uid ));
***************
*** 113,117 ****
int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] ));
! #if defined(__CYGWIN__) || defined(__rtems__)
int _EXFUN(getdtablesize, (void));
int _EXFUN(setdtablesize, (int));
--- 113,117 ----
int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] ));
! #if defined(__CYGWIN__) || defined(__rtems__) || defined(__MSYS__)
int _EXFUN(getdtablesize, (void));
int _EXFUN(setdtablesize, (int));
***************
*** 160,169 ****
#define _SC_VERSION 7
#define _SC_PAGESIZE 8
! /* CYGWIN-specific values .. do not touch */
#define _SC_NPROCESSORS_CONF 9
#define _SC_NPROCESSORS_ONLN 10
#define _SC_PHYS_PAGES 11
#define _SC_AVPHYS_PAGES 12
! /* end of CYGWIN-specific values */
#define _SC_MQ_OPEN_MAX 13
#define _SC_MQ_PRIO_MAX 14
--- 160,169 ----
#define _SC_VERSION 7
#define _SC_PAGESIZE 8
! /* CYGWIN and MSYS-specific values .. do not touch */
#define _SC_NPROCESSORS_CONF 9
#define _SC_NPROCESSORS_ONLN 10
#define _SC_PHYS_PAGES 11
#define _SC_AVPHYS_PAGES 12
! /* end of CYGWIN and MSYS-specific values */
#define _SC_MQ_OPEN_MAX 13
#define _SC_MQ_PRIO_MAX 14
***************
*** 229,233 ****
# define _PC_PRIO_IO 10
# define _PC_SYNC_IO 11
! #ifdef __CYGWIN__
/* Ask for POSIX permission bits support. */
# define _PC_POSIX_PERMISSIONS 90
--- 229,233 ----
# define _PC_PRIO_IO 10
# define _PC_SYNC_IO 11
! #if defined(__CYGWIN__) || defined(__MSYS__)
/* Ask for POSIX permission bits support. */
# define _PC_POSIX_PERMISSIONS 90
***************
*** 237,241 ****
/* FIXME: This is temporary until winsup gets sorted out. */
! #ifdef __CYGWIN__
#define MAXPATHLEN (260 - 1 /* NUL */)
#else
--- 237,241 ----
/* FIXME: This is temporary until winsup gets sorted out. */
! #if defined(__CYGWIN__) || defined(__MSYS__)
#define MAXPATHLEN (260 - 1 /* NUL */)
#else
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:47
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/locale In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/locale Modified Files: locale.c Log Message: Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details. Index: locale.c =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/locale/locale.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** locale.c 2001/08/07 17:49:48 1.1.1.1 --- locale.c 2001/09/22 17:43:44 1.2 *************** *** 91,95 **** #include <reent.h> ! #ifdef __CYGWIN__ int __declspec(dllexport) __mb_cur_max = 1; #else --- 91,95 ---- #include <reent.h> ! #if defined (__CYGWIN__) || defined(__MSYS__) int __declspec(dllexport) __mb_cur_max = 1; #else |
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:47
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/include/machine
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/include/machine
Modified Files:
setjmp.h
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: setjmp.h
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/machine/setjmp.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** setjmp.h 2001/08/07 17:49:48 1.1.1.1
--- setjmp.h 2001/09/22 17:43:44 1.2
***************
*** 39,43 ****
#endif
! #if defined(__CYGWIN__) && !defined (_JBLEN)
#define _JBLEN (13 * 4)
#elif defined (__i386__)
--- 39,43 ----
#endif
! #if (defined(__CYGWIN__) || defined(__MSYS__)) && !defined (_JBLEN)
#define _JBLEN (13 * 4)
#elif defined (__i386__)
***************
*** 153,157 ****
#endif
! #if defined(__CYGWIN__) || defined(__rtems__)
#include <signal.h>
--- 153,157 ----
#endif
! #if defined(__CYGWIN__) || defined(__rtems__) || defined(__MSYS__)
#include <signal.h>
***************
*** 170,173 ****
longjmp (env, val))
! #endif /* __CYGWIN__ or __rtems__ */
#endif
--- 170,173 ----
longjmp (env, val))
! #endif /* __CYGWIN__ or __rtems__ or __MSYS__ */
#endif
|
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:47
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/include In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc/include Modified Files: _ansi.h malloc.h process.h stdio.h stdlib.h string.h time.h Log Message: Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details. Index: _ansi.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/_ansi.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** _ansi.h 2001/08/07 17:49:47 1.1.1.1 --- _ansi.h 2001/09/22 17:43:44 1.2 *************** *** 32,36 **** #define _DOTS , ... #define _VOID void ! #ifdef __CYGWIN__ #define _EXFUN(name, proto) __cdecl name proto #define _EXPARM(name, proto) (* __cdecl name) proto --- 32,36 ---- #define _DOTS , ... #define _VOID void ! #if defined (__CYGWIN__) || defined (__MSYS__) #define _EXFUN(name, proto) __cdecl name proto #define _EXPARM(name, proto) (* __cdecl name) proto Index: malloc.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/malloc.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** malloc.h 2001/08/07 17:49:47 1.1.1.1 --- malloc.h 2001/09/22 17:43:44 1.2 *************** *** 76,83 **** extern _VOID _mstats_r _PARAMS ((struct _reent *, char *)); ! #ifndef __CYGWIN__ /* Some systems provide this, so do too for compatibility. */ extern void cfree _PARAMS ((_PTR)); ! #endif /* __CYGWIN__ */ #ifdef __cplusplus --- 76,83 ---- extern _VOID _mstats_r _PARAMS ((struct _reent *, char *)); ! #if !defined (__CYGWIN__) && !defined (__MSYS__) /* Some systems provide this, so do too for compatibility. */ extern void cfree _PARAMS ((_PTR)); ! #endif /* not __CYGWIN__ and not __MSYS__ */ #ifdef __cplusplus Index: process.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/process.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** process.h 2001/08/07 17:49:47 1.1.1.1 --- process.h 2001/09/22 17:43:44 1.2 *************** *** 28,32 **** int spawnvpe(int mode, const char *path, const char * const *argv, const char * const *envp); ! #ifdef __CYGWIN__ /* Secure exec() functions family */ /* The first arg should really be a HANDLE which is a void *. But we --- 28,32 ---- int spawnvpe(int mode, const char *path, const char * const *argv, const char * const *envp); ! #if defined (__CYGWIN__) || defined (__MSYS__) /* Secure exec() functions family */ /* The first arg should really be a HANDLE which is a void *. But we Index: stdio.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/stdio.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** stdio.h 2001/08/07 17:49:47 1.1.1.1 --- stdio.h 2001/09/22 17:43:44 1.2 *************** *** 67,71 **** #define __SOFF 0x1000 /* set iff _offset is in fact correct */ #define __SMOD 0x2000 /* true => fgetline modified _p text */ ! #if defined(__CYGWIN__) || defined(__CYGWIN__) #define __SCLE 0x4000 /* convert line endings CR/LF <-> NL */ #endif --- 67,71 ---- #define __SOFF 0x1000 /* set iff _offset is in fact correct */ #define __SMOD 0x2000 /* true => fgetline modified _p text */ ! #if defined(__CYGWIN__) || defined(__MSYS__) #define __SCLE 0x4000 /* convert line endings CR/LF <-> NL */ #endif *************** *** 342,351 **** #endif ! #ifndef __CYGWIN__ #ifndef lint #define getc(fp) __sgetc(fp) #define putc(x, fp) __sputc(x, fp) ! #endif /* lint */ ! #endif /* __CYGWIN__ */ #define getchar() getc(stdin) --- 342,351 ---- #endif ! #if !defined (__CYGWIN__) && !defined (__MSYS__) #ifndef lint #define getc(fp) __sgetc(fp) #define putc(x, fp) __sputc(x, fp) ! #endif /* not lint */ ! #endif /* not __CYGWIN__ and not __MSYS__*/ #define getchar() getc(stdin) *************** *** 358,362 **** #define L_cuserid 9 /* posix says it goes in stdio.h :( */ ! #ifdef __CYGWIN__ #define L_ctermid 16 #endif --- 358,362 ---- #define L_cuserid 9 /* posix says it goes in stdio.h :( */ ! #if defined (__CYGWIN__) || defined (__MSYS__) #define L_ctermid 16 #endif Index: stdlib.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/stdlib.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** stdlib.h 2001/08/07 17:49:47 1.1.1.1 --- stdlib.h 2001/09/22 17:43:44 1.2 *************** *** 138,142 **** _VOID _EXFUN(_srand48_r,(struct _reent *, long)); ! #ifndef __CYGWIN__ _VOID _EXFUN(cfree,(_PTR)); #else --- 138,142 ---- _VOID _EXFUN(_srand48_r,(struct _reent *, long)); ! #if !defined (__CYGWIN__) && !defined (__MSYS__) _VOID _EXFUN(cfree,(_PTR)); #else Index: string.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/string.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** string.h 2001/08/07 17:49:47 1.1.1.1 --- string.h 2001/09/22 17:43:44 1.2 *************** *** 66,70 **** char *_EXFUN(strlwr,(char *)); char *_EXFUN(strupr,(char *)); ! #ifdef __CYGWIN__ #ifndef DEFS_H /* Kludge to work around problem compiling in gdb */ const char *_EXFUN(strsignal, (int __signo)); --- 66,70 ---- char *_EXFUN(strlwr,(char *)); char *_EXFUN(strupr,(char *)); ! #if defined (__CYGWIN__) || defined (__MSYS__) #ifndef DEFS_H /* Kludge to work around problem compiling in gdb */ const char *_EXFUN(strsignal, (int __signo)); Index: time.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/time.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** time.h 2001/08/07 17:49:47 1.1.1.1 --- time.h 2001/09/22 17:43:44 1.2 *************** *** 62,66 **** struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *)); ! #ifdef __CYGWIN__ #ifndef __STRICT_ANSI__ extern __IMPORT time_t _timezone; --- 62,66 ---- struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *)); ! #if defined(__CYGWIN__) || defined(__MSYS__) #ifndef __STRICT_ANSI__ extern __IMPORT time_t _timezone; *************** *** 83,87 **** void _EXFUN(tzset, (void)); #endif ! #endif /* __CYGWIN__ */ #include <sys/features.h> --- 83,87 ---- void _EXFUN(tzset, (void)); #endif ! #endif /* __CYGWIN__ or __MSYS__ */ #include <sys/features.h> |
|
From: Earnie B. <ea...@us...> - 2001-09-22 17:43:47
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc
In directory usw-pr-cvs1:/tmp/cvs-serv18569/newlib/libc
Modified Files:
aclocal.m4
Log Message:
Empirical changes for MSYS based on CYGWIN. See ChangeLog for each individual subsystem for details.
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/aclocal.m4,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** aclocal.m4 2001/08/07 17:49:45 1.1.1.1
--- aclocal.m4 2001/09/22 17:43:44 1.2
***************
*** 151,155 ****
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
--- 151,155 ----
newlib_cflags="[$]{newlib_cflags} -I"'[$](top_builddir)'"/$1/targ-include -I[$]{newlib_flagbasedir}/libc/include"
case "${host}" in
! *-*-cygwin* | *-*-msys*)
newlib_cflags="[$]{newlib_cflags} -I[$]{newlib_flagbasedir}/../winsup/cygwin/include -I[$]{newlib_flagbasedir}/../winsup/w32api/include"
;;
|