]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years ago * sec_acl.cc (acl_worker): Remove.
Corinna Vinschen [Sun, 12 Sep 2010 19:43:55 +0000 (19:43 +0000)]
* sec_acl.cc (acl_worker): Remove.
(acl32): Implement acl_worker functionality here.
(lacl32): Just return -1 with errno set to ENOSYS.
(lacl): Ditto.
* include/cygwin/acl.h (lacl): Remove this call.

13 years ago* sigproc.cc (sig_dispatch_pending): Remove debugging statement.
Christopher Faylor [Sun, 12 Sep 2010 19:13:09 +0000 (19:13 +0000)]
* sigproc.cc (sig_dispatch_pending): Remove debugging statement.
(sigproc_init): Wrap a long line.

13 years ago* cygthread.h (cygthread::cygthread): Reorganize slightly.
Christopher Faylor [Sun, 12 Sep 2010 15:49:30 +0000 (15:49 +0000)]
* cygthread.h (cygthread::cygthread): Reorganize slightly.
* dcrt0.cc (dll_crt0_0): Move sigproc initialization later to ensure everything
we need has been set up.
(dll_crt0_1): Streamline some logic slightly.
* sigproc.cc (no_signals_available): Add back dropped test for macro parameter.
* fhandler_console.cc (fhandler_console::write): Show a little bit of what's
being written to the console in debugging output.

13 years ago * syscalls.cc (start_transaction): Make inline function. Move up to be
Corinna Vinschen [Sun, 12 Sep 2010 11:41:56 +0000 (11:41 +0000)]
* syscalls.cc (start_transaction): Make inline function.  Move up to be
more generally available.
(stop_transaction): Ditto.
(unlink_nt): Potentially start transaction when trying to delete file
with DOS R/O attribute set.  If file is .lnk symlink, check for number
of hardlinks.  Add "out" label and only return via "out".  Rearrange
reversion of DOS R/O attribute and, on success, only revert R/O
attribute if file is .lnk symlink with more than one hardlink.  Add
length comment to explain why.

