Commit Graph

  • 7db9cdd24e 2006-02-22 Nathan Sidwell <nathan@codesourcery.com> Jeff Johnston 2006-02-22 18:02:54 +0000
  • 2eecb0478c * exceptions.cc (_cygtls::interrupt_now): Reorder conditional to call inside_kernel only if this isn't locked. Corinna Vinschen 2006-02-22 17:06:14 +0000
  • b65479ca2e * fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES to access flags in case of query_read_control case, add FILE_READ_DATA in case of query_stat_control. Corinna Vinschen 2006-02-22 16:40:42 +0000
  • f41c4c7ced * include/ddk/ntifs,h (FILE_ID_FULL_DIRECTORY_INFORMATION): Revert last change. Remove file level #pragma pack(push,4)/#pragma pop. Danny Smith 2006-02-21 08:28:01 +0000
  • 99db626d21 2006-02-20 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2006-02-20 23:24:00 +0000
  • 8aaf07c7a2 fix typo Christopher Faylor 2006-02-20 16:26:16 +0000
  • 0a5f931a43 * spawn.cc (av::fixup): Check for .bat and friends specifically now since these extensions are no longer automatically detected. Christopher Faylor 2006-02-20 16:15:51 +0000
  • ec92c4d6ab 2006-02-20 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2006-02-20 08:34:53 +0000
  • badc494165 revert erroneous checkin Christopher Faylor 2006-02-20 02:06:37 +0000
  • a339c989c7 * exceptions.cc (stackdump): Avoid dumping more than once. Christopher Faylor 2006-02-20 02:04:31 +0000
  • 6d61866578 * fhandler_disk_file.cc (fhandler_disk_file::opendir): Use NtOpenFile to open the directory. (fhandler_disk_file::readdir): Use NT_SUCCESS to determine if status represents success. Christopher Faylor 2006-02-19 21:18:36 +0000
  • 84a447aa08 * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Add filler value to force correct alignment. Corinna Vinschen 2006-02-19 10:56:20 +0000
  • 25109ea7f3 * include/commctrl.h (LPNMLVCACHEHINT): Correct spelling. Thanks to: Sebastian Pipping <hartwork at users dot sf dot net> (PNM_CACHEHINT): Add backward compatibilty define. (LPNM_CACHEHINT): Likewise. Danny Smith 2006-02-19 09:22:00 +0000
  • d4e9248df3 * fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop generating path_conv for root. Corinna Vinschen 2006-02-19 08:34:25 +0000
  • 408b92dbb5 * fhandler_disk_file.cc (FS_IS_SAMBA): Move out of path_conv::hasgood_inode. (path_conv::is_samba): New method. (fhandler_base::fstat_by_handle): Don't even try to use FileIdBothDirectoryInformation on Samba. * path.h (class path_conv): Declare is_samba method. Corinna Vinschen 2006-02-18 10:46:53 +0000
  • 753702223c * path.cc (conv_path_list): Eat empty paths when converting to POSIX. (cygwin_conv_to_win32_path): Deal with Cygwin's necessity of adding a '/' to the end of a path ending in '.'. Christopher Faylor 2006-02-17 20:12:11 +0000
  • 3cfeb52a18 Add support for the Infineon XC16X. Nick Clifton 2006-02-17 14:36:26 +0000
  • 4fc92aa730 * cygpath.cc (get_long_name): Load GetLongPathNameA instead of incorrect GetLongPathName. (doit): Create mixed filename after converting to short or long pathname respectively. Corinna Vinschen 2006-02-17 12:17:47 +0000
  • 32410d2175 * ps.cc (main): Set aflag if -p option is given. Corinna Vinschen 2006-02-17 11:16:23 +0000
  • 49103e2ba4 2006-02-16 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2006-02-16 21:25:45 +0000
  • c6e48b1cd1 * cygwin.din: Export sigignore and sigset. * exceptions.cc (sigset): New function. (sigignore): New function. * include/cygwin/signal.h (SIG_HOLD): Define. (sigignore): Declare. (sigset): Declare. * include/cygwin/version.h: Bump API minor number to 154. Corinna Vinschen 2006-02-16 18:21:49 +0000
  • df4f13b723 * ps.cc (longopts): Add --process option. (opts): Add -p option. (usage): Mention -p/--process option. (main): Handle -p option. * utils.sgml: Describe -p/--process option. Corinna Vinschen 2006-02-16 11:17:19 +0000
  • 5e8b96517c minor comment restructuring Christopher Faylor 2006-02-15 22:11:13 +0000
  • 96a4362c92 * regtool.cc (usage): Clarify help for "-K". Corinna Vinschen 2006-02-15 10:57:17 +0000
  • 680e0f1ffd * libc/include/sys/time.h (struct timeval): Change member types according to SUSv3. * libc/include/sys/types.h (useconds_t): Change to unsigned according to SUSv3. (suseconds_t): Define type. Corinna Vinschen 2006-02-15 10:26:30 +0000
  • 00bc9d7ff2 2006-02-14 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2006-02-14 09:29:42 +0000
  • 207258c87d 2006-02-14 Paolo Bonzini <bonzini@gnu.org> Andreas Schwab <schwab@suse.de> Paolo Bonzini 2006-02-14 09:22:15 +0000
  • 49bc9a6939 * include/mntent.h: Add missing #include. Christopher Faylor 2006-02-13 19:01:32 +0000
  • 462c98e96a * gentls_offsets: Fix typo in error message. Christopher Faylor 2006-02-13 18:59:01 +0000
  • d6593503c6 2006-02-13 Jeff Johnston <jjohnstn@redhat.com> David Carne <davidcarne@gmail.com> Jeff Johnston 2006-02-13 17:27:50 +0000
  • 3801e59ad8 2006-02-13 Earnie Boyd <earnie@users.sf.net> Earnie Boyd 2006-02-13 13:33:07 +0000
  • 472130e897 * fhandler_process.cc (format_process_stat): Use cygwin-derived start time even on NT since it is the logical start time of the "process". * pinfo.cc (set_myself): Don't set start time when it should have already been set previously. Christopher Faylor 2006-02-11 04:53:14 +0000
  • 5a8a5efcfd revert previously applied patch. Christopher Faylor 2006-02-11 00:07:43 +0000
  • 7f8c7bff6f * times.cc (clock_getres): Use correct conversion from milliseconds to seconds/nanoseconds. (clock_setres): Use correct conversion to nanoseconds. Christopher Faylor 2006-02-11 00:06:50 +0000
  • 9a08fd5a50 * external.cc (sync_winenv): Rename from "setup_winenv". Use same mechanism as spawn to determine environment variables which should be converted back to windows form. (cygwin_internal): Reflect setup_winenv -> sync_winenv name change. * include/sys/cygwin.h: Ditto. Christopher Faylor 2006-02-10 17:22:34 +0000
  • 2bf61bfe9b bfd/ H.J. Lu 2006-02-10 15:04:19 +0000
  • 30f1c8a675 * fhandler_disk_file.cc (fhandler_disk_file::opendir): Only set the dirent_get_d_ino flag on filesystems having useful File IDs. Add comment explaining why. Corinna Vinschen 2006-02-09 14:42:48 +0000
  • 9d1c0a6053 * cygcheck.cc (find_on_path): Update copyright text. Corinna Vinschen 2006-02-08 14:19:40 +0000
  • e699adfce5 * cygcheck.cc (find_on_path): Create copy of rv on successful access check, since rv can be reused in subsequent calls. Corinna Vinschen 2006-02-08 14:13:28 +0000
  • 86fdf2166a * bfd/archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e, bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x, bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249, bfd_mach_mcf547x, bfd_mach_mcf548x): Remove. (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div, bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac, bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp, bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac, bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac, bfd_mach_mcf_isa_b_usp_float_emac): New. (bfd_default_scan): Update coldfire mapping. * bfd/bfd-in.h (bfd_m68k_mach_to_features, bfd_m68k_features_to_mach): Declare. * bfd/bfd-in2.h: Rebuilt. * bfd/cpu-m68k.c (arch_info_struct): Add new coldfire machines, adjust legacy names. (m68k_arch_features): New. (bfd_m68k_mach_to_features, bfd_m68k_features_to_mach): Define. * bfd/elf32-m68k.c (elf32_m68k_object_p): New. (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags. (elf32_m68k_print_private_bfd_data): Print the CF EF flags. (elf_backend_object_p): Define. * bfd/ieee.c (ieee_write_processor): Update coldfire machines. * bfd/libbfd.h: Rebuilt. Nathan Sidwell 2006-02-07 19:01:10 +0000
  • f9fa511d46 2006-02-07 Paul Brook <paul@codesourcery.com> Jeff Johnston 2006-02-07 18:46:23 +0000
  • 9bbe6d5d28 2006-02-07 Paul Brook <paul@codesourcery.com> Jeff Johnston 2006-02-07 18:44:54 +0000
  • 03a49a00ab * dtable.cc (handle_to_fn): Accomodate new argument order in call to sys_wcstombs. * fhandler_disk_file.cc (fhandler_disk_file::readdir): Call sys_wcstombs instead of just wcstombs to accomodate OEM codepages. * miscfuncs.cc (sys_wcstombs): Split len argument in source and target length. Always 0-terminate result in target string. * security.cc (lsa2wchar): Remove unused function. (lsa2str): Ditto. (get_lsa_srv_inf): Ditto. (get_logon_server): Accomodate new argument order in call to sys_wcstombs. (get_user_groups): Ditto. (get_user_local_groups): Ditto. (get_priv_list): Call sys_wcstombs directly instead of lsa2str. * uinfo.cc (cygheap_user::ontherange): Accomodate new argument order in call to sys_wcstombs. * winsup.h (sys_wcstombs): Change prototype to match new argument order. Corinna Vinschen 2006-02-07 15:49:08 +0000
  • 3cb155a97f * init.cc (respawn_wow64_process): Exit with the exit code returned by the respawned process. Corinna Vinschen 2006-02-07 09:57:43 +0000
  • 3d1172c133 2006-02-04 Ron Lee <ronl@users.sourceforge.net> Danny Smith 2006-02-06 22:05:09 +0000
  • d38cf862ce * elf/ia64.h (SHF_IA_64_HP_TLS): New. Steve Ellcey 2006-02-06 21:52:48 +0000
  • 7420667afb Fixed ChangeLog entry Chris Sutcliffe 2006-02-06 20:29:17 +0000
  • f6e3104d09 2006-02-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2006-02-06 20:27:01 +0000
  • ede6ae5059 * include/shlobj.h (PathResolve): Fix typo. Christopher Faylor 2006-02-06 19:59:43 +0000
  • 985d0e68c5 Always zero all elements of siginfo_t throughout. * cygtls.h (_cygtls::thread_context): Declare new field. (_cygtls::thread_id): Ditto. (_cygtls::signal_exit): Move into this class. (_cygtls::copy_context): Declare new function. (_cygtls::signal_debugger): Ditto. * cygtls.cc (_cygtls::init_thread): Fill out thread id field. * exceptions.cc (exception): Change message when exception info is unknown. Copy context to thread local storage. (_cygtls::handle_exceptions): Avoid double test for fault_guarded. Reflect move of signal_exit to _cygtls class. (sigpacket::process): Copy context to thread local storage. (_cygtls::signal_exit): Move to _cygtls class. Call signal_debugger to notify debugger of exiting signal (WIP). Call stackdump here (WIP). (_cygtls::copy_context): Define new function. (_cygtls::signal_debugger): Ditto. * tlsoffsets.h: Regenerate. * include/cygwin.h (_fpstate): New internal structure. (ucontext): Declare new structure (WIP). (__COPY_CONTEXT_SIZE): New define. * exceptions.cc (_cygtls::interrupt_setup): Clear "threadkill" field when there is no sigwaiting thread. (setup_handler): Move event handling into interrupt_setup. Christopher Faylor 2006-02-06 18:24:11 +0000
  • 125ff9be63 * fhandler_socket.cc (fhandler_socket::connect): Fix formatting. (fhandler_socket::wait): Handle SA_RESTART when signal arrives. Corinna Vinschen 2006-02-06 17:50:23 +0000
  • 22ebea31c8 2006-02-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2006-02-06 16:29:15 +0000
  • 29b3c9cc3e * include/cygwin/socket.h (CMSG_FIRSTHDR): Avoid compiler warning. Corinna Vinschen 2006-02-06 10:01:37 +0000
  • 6da41754a4 * include/features.h: Add comment to explain what's going to happen here at one point. * include/sys/stdio.h: Guard getline and getdelim prototypes with _GNU_SOURCE to avoid collision with old-style declarations. Corinna Vinschen 2006-02-05 20:30:24 +0000
  • 6fc6eeae96 * cygwinenv.sgml: Explain transparent_exe option. Corinna Vinschen 2006-02-05 18:19:16 +0000
  • fbae2bf864 * environ.cc (struct parse_thing): Add transparent_exe option. * fhandler_disk_file.cc (fhandler_disk_file::link): Accomodate transparent_exe option. Add .exe suffix for links to executable files, if transparent_exe is set. * fhandler_process.cc (fhandler_process::fill_filebuf): Remove .exe suffix if transparent_exe option is set. * path.cc (symlink_worker): Accomodate transparent_exe option. (realpath): Don't tack on .exe suffix if transparent_exe is set. * syscalls.cc (transparent_exe): New global variable. (unlink): Accomodate transparent_exe option. (open): Ditto. (link): Ditto. (rename): Ditto. Maybe add .exe suffix when renaming executable files. (pathconf): Accomodate transparent_exe option. * winsup.h: Declare transparent_exe. Corinna Vinschen 2006-02-05 18:18:02 +0000
  • 0913522dbd * fhandler_disk_file.cc (fhandler_disk_file::readdir_9x): Remove useless code. Corinna Vinschen 2006-02-05 18:11:03 +0000
  • d795c9c9f4 Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 Arnold Metselaar 2006-02-05 11:57:34 +0000
  • da3374d695 * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Remove label "out". Move test for NULL __handle ... (fhandler_disk_file::rewinddir_9x): ... here. Corinna Vinschen 2006-02-05 11:17:03 +0000
  • a80fb27643 ... and the ChangeLog, never forget the ChangeLog... Corinna Vinschen 2006-02-05 10:55:59 +0000
  • 0856c0bb2c * dir.cc (rewinddir): Keep dirent_get_d_ino and dirent_set_d_ino flags. Corinna Vinschen 2006-02-05 10:55:23 +0000
  • c6e665bb95 * fhandler_disk_file.cc (fhandler_disk_file::readdir): Don't close dir handle when we hit EOF since rewwindir may reactivate it. (fhandler_disk_file::readdir_9x): Eliminate superfluous temporary variable. (fhandler_disk_file::closedir): Return EBADF when trying to close unopened DIR. Reorganize slightly. Return actual derived error value rather than always returning 0. Christopher Faylor 2006-02-05 07:03:24 +0000
  • dcbaac9b8c 2006-02-04 Ron Lee <ronl@users.sourceforge.net> Danny Smith 2006-02-04 19:35:46 +0000
  • 25bafd7b0e * dir.cc (rmdir): Reorganize check for trailing dot to return correct error when directory does not exist. Christopher Faylor 2006-02-04 19:02:42 +0000
  • 324ce34bd5 * dir.cc (mkdir): Reorganize check for trailing dot to return correct error when directory exists. * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Remove special test for path ending in '.'. Christopher Faylor 2006-02-04 04:31:34 +0000
  • 1912201029 * path.cc (suffix_scan::lnk_match): Return true beginning with SCAN_APPENDLNK. (suffix_scan::next): Rearrange code to make .lnk append order slightly more deterministic. * spawn.cc (exe_suffixes): Try no suffix before .exe suffix to align evaluation with stat_suffixes. (dll_suffixes): Ditto. Corinna Vinschen 2006-02-03 21:33:09 +0000
  • d6b2195f1c * cygwin/version.h: Mention CW_SETUP_WINENV in comment for API minor 153. Christopher Faylor 2006-02-02 23:16:26 +0000
  • c0b0336f36 * cygwin.din (updwtmpx): Export. * syscalls.cc (updwtmpx): New function. * include/utmpx.h (updwtmpx): Declare. * include/cygwin/version.h: Bump API minor number to 153. Corinna Vinschen 2006-02-02 22:46:37 +0000
  • 6577c186c9 * external.cc (setup_winenv): New function. (cygwin_internal): Implement CW_SETUP_WINENV. * sys/cygwin.h (cygwin_getinfo_types): Define CW_SETUP_WINENV. Christopher Faylor 2006-02-02 19:55:45 +0000
  • bb6f800d18 * security.cc (is_group_member): Fix comment. Corinna Vinschen 2006-02-02 11:35:52 +0000
  • 49e803c0b6 * security.cc (is_group_member): Use local group info type 1. Test group for being a global group or a well-known SID before adding it to the group list. Add comment. Corinna Vinschen 2006-02-02 11:22:10 +0000
  • 1f602210ea Mention new cygcheck -p option. Joshua Daniel Franklin 2006-02-02 04:45:25 +0000
  • d3d854b759 * lib/iphlpapi.def: (NotifyAddrChange@8): Define. Reported by: Daniel Atallah <datallah at users dot sf dot net> (NotifyRouteChange@8): Define. Danny Smith 2006-02-02 04:26:18 +0000
  • 0ee535ccb1 * autoload.cc (GetTcpTable): Define. * fhandler_socket.cc (address_in_use): New function to check if sockaddr_in address is already in use. (fhandler_socket::bind): Check if address is alreay in use in case of SO_REUSEADDR, to circumvent WinSock non-standard behaviour. Corinna Vinschen 2006-02-01 11:10:53 +0000
  • 0ca697dde1 * spawn.cc (dll_suffixes): Add .exe and "no suffix" to the list. Corinna Vinschen 2006-02-01 08:44:15 +0000
  • 4b84e3dcea * dlfcn.cc (check_path_access): Call find_exec with FE_DLL option. * path.h (enum fe_types): Add FE_DLL value. * spawn.cc (std_suffixes): Remove. (exe_suffixes): New suffix_info for executing files. (dll_suffixes): New suffix_info for searching shared libraries. (perhaps_suffix): Add opt argument. Use dll_suffixes if FE_DLL option is given, exe_suffixes otherwise. (find_exec): Propagate opt argument to perhaps_suffix. Drop suffix check when testing execute permission. (spawn_guts): Call perhaps_suffix with FE_NADA opt argument. Corinna Vinschen 2006-01-31 21:49:39 +0000
  • fd34affe5d * spawn.cc (av::fixup): Remove unused argument. (spawn_guts): Remove capitalization in debugging. Christopher Faylor 2006-01-31 21:23:57 +0000
  • 0ad7b0eb02 * spawn.cc (find_exec): Only return files with execute permission set if ntsec is on. Don't check execute permission of Windows batch files. (av::fixup): Handle empty files gracefully. Drop execute permission test here. * path.cc (suffix_scan::next): Don't skip any suffix on first run. Corinna Vinschen 2006-01-31 21:09:43 +0000
  • d968b3c86f 2006-01-31 Leif Ekblad <leif@rdos.net> Jeff Johnston 2006-01-31 19:33:56 +0000
  • 63a149a18f * path.cc (cwdstuff::set): Don't set win32 error, only POSIX errno. Corinna Vinschen 2006-01-31 16:10:29 +0000
  • 735229ff4f * path.cc (cwdstuff::set): When SetCurrentDirectory returns ERROR_INVALID_FUNCTION, bend it over to ERROR_FILE_NOT_FOUND. Add comment to explain why. Corinna Vinschen 2006-01-31 14:43:37 +0000
  • 82cac98f3e 2006-01-31 Paul Brook <paul@codesourcery.com> Richard Earnshaw <rearnsha@arm.com> Paul Brook 2006-01-31 14:11:13 +0000
  • 832dd7e69f * dir.cc (readdir_worker): Add comment about writing old 32 bit d_ino. * include/cygwin/version.h: Bump API minor number to 152. (CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO): Remove. Corinna Vinschen 2006-01-31 08:56:22 +0000
  • ca986c6bf8 * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Simplify conditional. Corinna Vinschen 2006-01-30 13:44:16 +0000
  • 5c25715276 * fhandler_disk_file.cc (d_cachepos): Rename from d_pos to distinct clearly from __d_position. Change throughout. (fhandler_disk_file::rewinddir): Reset readdir cache on NT. Corinna Vinschen 2006-01-30 10:30:58 +0000
  • 2d8319b7e1 * CYGWIN_LICENSE: Restrict to v2. * COPYING: Add. Christopher Faylor 2006-01-29 18:06:24 +0000
  • d64c96f0f5 v2 only Christopher Faylor 2006-01-29 18:05:00 +0000
  • edde4d4daf * fhandler_disk_file.cc (readdir_get_ino): Don't follow symlinks. Corinna Vinschen 2006-01-29 17:29:35 +0000
  • 5369605f4f * fhandler.h (class fhandler_socket): Add saw_reuseaddr status flag. * fhandler_socket.cc (fhandler_socket::bind): Set socket to SO_EXCLUSIVEADDRUSE if application didn't explicitely set SO_REUSEADDR socket option, on systems supporting SO_EXCLUSIVEADDRUSE. * net.cc (cygwin_setsockopt): Set fhandler's saw_reuseaddr status flag if SO_REUSEADDR socket option has been successsfully set. * wincap.h (wincaps::has_exclusiveaddruse): New element. * wincap.cc: Implement above element throughout. Corinna Vinschen 2006-01-29 12:23:44 +0000
  • 74d3f96faa * include/winsock2.h (WINSOCK_API_LINKAGE): Define. Add to prototypes. Danny Smith 2006-01-29 00:52:35 +0000
  • 0d80558dc4 * include/winnt.h (FORCEINLINE): Define. Danny Smith 2006-01-29 00:33:21 +0000
  • b8670a4764 * fhandler_disk_file.cc (fhandler_disk_file::mkdir): In case or error, check for existance explicitely and set errno to EEXIST. Corinna Vinschen 2006-01-28 13:59:39 +0000
  • 7ab59dee94 * fhandler_disk_file.cc (DIR_NUM_ENTRIES): New define determining minimum number of dir entries which fit into the readdir cache. (DIR_BUF_SIZE): Define globally as size of readdir cache. (struct __DIR_cache): New structure used for readdir caching on NT. (d_dirname): Accessor for struct __DIR_cache, use throughout. (d_pos): Ditto. (d_cache): Ditto. (fhandler_disk_file::opendir): Allocate __d_dirname to contain readdir cache on NT. (fhandler_disk_file::readdir): Use buf as pointer into readdir cache. Implement readdir caching. Corinna Vinschen 2006-01-28 13:41:22 +0000
  • fa3ffdd01a * include/sys/dirent.h (struct dirent): Revert misguided attempt to rename __d_unused1 to __d_fd. Corinna Vinschen 2006-01-28 10:34:11 +0000
  • acfdfc9ffb Move cocom to the build requirements. Joshua Daniel Franklin 2006-01-28 02:12:32 +0000
  • 9e5f45ed6f * autoload.cc (NtQueryDirectoryFile): Define. * dir.cc (__opendir_with_d_ino): Just call opendir. (opendir): Remove CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO handling. (readdir_worker): Only try generating d_ino if it's 0. Utilize namehash of directories fhandler. Call readdir_get_ino to generate d_ino for "..". (seekdir64): Keep dirent_set_d_ino flag. * fhandler.h (enum dirent_states): Add dirent_get_d_ino. (class fhandler_disk_file): Declare new private methods readdir_helper and readdir_9x. * fhandler_disk_file.cc (path_conv::hasgood_inode): New method to evaluate if a filesystem has reliable inode numbers. (fhandler_base::fstat_by_handle): Accomodate structure member name change from IndexNumber to FileId. (fhandler_base::fstat_helper): Call hasgood_inode here. (fhandler_disk_file::opendir): Call fhaccess only for real files. Don't append '*' to __d_dirname here, move to readdir_9x. On NT, open directory handle here. Set dirent_get_d_ino and dirent_set_d_ino flags according to wincap and filesystem. (fhandler_disk_file::readdir_helper): New method to implement readdir postprocessing only once. (readdir_get_ino_by_handle): New static function. (readdir_get_ino): New function to centralize inode number evaluation in case inode number hasn't been returned by NtQueryDirectoryFile. (fhandler_disk_file::readdir): Move old functionality to readdir_9x. Call readdir_9x when on 9x/Me. Implement NT specific readdir here. (fhandler_disk_file::readdir_9x): Move 9x specific readdir here. (fhandler_disk_file::seekdir): Accomodate new NT readdir method. (fhandler_disk_file::closedir): Ditto. (fhandler_cygdrive::fstat): Set d_ino to namehash. Add comment. (fhandler_cygdrive::opendir): Call get_namehash to prepare later correct evaluation of d_ino. (fhandler_cygdrive::readdir): Replace recursion with loop. Evaluate drive's d_ino by calling readdir_get_ino. * fhandler_proc.cc (fhandler_proc::readdir): Set dirent_saw_dot and dirent_saw_dot_dot to avoid seeing . and .. entries twice. * fhandler_process.cc (fhandler_process::readdir): Ditto. * fhandler_registry.cc (fhandler_registry::readdir): Ditto. * ntdll.h (STATUS_INVALID_PARAMETER): New define. (STATUS_INVALID_LEVEL): New define. (struct _FILE_INTERNAL_INFORMATION): Rename member IndexNumber to FileId (as in Nebbitt). * path.h (path_conv::hasgood_inode): Now implemented in fhandler_disk_file.cc. * wincap.h (wincaps::has_fileid_dirinfo): New element. * wincap.cc: Implement above element throughout. * winsup.h (readdir_get_ino): Add declaration. * include/sys/dirent.h (struct dirent): Slightly rename structure members to accomodate changes. Remove __USE_EXPENSIVE_CYGWIN_D_INO handling and declaration of __opendir_with_d_ino. Corinna Vinschen 2006-01-27 21:50:42 +0000
  • e7a9c71d62 * spawn.cc (spawn_guts): Fix potential handle leak when failing exec. Christopher Faylor 2006-01-27 06:08:05 +0000
  • e1bfb483ea * exceptions.cc (inside_kernel): Fix to return true if we can't get the name of the DLL for the given memory block since we are not in kernel code. Christopher Faylor 2006-01-27 06:06:06 +0000
  • 90c01ac9df Add top-level README Joshua Daniel Franklin 2006-01-27 05:37:13 +0000
  • aba373611c * faq-programming.xml (faq.programming.ipc): Add new FAQ about cygserver and its relation to the "Bad system call" error. * faq-setup.xml (faq.setup.uninstall-all): Mention postgresql. * overview2.sgml: Update security info on shared memory. Joshua Daniel Franklin 2006-01-27 04:52:16 +0000