Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)Author
2001-10-21* dll_init.cc (dll_list::alloc): Increase retry count to 1000.Christopher Faylor
2001-10-20fix typo.Christopher Faylor
2001-10-20 * mkgroup.c: Avoid compiler warnings.Corinna Vinschen
(print_special): New function. (main): Print special accounts by calling print_special(). * mkpasswd.c: Avoid compiler warnings. (enum_users): Print additional U-domain\username info in gecos field when SIDs are printed. (print_special): New function. (main): Print special accounts by calling print_special().
2001-10-20 * include/winnetwk.h (WNetGetResourceInformationA): Add declaration.Corinna Vinschen
(WNetGetResourceInformationW): Ditto. (WNetGetResourceInformation): Add define.
2001-10-20* miscfuncs.cc (+__check_invalid_read_ptr_errno): New function.Christopher Faylor
* syscalls.c (_write): Validate that write buffer is accessible for reading, not writing. * winsup.h: Declare new function, increase regparmization of check_* functions.
2001-10-19 * path.cc (getcwd): Allow len == 0 when buf == NULL.Corinna Vinschen
2001-10-19* syscalls.cc (_read): Validate input pointer.Christopher Faylor
(_write): Ditto. (system): Ditto.
2001-10-17 Patch from Frederic Devernay <Frederic.Devernay@sophia.inria.fr>:Corinna Vinschen
* poll.cc (poll): Call cygwin_select() if any fd is valid.
2001-10-17 * fhandler_raw.cc (fhandler_dev_raw::open): Eliminate compatibilityCorinna Vinschen
code since no Win32 device names are used anymore. * fhandler_tape.cc (fhandler_dev_tape::tape_set_blocksize): Allow 0 as blocksize to indicate variable blocksize. * path.cc (win32_device_name): Generate NT internal device names using upper/lower case names for readability. Generate \DosDevices\<letter>: device name for mount table compatibility devices.
2001-10-16Forgot ChangeLogCorinna Vinschen
2001-10-16* fhandler.cc (fhandler_base::fork_fixup): Guard against compiler warning.Christopher Faylor
2001-10-16 * fhandler_tape.cc (fhandler_dev_tape::tape_status): ReportCorinna Vinschen
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.
2001-10-16 * pathnames.sgml: Cleanup raw device text to be more coherent.Corinna Vinschen
2001-10-16 * pathnames.sgml: Add description for new fixed device paths.Corinna Vinschen
2001-10-16 * autoload.cc: Add load statement for `NtOpenFile'.Corinna Vinschen
* 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.
2001-10-16* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation fromChristopher Faylor
set_errno.
2001-10-16* mmap.cc (mmap): Assign 'fh' from cygheap_fdget. Use 'fh' everywhere.Christopher Faylor
2001-10-16minor reformat.Christopher Faylor
2001-10-16* cygerrno.h (set_errno): Define more informative version of this function forChristopher Faylor
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.
2001-10-16* fhandler.cc (fhandler_base::fork_fixup): Don't protect handle.Christopher Faylor
* 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.
2001-10-16new known problem "hang or core-dump during make"David Starks-Browning
2001-10-16cvs+ssh problem on Win9x now FITNR.David Starks-Browning
2001-10-15* mkpasswd.cc (enum_users): Shorten "unused" passwd field.Christopher Faylor
2001-10-15 * uname.cc (uname): Use `wProcessorLevel' unless OS sets it wrong.Corinna Vinschen
Use `dwProcessorType' then instead. * wincap.cc: Set flag has_valid_processorlevel appropriately. * wincap.h: Add flag has_valid_processorlevel.
2001-10-14* dtable.cc (dtable::build_fhandler_from_name): Use PC_FULL to determine pathChristopher Faylor
name. * fork.cc (fork_parent): Correct the "unable to allocate forker_finished event" error message. It named the wrong event before.
2001-10-14* autoload.cc (load_wsock32): Declare dummy function to force loading ofChristopher Faylor
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.
2001-10-13* fhandler_dsp.cc (fhandler_dsp::ioctl): Return 0 for successfulChristopher Faylor
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).
2001-10-13* Makefile.in: Allow stdinc searching for dumper.Christopher Faylor
2001-10-13* autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.Christopher Faylor
2001-10-13* Makefile.in: Add -nostdinc to CXXFLAGS.Christopher Faylor
2001-10-13* Makefile.in: Comment out install for now.Christopher Faylor
2001-10-12* Makefile.in: Accomodate changes to w32api_include macro.Christopher Faylor
2001-10-12* Makefile.common: Perform more include file testing trickery.Christopher Faylor
2001-10-12Red HatizeChristopher Faylor
2001-10-11* net.cc (cygwin_sendto): Use correct socket address when sendingEgor Duda
data to AF_UNIX socket.
2001-10-10 * net.cc (get_95_ifconf): Using other registry values pointing toCorinna Vinschen
correct networkdevice identification for Windows95.
2001-10-10New entries:David Starks-Browning
My application cannot locate cygncurses5.dll!!! Why is Cygwin suddenly @emph{so} slow? Modified: Why doesn't //c (for C:) work anymore?
2001-10-10Throughout, rename PROC_FORK1 to PROC_FORK.Christopher Faylor
* 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.
2001-10-10* Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common.Christopher Faylor
2001-10-10* Makefile.common: Avoid adding -I options to compile if they already exist inChristopher Faylor
CC or C*FLAGS. This prevents warnings from newer versions of gcc.
2001-10-10* uinfo.cc (internal_getlogin): Reorganize slightly to minimize work in defaultChristopher Faylor
condition.
2001-10-09fix typosEgor Duda
2001-10-09 * fhandler.cc (fhandler_disk_file::open): Add missing case clash check.Corinna Vinschen
2001-10-08 * winsup.api/mmaptest01.c: Add several tests on mmaps. Use libltp.Corinna Vinschen
* winsup.api/winsup.exp: Link all tests agains libltp.
2001-10-08* dtable.cc (dtable::build_fhandler): Allocate correct amount for givenChristopher Faylor
fhandler class. * fhandler.h (fhandler_union): Properly define rather than relying on fhandler_console being "big enough".
2001-10-08* external.cc (fillout_pinfo): Reset counter whenever we initialize the pidChristopher Faylor
list.
2001-10-08* kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup.Christopher Faylor
2001-10-08* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it hasChristopher Faylor
special meaning on NT. * syscalls.cc (access): Use stat_worker.
2001-10-06fix typoChristopher Faylor
2001-10-06* fhandler.cc (fhandler_base::fork_fixup): Protect dup'ed handle and record itChristopher Faylor
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.