13 years ago * new-features.sgml: Mention fenv support.
Dave Korn [Sat, 11 Sep 2010 11:42:15 +0000 (11:42 +0000)]
* new-features.sgml: Mention fenv support.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::rmdir): More thoroughly
Corinna Vinschen [Sat, 11 Sep 2010 10:58:42 +0000 (10:58 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): More thoroughly
check the existence condition on remote drives.  Enhance comment.

13 years agowinsup/cygwin/ChangeLog:
Dave Korn [Sat, 11 Sep 2010 06:53:28 +0000 (06:53 +0000)]
winsup/cygwin/ChangeLog:

* Makefile.in (DLL_OFILES): Add new fenv.o module.
(fenv_CFLAGS): New flags definition for fenv.o compile.
* autoload.cc (std_dll_init): Use fenv.h functions instead of direct
manipulation of x87 FPU registers.
* crt0.c (mainCRTStartup): Likewise.
* cygwin.din (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fetestexcept, fegetround, fesetround, fegetenv,
feholdexcept, fesetenv, feupdateenv, fegetprec, fesetprec,
feenableexcept, fedisableexcept, fegetexcept, _feinitialise,
_fe_dfl_env, _fe_nomask_env): Export new functions and data items.
* fenv.cc: New file.
* posix.sgml: Update status of newly-implemented APIs.
* include/fenv.h: Likewise related header.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

13 years ago * syscalls.cc (rename): Limit retry loop in case of sharing violation
Corinna Vinschen [Fri, 10 Sep 2010 19:55:26 +0000 (19:55 +0000)]
* syscalls.cc (rename): Limit retry loop in case of sharing violation
to about a second.

13 years ago * syscalls.cc (fstatat): Call stat_worker directly from here.
Corinna Vinschen [Fri, 10 Sep 2010 18:51:44 +0000 (18:51 +0000)]
* syscalls.cc (fstatat): Call stat_worker directly from here.

13 years ago * flock.cc (allow_others_to_sync): Define MAX_PROCESS_SD_SIZE. Use
Corinna Vinschen [Fri, 10 Sep 2010 14:53:44 +0000 (14:53 +0000)]
* flock.cc (allow_others_to_sync): Define MAX_PROCESS_SD_SIZE.  Use
instead of ACL_DEFAULT_SIZE.
* sec_acl.cc (setacl): Use TLS buffer to allow maximum ACL size.
* security.h (ACL_DEFAULT_SIZE): Drop definition.
(ACL_MAXIMUM_SIZE): Define.
(SD_MAXIMUM_SIZE): Define.
* security.cc (get_file_sd): Allocate security_decscriptor with size
SD_MAXIMUM_SIZE.
(alloc_sd): Use TLS buffer to allow maximum ACL size.

13 years ago * mount.cc (class fs_info_cache): New class to cache filesystem
Corinna Vinschen [Fri, 10 Sep 2010 10:04:28 +0000 (10:04 +0000)]
* mount.cc (class fs_info_cache): New class to cache filesystem
information.
(fs_info::update): Check FileFsVolumeInformation against filesystem
cache and use it, if filesystem is already available.  Add filesystem
to cache, if not.  Only request FileFsObjectIdInformation if
FILE_SUPPORTS_OBJECT_IDS is set in filesystem flags.
* ntdll.h (struct _FILE_FS_VOLUME_INFORMATION): Add pragma pack so the
structure size is matching the OS expectations.  Add __dummy member
used in filesystem cache.

13 years ago * security.cc (get_file_sd): Add bool parameter justcreated. Use
Corinna Vinschen [Fri, 10 Sep 2010 09:32:13 +0000 (09:32 +0000)]
* security.cc (get_file_sd): Add bool parameter justcreated.  Use
GetSecurityInfo only if justcreated is true, NtQuerySecurityObject
otherwise.  Add comment to explain why.  Don't waste time to call
NtQuerySecurityObject twice, just allocate big enough area.
(get_file_attribute): Call get_file_sd with justcreated set to false.
(set_file_attribute): Call get_file_sd with justcreated depending on
S_JUSTCREATED pseudo file attribute.
(check_file_access): Call get_file_sd with justcreated set to false.
* sec_acl.cc (setacl): Ditto.
(getacl): Ditto.
* security.h: Convert many functions to regparm functions.
(get_file_sd): Declare with extra bool parameter.

13 years ago * fhandler_procsys.cc (fhandler_procsys::exists): Rearrange to handle
Corinna Vinschen [Fri, 10 Sep 2010 08:06:02 +0000 (08:06 +0000)]
* fhandler_procsys.cc (fhandler_procsys::exists): Rearrange to handle
dangling symlinks correctly.  Fix comments.
(fhandler_procsys::fill_filebuf): Remove useless comment.

13 years ago * libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
Kevin Buettner [Thu, 9 Sep 2010 14:54:24 +0000 (14:54 +0000)]
* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
empty definition.
* libc/sys/sysnecv850/Makefile: Regenerate.

13 years ago * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
Jakub Jelinek [Thu, 9 Sep 2010 10:18:12 +0000 (10:18 +0000)]
* dwarf.h (debug_info): Add offset_info and dwarf_version fields.
* dwarf.c (decode_location_expression): Add offset_size and
dwarf_version arguments.  Prefix DIE offset with 0x for
DW_OP_call{2,4,_ref}.  Fix up DW_OP_call_ref operand size,
complain if in frame info section.  Handle
DW_OP_GNU_implicit_pointer.
(read_and_display_attr_value, display_debug_loc,
display_debug_frames): Adjust decode_location_expression callers.
(process_debug_info): Save offset_size and dwarf_version values
into debug_information array.

* dwarf2.h (DW_OP_GNU_implicit_pointer): New.

13 years ago * fhandler_procsys.cc (fhandler_procsys::open): Simplify by just
Corinna Vinschen [Wed, 8 Sep 2010 09:10:21 +0000 (09:10 +0000)]
* fhandler_procsys.cc (fhandler_procsys::open): Simplify by just
calling fhandler_base::open.

13 years agofix two typos
Christopher Faylor [Tue, 7 Sep 2010 15:13:14 +0000 (15:13 +0000)]
fix two typos

13 years agoSync bootstrap-lto.mk and dfp.m4 with gcc.
H.J. Lu [Mon, 6 Sep 2010 15:46:09 +0000 (15:46 +0000)]
Sync bootstrap-lto.mk and dfp.m4 with gcc.

13 years ago * new-features.sgml (ov-new1.7.8): Document /proc/sys.
Corinna Vinschen [Mon, 6 Sep 2010 14:42:30 +0000 (14:42 +0000)]
* new-features.sgml (ov-new1.7.8): Document /proc/sys.

13 years agogdb/
Jan Kratochvil [Mon, 6 Sep 2010 13:34:03 +0000 (13:34 +0000)]
gdb/
* common/signals.c (ANY): Remove.
(SET): No longer use ANY.

include/gdb/
* signals.def: Replace all ANY uses by SET with specific numbers.
* signals.h (ANY): Remove.

13 years ago * cygpath.cc (RtlEqualUnicodePathPrefix): New helper function.
Corinna Vinschen [Mon, 6 Sep 2010 09:48:55 +0000 (09:48 +0000)]
* cygpath.cc (RtlEqualUnicodePathPrefix): New helper function.
(HARDDISK_PREFIX): Move.
(GLOBALROOT_PREFIX): Define.
(get_device_name): Take GLOBALROOT_PREFIX into account.
Improve check for path to allow filesystem access via block devices.
Potentially drop \\.\ prefix if resulting path is a valid DOS
pathname.
(do_pathconv): Make sure to drop \\?\ prefix only if path is
actually a filesystem based path.
(print_version): Fix copyright.

13 years ago * Makefile.in (DLL_OFILES): Add fhandler_procsys.o.
Corinna Vinschen [Mon, 6 Sep 2010 09:47:01 +0000 (09:47 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_procsys.o.
* devices.h (enum fh_devices): Add FH_PROCSYS.
* devices.in (dev_procsys_storage): New device.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Add code to allocate fhandler_procsys.
* fhandler.h (proc_len): Convert to size_t.
(procsys): Declare.
(procsys_len): Declare.
(enum virtual_ftype_t): Move here from fhandler_virtual.h.
Add members supported by fhandler_procsys.
(fhandler_virtual::exists): Return virtual_ftype_t.  Change
in all derived classes.
(class fhandler_procsys): New class.
(fhandler_union): Add fhandler_procnet and fhandler_procsys members.
* fhandler_disk_file.cc (__DIR_mounts::check_missing_mount): Use
ro_u_proc.
(fhandler_base::fstat_by_handle): Don't copy attributes if file is an
NT device.
(fhandler_base::fstat_by_name): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Return
virtual_ftype_t.
* fhandler_proc.cc (proc_tab): Sort alphabetically.  Use _VN macro
to store length.
(proc_len): Change to size_t.
(proc_tab_cmp): New static function.
(virt_tab_search): New function to search entry in virt_tab_t
arrays.  Use throughout in /proc and sibling classes instead of
loop.
(fhandler_proc::exists): Return virtual_ftype_t.
* fhandler_process.cc (process_tab): Sort alphabetically.  Use _VN
macro to store length.
(fhandler_process::exists): Return virtual_ftype_t.
(fhandler_process::open): Simplify code.
* fhandler_procnet.cc (procnet_tab): Sort alphabetically.  Use _VN
macro to store length.
(fhandler_procnet::exists): Return virtual_ftype_t.
(fhandler_procnet::open): Simplify.
* fhandler_procsys.cc: New file.
* fhandler_registry.cc (fhandler_registry::exists): Return
virtual_ftype_t.
* fhandler_virtual.cc (fhandler_virtual::exists): Ditto.
* fhandler_virtual.h (enum virtual_ftype_t): Move to fhandler.h.
(virt_tab_t): Add name_len member.
(_VN): New macro.
(virt_tab_search): Declare.
* mount.cc (mount_info::conv_to_win32_path): Fix comment.  Backslashify
isprocsys_dev paths.
* ntdll.h (STATUS_OBJECT_TYPE_MISMATCH): Define
(STATUS_INSTANCE_NOT_AVAILABLE): Define.
(STATUS_PIPE_NOT_AVAILABLE): Define.
(STATUS_INVALID_PIPE_STATE): Define.
(STATUS_PIPE_BUSY): Define.
(SYMBOLIC_LINK_QUERY): Define.
(NtOpenSymbolicLinkObject): Declare.
(NtQuerySymbolicLinkObject): Declare.
* path.cc (path_conv::check): Accommodate fact that exists method
returns virtual_ftype_t now.  Add cases for new virtual_ftype_t
types.
(cygwin_conv_path): Add GLOBALROOT prefix to native device paths.
Make sure to strip \\?\ prefix only for actual filesystem-based
paths, not for all paths.
* path.h (isproc_dev): Add FH_PROCSYS.
(isprocsys_dev): Define.

13 years ago * mount.cc (mount_info::from_fstab_line): Reorder to make sure all
Corinna Vinschen [Sat, 4 Sep 2010 08:44:59 +0000 (08:44 +0000)]
* mount.cc (mount_info::from_fstab_line): Reorder to make sure all
mounts from user fstab are user mounts.
(mount): Make sure all mounts are user mounts, even those added via
mount -a.

13 years agolibdecnumber/
Andreas Krebbel [Fri, 3 Sep 2010 13:30:58 +0000 (13:30 +0000)]
libdecnumber/

2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
    * Makefile.in: Add aclocal.m4 dependency to dfp.m4.
    * configure: Regenerate.
    * aclocal.m4: Regenerate.
config/

2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * dfp.m4: New file.

13 years ago* sigoproc.cc (sigproc_init): Use American spelling in comment.
Christopher Faylor [Thu, 2 Sep 2010 05:34:02 +0000 (05:34 +0000)]
* sigoproc.cc (sigproc_init): Use American spelling in comment.

13 years ago* dcrt0.cc (dll_crt0_0): Remove myself settings.
Christopher Faylor [Wed, 1 Sep 2010 21:06:36 +0000 (21:06 +0000)]
* dcrt0.cc (dll_crt0_0): Remove myself settings.
* fork.cc (fork): Set myself process_state
* pinfo.cc (pinfo_init): Ditto.
(pinfo::thisproc): Make sure any sendsig setting is correctly copied.
* pinfo.h: Update copyright.  Remove unused code.

13 years ago* cygthread.cc (cygthread::create): Fix incorrect use of name rather than
Christopher Faylor [Wed, 1 Sep 2010 18:24:11 +0000 (18:24 +0000)]
* cygthread.cc (cygthread::create): Fix incorrect use of name rather than
__name.
* cygthread.h (cygthread::cygthread): Create versions which eliminate 'n'
parameter.
* dcrt0.cc (dll_crt0_1): Remove check for threadfunc_ix.  Remove obsolete
comments.  Set process_state to active here.
* fhandler_netdrive.cc (create_thread_and_wait): Use shortened cygthread
constructor.
* timer.cc (timer_tracker::settime): Ditto.
* window.cc (HWND): Ditto.
* fhandler_tty.cc: Use shortened cygthread constructor, where appropriate,
throughout.
* select.cc: Ditto.
* fork.cc (frok::child): Remove wait_for_sigthread.
(fork): Reformat if for slightly better clarity.
* init.cc (dll_finished_loading): New variable.
(dll_entry): Use dll_finished_loading to determine when we should call
merge_threadfunc.
* sigproc.cc (no_signals_available): Simplify by using my_readsig.
(wait_sig_inited): Delete.
(wait_sig): Define as void function.
(pending_signals): Accommodate change to wait_sig definition.
(wait_for_sigthread): Delete definition.
(sigproc_init): Initialize signal pipe here, before wait_sig thread is created.
Use void form of cygthread creation.
(init_sig_pipe): Delete.
(wait_sig): Return void rather than DWORD.  Assume previous initialization of
signal pipe.  Set my_sendsig to NULL when exiting.
* sigproc.h (wait_for_sigthread): Delete declaration.

13 years ago * fhandler_netdrive.cc (fhandler_netdrive::readdir): Set d_type.
Corinna Vinschen [Wed, 1 Sep 2010 10:30:52 +0000 (10:30 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Set d_type.
(fhandler_netdrive::seekdir): Fix test for readdir return value.
* fhandler_registry.cc (fhandler_registry::seekdir): Ditto.

13 years ago * include/cygwin/version.h: Bump DLL minor version number to 8.
Corinna Vinschen [Wed, 1 Sep 2010 07:16:49 +0000 (07:16 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 8.

13 years ago * path.cc (normalize_posix_path): Preserve //./ and //?/ prefixes.
Corinna Vinschen [Tue, 31 Aug 2010 13:48:04 +0000 (13:48 +0000)]
* path.cc (normalize_posix_path): Preserve //./ and //?/ prefixes.
(path_conv::check): Allow access to root directory of native NT disk
devices.

13 years ago * include/cygwin/version.h: Bump DLL minor version number to 7.
Corinna Vinschen [Tue, 31 Aug 2010 07:47:51 +0000 (07:47 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 7.

13 years ago* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap initialization
Christopher Faylor [Mon, 30 Aug 2010 23:23:28 +0000 (23:23 +0000)]
* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap initialization
since it relies on the cygheap existing (even if it shouldn't matter do to dll
initialization serialization).

13 years ago * posix.sgml (std-notes): Fix typos and incorrectnesses.
Corinna Vinschen [Mon, 30 Aug 2010 14:16:01 +0000 (14:16 +0000)]
* posix.sgml (std-notes): Fix typos and incorrectnesses.

13 years ago * new-features.sgml (ov-new1.7.7): Document change to binmode/textmode
Corinna Vinschen [Mon, 30 Aug 2010 13:19:39 +0000 (13:19 +0000)]
* new-features.sgml (ov-new1.7.7): Document change to binmode/textmode
link libs.
* textbinary.sgml (textbin-devel): Ditto.

13 years ago * autoload.cc (MsgWaitForMultipleObjectsEx): Define.
Corinna Vinschen [Mon, 30 Aug 2010 10:39:43 +0000 (10:39 +0000)]
* autoload.cc (MsgWaitForMultipleObjectsEx): Define.
(MsgWaitForMultipleObjects): Remove.
* select.cc (select_stuff::wait): Use MsgWaitForMultipleObjectsEx with
QS_ALLPOSTMESSAGE and, if possible, MWMO_INPUTAVAILABLE flags.  Explain
why.  Fix a potential crash due to a NULL pointer in WAIT_FAILED case.
(peek_windows): Use filter pattern on NT4.  Explain why.
* wincap.h (wincaps::has_mwmo_inputavailable): New element.
* wincap.cc: Implement above element throughout.

13 years agoadd missing file
Christopher Faylor [Mon, 30 Aug 2010 02:09:30 +0000 (02:09 +0000)]
add missing file

13 years ago* winlean.h: New file.
Christopher Faylor [Mon, 30 Aug 2010 01:57:37 +0000 (01:57 +0000)]
* winlean.h: New file.
* automode.c: Use "winlean.h".
* binmode.c: Ditto.
* gmon.c: Ditto.
* textmode.c: Ditto.
* textreadmode.c: Ditto.
* winsup.h: Ditto.
* lib/cygwin_attach_dll.c: Ditto.
* lib/dll_main.cc: Ditto.
* profile.c: Ditto.
* crt0.c: Ditto.  Cleanup ancient cruft.  Add dummy calls to cygwin_premain*.
* include/sys/cygwin.h: Remove old stuff.  Move premain declarations nearer to
other cygwin-specific function declarations.
* globals.cc: Add comment.

13 years ago * ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to
Corinna Vinschen [Sat, 28 Aug 2010 12:12:53 +0000 (12:12 +0000)]
* ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to
LOAD_WITH_ALTERED_SEARCH_PATH.

13 years ago * new-features.sgml (ov-new1.7.7): Document change to avoid DLL
Corinna Vinschen [Sat, 28 Aug 2010 11:36:43 +0000 (11:36 +0000)]
* new-features.sgml (ov-new1.7.7): Document change to avoid DLL
hijacking.

13 years ago * loadlib.h: New header implementing safe LoadLibrary calls.
Corinna Vinschen [Sat, 28 Aug 2010 11:22:37 +0000 (11:22 +0000)]
* loadlib.h: New header implementing safe LoadLibrary calls.
Include throughout files using LoadLibrary function.
* cygcheck.cc (dump_sysinfo): Retrieve kernel32.dll handle via
GetModuleHandle, rather than using LoadLibrary.
* cygpath.cc (get_long_name): Ditto.
(do_sysfolders): Append .dll suffix in LoadLibrary call.
* ldh.cc (WinMain): Use LoadLibraryExW with DONT_RESOLVE_DLL_REFERENCES
to avoid loading malicious library code.
* locale.cc (print_locale_with_codeset): Change way to retrieve
kernel32.dll path.

13 years ago * autoload.cc (LoadDLLprime): Change dllname storage to string16.
Corinna Vinschen [Sat, 28 Aug 2010 08:51:21 +0000 (08:51 +0000)]
* autoload.cc (LoadDLLprime): Change dllname storage to string16.
(struct dll_info): Convert name to WCHAR.
(std_dll_init): Load DLLs with full path to windows system directory.
Add hint to Microsoft security advisory.
* dcrt0.cc (init_windows_system_directory): New function.
(dll_crt0_0): Call init_windows_system_directory first.
* exceptions.cc (windows_system_directory): Move to globals.cc.
(windows_system_directory_length): Ditto.
(events_init): Drop code fetching windows_system_directory.
* globals.cc (windows_system_directory): New global variable.
(windows_system_directory_length): Ditto.
* net.cc (load_ipv6_funcs): Use windows_system_directory rather than
GetSystemDirectoryW.
* netdb.cc (open_system_file): Ditto.  Simplify debug output.

14 years ago2010-08-26 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 27 Aug 2010 23:36:30 +0000 (23:36 +0000)]
2010-08-26  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.15.
        * Makefile.in: Ditto.

14 years ago2010-08-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 27 Aug 2010 21:11:29 +0000 (21:11 +0000)]
2010-08-26  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Update naming convention and compression format (lzma),
        leaving existing naming convention and compression format as is for Cygwin.

14 years ago * new-features.sgml (ov-new1.7.7): Change to describe partial
Corinna Vinschen [Fri, 27 Aug 2010 18:56:28 +0000 (18:56 +0000)]
* new-features.sgml (ov-new1.7.7): Change to describe partial
reversion to pre-1.7.6 behaviour.
(ov-new1.7.6): Deprecate description of CWD handling.
* pathnames.sgml (pathnames-win32-api): Rewrite to reflect new CWD
behaviour.

14 years ago * external.cc (sync_wincwd): Remove.
Corinna Vinschen [Fri, 27 Aug 2010 17:58:45 +0000 (17:58 +0000)]
* external.cc (sync_wincwd): Remove.
(cygwin_internal): Drop CW_SYNC_WINCWD case.
* globals.cc (ro_u_pipedir): New R/O unicode string.
* ntdll.h (RtlSetCurrentDirectory_U): Declare.
* path.cc (cwdstuff::set): Improve comments.  Drop setting Win32 CWD to
\\?\PIPE\ on init.  Keep Win32 CWD in sync, if possible.  Set to
\\?\PIPE\ otherwise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Revert to 230.
* include/sys/cygwin.h (cygwin_getinfo_types): Remove CW_SYNC_WINCWD.

14 years ago * syscalls.c (_isatty): Fix return value.
Corinna Vinschen [Fri, 27 Aug 2010 11:55:36 +0000 (11:55 +0000)]
* syscalls.c (_isatty): Fix return value.

14 years ago * fhandler_proc.cc (format_proc_partitions): Improve comment.
Corinna Vinschen [Fri, 27 Aug 2010 09:08:32 +0000 (09:08 +0000)]
* fhandler_proc.cc (format_proc_partitions): Improve comment.

14 years ago * cygpath.cc (get_device_name): Prefer the \\.\X: DOS device for
Corinna Vinschen [Thu, 26 Aug 2010 12:06:27 +0000 (12:06 +0000)]
* cygpath.cc (get_device_name): Prefer the \\.\X: DOS device for
harddisks, if available.

14 years ago * fhandler_proc.cc (format_proc_partitions): Simplify code and enable
Corinna Vinschen [Thu, 26 Aug 2010 10:59:13 +0000 (10:59 +0000)]
* fhandler_proc.cc (format_proc_partitions): Simplify code and enable
partition layout printing for non-privileged users.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 03:06:09 +0000 (03:06 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/oleacc.h (STATE_SYSTEM_HASPOPUP, STATE_SYSTEM_NORMAL,
        STATE_SYSTEM_PROTECTED): Define.

        Thank you to Marcus von Appen for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:51:37 +0000 (02:51 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (CF_DIBV5): Define.
        (CF_MAX): Adjust accordingly.

        Thank you to Lenard Lindstrom for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:42:31 +0000 (02:42 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/sspi.h (QuerySecurityContextToken): Define.
        * lib/secur32.def: Regenerate using gendef on a Win7 machine.

        Thank you to Magnus Hagander for reporting the issue.

14 years ago2010-08-25 Ali Sabil <asabil@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:13:12 +0000 (02:13 +0000)]
2010-08-25  Ali Sabil  <asabil@users.sourceforge.net>

        * include/ocidl.h: Define COBJMACROS for IPropertyBag and IPropertyBag2.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:05:58 +0000 (02:05 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlwapi (ASSOCDATA): Update definition.

        Thank you to Frederic Deschamps for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 01:57:46 +0000 (01:57 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (COPY_FILE_OPEN_SOURCE_FOR_WRITE,
        COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_COPY_SYMLINK,
        COPY_FILE_NO_BUFFERING): Define.

        Thank you to Roland Schwingel for reporting the issue.

14 years agoAdd missing thank you notes.
Chris Sutcliffe [Wed, 25 Aug 2010 23:47:17 +0000 (23:47 +0000)]
Add missing thank you notes.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 25 Aug 2010 23:39:29 +0000 (23:39 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (HHOOK): Move definition from here...
        * include/windef.h: ...to here, as per MSDN.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 25 Aug 2010 23:33:14 +0000 (23:33 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per
        MSDN, change return type to LPCH.
        (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH.

14 years ago * libc/posix/opendir.c (opendir): Fix potential memory leak.
Corinna Vinschen [Wed, 25 Aug 2010 10:44:47 +0000 (10:44 +0000)]
* libc/posix/opendir.c (opendir): Fix potential memory leak.

14 years ago * mount.cc (fs_info::update): Fix comments.
Corinna Vinschen [Wed, 25 Aug 2010 09:20:11 +0000 (09:20 +0000)]
* mount.cc (fs_info::update): Fix comments.

14 years ago * syscalls.cc (rename): Open file with FILE_READ_ATTRIBUTES.
Corinna Vinschen [Wed, 25 Aug 2010 08:51:41 +0000 (08:51 +0000)]
* syscalls.cc (rename): Open file with FILE_READ_ATTRIBUTES.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 25 Aug 2010 01:59:51 +0000 (01:59 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/prsht.h (SNDMDG, POSTMSG): Fix typo.
        * include/windowsx.h (SNDMSG): Ditto.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 23:09:52 +0000 (23:09 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/prsht.h (SNDMSG, POSTMSG): Define macros and use throughout.

        Thank you to Ozkan Sezer for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 23:03:57 +0000 (23:03 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/windowsx.h (SNDMSG): Define macro and use throughout.

        Thank you to Chris Oldwood for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:41:36 +0000 (22:41 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/oleacc.h (AccessibleObjectFromEvent): Correct definition.

        Thank you to Rick Walsh for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:35:39 +0000 (22:35 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (MoveFileWithProcessA, MoveFileWithProgressW): Define.

14 years ago2010-08-24 Vinky <rabbit_vinky@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:25:44 +0000 (22:25 +0000)]
2010-08-24  Vinky  <rabbit_vinky@users.sourceforge.net>

        * include/winbase.h (OVERLAPPED): Correct definition.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:20:33 +0000 (22:20 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winnt.h (IMAGE_NT_HEADERS32, IMAGE_NT_HEADERS64): Correct
        definition.

        Thank you to Pasi Ruokola for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:10:28 +0000 (22:10 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/exdisp.h (get_RegisterAsBrowser): Fix typo.

        Thank you to cheznonnon for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:05:38 +0000 (22:05 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/ws2_32.def: Regenerate using gendef on a Win7 machine.

14 years ago2010-08-24 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 21:26:51 +0000 (21:26 +0000)]
2010-08-24  Ozkan Sezer  <sezero@users.sourceforge.net>

        * winnt.h: Fix several SUBLANG ID errors (ref:
        http://msdn.microsoft.com/en-us/library/dd318693(VS.85).aspx).
        (SUBLANG_UI_CUSTOM_DEFAULT): 0x05, not 0x03.
        (SUBLANG_HAUSA_NIGERIA): Bad ID name, correct one is ...
        (SUBLANG_HAUSA_NIGERIA_LATIN): ... this.
        (SUBLANG_INUKTITUT_CANADA_LATIN): 0x02, not 0x01.
        (SUBLANG_IRISH_IRELAND): 0x02, not 0x01.
        (SUBLANG_LAO_LAO_PDR): Bad ID name, correct one is ...
        (SUBLANG_LAO_LAO): ... this.
        (SUBLANG_LOWER_SORBIAN_GERMANY): 0x02, not 0x01.
        (SUBLANG_SAMI_SKOLT_FINLAND): 0x08, not 0x03.
        (SUBLANG_SAMI_INARI_FINLAND): 0x09, not 0x03.
        (SUBLANG_SYRIAC_SYRIA): define as SUBLANG_SYRIAC (what MSDN mentions).
        (SUBLANG_TIGRIGNA_ERITREA): 0x02, not 0x01.
        (SUBLANG_BENGALI_INDIA): 0x01, not 0x00.
        (SUBLANG_BENGALI_BANGLADESH): 0x02, not 0x01.
        (SUBLANG_PUNJABI_INDIA): 0x01, not 0x00.
        (SUBLANG_PUNJABI_PAKISTAN): not defined in MSDN.
        (SUBLANG_ROMANIAN_ROMANIA): 0x01, not 0x00.
        (SUBLANG_ROMANIAN_MOLDOVA): not defined in MSDN.

14 years ago2010-08-24 LRN <lrn1986@gmail.com>
Chris Sutcliffe [Tue, 24 Aug 2010 19:09:50 +0000 (19:09 +0000)]
2010-08-24  LRN  <lrn1986@gmail.com>

        * include/mmreg.h (MPEGLAYER3WAVEFORMAT, WAVE_FORMAT_UNKNOWN,
        WAVE_FORMAT_PCM, WAVE_FORMAT_ADPCM, WAVE_FORMAT_IEEE_FLOAT,
        WAVE_FORMAT_VSELP, WAVE_FORMAT_IBM_CVSD, WAVE_FORMAT_ALAW,
        WAVE_FORMAT_MULAW, WAVE_FORMAT_OKI_ADPCM, WAVE_FORMAT_DVI_ADPCM,
        WAVE_FORMAT_MEDIASPACE_ADPCM, WAVE_FORMAT_SIERRA_ADPCM,
        WAVE_FORMAT_G723_ADPCM, WAVE_FORMAT_DIGIFIX, WAVE_FORMAT_DIALOGIC_OKI_ADPCM,
        WAVE_FORMAT_MEDIAVISION_ADPCM, WAVE_FORMAT_CU_CODEC,
        WAVE_FORMAT_YAMAHA_ADPCM, WAVE_FORMAT_SONARC,
        WAVE_FORMAT_DSPGROUP_TRUESPEECH, WAVE_FORMAT_ECHOSC1,
        WAVE_FORMAT_AUDIOFILE_AF36, WAVE_FORMAT_APTX, WAVE_FORMAT_AUDIOFILE_AF10,
        WAVE_FORMAT_PROSODY_1612, WAVE_FORMAT_LRC, WAVE_FORMAT_DOLBY_AC2,
        WAVE_FORMAT_GSM610, WAVE_FORMAT_MSNAUDIO, WAVE_FORMAT_ANTEX_ADPCME,
        WAVE_FORMAT_CONTROL_RES_VQLPC, WAVE_FORMAT_DIGIREAL, WAVE_FORMAT_DIGIADPCM,
        WAVE_FORMAT_CONTROL_RES_CR10, WAVE_FORMAT_NMS_VBXADPCM,
        WAVE_FORMAT_ROLAND_RDAC, WAVE_FORMAT_ECHOSC3, WAVE_FORMAT_ROCKWELL_ADPCM,
        WAVE_FORMAT_ROCKWELL_DIGITALK, WAVE_FORMAT_XEBEC, WAVE_FORMAT_G721_ADPCM,
        WAVE_FORMAT_G728_CELP, WAVE_FORMAT_MSG723, WAVE_FORMAT_MPEG,
        WAVE_FORMAT_RT24, WAVE_FORMAT_PAC, WAVE_FORMAT_MPEGLAYER3,
        WAVE_FORMAT_LUCENT_G723, WAVE_FORMAT_CIRRUS, WAVE_FORMAT_ESPCM,
        WAVE_FORMAT_VOXWARE, WAVE_FORMAT_CANOPUS_ATRAC, WAVE_FORMAT_G726_ADPCM,
        WAVE_FORMAT_G722_ADPCM, WAVE_FORMAT_DSAT, WAVE_FORMAT_DSAT_DISPLAY,
        WAVE_FORMAT_VOXWARE_BYTE_ALIGNED, WAVE_FORMAT_VOXWARE_AC8,
        WAVE_FORMAT_VOXWARE_AC10, WAVE_FORMAT_VOXWARE_AC16,
        WAVE_FORMAT_VOXWARE_AC20, WAVE_FORMAT_VOXWARE_RT24,
        WAVE_FORMAT_VOXWARE_RT29, WAVE_FORMAT_VOXWARE_RT29HW,
        WAVE_FORMAT_VOXWARE_VR12, WAVE_FORMAT_VOXWARE_VR18,
        WAVE_FORMAT_VOXWARE_TQ40, WAVE_FORMAT_SOFTSOUND, WAVE_FORMAT_VOXWARE_TQ60,
        WAVE_FORMAT_MSRT24, WAVE_FORMAT_G729A, WAVE_FORMAT_MVI_MV12,
        WAVE_FORMAT_DF_G726, WAVE_FORMAT_DF_GSM610, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_ONLIVE, WAVE_FORMAT_SBC24, WAVE_FORMAT_DOLBY_AC3_SPDIF,
        WAVE_FORMAT_ZYXEL_ADPCM, WAVE_FORMAT_PHILIPS_LPCBB, WAVE_FORMAT_PACKED,
        WAVE_FORMAT_RHETOREX_ADPCM, WAVE_FORMAT_IRAT, WAVE_FORMAT_VIVO_G723,
        WAVE_FORMAT_VIVO_SIREN, WAVE_FORMAT_DIGITAL_G723,
        WAVE_FORMAT_CREATIVE_ADPCM, WAVE_FORMAT_CREATIVE_FASTSPEECH8,
        WAVE_FORMAT_CREATIVE_FASTSPEECH10, WAVE_FORMAT_QUARTERDECK,
        WAVE_FORMAT_FM_TOWNS_SND, WAVE_FORMAT_BTV_DIGITAL, WAVE_FORMAT_VME_VMPCM,
        WAVE_FORMAT_OLIGSM, WAVE_FORMAT_OLIADPCM, WAVE_FORMAT_OLICELP,
        WAVE_FORMAT_OLISBC, WAVE_FORMAT_OLIOPR, WAVE_FORMAT_LH_CODEC,
        WAVE_FORMAT_NORRIS, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS, WAVE_FORMAT_DVM, WAVE_FORMAT_RAW_AAC1,
        WAVE_FORMAT_MPEG_HEAAC, WAVE_FORMAT_MPEG_ADTS_AAC, WAVE_FORMAT_DRM,
        WAVE_FORMAT_DTS, WAVE_FORMAT_WMAVOICE9, WAVE_FORMAT_WMASPDIF,
        WAVE_FORMAT_WMAUDIO_LOSSLESS, WAVE_FORMAT_WMAUDIO2, WAVE_FORMAT_WMAUDIO3,
        WAVE_FORMAT_MPEG_LOAS, WAVE_FORMAT_RAW_SPORT, WAVE_FORMAT_ESST_AC3,
        WAVE_FORMAT_DTS2): Define.
        * include/msacm.h (HACMDRIVERID, HACMDRIVER, HACMSTREAM, HACMOBJ,
        ACMSTREAMHEADER, WAVEFILTER, acmDriverAddA, acmDriverAddW, acmDriverRemove,
        acmMetrics, acmStreamOpen, acmStreamSize, acmStreamPrepareHeader,
        acmStreamUnprepareHeader, acmStreamReset, acmStreamClose, acmStreamConvert):
        Define.

14 years ago * include/cygwin/version.h: Fix comment.
Corinna Vinschen [Tue, 24 Aug 2010 15:25:46 +0000 (15:25 +0000)]
* include/cygwin/version.h: Fix comment.

14 years ago * external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
Corinna Vinschen [Tue, 24 Aug 2010 15:11:24 +0000 (15:11 +0000)]
* external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
flags with *pflags to restore original behaviour.

14 years ago2010-08-23 LRN <lrn1986@gmail.com>
Chris Sutcliffe [Tue, 24 Aug 2010 00:15:51 +0000 (00:15 +0000)]
2010-08-23  LRN  <lrn1986@gmail.com>

        * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, FILE_NAME_NORMALIZED,
        FILE_NAME_OPENED, VOLUME_NAME_DOS, VOLUME_NAME_GUID, VOLUME_NAME_NONE,
        VOLUME_NAME_NT, FILE_BASIC_INFO, FILE_STANDARD_INFO, FILE_NAME_INFO,
        FILE_STREAM_INFO, FILE_COMPRESSION_INFO, FILE_ATTRIBUTE_TAG_INFO,
        FILE_ID_BOTH_DIR_INFO, FILE_REMOTE_PROTOCOL_INFO, FILE_INFO_BY_HANDLE_CLASS,
        GetFileInformationByHandleEx, GetFinalPathNameByHandleA,
        GetFinalPathNameByHandleW): Define.

14 years agoFix location of this file to be where it was initially intended.
Jeff Johnston [Mon, 23 Aug 2010 15:51:27 +0000 (15:51 +0000)]
Fix location of this file to be where it was initially intended.

14 years ago * ldd.cc (report): Drop long pathname considerations which result in
Corinna Vinschen [Mon, 23 Aug 2010 11:04:04 +0000 (11:04 +0000)]
* ldd.cc (report): Drop long pathname considerations which result in
invalid path, now that this is done in cygwin_conv_path.

14 years ago2010-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 22 Aug 2010 04:03:33 +0000 (04:03 +0000)]
2010-08-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/CheckConflicts.sh: New file.

14 years ago2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 22 Aug 2010 03:52:59 +0000 (03:52 +0000)]
2010-08-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (CopyLZFile, GetExpandedNameA, GetExpandedNameW, LZClose,
        LZCopy, LZInit, LZOpenFileA, LZOpenFileW, LZRead, LZSeek, OpenProcessToken,
        OpenThreadToken, RegCloseKey, RegCreateKeyExA, RegCreateKeyExW,
        RegDeleteKeyExA, RegDeleteKeyExW, RegDeleteValueA, RegDeleteValueW,
        RegEnumKeyExA, RegEnumKeyExW, RegEnumValueA, RegEnumValueW, RegFlushKey,
        RegGetKeySecurity, RegLoadKeyA, RegLoadKeyW, RegNotifyChangeKeyValue,
        RegOpenCurrentUser, RegOpenKeyExA, RegOpenKeyExW, RegOpenUserClassesRoot,
        RegQueryInfoKeyA, RegQueryInfoKeyW, RegQueryValueExA, RegQueryValueExW,
        RegRestoreKeyA, RegRestoreKeyW, RegSetKeySecurity, RegSetValueExA,
        RegSetValueW, RegUnLoadKeyA, RegUnLoadKeyW, RtlCaptureStackBackTrace,
        RtlFillMemory, RtlMoveMemory, RtlZeroMemory, SetThreadToken): Remove
        conflicting definition.
        * lib/th32.def: Remove.
        * lib/ntdll.def (RtlUnwind): Remove conflicting definition.
        * lib/version.def (VerLanguageNameA, VerLanguageNameW): Remove conflicting
        definition.

14 years ago2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Aug 2010 19:21:33 +0000 (19:21 +0000)]
2010-08-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (CreateProcessAsUserW): Remove definition.

14 years ago * Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.
Corinna Vinschen [Sat, 21 Aug 2010 18:57:36 +0000 (18:57 +0000)]
* Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.

14 years agoFix misquoting in stdint.m4.
Ralf Wildenhues [Sat, 21 Aug 2010 12:34:06 +0000 (12:34 +0000)]
Fix misquoting in stdint.m4.

config/:
PR target/45084
* stdint.m4 (GCC_HEADER_STDINT): Use m4 quotes for arguments
of AC_MSG_ERROR.

libdecnumber/:
* configure: Regenerate.

bfd/:
* configure: Regenerate.

14 years ago* cygthread.cc: Update copyright.
Christopher Faylor [Fri, 20 Aug 2010 15:28:28 +0000 (15:28 +0000)]
* cygthread.cc: Update copyright.

14 years ago * path.cc (path_conv::check): Close handle in conv_handle if we're
Corinna Vinschen [Fri, 20 Aug 2010 14:29:56 +0000 (14:29 +0000)]
* path.cc (path_conv::check): Close handle in conv_handle if we're
following a symlink.

14 years ago * endian.h (htobe16, htobe32, htobe64, be16toh, be32toh, be64toh,
Corinna Vinschen [Fri, 20 Aug 2010 12:18:47 +0000 (12:18 +0000)]
* endian.h (htobe16, htobe32, htobe64, be16toh, be32toh, be64toh,
htole16, htole32, htole64, le16toh, le32toh, le64toh): Define.

14 years ago * fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
Corinna Vinschen [Fri, 20 Aug 2010 11:18:58 +0000 (11:18 +0000)]
* fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
is_volume_mountpoint.  Return valid d_type value for underlying
reparse point type.
(readdir_get_ino): Don't rely on the handle set in pc.check.  Open
file here if pc.handle() is NULL.
(fhandler_disk_file::readdir_helper): Try to set a correct d_type value
more diligent.
(fhandler_disk_file::readdir): Don't reset dirent_set_d_ino unless
we're really sure it's due to an untrusted FS.  Simplify usage of
FileAttributes, which is 0 if buf is NULL, anyway.  Set d_type
correctly for faked "." and ".." entries.  Improve debug output.
* path.cc (symlink_info::check): Don't keep handle to volume mount
point open.  Explain why.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
Corinna Vinschen [Fri, 20 Aug 2010 08:52:25 +0000 (08:52 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
of get_stat_handle () to get_handle ().  Add comment to explain why.
* syscalls.cc (statvfs): Drop using PC_KEEP_HANDLE.

14 years ago2010-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Aug 2010 04:14:18 +0000 (04:14 +0000)]
2010-08-20  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def: Regenerate using gendef on a Win7 machine.

14 years ago * include/winnt.h: Define FILE_ATTRIBUTE_VIRTUAL. Change
Corinna Vinschen [Thu, 19 Aug 2010 16:08:56 +0000 (16:08 +0000)]
* include/winnt.h: Define FILE_ATTRIBUTE_VIRTUAL.  Change
FILE_ATTRIBUTE_VALID_FLAGS accordingly.
* include/ddk/winddk.h: Ditto.

14 years ago * new-features.sgml (ov-new1.7.7): New section.
Corinna Vinschen [Thu, 19 Aug 2010 10:35:25 +0000 (10:35 +0000)]
* new-features.sgml (ov-new1.7.7): New section.
* pathnames.sgml: Throughout, align style of screen elements.
Throughout, make all emphasis elements bold.
(pathnames-win32-api): Rewrite section.

14 years ago * external.cc (sync_wincwd): New function.
Corinna Vinschen [Thu, 19 Aug 2010 10:14:31 +0000 (10:14 +0000)]
* external.cc (sync_wincwd): New function.
(cygwin_internal): Rename CW_SETCWD to CW_SYNC_WINCWD.  Call
sync_wincwd from here.
* include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_SETCWD to
CW_SYNC_WINCWD.

14 years ago2010-08-18 Ladislav Michl <ladis@users.sourceforge.net>
Chris Sutcliffe [Wed, 18 Aug 2010 23:34:08 +0000 (23:34 +0000)]
2010-08-18  Ladislav Michl  <ladis@users.sourceforge.net>

        * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, CreateSymbolicLinkW,
        CreateSymbolicLinkA, CreateSymbolicLink): Define

14 years ago* external.cc (CW_SETCWD): New option.
Christopher Faylor [Wed, 18 Aug 2010 19:15:37 +0000 (19:15 +0000)]
* external.cc (CW_SETCWD): New option.
* include/cygwin/version.h: Bump api minor to 231.
* include/sys/cygwin.h (CW_SETCWD): Define.

14 years ago * pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.
Corinna Vinschen [Wed, 18 Aug 2010 15:28:15 +0000 (15:28 +0000)]
* pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.

14 years ago * syscalls.cc (rename): Fix renaming file-based devices.
Corinna Vinschen [Wed, 18 Aug 2010 15:21:35 +0000 (15:21 +0000)]
* syscalls.cc (rename): Fix renaming file-based devices.

14 years ago * exceptions.cc (open_stackdumpfile): Don't try to open file if we
Corinna Vinschen [Wed, 18 Aug 2010 14:22:07 +0000 (14:22 +0000)]
* exceptions.cc (open_stackdumpfile): Don't try to open file if we
have no filesystem based CWD.  Add comment.
* path.cc (cwdstuff::set): Set CWD handle to NULL if CWD is a virtual
path.  Simplify matching comment.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev
Corinna Vinschen [Wed, 18 Aug 2010 10:10:14 +0000 (10:10 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev
to correct device number for fs_special devices.

14 years agoMake PATH_MAX consistent with MAX_PATH
Keith Marshall [Tue, 17 Aug 2010 21:18:21 +0000 (21:18 +0000)]
Make PATH_MAX consistent with MAX_PATH

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 6.
Corinna Vinschen [Mon, 16 Aug 2010 13:41:19 +0000 (13:41 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 6.

14 years ago * pipe.cc (fhandler_pipe::open): Duplicate content of opened pipe
Corinna Vinschen [Sat, 14 Aug 2010 11:16:09 +0000 (11:16 +0000)]
* pipe.cc (fhandler_pipe::open): Duplicate content of opened pipe
fhandler before calling dup method.

This page took 0.069142 seconds and 5 git commands to generate.