aboutsummaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)AuthorFilesLines
2005-05-19 * crt1.c (_gnu_exception_handler): Handle illegal instructionDanny Smith2-0/+24
OS exception as a signal if user has defined a SIGILL handler.
2005-05-19 * include/cygwin/in.h: Add comment.Corinna Vinschen2-1/+7
2005-05-19 * include/cygwin/in.h: Define IPPROTO_xxx values as macros toCorinna Vinschen2-1/+16
accomodate SUSv3.
2005-05-19fix commentChristopher Faylor1-1/+1
2005-05-19fix commentChristopher Faylor1-1/+1
2005-05-19* include/limits.h: Include features.h, as on linux.Christopher Faylor2-1/+8
2005-05-19* include/endian.h: New file.Christopher Faylor2-0/+21
2005-05-19 * cygwin.sc: Add Dwarf-2 debug sections.Corinna Vinschen2-0/+17
2005-05-19 * mmap.cc (mmap64): Make granularity an automatic variable.Corinna Vinschen2-1/+5
2005-05-19* fhandler.h (fhandler_cygdrive::seekdir): Delete declaration.Christopher Faylor4-26/+16
(fhandler_cygdrive::seekdir): Delete. * fhandler.h (fhandler_cygdrive::iscygdrive_root): Delete method. (fhandler_cygdrive::telldir): Delete declaration. * fhandler_disk_file.cc: Remove all uses of fhandler_cygdrive::iscygdrive_root. (fhandler_disk_file::mkdir): New method. (fhandler_disk_file::rmdir): Ditto. (fhandler_cygdrive::telldir): Delete.
2005-05-19* external.cc: Move pids declaration to file scope and use less enthusiasticChristopher Faylor5-4/+15
constructor. * pinfo.h (winpids::winpids): Remove default setting. * fhandler_fifo.cc (fhandler_fifo::open_not_mine): Accommodate removal of default setting. * fhandler_proc.cc (fhandler_proc::readdir): Ditto.
2005-05-18* cygtls.h (_local_storage::unknown_thread_name): New buffer.Christopher Faylor6-65/+75
* tlsoffsets.h: Regenerate. * cygthread.cc (cygthread::name): Use new thread-local buffer. * exceptions.cc (handle_exceptions): Avoid unnecessary initialization of static variables to zero. * fork.cc (slow_pid_reuse) Ditto.
2005-05-18 * mmap.cc (mmap64): Avoid compiler warning.Corinna Vinschen4-4/+8
* ntea.cc (NTReadEA): Ditto. * hires.h (hires_base): Remove useless usecs function.
2005-05-182005-05-18 Brian Dessent <brian@dessent.net>Brian Dessent2-19/+55
* install.texinfo ("How do I uninstall..."): Rewrite to cover removing services, dealing with permissions, and other common tasks for removing Cygwin completely.
2005-05-18 * fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it'sCorinna Vinschen3-7/+6
equivalent to fhandler_virtual::telldir now anyway. * fhandler.h (class fhandler_netdrive): Remove telldir.
2005-05-18 * fhandler_netdrive.cc (fhandler_netdrive::telldir): Implement.Corinna Vinschen2-5/+16
(fhandler_netdrive::seekdir): Implement. (fhandler_netdrive::closedir): Call rewinddir to have only one point of calling WNetCloseEnum.
2005-05-182005-05-17 Brian Dessent <brian@dessent.net>Brian Dessent6-5/+14
* 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-17 * fhandler.h (class fhandler_netdrive): Add method rewinddir.Corinna Vinschen3-36/+116
* fhandler_netdrive.cc (struct netdriveinf): New structure to store thread arguments. (thread_netdrive): Thread handling all potentially blocking WNet... calls. (create_thread_and_wait): Start and wait for above thread. (fhandler_netdrive::exists): Change to call create_thread_and_wait instead of calling WNet... function. (fhandler_netdrive::readdir): Ditto. Fix error handling. (fhandler_netdrive::rewinddir): New method.
2005-05-17 * external.cc (cygwin_internal): Avoid compiler warning.Corinna Vinschen2-1/+6
2005-05-17white spaceChristopher Faylor1-1/+1
2005-05-17* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded sinceChristopher Faylor2-2/+7
the state of fds is unknown at this point.
2005-05-17* cygcheck.cc (cygwin_internal): Define as a "C" function.Christopher Faylor4-4/+15
* strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
2005-05-17* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.Christopher Faylor4-4/+16
* external.cc (cygwin_internal): Implement CW_DEBUG_SELF. * init.cc (dll_entry): Minor rearrangement of code.
2005-05-17* path.cc (path_conv::check): Remove embedded dots before slashes.Christopher Faylor2-2/+6
2005-05-16 * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.Corinna Vinschen2-4/+5
It doesn't belong here.
2005-05-16* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.Christopher Faylor2-2/+9
2005-05-15 * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen3-5/+20
(print_version): Fix copyright. * strace.cc (print_version): Ditto.
2005-05-15 * environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.Corinna Vinschen2-2/+8
2005-05-14 * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): CheckCorinna Vinschen3-2/+14
return code from GetFileSize and set file size to 0 if necessary. * fhandler_netdrive.cc (fhandler_netdrive::fstat): Set permissions to read/execute for all.
2005-05-13really fix typo.Christopher Faylor1-1/+1
2005-05-13fix typoChristopher Faylor1-1/+1
2005-05-13* path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.Christopher Faylor2-5/+6
2005-05-13 Add missing ChangeLog entry.Corinna Vinschen1-0/+1
2005-05-13 * fhandler.h (fhandler_netdrive::readdir): Remove useless comment.Corinna Vinschen2-1/+4
2005-05-13 * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.Corinna Vinschen3-0/+48
(WNetGetResourceParentW): Ditto. * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.
2005-05-13* mount.cc (mount_commands): Display "-X" option when appropriate.Christopher Faylor2-4/+6
2005-05-13 * autoload.cc (WNetGetResourceParentA): Import.Corinna Vinschen4-4/+125
(WNetOpenEnumA): Import. (WNetEnumResourceA): Import. (WNetCloseEnum): Import. * fhandler.h (fhandler_netdrive::telldir): Add declaration. (fhandler_netdrive::seekdir): Ditto. (fhandler_netdrive::closedir): Ditto. * fhandler_netdrive.cc: Drop explicit including windows.h. Include winnetwk.h instead of shlwapi.h. Include dirent.h. (fhandler_netdrive::readdir): Implement. (fhandler_netdrive::telldir): New method. (fhandler_netdrive::seekdir): New method. (fhandler_netdrive::closedir): Ditto.
2005-05-13Remove PC_FULL from path_conv usage throughout.Christopher Faylor10-28/+34
* path.h (enum pathconv_arg): Change PC_FULL to PC_NOUILL. * path.cc (path_conv::check): Test for PC_NOFULL rather than !PC_FULL. (cygwin_conv_to_win32_path): Use PC_NOFULL to force non-absolute path.
2005-05-13* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.Christopher Faylor2-1/+9
2005-05-13* cygtls.cc (_cygtls::remove): Eliminate compiler warning.Christopher Faylor8-25/+71
* dir.cc (mkdir): Check path for writability. (rmdir): Ditto. Remove check for special directories. * path.cc (path_conv::check): Set PATH_RO for virtual devices. Set error if read-only and asked for writability. * path.h (pathconv_arg): Add PC_WRITABLE. (path_types): Add PATH_RO. (path_conv::isro): Add (currently unused) check for read-only filesystem. Return "ENOSHARE" when we know a share doesn't exist. * include/sys/mount.h: Add MOUNT_RO flag. * autoload.cc (WNetGetResourceInformationA): Import. * fhandler_netdrive.cc (fhandler_netdrive::exists): Detect actual existence of remote system rather than always assuming that it exists.
2005-05-11* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.Christopher Faylor2-4/+12
(__main): Reinstate atexit of do_global_dtors. (cygwin_exit): Call dll_global_dtors here. (do_exit): And here.
2005-05-11* cygtls.cc (_cygtls::remove): Clear exitsock after close.Christopher Faylor3-4/+14
* fhandler_console.cc (fhandler_console::write_normal): Store character in a local variable for potential future inspection.
2005-05-10 * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.Corinna Vinschen12-803/+1179
* devices.h (FH_KMSG): Define new device. * devices.in: Add "/dev/kmsg" entry. * devices.cc: Regenerate. * dtable.cc (build_fh_pc): Handle case FH_KMSG. * fhandler.h (class fhandler_mailslot): New class. (class select_stuff): Add device_specific_mailslot pointer. * fhandler_mailslot.cc: New file. * select.cc (peek_mailslot): New function. (verify_mailslot): Ditto. (struct mailslotinf): New stuct to handle select on mailslots. (thread_mailslot): New function. (start_thread_mailslot): Ditto. (mailslot_cleanup): Ditto. (fhandler_mailslot::select_read): New method. * syslog.cc (klog_guard): New muto. (dev_kmsg): Local mailslot for kernel message device. (vklog): New function. (klog): Ditto. * winsup.h (vklog): Declare. (klog): Ditto. * include/sys/syslog.h: Define _PATH_KLOG.
2005-05-10* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors areChristopher Faylor2-1/+8
handled correctly.
2005-05-10 * path.cc (path_conv::check): Set correct file attributes for socketCorinna Vinschen2-1/+6
files.
2005-05-10 * mingwex/math/nexttoward.c: New file.Danny Smith6-3/+103
* mingwex/math/nexttowardf.c: New file. * mingwex/math/nextafterl.c: Add nexttowardl aliaa. * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c, mexttowardf.c, (MATH_OBJS): Add nexttoward.o, mexttowardf.o, * include/math.h (nexttoward, nextowardf, nexttowardl): Add prototypes.
2005-05-09 * mingwex/math/nextafterf.c (nextafterf): CorrectDanny Smith5-13/+80
handling of -0.0. * mingwex/math/nextafterl.c: New file. * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c. (MATH_OBJS): Add nextafterl.o. * include/math.h (nextafterl): Uncomment prototype.
2005-05-092005-05-09 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet5-2/+117
* fhandler.h (class fhandler_netdrive): New class. * fhandler_netdrive.cc (fhandler_netdrive::fhandler_netdrive): New constructor. (fhandler_netdrive::exists): New method. (fhandler_netdrive::fstat): Ditto. (fhandler_netdrive::readdir): Ditto. (fhandler_netdrive::open): Ditto. * dtable.cc (build_fh_pc): Handle case FH_NETDRIVE. * path.cc (isvirtual_dev): Add FH_NETDRIVE. (mount_info::conv_to_win32_path): Detect netdrive device and bypass mount search for network paths.
2005-05-09* cygcheck.cc (nuke): New function.Christopher Faylor2-0/+47
(load_cygwin): New function. (main): Use load_cygwin to load argv/envp from cygwin environment, if appropriate.
2005-05-09* strace.cc (attach_process): Don't call load_cygwin(). Assume that it'sChristopher Faylor2-3/+16
already happened. (dotoggle): Ditto. (main): Set argv from cygwin environment, if it exists.