Ken Brown
3e917daec1
Cygwin: remove some 32-bit only path conversion functions
2022-05-29 17:45:52 -04:00
Jon Turney
247ce0ca3a
Cygwin: Use automake (v5)
...
v2:
* Include tzmap.h in BUILT_SOURCES
* Make per-file flags appear after user-supplied CXXFLAGS, so they can
override optimization level.
* Correct .o files used to define symbols exported by libm.a
* Drop gcrt0.o mistakenly included in libgmon.a
* Add missing line continuations in GMON_FILES value
v3:
* use per-file flags for .c compilation
* override C{XX,}FLAGS, as they are set on the command line by top-level make
v4:
* Drop -Wno-error=write-strings from path_testsuite CXXFLAGS
v5:
* Update for changes in master
- Add -fno-threadsafe-statics to CXX flags
- Add hypotl.cc
- Remove fenv.cc (in favour of newlib), add fenv.c stub
- Add proc.5 manpage rules
2021-04-27 16:49:56 +01:00
Jon Turney
140b0a6484
Cygwin: Fix testsuite tmpdir creation with non-default cygdrive prefix
2020-11-12 15:30:35 +00:00
Jon Turney
f3ed5f2fe0
Cygwin: Ensure temporary directory used by tests exists
...
By default, libltp tests will create temporary files in a subdirectory
of /tmp, which will (nowadays) be located relative to the test DLL (by
assuming that it is in /bin). This will evaluate to the directory
$target_builddir/winsup/tmp, which doesn't exist.
The location used for these temporary files can be explicitly controlled
by setting the TDIRECTORY env var. Arrange to set that env var to the
/cygdrive path of a tmp subdirectory of the build directory.
Unfortunately, libltp doesn't clean the temporary directory if
TDIRECTORY is set, and some tests assume they are started in a clean
directory, so we need to do that in tcl.
2020-11-08 14:42:02 +00:00
Jon Turney
0c448d53e1
Cygwin: Check exit code of a test, rather than stdout
...
In winsup.exp, don't consider a command failed if it produced any output
(e.g. if the compiler produced warnings). Instead check the exit code.
2020-11-08 14:41:46 +00:00
Jon Turney
e6248c2fd0
Cygiwn: Detect and use MinGW compilers for testsuite wrappers
...
Drop MINGW_FE, which I can't find any trace of, and instead detect and
use MinGW compilers.
This requires adding AC_CANONICAL_TARGET, to set $target_cpu.
2020-11-08 14:41:28 +00:00
Keith Packard
9042d0ce65
Use remove-advertising-clause script to edit BSD licenses
...
This edits licenses held by Berkeley and NetBSD, both of which
have removed the advertising requirement from their licenses.
Signed-off-by: Keith Packard <keithp@keithp.com>
2020-01-29 19:03:31 +01:00
Corinna Vinschen
6e623e9320
Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option
...
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause.
Everything else stays under GPLv3+.
New Linking Exception exempts resulting executables from LGPLv3 section 4.
Add CONTRIBUTORS file to keep track of licensing.
Remove 'Copyright Red Hat Inc' comments.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-06-23 10:09:17 +02:00
Jon Turney
e30d78d685
Remove spurious execute permissions from some Cygwin source and text files
...
2015-08-21 Jon Turney <jon.turney@dronecode.org.uk>
* cygwin-cxx.h: Remove execute permissions.
* fenv.cc: Ditto.
* how-startup-shutdown-works.txt: Ditto.
* include/arpa/nameser.h: Ditto.
* include/arpa/nameser_compat.h: Ditto.
* include/fenv.h: Ditto.
* include/resolv.h: Ditto.
* libstdcxx_wrapper.cc: Ditto.
2015-10-27 Jon Turney <jon.turney@dronecode.org.uk>
* winsup.api/signal-into-win32-api.c: Remove execute permissions.
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2015-10-27 16:10:37 +00:00
Corinna Vinschen
e3f56b2b3d
* winsup.api/user_malloc.c: New file.
2006-06-12 13:59:36 +00:00
Christopher Faylor
08a968173b
* winsup.api/cygload.h: Increase padding to 32768.
2006-05-31 01:49:02 +00:00
Christopher Faylor
5b2daa7c97
* winsup.api/checksignal.c (main): Add test for siginterrupt.
2006-03-23 15:52:16 +00:00
Christopher Faylor
7f9832e774
* cygload/README: Delete.
...
* cygload/cygload.cc: Move to winsup.api. Add comments from README.
* cygload/cygload.h: Move to winsup.api.
* cygload/cygload.exp: Move to winsup.api.
* Makefile.in: Remove cygload.
* winsup.api/winsup.exp: If a .exp file is detected, run it rather than using
standard compile.
* winsup.api/resethand.c (main): Use printf to print status or expect thinks
something is wrong.
2006-01-02 06:15:58 +00:00
Christopher Faylor
b0b9ccf618
* winsup.api/resethand.c (main): Remove core dump flag from exit status.
2006-01-02 04:01:22 +00:00
Christopher Faylor
590129475b
* winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc
...
complaint.
2006-01-02 03:45:32 +00:00
Christopher Faylor
74c29a5e9a
* winsup.api/resethand.c: Use SIGSEGV for the signal to test.
2006-01-01 18:02:54 +00:00
Christopher Faylor
031d1aa40f
* winsup.api/resethand.c: New file.
2006-01-01 17:26:52 +00:00
Christopher Faylor
4e8e54543e
* winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error when
...
setting array element to -1.
2005-12-11 22:31:00 +00:00
Christopher Faylor
daed3bec54
revert erroneous checkin
2005-10-11 18:39:02 +00:00
Christopher Faylor
a5ac89cbbd
* Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.
2005-10-11 18:17:59 +00:00
Christopher Faylor
452e5c7297
* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.
...
* winsup.api/pthread/mutex4.c (main): Ditto.
* winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type.
* winsup.api/pthread/mutex6d.c: Ditto.
2005-06-11 04:59:53 +00:00
Christopher Faylor
6700d99e7e
* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
...
causes compile failures with gcc 3.4.4.
2005-06-10 19:32:29 +00:00
Brian Dessent
7f21d805a3
2005-05-17 Brian Dessent <brian@dessent.net>
...
* winsup.api/signal-into-win32-api.c (main): Use 'NULL' instead of '0'
in argument list to avoid compiler warning with gcc4.
* winsup.api/ltp/execle01.c (main): Ditto.
* winsup.api/ltp/execlp01.c (main): Ditto.
* winsup.api/ltp/fcntl07.c (do_exec): Ditto.
* winsup.api/ltp/fcntl07B.c (do_exec): Ditto.
2005-05-18 01:10:06 +00:00
Christopher Faylor
292a8156c6
* winsup.api/known_bugs.tcl: Remove dup05, fcntl07B, lseek04, select03,
...
unlink06.
2005-02-10 17:48:30 +00:00
Christopher Faylor
76eb619239
* cygrun.c (main): Fix exit code so that it reflects UNIX style.
...
* winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.
2005-01-10 04:13:39 +00:00
Corinna Vinschen
26657d6052
* winsup.api/mmaptest01.c (main): Accomodate 9x memory usage.
2004-08-24 09:58:16 +00:00
Corinna Vinschen
327284cf3a
* winsup.api/ltp/symlink01.c (do_link): Print inode numbers using %llu
...
format specifier.
2004-08-24 09:34:04 +00:00
Corinna Vinschen
86b652f9c8
* devdsp.c: Outputs the names of the main test functions.
...
(forkrectest): Expect child success.
(forkplaytest): Ditto.
(syncwithchild): Output the child status and the desired value.
(sinegenw): Reduce volume of the beep.
(sinegenb): Ditto.
(dup_test): New test.
2004-08-17 09:51:31 +00:00
Corinna Vinschen
7e044afdaf
* winsup.api/devdsp.c (forkrectest): Move synchronization with child
...
so that test passes also under high CPU load.
(forkplaytest): Ditto.
(abortplaytest): New function to test ioctl code SNDCTL_DSP_RESET.
2004-04-13 09:40:03 +00:00
Corinna Vinschen
63481100b1
* winsup.api/devdsp.c (ioctltest): Add 2 tests for ioctl codes
...
SNDCTL_DSP_CHANNELS and SNDCTL_DSP_GETCAPS.
2004-04-05 08:30:13 +00:00
Corinna Vinschen
e4736d89a8
* winsup.api/devdsp.c: New file, testing fhandler_dev_dsp code.
...
* winsup.api/devdsp_okay.h: Ditto.
2004-03-24 10:20:14 +00:00
Christopher Faylor
2942097ac2
* winsup.api/known_bugs.tcl: Remove mknod01 since mknod now works.
...
* winsup.api/ltp/mknod01.c: Remove root check when running on cygwin.
2004-03-07 04:51:29 +00:00
Thomas Pfaff
a6435f99ea
* winsup.api/pthread/mutex8e.c: New testcase.
...
* winsup.api/pthread/mutex8n.c: Ditto.
* winsup.api/pthread/mutex8r.c: Ditto.
2004-03-04 21:08:22 +00:00
Christopher Faylor
1f32b7b382
* winsup.api/pthread/rwlock7.c (main): Don't assume that result of rand
...
operation is non-zero.
2003-12-24 04:37:19 +00:00
Corinna Vinschen
bd16a3a8a8
* winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. These
...
tests had a compatibility bug.
* winsup.api/ltp/fcntl09.c: Don't use F_RDLCK | F_WRLCK but only
F_WRLCK to set a write lock.
* winsup.api/ltp/fcntl10.c: Ditto.
2003-12-01 17:33:11 +00:00
Christopher Faylor
84f08ba160
* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.
2003-11-25 19:24:46 +00:00
Corinna Vinschen
d26c0ff955
* winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler.
...
* winsup.api/semtest.c (main): Ditto.
* winsup.api/shmtest.c (main): Ditto.
2003-11-20 18:25:36 +00:00
Corinna Vinschen
2010ab333f
* winsup.api/msgtest.c: New file derived from FreeBSD, testing
...
XSI Message Queue support.
* winsup.api/semtest.c: Ditto, testing XSI Semaphore support.
* winsup.api/shmtest.c: Ditto, testing XSI Shared Memory support.
2003-11-19 18:51:18 +00:00
Christopher Faylor
35738f040e
* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.
2003-07-06 21:40:38 +00:00
Thomas Pfaff
e3501c78ca
* winsup.api/pthread/condvar9.c: Fix test.
2003-04-08 18:29:37 +00:00
Thomas Pfaff
c65b504859
* winsup.api/pthread/rwlock1.c: Remove pthreads-win32 header.
...
* winsup.api/pthread/rwlock2.c: Ditto.
* winsup.api/pthread/rwlock3.c: Ditto.
* winsup.api/pthread/rwlock4.c: Ditto.
* winsup.api/pthread/rwlock5.c: Ditto.
* winsup.api/pthread/rwlock6.c: Ditto.
2003-03-27 19:46:35 +00:00
Thomas Pfaff
9b15aa7559
* winsup.api/pthread/condvar7.c (mythread): Cast
...
pthread_mutex_unlock argument of pthread_cleanup_push
to void *, preventing a compiler warning / testsuite failure.
* winsup.api/pthread/condvar9.c (mythread): Likewise.
* winsup.api/pthread/rwlock7.c (main): Use ftime instead of
_ftime.
2003-03-27 19:44:41 +00:00
Thomas Pfaff
4fd9bca85e
* winsup.api/pthread/rwlock1.c: New test.
...
* winsup.api/pthread/rwlock2.c: Ditto.
* winsup.api/pthread/rwlock3.c: Ditto.
* winsup.api/pthread/rwlock4.c: Ditto.
* winsup.api/pthread/rwlock5.c: Ditto.
* winsup.api/pthread/rwlock6.c: Ditto.
* winsup.api/pthread/rwlock7.c: Ditto.
2003-03-18 20:04:24 +00:00
Thomas Pfaff
5df1410028
* winsup.api/pthread/condvar7.c: New test.
...
* winsup.api/pthread/condvar9.c: Ditto.
2003-03-18 19:51:58 +00:00
Thomas Pfaff
0bad7c2e26
* winsup.api/pthread/mutex1n.c: New test.
...
* winsup.api/pthread/mutex6n.c: Ditto.
* winsup.api/pthread/mutex7n.c: Ditto.
2003-03-18 19:42:43 +00:00
Christopher Faylor
df4bf7b98c
Checkin previously referred to in ChangeLog.
2003-03-12 06:28:27 +00:00
Corinna Vinschen
c379f2ed07
* winsup.api/ltp/fork10.c (main): Remove non-portable declaration
...
of lseek.
2003-03-09 17:53:06 +00:00
Christopher Faylor
6e0465c6bc
* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
...
version of library or dll.
* config/default.exp: Ditto.
* winsup.api/winsup.exp: Ditto.
2003-03-09 17:03:05 +00:00
Corinna Vinschen
e463d1ac53
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
...
from list of known bugs.
2003-03-07 15:59:58 +00:00
Corinna Vinschen
1374b148ba
* winsup.api/crlf.c: Fix C signed/unsigned compare warning.
...
* winsup.api/mmaptest01.c: Ditto.
* winsup.api/ltp/chmod01.c: Ditto.
* winsup.api/ltp/fork04.c: Ditto.
* winsup.api/ltp/lseek03.c: Ditto.
* winsup.api/ltp/lseek06.c: Ditto.
* winsup.api/ltp/lseek07.c: Ditto.
* winsup.api/ltp/lseek08.c: Ditto.
* winsup.api/ltp/mmap001.c: Ditto.
* winsup.api/ltp/mmap02.c: Ditto.
* winsup.api/ltp/mmap03.c: Ditto.
* winsup.api/ltp/mmap04.c: Ditto.
* winsup.api/ltp/mmap05.c: Ditto.
* winsup.api/ltp/mmap06.c: Ditto.
* winsup.api/ltp/mmap07.c: Ditto.
* winsup.api/ltp/mmap08.c: Ditto.
* winsup.api/ltp/pipe11.c: Ditto.
* winsup.api/ltp/poll01.c: Ditto.
* winsup.api/ltp/sync02.c: Ditto.
* winsup.api/ltp/times03.c: Ditto.
* winsup.api/ltp/umask03.c: Ditto.
* winsup.api/ltp/getpgid01.c: Remove unused obsolete include.
* winsup.api/ltp/getpgid02.c: Ditto.
2003-02-20 11:22:17 +00:00