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
2006-01-28 * autoload.cc (NtQueryDirectoryFile): Define.Corinna Vinschen
* 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.
2006-01-27* spawn.cc (spawn_guts): Fix potential handle leak when failing exec.Christopher Faylor
2006-01-27* exceptions.cc (inside_kernel): Fix to return true if we can't get the name ofChristopher Faylor
the DLL for the given memory block since we are not in kernel code.
2006-01-27Add top-level READMEJoshua Daniel Franklin
2006-01-27* faq-programming.xml (faq.programming.ipc): Add new FAQ aboutJoshua Daniel Franklin
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.
2006-01-26 * fhandler.cc (fhandler_base::open): Fix bug in argument order toCorinna Vinschen
InitializeObjectAttributes call.
2006-01-26* faq-programming.xml (faq.programming.building-cygwin): AddJoshua Daniel Franklin
list of packages required for building and exact check instructions. * faq-setup.xml (faq.setup.uninstall-service): New instructions on uninstalling a cygwin service. (faq.setup.uninstall-all): Reference new service uninstall FAQ.
2006-01-26* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix test forChristopher Faylor
dirent_isroot to use the correct boolean operator.
2006-01-26 * include/winnt.h (DECLSPEC_SELECTANY): Define.Danny Smith
2006-01-262006-01-25 Filip Navara <xnavara@volny.cz>Danny Smith
* include/winnt.h (DECLSPEC_ALIGN): Define.
2006-01-25 * faq-setup.xml (faq.setup.snapshots): Rename DLL using Windows tools.Corinna Vinschen
2006-01-25* ntdll.h: (temporarily?) Add more functions for querying directory.Christopher Faylor
2006-01-24* dir.cc (readdir_worker): Turn off expensive inode calculation.Christopher Faylor
2006-01-24 * fhandler_process.cc (fhandler_process::fill_filebuf): DisableCorinna Vinschen
stripping the .exe suffix from the link target in PROCESS_EXE and PROCESS_EXENAME case. * path.cc (realpath): Tack on .exe suffix if necessary.
2006-01-24 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Try harderCorinna Vinschen
to determine remote file systems with reliable inode numbers. Add longish comment.
2006-01-24 * include/commctrl.h: Correct spelling of 'compatibility' inDanny Smith
comments. * include/setupapi.h: Likewise. * include/ws2tcpip.h: Likewise.
2006-01-242006-01-24 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith
* include/ddk/winddk.h (KeGetCurrentKPCR): Support -masm=intel. 2006-01-24 Jiri Malak <Jiri.Malak@iol.cz> WATCOM compatibility changes. * include/ddk/ntddk.h (DECL_IMPORT): Define using __declspec, rather than __attribute__. (DECL_EXPORT): Likewise. * include/ddk/winddk.h (DDKAPI): Avoid using __attribute__. (DDKFASTAPI): Likewise. (DDKCDECLAPI): Likwise. (KeGetCurrentKPCR): Provide __WATCOMC__ syntax for inline code.
2006-01-23 * fhandler_socket.cc (fhandler_socket::fixup_after_fork): ResetCorinna Vinschen
inheritance for duplicated socket.
2006-01-232006-01-23 Brandon Sneed <brandon@redf.net>Danny Smith
* setupapi.def: Add all CM_* functions defined in ddk/cfgmgr32.h to exports.
2006-01-21.Christopher Faylor
2006-01-21* include/cygwin/version.h: Bump API minor number to 151.Christopher Faylor
* dir.cc (__opendir_with_d_ino): New function. (opendir): Set flag if we should be calculating inodes. (readdir_worker): Calculate d_ino by calling stat if the user has asked for it. (seekdir64): Maintain all persistent flag settings. * fhandler.h (dirent_states): Add dirent_set_d_ino. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Reflect changes to dirent structure. * fhandler_virtual.cc (fhandler_virtual::opendir): Ditto. * include/sys/dirent.h (struct dirent): Coalesce two similar structures. Remove all threads of the apparently highly confusing references to inodes. Add support for calculating a real inode if __USE_EXPENSIVE_CYGWIN_D_INO is defined.
2006-01-20* include/sys/dirent.h: Add comments for people who are REALLY confused aboutChristopher Faylor
whether they should be using something called __invalid_d_ino or not.
2006-01-20 * fhandler_socket.cc (fhandler_socket::prepare): Fix debug output.Corinna Vinschen
(fhandler_socket::release): Add debug output for WSAEventSelect failure. (fhandler_socket::ioctl): Always cancel WSAEventSelect before switching to blocking mode. Only set nonblocking flag if ioctlsocket call succeeded. Only print new socket state if ioctlsocket call succeeded.
2006-01-20* cygcheck.cc (common_paths): Add "patch".Christopher Faylor
2006-01-19* cygcheck.cc (init_paths): Record first_nonsys_path.Christopher Faylor
(find_on_path): Start on first nonsys path when !search_sysdirs.
2006-01-19white spaceChristopher Faylor
2006-01-19* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check posix path forChristopher Faylor
root rather than windows path.
2006-01-19* dir.cc (readdir_worker): Fill in invalid fields with -1. Accommodate nameChristopher Faylor
change from __ino32 to __invalid_ino32. * include/sys/dirent.h (__invalid_ino32): Rename from __ino32. Don't define unused d_type macros.
2006-01-19Remove references to and files from old texinfo FAQ.Joshua Daniel Franklin
2006-01-192006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* Makefile.in: Bump cygwin build number.
2006-01-18* heap.cc (heap_init): Remove Sleep.Christopher Faylor
2006-01-18 * net.cc (rresvport): Remove extern declaration.Corinna Vinschen
2006-01-18 * autoload.cc (rresvport): Remove.Corinna Vinschen
* net.cc (last_used_rrecvport): New global shared variable. (cygwin_rresvport): Implement rresvport without using rresvport from wsock32.
2006-01-18Wasn't going to check this in but since it did get checked in, here's a ↵Christopher Faylor
ChangeLog.
2006-01-18bad_keywordsChristopher Faylor
2006-01-18 * include/cygwin/socket.h (struct sockaddr_storage): Fix typo inCorinna Vinschen
ss_family member name.
2006-01-18* cygpath.cc (dowin): Remove stray debugging printf statement.Dave Korn
2006-01-172006-01-17 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe
* include/w32api.h: Increment version to 3.6. * Makefile.in: Ditto.
2006-01-17copyrightChristopher Faylor
2006-01-17 * Makefile.in: Replace etcdir with sysconfdir.Corinna Vinschen
2006-01-17* include/cygwin/version.h: Bump DLL minor version number to 20.Christopher Faylor
2006-01-16fix minor typoChristopher Faylor
2006-01-16 * configure.in: Add AC_PROG_INSTALL handling.Corinna Vinschen
* configure: Regenerate. * Makefile.in (install): Install CYGWIN_LICENSE.
2006-01-16 * CYGWIN_LICENSE: Fix contact information.Corinna Vinschen
2006-01-15 * Makefile.in (cygcheck.exe): Do not link against libwininet.a.Corinna Vinschen
* cygcheck.cc (pInternetCloseHandle): Define global function pointer. (display_internet_error): Use it. (package_grep): Attempt to load wininet.dll at runtime. Call WinInet API through function pointers throughout.
2006-01-13 * cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.Corinna Vinschen
2006-01-13 * uname.cc (uname): Concatenate a "-WOW64" to utsname's sysnameCorinna Vinschen
member to see when running under WOW64.
2006-01-13 * cygcheck.cc (dump_sysinfo): Convert osname to const and remove castsCorinna Vinschen
in subsequent assignments. Recognize Longhorn/Vista and report as not yet supported. Recognize when running under WOW64 and report native CPU type. Slightly rearrange \n printing.
2006-01-13 * net.cc (cygwin_setsockopt): Ignore errors when setting IP_TOS onCorinna Vinschen
Windows 2000 and above. Clarify the comment about IP_TOS and move to the place where the magic happens. (get_ifconf): Remove unused code. * wincap.h (wincaps::has_disabled_user_tos_setting): New element. * wincap.cc: Implement above element throughout.
2006-01-13* faq-setup.xml (faq.setup.setup): Correct URL typo.Joshua Daniel Franklin
(faq.setup.snapshots): Clarify.