b20e2ee663* fhandler_tape.cc (fhandler_dev_tape::tape_status): Report EOTWarningZoneSize in get->mt_eotwarningzonesize. * include/cygwin/mtio.h: Define DEFTAPE. (struct mtget): Add member `mt_eotwarningzonesize'. Add a comment. * include/cygwin/version.h: Bump API minor version to 47.
Corinna Vinschen
2001-10-16 16:28:39 +0000
0aa019b960* pathnames.sgml: Cleanup raw device text to be more coherent.
Corinna Vinschen
2001-10-16 16:03:22 +0000
7b46bb01e1* pathnames.sgml: Add description for new fixed device paths.
Corinna Vinschen
2001-10-16 15:16:02 +0000
990690655c* autoload.cc: Add load statement for `NtOpenFile'. * fhandler.h (fhandler_dev_raw::get_unit): New method. (fhandler_dev_tape::norewind): Eliminate. (fhandler_dev_tape::is_rewind_device): New method. * fhandler_raw.cc (fhandler_dev_raw::open): Open new fixed device name devices using NT internal method. Keep calling fhandler_base::open() for old mount table device mapping compatibility devices. (fhandler_dev_raw::fstat): Eliminate. Settings are done by fhandler_base::fstat() already. * fhandler_tape.cc: Remove `norewind' usage throughout. * ntdll.h: Define FILE_SYNCHRONOUS_IO_NONALERT. Define struct _IO_STATUS_BLOCK. Declare NtOpenFile(). * path.cc (get_raw_device_number): Add new approach for using fixed device names. (win32_device_name): Ditto. (get_device_number): Ditto. Require POSIX path to begin with "/dev/". (mount_info::conv_to_win32_path): Call win32_device_name() instead of get_device_number() after evaluating mount points to allow changing the win32 destination path again. * security.cc (str2buf2uni): Remove `static' to be able to call function from fhandler_dev_raw::open(). * wincap.cc: Set flag has_raw_devices appropriately. * wincap.h: Add flag has_raw_devices.
Corinna Vinschen
2001-10-16 14:53:26 +0000
2ac3bab68d* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation from set_errno.
Christopher Faylor
2001-10-16 14:43:36 +0000
5a23087628* mmap.cc (mmap): Assign 'fh' from cygheap_fdget. Use 'fh' everywhere.
Christopher Faylor
2001-10-16 14:04:26 +0000
f636c08124minor reformat.
Christopher Faylor
2001-10-16 13:49:38 +0000
20160c5f3d* filenames.h: Add cygwin to the list of dosish style path systems.
Christopher Faylor
2001-10-16 12:47:31 +0000
0f4db8cbe0* cygerrno.h (set_errno): Define more informative version of this function for debugging. (__set_errno): Declare when DEBUGGING. * cygheap.h (cygheap_fdget::cygheap_fdget): Add a flag to control when errno is set. * debug.cc (__set_errno): New function. * fcntl.cc (_fcntl): Fix so that correct fd is used for second argument to dup2. * syscalls.cc (_cygwin_istext_for_stdio): Don't set errno here when using cygheap_fdget.
Christopher Faylor
2001-10-16 03:31:50 +0000
df63bd490a* fhandler.cc (fhandler_base::fork_fixup): Don't protect handle. * dlfcn.cc: Fix to confirm to coding standards. Reorganize includes throughout to accomodate new cygheap.h usage. * cygheap.h (cygheap_fdmanip): New class: simplifies locking and retrieval of fds from cygheap->fdtab. (cygheap_fdget): Ditto. (cygheap_fdnew): Ditto. * fcntl.cc (_fcntl): Use new method to lock fdtab and retrieve info. * ioctl.cc (ioctl): Ditto. * mmap.cc (mmap): Ditto. * net.cc: Ditto, throughout. * passwd.cc (getpass): Ditto. * path.cc (fchdir): Ditto. * pipe.cc (make_pipe): Ditto. * sec_acl.cc (facl): Ditto. * syscalls.cc: Ditto, throughout. * termios.cc: Ditto, throughout.
Christopher Faylor
2001-10-15 23:39:33 +0000
fff126983enew known problem "hang or core-dump during make"
David Starks-Browning
2001-10-15 22:32:46 +0000
97eab19f83cvs+ssh problem on Win9x now FITNR.
David Starks-Browning
2001-10-15 21:51:36 +0000
271a33443c* uname.cc (uname): Use `wProcessorLevel' unless OS sets it wrong. Use `dwProcessorType' then instead. * wincap.cc: Set flag has_valid_processorlevel appropriately. * wincap.h: Add flag has_valid_processorlevel.
Corinna Vinschen
2001-10-15 09:41:18 +0000
48372ea6f1* dtable.cc (dtable::build_fhandler_from_name): Use PC_FULL to determine path name. * fork.cc (fork_parent): Correct the "unable to allocate forker_finished event" error message. It named the wrong event before.
Christopher Faylor
2001-10-14 15:49:13 +0000
611d92e24c* autoload.cc (load_wsock32): Declare dummy function to force loading of winsock. * fhandler.cc (fhandler_base::set_inheritance): Make debugging output more verbose. * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Force loading of winsock32 if winsock2 not available. * net.cc (set_socket_inheritance): Use DuplicateHandle in all cases to set inheritance correctly. (fdsock): Use winsock2_active macro to determine when to set socket inheritance. Remove fdtab resource locking since this function should already be protected. (cygwin_accept): Simplify logic. Ensure that fdtab unlock is not called inappropriately. (cygwin_rcmd): Use fdtab locking. (cygwin_rresvport): Ditto. (cygwin_rexec): Ditto. * select.cc (peek_socket): Set errno appropriately if winsock select fails. * winsup.h: Declare check_pty_fds. * syscalls.cc (check_pty_fds): Rename from check_ttys_fds. Also check pty master. (setsid): Use check_pty_fds. * dtable.cc (dtable::dec_console_fds): Add check on pty fds.
Christopher Faylor
2001-10-14 04:14:24 +0000
0476bae576* fhandler_dsp.cc (fhandler_dsp::ioctl): Return 0 for successful SNDCTL_DSP_GETBLKSIZE operation. Remove obsolete 'name' arg from fhandler_* constructors throughout. * winsup.h (winsock_active): New macro. (winsock2_active): Ditto. * autoload.cc (wsock_init): Use new macros to decide if winsock or winsock2 is loaded. (nonexist_wsock32): Dummy function to force winsock load. (nonexist_ws2_32): Dummy function to force winsock2 load. * fhandler.h (fhandler_socket::fstat): Declare new method. Currently unused. * fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Check that winsock2 is active before trying WSADuplicateSocketA. (fhandler_socket::fixup_after_fork): Add extra check for winsock2_active. Otherwise use iffy procedures for Windows 95. (fhandler_socket::fixup_after_exec): Add debugging. (fhandler_socket::dup): Add debugging. (fhandler_socket::fstat): New method. (fhandler_socket::set_close_on_exec): Attempt to perform iffy stuff on Windows 95. * errno.cc (_sys_nerr): Work around compiler strangeness. * pinfo.cc (winpids::add): Add extra element at end of allocated array for setting to NULL. (winpids::enumNT): Ditto. (winpids::init): Don't modify pidlist if it hasn't been allocated (possibly due to malloc problem).
Christopher Faylor
2001-10-13 17:23:35 +0000
5dec13e179* Makefile.in: Allow stdinc searching for dumper.
Christopher Faylor
2001-10-13 05:33:47 +0000
f7ab43a74foops, fix an error in the previous entry.
Matthew Green
2001-10-13 02:27:25 +0000
0cd692b40b[gas/ChangeLog] * config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455 flags, equivalent to -m7400. New -maltivec to enable AltiVec instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable 64-bit and 32-bit BookE support, respectively. Change -m403 and -m405 to set PPC403 option. (md_show_usage): Adjust for new options. * doc/all.texi: Set PPC. * doc/as.texinfo: Add PPC support and pull in c-ppc.texi. * doc/c-ppc.texi: New file. * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi. * doc/Makefile.in: Regenerate.
Matthew Green
2001-10-13 01:59:09 +0000
bc6ed54986* autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.
Christopher Faylor
2001-10-13 01:35:15 +0000
cb1826572c* Makefile.in: Add -nostdinc to CXXFLAGS.
Christopher Faylor
2001-10-13 00:59:20 +0000
338420c918* Makefile.in: Comment out install for now.
Christopher Faylor
2001-10-12 20:02:41 +0000
0aa753540a* Makefile.in: Accomodate changes to w32api_include macro.
Christopher Faylor
2001-10-12 19:49:29 +0000
0055a6c6c9* Makefile.common: Perform more include file testing trickery.
Christopher Faylor
2001-10-12 12:52:05 +0000
c5e7ccacffRed Hatize
Christopher Faylor
2001-10-12 01:51:21 +0000
5844588b74* net.cc (cygwin_sendto): Use correct socket address when sending data to AF_UNIX socket.
Egor Duda
2001-10-11 09:46:21 +0000
f6a85cddc8* net.cc (get_95_ifconf): Using other registry values pointing to correct networkdevice identification for Windows95.
Corinna Vinschen
2001-10-10 19:28:19 +0000
a0d03b7eafNew entries: My application cannot locate cygncurses5.dll!!! Why is Cygwin suddenly @emph{so} slow? Modified: Why doesn't //c (for C:) work anymore?
David Starks-Browning
2001-10-10 09:21:55 +0000
57013c31ecThroughout, rename PROC_FORK1 to PROC_FORK. * child_info.h: Rename PROC_* to _PROC_*. Define PROC_* with additional testing magic. Eliminate old PROC_FORK and rename PROC_FORK1 to PROC_FORK. * dcrt0.cc (_cygwin_testing_magic): New variable. Added to magic number in proc_info. (alloc_stack): Eliminate old PROC_FORK test. (dll_crt0_1): Ditto. Use _PROC_* enums for test. Subtract _cygwin_testing_magic from child_proc_info->type so that normal cygwin programs invoked by test suite programs do not consider themselves to be in a cygwin environment. (_dll_crt0): Ditto. Move environment checks to initial_env function to conserve on stack space. (initial_env): New function. Checks for testing and debugging environment variables. * init.cc (cygwin_hmodule): Move declaration. * winsup.h: Declare variables used for cygwin testing.
Christopher Faylor
2001-10-10 02:32:12 +0000
b2a8510b89* Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common.
Christopher Faylor
2001-10-10 01:58:33 +0000
bc6aa7e1b4* Makefile.common: Avoid adding -I options to compile if they already exist in CC or C*FLAGS. This prevents warnings from newer versions of gcc.
Christopher Faylor
2001-10-10 01:57:43 +0000
d3fee5eccb* uinfo.cc (internal_getlogin): Reorganize slightly to minimize work in default condition.
Christopher Faylor
2001-10-09 23:28:24 +0000
d7f6398556* winsup.api/mmaptest01.c: Add several tests on mmaps. Use libltp. * winsup.api/winsup.exp: Link all tests agains libltp.
Corinna Vinschen
2001-10-08 12:18:38 +0000
97405ef5b0* dtable.cc (dtable::build_fhandler): Allocate correct amount for given fhandler class. * fhandler.h (fhandler_union): Properly define rather than relying on fhandler_console being "big enough".
Christopher Faylor
2001-10-08 05:50:33 +0000
2c774ac3f3* external.cc (fillout_pinfo): Reset counter whenever we initialize the pid list.
Christopher Faylor
2001-10-08 04:26:27 +0000
12f6d7bc9c* kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup.
Christopher Faylor
2001-10-08 03:06:25 +0000
c27a29813a* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it has special meaning on NT. * syscalls.cc (access): Use stat_worker.
Christopher Faylor
2001-10-07 21:16:36 +0000
58364ce8a1merge from gcc
DJ Delorie
2001-10-07 17:23:43 +0000
dca779339ffix typo
Christopher Faylor
2001-10-06 04:04:14 +0000
a448b8cf34* fhandler.cc (fhandler_base::fork_fixup): Protect dup'ed handle and record it as non-inheritable for debugging purposes in case there is a subsequent fork or exec. * fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Allow fork_fixup to call ProtecHandle.
Christopher Faylor
2001-10-06 01:04:24 +0000
3cf6936e3b* path.cc (get_raw_device_number): Correct length arguments for wdeveqn.
Christopher Faylor
2001-10-05 18:23:49 +0000
547d07cae8* winsup.api/nullgetcwd.c: New file. Check that NULL first argument to getcwd works.
Christopher Faylor
2001-10-05 16:52:43 +0000
19639f4139* path.cc (getcwd): Allow NULL first argument.
Christopher Faylor
2001-10-05 15:05:07 +0000
b3fa795ab9Revert incorrect checkins.
Christopher Faylor
2001-10-05 04:37:33 +0000
f978840bee* heap.h (inheap): Check for NULL.
Christopher Faylor
2001-10-05 04:36:14 +0000
8d817b0f9eAdd second path_conv * argument to fstat()s throughout. * fhandler.h: Change read and fstat to regparm/stdcall throughout. (fhandler_base::fstat): Just declare. Don't define. (fhandler_disk_file::fstat_helper): Declare. * fhandler.cc (fhandler_base::fstat): Move here from fhandler.h, adapt from former stat_dev(). (fhandler_disk_file::fstat): Move most of the disk-file-specific logic from stat_worker to here. Use fstat_helper to derive final fstat output. (fhandler_disk_file::fstat_helper): New method, renamed from former fstat method. (num_entries): Moved here from syscalls.cc. * fhandler_mem.cc (fhandler_dev_mem::fstat): Use base class to initialize most stuff. Invert has_physical_mem_access test for establishing permissions. * fhandler_raw.cc (fhandler_dev_raw::fstat): Eliminate unneed test and memory clearing. Use base class to initialize most stuff. * syscalls.cc (stat_dev): Eliminate. (stat_worker): Simply call fstat method to generate fstat output. Move all device specific code to appropriate fstats. * dir.cc (opendir): Pass correct arg to stat_worker to allow following symlinks.
Christopher Faylor
2001-10-05 04:21:41 +0000
291ae2c1e7* winsup.api/systemcall.c (main): Change some messages for clarity.
Christopher Faylor
2001-10-05 02:47:28 +0000
ca7320ac2c* winsup.api/systemcall.c: New file. Check for system call problems.
Christopher Faylor
2001-10-05 02:29:46 +0000
af39152f4c* spawn.cc (perhaps_suffix): Return NULL on non-existence of file as well as "directoryness". Previous code modified on 2001/09/30 actually had an arguable bug which was unmasked by the change on that day.
Christopher Faylor
2001-10-05 01:39:08 +0000
cbed6474df* path.cc (path_conv::check): Return ENOTDIR when leading device and trailing component.
Christopher Faylor
2001-10-05 00:52:41 +0000
32fb80db07* syscalls.cc (stat_worker): Make global. Accept path_conv parameter for passing information back to caller. * winsup.h: Declare stat_worker. * dir.cc (opendir): Use stat_worker rather than stat and pass path_conv parameter to stat_worker for later inspection. * syslog.cc (syslog): Teach syslog about syslog priorities other than LOG_ERR, LOG_WARNING and LOG_INFO * path.cc (path_conv::check): Don't perform file system or rootdir checks on devices.
Christopher Faylor
2001-10-05 00:17:57 +0000
8af0f81d52* dcrt0.cc (dll_crt0_1): Don't close hexec_proc if it is NULL. * fork.cc (vfork): Add debugging statements. * path.cc (get_device_number): Make static. Rewrite to inspect both unix and windows paths. (get_raw_device_number): Just check for parts of raw device that we care about. (get_devn): New function, pulled from get_device_number. (win32_device_name): Accomodate arg changes to get_device_number. (mount_info::get_device_number): Call get_device_number on translated Windows path. * spawn.cc (spawn_guts): Don't treat P_VFORK differently from P_NOWAIT. Add handle to child's shared region to child so that it will be preserved if the parent goes away. * fhandler.h: Throughout, simplify to one open method for all fhandler classes, requiring a path_conv first element. * fhandler.cc (fhandler_base::open): Remove obsolete method. Generalize to require path_conv * as first argument. (fhandler_disk_file::open): Remove obsolete method. (fhandler_disk_file::open): Use path_conv pointer rather than reference. * fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Use new open method. (fhandler_dev_clipboard::open): Accomodate new argument for open methods. * fhandler_console.cc (fhandler_console::open): Ditto. (fhandler_console::dup): Use new open method. (fhandler_console::fixup_after_fork): Ditto. (fhandler_console::fixup_after_exec): Ditto. * fhandler_dsp.cc (fhandler_dev_dsp::open): Accomodate new argument for open methods. * fhandler_floppy.cc (fhandler_dev_floppy::open): Ditto. * fhandler_mem.cc (fhandler_dev_mem::open): Ditto. * fhandler_random (fhandler_dev_random::open): Ditto. * fhandler_raw.cc (fhandler_dev_raw::open): Ditto. * fhandler_serial.cc (fhandler_serial::open): Ditto. * fhandler_tape.cc (fhandler_dev_tape::open): Ditto. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. (fhandler_pty_master::open): Ditto. * fhandler_windows.cc (fhandler_windows::open): Ditto. * fhandler_zero.cc (fhandler_dev_zero::open): Ditto. * fhandler_socket.cc (fhandler_socket::set_connect_secret): Accomodate new argument for open methods. * syscalls.cc (_open): Ditto. (stat_worker): Ditto.
Christopher Faylor
2001-10-04 02:34:20 +0000
34d2d03975Add support for -z nocopyreloc.
Alan Modra
2001-10-03 15:11:47 +0000
ebd645e7e6* cygheap.cc (cfree): Remove malloc debugging probe. * dlmalloc.c (errprint): Remove abort() call which causes interesting error message printing to abort prematurely. * environ.cc: Sprinkle MALLOC_CHECKs liberally throughout. (_addenv): Allocate two empty elements at end of environ to (apparently) work around problems with some buggy applications. (winenv): Avoid calling alloca if no forced environment variable is present.
Christopher Faylor
2001-10-03 03:49:26 +0000
b519ee2a4e* gettext.m4: Test po/POTFILES.in exists before trying to read.
Alan Modra
2001-10-03 01:46:25 +0000
2f17ab1689Tue Oct 2 22:25:23 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-10-02 12:27:03 +0000
58045dff80* common.h (NLM_CAT, NLM_CAT3): Don't define. (NLM_CAT4): Update conditions under which this is defined. Document why CONCAT4 can't be used.
Alan Modra
2001-10-02 05:59:56 +0000
4ab6034f50* dtable.h (dtable::build_fhandler): Make path_conv parameter non-optional. (dtable::init_std_file_from_handle): Eliminate name parameter. * dtable.cc (stdio_init): Don't pass bogus name to init_std_file_from_handle. The function will figure out the name itself. (dtable::init_std_file_from_handle): Eliminate name parameter. Assume that we're always called with an appropriate fd. Pass name as NULL if we can't simply figure it out from context. (cygwin_attach_handle_to_fd): Pass path_conv argument to build_fhandler. (dtable::build_fhandler): Make path_conv argument mandatory. Eliminate specific call to get_device_number. With unknown device names, set name from handle context for parsing by path_conv. (dtable::build_fhandler): Pass path_conv argument to build_fhandler. * path.h (path_conv::set_isdisk): Set disk device type. (path_conv::is_device): Don't consider FH_DISK a "device". * syscalls.cc (_open): Pass path_conv argument by reference. (stat_worker): Ditto. (_rename): Use path_conv operators. Add bounds to DeleteFile/MoveFile for loop.
Christopher Faylor
2001-10-02 01:58:06 +0000
47af76d8c8* cygwin.din: export strtoll and strtoull
Christopher Faylor
2001-10-01 19:47:37 +0000
5665b0e1d02001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
Jeff Johnston
2001-10-01 18:05:11 +0000
47063f00e4Add "path.h" include throughout, where needed. Use new path_conv methods and operators to simplify testing for directory and attributes, throughout. * path.h (path_conv::exists): New method. (path_conv::has_attribute): Ditto. (path_conv::isdir): Ditto. (path_conv::DWORD &): New operator. (path_conv::int &): Ditto. * dir.cc (rmdir): Eliminate a goto. * dtable.cc (dtable::build_fhandler): Accept opt and suffix info for path_conv.check. Return fh == NULL on path_conv error. Pass unit to set_name as appropriate. (dtable::reset_unix_path_name): New method. * dtable.h (dtable): Declare new method. Reflect arg changes to build_fhandler. * fhandler.cc (fhandler_disk_dummy_name): Eliminate. (fhandler_base::set_name): Expect paths to be NULL. Build unix_path_name from win32_path_name when it is a device. (fhandler_base::reset_unix_path_name): New method. (fhandler_base::raw_read): Report EISDIR when ERROR_INVALID_FUNCTION or ERROR_INVALID_PARAMETER and reading a directory. (fhandler_disk_file::fstat): Don't call stat_dev since we should now never be calling fhandler_disk_file methods with devices. (fhandler_base::fhandler_base): Clear {unix,win32}_path_name. (fhandler_base::~fhandler_base): Always free {unix,win32}_path_name. (fhandler_disk_file::fhandler_disk_file): Remove set_no_free_names kludge. (fhandler_disk_file::open): Ditto. * fhandler.h (fhandler_base::no_free_names): Eliminate. (fhandler_base::set_no_free_names): Ditto. * fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Don't set unix_path_name here. * path.cc (fchdir): Lock fd table throughout. Use new dtable::reset_unix_path_name method to reset path. * syscalls.cc (stat_worker): Reorganize to always call fstat method. Pass path_conv method to fhandler_*::open. (chroot): Elminate a goto.
Christopher Faylor
2001-10-01 04:10:07 +0000
c25c4c5ffc* environ.cc (winenv): Allocate exact amount of space needed for forced windows environment variable rather than just using MAX_PATH.
Christopher Faylor
2001-09-30 21:37:53 +0000
bb6c3d5832* Makefile.in: Depend on stamp to ensure rebuilding. Remove stamp file when we've just built the DLL.
Christopher Faylor
2001-09-30 21:10:38 +0000
38102913c8Mon Oct 1 00:34:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-09-30 14:39:55 +0000
1795c53d86* passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin initialization. * grp.cc (read_etc_group): Ditto.
Christopher Faylor
2001-09-28 07:23:18 +0000
8b51edbfa6* passwd.cc (read_etc_passwd): Don't bother with locking when in cygwin initialization since there is only one thread. * grp.cc (read_etc_group): Ditto.
Christopher Faylor
2001-09-28 07:01:22 +0000
9c61aed684* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF event available.
Christopher Faylor
2001-09-28 06:06:45 +0000
f4f30cf140* mmap.cc (mmap): Move setting the access after evaluating fd. Remove useless comment. Explain copy-on-write problem of 9x more detailed. Don't set access to FILE_MAP_COPY on 9x only when anonymous mapping is requested. (fhandler_disk_file::mmap): Remove useless device check. Add debug output.
Corinna Vinschen
2001-09-27 22:39:50 +0000
c985580e97Remove spurious comment
Nick Clifton
2001-09-27 07:45:32 +0000
5fe74396e9* select.cc (peek_pipe): REALLY only grab mutex when we actually got something from the pipe.
Christopher Faylor
2001-09-26 22:24:09 +0000
c918cf9421Tue Sep 25 21:25:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-09-25 11:45:26 +0000
79776fc2cc* select.cc (fhandler_tty_common::ready_for_read): Rewrite to correctly call peek_pipe.
Christopher Faylor
2001-09-25 06:19:10 +0000
54e909976cmerge from gcc
DJ Delorie
2001-09-24 23:37:30 +0000
3263838430* select.cc (peek_pipe): Only grab mutex when we actually got something from the pipe.
Christopher Faylor
2001-09-24 22:49:12 +0000
35f879a6d0* fhandler.h (fhandler_pipe::hit_eof): New method. (writepipe_exists): New class element. (orig_pid): Ditto. (id): Ditto. (is_slow): Eliminate. * pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance on writepipe_exists, if it exists. (fhandler_pipe::hit_eof): New method, modelled after tty. (fhandler_pipe::dup): Duplicate writepipe_exists, if it exists. (make_pipe): Set up a dummy event for pipes on windows 9x. The nonexistence of this event means that the write side of the pipe has closed. (_dup): Move to syscalls.cc (_dup2): Ditto.
Christopher Faylor
2001-09-24 21:50:44 +0000
4367ec036f* syscalls.cc (_open): Set name in fhandler object after successful creation. (stat_dev): Set device type to block device in FH_FLOPPY case.
Corinna Vinschen
2001-09-23 15:35:02 +0000
e3fbb5f5ce* dtable.cc (dtable::build_fhandler): Initialize unit when using optional path_conv argument.
Corinna Vinschen
2001-09-23 14:39:16 +0000
991f7832e6expand entry "How can I get bash filename completion to be case insensitive?"
David Starks-Browning
2001-09-23 11:19:13 +0000
b66101cda7new entry "What versions of Windows are supported?"
David Starks-Browning
2001-09-23 11:13:08 +0000
45b9eb31441.1.x -> 1.3.x in "recent history"
David Starks-Browning
2001-09-23 10:06:32 +0000
9854ada754* dtable.cc (dtable::build_fhandler): Accept an optional path_conv argument. If available, use this to calculate path name and device number. * dtable.h (dtable): Reflect above change. * fhandler.h (fhandler_base): Declare virtual method which accepts path_conv rather than path string as first argument. * fhandler.cc (fhandler_base::open): Define above new method. * syscalls.cc (_open): Set aside a path_conv variable for use in build_fhandler and subsequent call to open.
Christopher Faylor
2001-09-22 21:44:07 +0000
880230dc7cnew entry "How much disk space does Cygwin require?"
David Starks-Browning
2001-09-22 19:47:17 +0000
ca60dce821again revise license terms
David Starks-Browning
2001-09-22 19:32:47 +0000
5e733918c0* exceptions.cc (setup_handler): Always relinquish lock after we've interrupted. * fhandler.cc: Move pipe methods to pipe.cc. * fhandler.h (fhandler_pipe): Add new methods. * fork.cc (sync_with_parent): Make error messages more informative. * pipe.cc (fhandler_pipe::fhandler_pipe): Move here from fhandler.cc. (fhandler_pipe::lseek): Ditto. (fhandler_pipe::set_close_on_exec): New method. (fhandler_pipe::read): Ditto. (fhandler_pipe::close): Ditto. (fhandler_pipe::dup): Ditto. (make_pipe): Create the guard mutex on the read side of the pipe. * select.cc (peek_pipe): Use guard_mutex to discover if we have the right to read on this pipe. (fhandler_pipe::readh_for_read): Pass the read pipe guard mutex to peek_pipe. * syscalls.cc (_read): Always detect signal catchers, for now. * debug.cc (makethread): Eliminate hack to make thread inheritable. * sigproc.cc (subproc_init): Don't use hack to make thread inheritable.
Christopher Faylor
2001-09-22 16:55:02 +0000
142920f65arevise license explanation
David Starks-Browning
2001-09-22 08:45:27 +0000
99426172ccAdd recent developments.
Christopher Faylor
2001-09-22 01:37:47 +0000
e0197c5ea5typo, words.
Christopher Faylor
2001-09-22 01:29:07 +0000
53df7e2aaf* Makefile.in (mingw_getopt.o): Ensure that newlib include directories are not searched.
Christopher Faylor
2001-09-22 00:40:37 +0000
a997e6ea10fix error
David Starks-Browning
2001-09-21 20:42:47 +0000
38300b88f1Update contents. Expanded anti-virus information. How to uninstall a package.
David Starks-Browning
2001-09-21 20:40:50 +0000
99059a8c38new entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"
David Starks-Browning
2001-09-21 18:20:21 +0000
fc08ed56c3Fix compile time warnings
Nick Clifton
2001-09-21 14:25:09 +0000