summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in: Increment version.Earnie Boyd2001-09-173-21/+46
| | | | * include/_mingw.h: Ditto.
* * dtable.h (not_open): Assure inline.Christopher Faylor2001-09-174-4/+14
| | | | | | * fhandler.h (operator []): Make const. * sync.cc (muto::~muto): Fix typo which stopped muto event handle from ever being closed.
* * path.cc (symlink): Check arguments for validity.Egor Duda2001-09-165-13/+39
| | | | | | | (getcwd): Ditto. * syscalls.cc (ftruncate): Ditto. * times.cc (times): Ditto. * uname.cc (uname): Ditto.
* * net.cc (dup_servent_ptr): Detect old Windows 95 misaligned structure andChristopher Faylor2001-09-162-2/+23
| | | | realign appropriately.
* minor typo fixes.Christopher Faylor2001-09-161-3/+3
|
* * winsup.api/ltp/sbrk01.c (main): Force output at startup toEgor Duda2001-09-155-12/+442
| | | | | | | | | | make sure that stdio file buffer get allocated. * winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area after sbrk(0) may be available, use 0xffff0000 as "high address". * winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that don't work on cygwin with '-1'. Close open files so that temporary directory can be deleted on exit. * winsup.api/ltp/vfork01.c: New test.
* Fix typo.Eric Christopher2001-09-153-2/+8
|
* * config.sub: Reverted the earlier change, this version is not theThiemo Seufer2001-09-152-9/+6
| | | | master file.
* * Makefile.in: Generate libcygwin.a during the link pass rather than as aChristopher Faylor2001-09-153-9/+15
| | | | | separate dlltool step. * dcrt0.cc (_dll_crt0): pppid_handle could be NULL. Don't close it if so.
* *** empty log message ***Christopher Faylor2001-09-151-1/+4
|
* * dcrt0.cc (dll_crt0_1): Create vfork main storage here so that it can beChristopher Faylor2001-09-157-21/+48
| | | | | | queried in waitsig later. * sigproc.cc (wait_sig): Don't deliver a signal if in a vfork. * fork.cc (vfork): Deliver all signals on parent return from vfork.
* 2001-09-14 Eric Christopher <echristo@redhat.com>Eric Christopher2001-09-145-7/+349
| | | | | | | * mips/configure.in: Add mipsisa32 support. * mips/configure: Regenerate. * mips/idt32.ld: New file. * mips/idt64.ld: New file.
* Hints and tips on debugging cygwinEgor Duda2001-09-141-0/+73
|
* add copyrights.Christopher Faylor2001-09-143-1/+5
|
* more wordsChristopher Faylor2001-09-141-1/+83
|
* * dumper.cc (dumper::dumper): Print error code in case of error.Egor Duda2001-09-142-7/+20
| | | | | | | | (dumper::add_thread): Ditto. (dumper::collect_memory_sections): Ditto. (dumper::dump_memory_region): Ditto. (dumper::collect_process_information): Ditto. (print_section_name): Fix formatting.
* oops - omitted from previous deltaNick Clifton2001-09-141-0/+6
|
* * dcrt0.cc (_dll_crt0()): Don't call wincap.init() here.Corinna Vinschen2001-09-142-3/+4
|
* /bfd/ChangeLogThiemo Seufer2001-09-142-1/+14
| | | | | | | | | | | | | * config.bfd: Change machine triplets from mips*el*-* to mips*el-*. Add support for mips64. /ChangeLog * config.sub: Change machine triplets from mipsel*-* to mips*el-*. Add support for mips64. /gas/ChangeLog * configure.in: Change machine triplets from mips-*-linux-gnu* to mips*-*-linux*.
* *** empty log message ***Christopher Faylor2001-09-141-0/+1
|
* * fork.cc (vfork): Avoid recursive vforks.Christopher Faylor2001-09-142-1/+9
|
* * fhandler.h (fhandler_pipe::is_slow): Return true only if pipes are reliableChristopher Faylor2001-09-143-12/+18
| | | | | (i.e., not Win9x). * wincap.cc: Make statics NO_COPY to avoid fork overhead.
* * grp.cc (read_etc_group): Just reuse group_buf storage for subsequent rereadChristopher Faylor2001-09-143-4/+9
| | | | | | of /etc/group. * passwd.cc (read_etc_passwd): Just reuse passwd_buf storage for subsequent reread of /etc/passwd.
* * cygheap.cc (dup_now): New function.Christopher Faylor2001-09-145-24/+64
| | | | | | | | | | | | (cygheap_setup_for_child): Accept new argument controlling whether to delay copying of cygheap to shared memory region. (cygheap_setup_for_child_cleanup): Accept new arguments controlling whether to copy cygheap at this point. * cygheap.h: Reflect above changes. * fork.cc (fork_parent): Break copying of cygheap into two parts when fork_fixup is required so that the child can see the parent's changes. (vfork): Do stack cleanup prior to forcing a fork error. * spawn.cc (spawn_guts): Ditto.
* * cygheap.cc (ccalloc): Pass correct length to creturn so that cygheap_max isChristopher Faylor2001-09-132-2/+8
| | | | correctly calculated.
* 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-09-137-3/+319
| | | | | | | | | | | | * libc/stdlib/Makefile.am: Add support to build strtoll_r.c and strtoull_r.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/strtoll_r.c: New file. * libc/stdlib/strtoull_r.c: New file. * libc/stdio/local.h: Add prototypes for long long string conversion routines. * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support tied to %L integer conversion specifier.
* * common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.Alexandre Oliva2001-09-132-1/+5
|
* Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>Jeff Johnston2001-09-132-2/+8
| | | | | * strftime.c (strftime): Fix "%W" implementation to properly handle Mondays too.
* * winsup.api/winsup.exp: Run only selected test if environmentEgor Duda2001-09-133-5/+28
| | | | | | | | variable CYGWIN_TESTSUITE_TESTS is set. Use its value as regular expression to filter test names. * winsup.api/ltp/symlink01.c (creat_path_max): Provide explicit buffer to getcwd to conform to standards and avoid memory leak. (do_chdir): Ditto.
* 2001-09-13 Earnie Boyd <earnie@SF.net>Earnie Boyd2001-09-132-2/+8
| | | | | | * lib/Makefile.in (inst_includedir): Change to always use w32api subdirectory for target == cygwin. (inst_libdir): Ditto.
* * libltp/lib/tst_sig.c: Pass SIGSEGV to application to considerEgor Duda2001-09-1390-3/+19617
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whether it's expected or not. * winsup.api/known_bugs.tcl: lseek10 is known to fail because mknod is not implemented. * winsup.api/ltp/rename02.c: Fix formatting. * libltp/lib/libtestsuite.c: New file. * winsup.api/signal-into-win32-api.c: New test. * winsup.api/ltp/access04.c: Ditto. * winsup.api/ltp/access05.c: Ditto. * winsup.api/ltp/alarm07.c: Ditto. * winsup.api/ltp/chdir04.c: Ditto. * winsup.api/ltp/chmod01.c: Ditto. * winsup.api/ltp/close01.c: Ditto. * winsup.api/ltp/close02.c: Ditto. * winsup.api/ltp/creat01.c: Ditto. * winsup.api/ltp/creat03.c: Ditto. * winsup.api/ltp/exit01.c: Ditto. * winsup.api/ltp/exit02.c: Ditto. * winsup.api/ltp/fchdir01.c: Ditto. * winsup.api/ltp/fchdir02.c: Ditto. * winsup.api/ltp/fork02.c: Ditto. * winsup.api/ltp/fork03.c: Ditto. * winsup.api/ltp/fork06.c: Ditto. * winsup.api/ltp/fork07.c: Ditto. * winsup.api/ltp/fork09.c: Ditto. * winsup.api/ltp/fork10.c: Ditto. * winsup.api/ltp/fork11.c: Ditto. * winsup.api/ltp/fstat02.c: Ditto. * winsup.api/ltp/fstat03.c: Ditto. * winsup.api/ltp/fstat04.c: Ditto. * winsup.api/ltp/ftruncate01.c: Ditto. * winsup.api/ltp/ftruncate02.c: Ditto. * winsup.api/ltp/ftruncate03.c: Ditto. * winsup.api/ltp/getgid02.c: Ditto. * winsup.api/ltp/getgid03.c: Ditto. * winsup.api/ltp/getpgid01.c: Ditto. * winsup.api/ltp/getpgid02.c: Ditto. * winsup.api/ltp/getpid02.c: Ditto. * winsup.api/ltp/getppid02.c: Ditto. * winsup.api/ltp/getuid02.c: Ditto. * winsup.api/ltp/getuid03.c: Ditto. * winsup.api/ltp/kill01.c: Ditto. * winsup.api/ltp/kill02.c: Ditto. * winsup.api/ltp/kill03.c: Ditto. * winsup.api/ltp/kill04.c: Ditto. * winsup.api/ltp/lseek06.c: Ditto. * winsup.api/ltp/lseek07.c: Ditto. * winsup.api/ltp/lseek08.c: Ditto. * winsup.api/ltp/lseek09.c: Ditto. * winsup.api/ltp/lseek10.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/munmap01.c: Ditto. * winsup.api/ltp/munmap02.c: Ditto. * winsup.api/ltp/open02.c: Ditto. * winsup.api/ltp/pipe01.c: Ditto. * winsup.api/ltp/pipe08.c: Ditto. * winsup.api/ltp/pipe09.c: Ditto. * winsup.api/ltp/pipe10.c: Ditto. * winsup.api/ltp/pipe11.c: Ditto. * winsup.api/ltp/poll01.c: Ditto. * winsup.api/ltp/read04.c: Ditto. * winsup.api/ltp/readlink01.c: Ditto. * winsup.api/ltp/readlink03.c: Ditto. * winsup.api/ltp/rename01.c: Ditto. * winsup.api/ltp/rename08.c: Ditto. * winsup.api/ltp/rename10.c: Ditto. * winsup.api/ltp/rmdir01.c: Ditto. * winsup.api/ltp/stat01.c: Ditto. * winsup.api/ltp/stat02.c: Ditto. * winsup.api/ltp/stat03.c: Ditto. * winsup.api/ltp/symlink03.c: Ditto. * winsup.api/ltp/symlink04.c: Ditto. * winsup.api/ltp/symlink05.c: Ditto. * winsup.api/ltp/sync02.c: Ditto. * winsup.api/ltp/time02.c: Ditto. * winsup.api/ltp/times02.c: Ditto. * winsup.api/ltp/times03.c: Ditto. * winsup.api/ltp/truncate01.c: Ditto. * winsup.api/ltp/truncate02.c: Ditto. * winsup.api/ltp/umask02.c: Ditto. * winsup.api/ltp/umask03.c: Ditto. * winsup.api/ltp/wait401.c: Ditto. * winsup.api/ltp/wait402.c: Ditto. * winsup.api/ltp/write02.c: Ditto. * winsup.api/ltp/write03.c: Ditto.
* * dumper.cc (main): Properly recognize negative pids (used by w9x).Egor Duda2001-09-132-1/+5
|
* 2001-09-13 Earnie Boyd <earnie@SF.net>Earnie Boyd2001-09-132-0/+18
| | | | | | | * lib/Makefile.in (config_prefix): New variable. (inst_includedir): Manipulate special value only if target == cygwin and build == target and prefix != config_prefix. (inst_libdir): Ditto.
* * sync.cc (muto::acquire): Fix while/if typo.Christopher Faylor2001-09-132-1/+5
|
* * common.h (EM_AVR_OLD): Renamed from...Alexandre Oliva2001-09-122-5/+25
| | | | | | | | | | (EM_AVR): this, redefined as in the current ELF standard. (EM_PJ_OLD): Renamed from... (EM_PJ): this, redefined as in the current ELF standard. (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in the current ELF standard. (EM_CYGNUS_ARC): Removed, unused for a long time.
* * wincap.cc (wincapc::init): Simplify W2K/XP case.Corinna Vinschen2001-09-122-8/+7
|
* * wincap.cc (wincapc::init): Set os name to "NT" on XP, too.Corinna Vinschen2001-09-122-1/+5
|
* 2001-09-12 Earnie Boyd <earnie@SF.net>Earnie Boyd2001-09-122-5/+20
| | | | | * Makefile.in (TARFLAGS): New variable. (TARFILEEXT): Ditto.
* * Makefile.in: Build wincap.o.Corinna Vinschen2001-09-1231-245/+706
| | | | | | | | | | | | | | | | | | | | | | | | | | * wincap.cc: New file. * wincap.h: Ditto. * autoload.cc: Add dynamic load statement for `CreateHardLinkA'. * dcrt0.cc (os_being_run): Eliminated. (osname): Ditto. (iswinnt): Ditto. (set_os_type): Ditto. (dll_crt0_1): Call wincap.init() instead of set_os_type(). (_dll_crt0): Ditto. * environ.cc (set_chunksize): New function. (parse_thing): `forkchunk' setting now invokes function `set_chunksize'. * fork.cc (chunksize): Eliminated. Moved to be member of wincap. * host_dependent.h: Removed. * syscalls.cc (_link): Try using `CreateHardLinkA' first, if available. * cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc, environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc, fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h, security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc, times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap capability check throughout. * winsup.h: Include wincap.h. Eliminate extern declarations of `os_being_run' and `iswinnt'. Eliminate `os_type" definition. * include/cygwin/version.h: Bump version to 1.3.4.
* 2001-09-12 Earnie Boyd <earnie@SF.net>Earnie Boyd2001-09-124-6/+17
| | | | | | * Makefile.in: Increment version. * include/w32api.h: Ditto. * lib/Makefile.in: Add usr/ to install directory special for cygwin.
* 2001-09-11 Danny Smith <dannysmith@users.sourceforge.net>Earnie Boyd2001-09-122-5/+11
| | | | | | * include/winnt.h (_[U]LARGE_INTEGER): Protect nameless struct with !defined(NONAMELESSUNION), rather than defined(_ANONYMOUS_STRUCT). (_REPARSE_DATA_BUFFER): Name union field DUMMYUNIONNAME.
* * exceptions.cc (call_signal_handler_now): Add additional guard againstChristopher Faylor2001-09-123-0/+14
| | | | | inappropriately calling signal handler. * syscalls.cc (_read): Reset errno if not exiting due to signal.
* minor cleanupsChristopher Faylor2001-09-122-26/+30
|
* Wed Sep 12 13:03:00 2001 Robert Collins <rbtcollins@hotmail.com>Robert Collins2001-09-124-17/+82
| | | | | | | | | | | | | | | | | | * autoload.cc (LoadDLLfuncEx): Auto load TryEnterCriticalSection - its a n NT only call. * thread.cc (pthread_cond::TimedWait): Use critical sections for NT. (pthread_cond::fixup_after_fork): Don't detect bad apps. (pthread_mutex::pthread_mutex): Use critical sections for NT. (pthread_mutex::~pthread_mutex): Ditto. (pthread_mutex::Lock): Ditto. (pthread_mutex::TryLock): Ditto. (pthread_mutex::UnLock): Ditto. (pthread_mutex::fixup_after_fork): Ditto. Also do not detect bad apps. (__pthread_mutex_trylock): Move WIN32 specific test into the class metho d. (__pthread_mutex_destroy): Prevent dereferencing passed pointer without valid address. * thread.h (pthread_mutex): Use critical sections for NT.
* * sigproc.h (sigframe::unregister): Return true/false whether this frame isChristopher Faylor2001-09-123-12/+19
| | | | | | capable of responding to signals. * exceptions.cc (sigframe::call_signal_handler): Don't call signal handler if it is not armed for this thread.
* Update copyrights.Christopher Faylor2001-09-1175-79/+79
|
* fix some typos.Christopher Faylor2001-09-111-5/+5
|
* change copyright.Christopher Faylor2001-09-111-1/+1
|
* * cygwin.din: Remove cygwin_getshared.Christopher Faylor2001-09-116-22/+32
| | | | | | * shared.cc: Ditto. * include/cygwin/version.h: Bump API minor number. * dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.
* If -mfp32, do not enable 64-bit FPR registers on mips3Michael Meissner2001-09-112-2/+7
|