]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years agoFix unportable shell quoting.
Ralf Wildenhues [Mon, 27 Sep 2010 20:22:49 +0000 (20:22 +0000)]
Fix unportable shell quoting.

/:
Sync from GCC:

PR bootstrap/44621
* configure.ac: Fix unportable shell quoting.
* configure: Regenerate.

config/:
* po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting.

bfd/:
* configure: Regenerate.

gas/:
* configure: Regenerate.

gold/:
* configure: Regenerate.

intl/:
* configure: Regenerate.

ld/:
* configure: Regenerate.

opcodes/:
* configure: Regenerate.

binutils/:
* configure: Regenerate.

gprof/:
* configure: Regenerate.

13 years ago * pathnames.sgml (mount-table): Fix pathnames-mount-ex example. Change
Corinna Vinschen [Mon, 27 Sep 2010 16:46:34 +0000 (16:46 +0000)]
* pathnames.sgml (mount-table): Fix pathnames-mount-ex example.  Change
an expression.

13 years ago * new-features.sgml (ov-new1.7.8): Document dropped NT4 pre-SP4 support.
Corinna Vinschen [Mon, 27 Sep 2010 16:37:57 +0000 (16:37 +0000)]
* new-features.sgml (ov-new1.7.8): Document dropped NT4 pre-SP4 support.
* faq-what.xml (faq.what.supported): Change accordingly.
* ntsec.sgml (ntsec-mapping): Add 2008 R2.

13 years ago * mount.cc (fs_info::update): Remove erroneous NtClose on random handle
Corinna Vinschen [Mon, 27 Sep 2010 16:10:14 +0000 (16:10 +0000)]
* mount.cc (fs_info::update): Remove erroneous NtClose on random handle
value.

13 years ago2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Mon, 27 Sep 2010 13:36:48 +0000 (13:36 +0000)]
2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-mkopc.c (enum s390_opcde_cpu_val): Add S390_OPCODE_Z196.
(main): Recognize the new CPU string.
* s390-opc.c: Add new instruction formats and masks.
* s390-opc.txt: Add new z196 instructions.

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

* opcode/s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val.

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

* config/tc-s390.c: (md_parse_option): New option -march=z196.
* doc/c-s390.texi: Document new option.

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

* gas/s390/s390.exp: Run the zarch-z196 test.
* gas/s390/zarch-z196.d: Add new instructions.
* gas/s390/zarch-z196.s: Likewise.
* gas/s390/zarch-z9-109.d: Likewise.
* gas/s390/zarch-z9-109.s: Likewise.

13 years ago * uinfo.cc (cygheap_user::init): Call GetUserNameW and convert to
Corinna Vinschen [Sun, 26 Sep 2010 15:45:10 +0000 (15:45 +0000)]
* uinfo.cc (cygheap_user::init): Call GetUserNameW and convert to
multibyte here so as not to rely on the current ANSI page.

13 years ago* dcrt0.cc (__main): Force signal synchronization.
Christopher Faylor [Sun, 26 Sep 2010 14:57:12 +0000 (14:57 +0000)]
* dcrt0.cc (__main): Force signal synchronization.

13 years ago * fhandler_socket.cc (fhandler_socket::bind): Drop has_exclusiveaddruse
Corinna Vinschen [Sat, 25 Sep 2010 20:06:21 +0000 (20:06 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Drop has_exclusiveaddruse
condition.  Fix comment about availability.  Move remaining comment to
the right spot.  Drop has_ip_helper_lib condition.
* net.cc (cygwin_setsockopt): Drop has_disabled_user_tos_setting
condition.  Fix comment.
(get_2k_ifs): Fix comment.
(get_nt_ifs): Remove.
(getifaddrs): Drop call to get_nt_ifs.
(get_ifconf): Ditto.
* wincap.cc: Throughout, drop has_ip_helper_lib,
has_disabled_user_tos_setting, and has_exclusiveaddruse settings from
wincaps.
(wincap_unknown): Remove.
(wincap_nt4): Remove.
(wincap_minimal): New macro, set to wincap_nt4sp4 for now.
(wincapc::init): Drop test for pre-SP4 NT4.  Just imply at least NT SP4.
Replace references to wincap_unknown with references to wincap_minimal.
* wincap.h (struct wincaps): Drop has_ip_helper_lib,
has_disabled_user_tos_setting, and has_exclusiveaddruse flags and
methods.

13 years ago * autoload.cc: Throughout. order entry points alphabetically by DLL
Corinna Vinschen [Sat, 25 Sep 2010 19:57:34 +0000 (19:57 +0000)]
* autoload.cc: Throughout. order entry points alphabetically by DLL
and function name.  Make functions which are available on all supported
systems non-optional.  Fix return value on entry points imported from
secur32.dll.  Add comment.
(std_dll_init): Call fesetenv unconditionally.

13 years ago* autoload.cc (std_dll_init): Move dll_path closer to its use. Use dll_path in
Christopher Faylor [Fri, 24 Sep 2010 19:53:18 +0000 (19:53 +0000)]
* autoload.cc (std_dll_init): Move dll_path closer to its use.  Use dll_path in
fatal error.  Set ret values under lock control.
* lib/minires.c (res_nsend): Fix compilation errors owing to pointer
signedness.

13 years ago * fhandler.cc (fhandler_base::open): Handle query_write_dac flag.
Corinna Vinschen [Fri, 24 Sep 2010 16:22:53 +0000 (16:22 +0000)]
* fhandler.cc (fhandler_base::open): Handle query_write_dac flag.
* fhandler.h (enum query_state): Add query_write_dac flag.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Open file
with query_write_dac instead of query_write_control.

13 years ago * errno.cc (errmap): Map ERROR_BAD_NET_RESP to ENOSYS.
Corinna Vinschen [Fri, 24 Sep 2010 12:41:33 +0000 (12:41 +0000)]
* errno.cc (errmap): Map ERROR_BAD_NET_RESP to ENOSYS.
* fhandler_disk_file.cc (fhandler_disk_file::facl): Handle ENOSYS and
point to  the explanation.
* ntdll.h (STATUS_NOT_IMPLEMENTED): Define.
* path.cc (symlink_info::check): Handle the inability of NT4 to use
FileNetworkOpenInformation on share root dirs in either direction.
* path.h (slash_unc_prefix_p): Remove unused declaration.
* security.cc (get_info_from_sd): Handle ENOSYS from get_file_sd.
Explain when this happens.

13 years ago* autoload.cc (std_dll_init): Use correct format type when displaying dll name
Christopher Faylor [Thu, 23 Sep 2010 20:18:16 +0000 (20:18 +0000)]
* autoload.cc (std_dll_init): Use correct format type when displaying dll name
in error output.

13 years ago * bfd/bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:52:19 +0000 (15:52 +0000)]
* bfd/bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
* gas/config/tc-arm.c (arm_ext_virt): New variable.
(arm_reg_type): Add REG_TYPE_RNB for banked registers.
(reg_entry): Allow registers to be larger than a byte.
(reg_alias): Fix type warning.
(parse_operands): Parse banked registers when appropriate.
(do_mrs): Add support for Virtualization Extensions.
(do_hvc): New function.
(do_t_mrs): Add support for Virtualization Extensions.
(do_t_msr): Likewise.
(do_t_hvc): New function.
(SPLRBANK): New define.
(reg_names): Add banked registers.
(insns): Add support for Virtualization Extensions.
(md_apply_fixup): Likewise.
(arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
(arm_extensions): Add 'virt' extension.
(aeabi_set_public_attributes): Add support for Virtualization
Extensions.
* gas/doc/c-arm.texi: Document 'virt' extension.
* gas/testsuite/gas/arm/armv7-a+virt.d: New test.
* gas/testsuite/gas/arm/armv7-a+virt.s: Likewise.
* gas/testsuite/gas/arm/attr-march-all.d: Update for Virtualization Extensions.
* gas/testsuite/gas/arm/attr-march-armv7-a+sec+virt.d: New test.
* gas/testsuite/gas/arm/attr-march-armv7-a+virt.d: Likewise.
* include/opcode/arm.h (ARM_EXT_VIRT): New define.
(ARM_ARCH_V7A_IDIV_MP_SEC): Rename...
(ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): ...to this and include Virtualization
Extensions.
* opcodes/arm-dis.c (arm_opcodes): Add Virtualiztion Extensions support.
(thumb32_opcodes): Likewise.
(banked_regname): New function.
(print_insn_arm): Add Virtualization Extensions support.
(print_insn_thumb32): Likewise.

13 years ago * gas/config/tc-arm.c (arm_ext_adiv): New variable.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:37:45 +0000 (15:37 +0000)]
* gas/config/tc-arm.c (arm_ext_adiv): New variable.
(do_div): New function.
(insns): Accept UDIV and SDIV in ARM state.
(arm_cpus): The cortex-a15 option has all current v7-A extensions.
(arm_extensions): Add 'idiv' extension.
(aeabi_set_public_attributes): Update Tag_DIV_use values for the
Integer Divide extension.
* gas/doc/c-arm.texi: Document the idiv extension.
* gas/testsuite/gas/arm/armv7-a+idiv.d: New test.
* gas/testsuite/gas/arm/armv7-a+idiv.s: Likewise.
* gas/testsuite/gas/arm/attr-march-all.d: Update for Integer divide extension.
* gas/testsuite/gas/arm/attr-march-armv7-a+idiv.d: New test.
* include/opcode/arm.h (ARM_AEXT_ADIV): New define.
(ARM_ARCH_V7A_IDIV_MP_SEC): Likewise.
* opcodes/arm-dis.c (arm_opcodes): Support disassembly of UDIV and SDIV in
ARM state.

13 years ago * config/tc-arm.c (arm_ext_v6m): New variable.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:31:34 +0000 (15:31 +0000)]
* config/tc-arm.c (arm_ext_v6m): New variable.
(arm_ext_m): Add support for OS extension.
(arm_ext_os): New variable.
(do_t_swi): In v6-M ensure we have the OS extension.
(arm_cpus): The cortex-m1 and cortex-m0 options have the OS
extension by default.
(arm_archs): Add armv6s-m.
(arm_extensions): Add 'os' extension.
(cpu_arch_ver): Add support for v6S-M.
* gas/doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
architecture options.
* gas/testsuite/gas/arm/archv6s-m-bad.d: New test.
* gas/testsuite/gas/arm/archv6s-m-bad.l: Likewise.
* gas/testsuite/gas/arm/archv6s-m.d: Likewise.
* gas/testsuite/gas/arm/archv6s-m.s: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6-m+os.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6s-m.d: Likewise.
* include/opcode/arm.h (ARM_EXT_OS): New define.
(ARM_AEXT_V6SM): Likewise.
(ARM_ARCH_V6SM): Likewise.

13 years ago * gas/config/tc-arm.c (arm_ext_v6z): Remove.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:26:23 +0000 (15:26 +0000)]
* gas/config/tc-arm.c (arm_ext_v6z): Remove.
(arm_ext_sec): New variable.
(do_t_smc): In Thumb state SMC requires v7-A.
(insns): Make SMC depend on Security Extensions.
(arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
(arm_extensions): Add 'sec' extension.
(cpu_arch_ver): Reorder.
(aeabi_set_public_attributes): Emit Tag_Virtualization_use as
appropriate.
* gas/doc/c-arm.texi: Document Security Extensions.
* gas/testsuite/gas/arm/attr-march-all.d: Update for Security Extensions..
* gas/testsuite/gas/arm/attr-march-armv6k+sec.d: New test.
* gas/testsuite/gas/arm/attr-march-armv6z.d: Update for Security Extensions.
* gas/testsuite/gas/arm/attr-march-armv6zk.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6zkt2.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6zt2.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv7-a+sec.d: New test.
* gas/testsuite/gas/arm/attr-mcpu.d: Update for Security Extensions.
* gas/testsuite/gas/arm/thumb32.d: Likewise.
* gas/testsuite/gas/arm/thumb32.s: Likewise.
* include/opcode/arm.h (ARM_EXT_V6Z): Remove.
(ARM_EXT_SEC): New define.
(ARM_AEXT_V6Z): Use Security Extensions.
(ARM_AEXT_V6ZK): Likeiwse.
(ARM_AEXT_V6ZT2): Likewise.
(ARM_AEXT_V6ZKT2): Likewise.
(ARM_AEXT_V7_ARM): Base v7 does not have Security Extensions.
(ARM_ARCH_V7A_SEC): New define.
(ARM_ARCH_V7A_MP): Rename...
(ARM_ARCH_V7A_MP_SEC): ...to this and add Security Extensions.
* ld/testsuite/ld-arm/attr-merge-6.attr: Update for Security Extensions.
* ld/testsuite/ld-arm/attr-merge-7.attr: Likewise.
* opcodes/arm-dis.c (arm_opcodes): SMC implies Security Extensions.
(thumb32_opcodes): Likewise.

13 years ago * gas/config/tc-arm.c (arm_ext_mp): Add.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:18:18 +0000 (15:18 +0000)]
* gas/config/tc-arm.c (arm_ext_mp): Add.
(do_pld): Update comment.
(insns): Add support for pldw.
(arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
MP extension.
(arm_extensions): Add 'mp' extension.
(aeabi_set_public_attributes): Emit correct build attribute when
MP extension is enabled.
* gas/doc/c-arm.texi: Update for MP extensions.
* gas/testsuite/gas/arm/arch7a-mp.d: Add.
* gas/testsuite/gas/arm/arch7ar-mp.s: Likewise.
* gas/testsuite/gas/arm/arch7r-mp.d: Likewise.
* gas/testsuite/gas/arm/armv2-mp-bad.d: Likewise.
* gas/testsuite/gas/arm/armv2-mp-bad.l: Likewise.
* gas/testsuite/gas/arm/attr-march-all.d: Update for MP extension.
* gas/testsuite/gas/arm/attr-march-armv7-a+mp.d: Add.
* gas/testsuite/gas/arm/attr-march-armv7-r+mp.d: Likewise.
* include/opcode/arm.h (ARM_EXT_MP): Add.
(ARM_ARCH_V7A_MP): Likewise.
* opcodes/arm-dis.c (arm_opcodes): Add support for pldw.
(thumb32_opcodes): Likewise.

13 years ago * doc/porting.texi: Fix typos.
Corinna Vinschen [Thu, 23 Sep 2010 08:07:47 +0000 (08:07 +0000)]
* doc/porting.texi: Fix typos.

13 years agolibgloss: add Blackfin to the README
Michael Frysinger [Wed, 22 Sep 2010 22:45:07 +0000 (22:45 +0000)]
libgloss: add Blackfin to the README

13 years agoopcodes/gas: blackfin: support OUTC debug insn
Michael Frysinger [Wed, 22 Sep 2010 20:59:00 +0000 (20:59 +0000)]
opcodes/gas: blackfin: support OUTC debug insn

The disassembler has partial (but incomplete/broken) support already for
the pseudo debug insn OUTC, so let's fix it up and finish it.  And now
that the disassembler can handle it, make sure our assembler can output
it too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2010-09-21 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Wed, 22 Sep 2010 03:15:07 +0000 (03:15 +0000)]
2010-09-21  Craig Howland <howland@LGSInnovations.com>

        * libc/string/memcpy.c: Do not assign size_t parameter to int.
        Use parameter directly, instead.
        * libc/string/memccpy.c:  Likewise.
        * libc/string/mempcpy.c:  Likewise.
        * libc/string/memmove.c:  Likewise.

13 years ago2010-09-21 Pierre Humblet <Pierre.Humblet@ieee.org>
Pierre Humblet [Tue, 21 Sep 2010 21:41:31 +0000 (21:41 +0000)]
2010-09-21  Pierre Humblet <Pierre.Humblet@ieee.org>

        * libc/minires.c (res_nsend): Use the Windows resolver if appropriate.
        (dn_expand): Only set errno in case of error. Delete old comments.
        (dn_skipname): Fix typo in comment.

13 years ago * path.cc (cwdstuff::set): Replace constant 2 with sizeof(WCHAR) where
Corinna Vinschen [Tue, 21 Sep 2010 16:41:17 +0000 (16:41 +0000)]
* path.cc (cwdstuff::set): Replace constant 2 with sizeof(WCHAR) where
appropriate.

13 years ago * mount.h (class fs_info): Add has_buggy_reopen flag and accessor
Corinna Vinschen [Tue, 21 Sep 2010 16:32:22 +0000 (16:32 +0000)]
* mount.h (class fs_info): Add has_buggy_reopen flag and accessor
methods.
* mount.cc (fs_info::update): Set has_buggy_reopen flag for NWFS.
Add comment.
* path.h (path_conv::get_object_attr) Make inline method.
(path_conv::init_reopen_attr): New inline method.
* path.cc (path_conv::get_object_attr): Remove.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Use
path_conv::init_reopen_attr method to initialize OBJECT_ATTRIBUTE for
reopening file.
(fhandler_disk_file::fchmod): Ditto.
(fhandler_base::utimens_fs): Ditto.
(fhandler_disk_file::rewinddir): Ditto.
* syscalls.cc (unlink_nt): Ditto.

13 years ago * fhandler.cc (fhandler_base::open): Always open NFS files with
Corinna Vinschen [Tue, 21 Sep 2010 16:07:20 +0000 (16:07 +0000)]
* fhandler.cc (fhandler_base::open): Always open NFS files with
FILE_READ_EA, even when opening with O_WRONLY to allow fstat.
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Call
FlushFileBuffers if file has been opened for writing.  Explain why.
(fhandler_base::fstat_by_handle): Renew content of pc.fnoi if called
via fstat.  Explain why.  Fix formatting.
* path.cc (symlink_info::check): Try to open file the second time with
FILE_READ_EA permissions since it's needed in later calls to
fhandler_base::fstat_by_nfs_ea.

13 years agoopcodes: blackfin: strip trailing whitespace
Michael Frysinger [Tue, 21 Sep 2010 06:04:21 +0000 (06:04 +0000)]
opcodes: blackfin: strip trailing whitespace

13 years ago* include/sys/cygwin.h (PID_NOTCYGWIN): New enum.
Christopher Faylor [Mon, 20 Sep 2010 22:28:57 +0000 (22:28 +0000)]
* include/sys/cygwin.h (PID_NOTCYGWIN): New enum.
* spawn.cc (spawn_guts): Set a flag when a process is not a cygwin process.
* fhandler_tty.cc (fhandler_tty_slave::init): Remove previous change.  Try a
different method to determine when we should become the process group owner.
* signal.cc (kill0): Remove archaic code which dealt with never-set flag.

13 years ago* fhandler_tty.cc (fhandler_tty_slave::init): Add additional checks to
Christopher Faylor [Mon, 20 Sep 2010 20:25:50 +0000 (20:25 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::init): Add additional checks to
determine when a process should grab control of a tty's pgid.  Use
being_debugged() for consistency.
* debug.h (being_debugged): Remove vestige of win9x accommodation.

13 years ago* wincap.h (wincaps::has_buggy_thread_startup): Declare.
Christopher Faylor [Sun, 19 Sep 2010 20:18:36 +0000 (20:18 +0000)]
* wincap.h (wincaps::has_buggy_thread_startup): Declare.
(wincapc::has_buggy_thread_startup): Ditto.
* wincap.cc::wincap_*): Accommodate has_buggy_thread_startup.
(wincapc::init): Explicitly turn off has_buggy_thread_startup if not WOW64.
* cygthread.h (cygthread::thread_handle): Declare/define new method.
* dcrt0.cc (_dll_crt0): Don't call __sinit here.
(dll_crt0_0): Don't call sigproc_init during initialization if
wincap.has_buggy_thread_startup().
(dll_crt0_1): Defer sigproc_init to here when
wincap.has_buggy_thread_startup().  Call __sinit after we've determined that
we're not forking.
(__main): Rework comments.  Add potential future reminder.

13 years ago* overview2.sgml: Remove cheerful paragraph which implied that it was ok to
Christopher Faylor [Sat, 18 Sep 2010 15:58:46 +0000 (15:58 +0000)]
* overview2.sgml: Remove cheerful paragraph which implied that it was ok to
casually mix Windows and POSIX.  Add more words about mixing POSIX/Windows.

13 years ago * setup2.sgml (setup-locale-how): Fix typo.
Corinna Vinschen [Sat, 18 Sep 2010 11:29:06 +0000 (11:29 +0000)]
* setup2.sgml (setup-locale-how): Fix typo.

13 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fetch number
Corinna Vinschen [Wed, 15 Sep 2010 11:26:10 +0000 (11:26 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fetch number
of links and inode number only if path has good inodes.
(fhandler_base::fstat_by_name): Fetch inode number only if path has
good inodes.

13 years agoFix typo in my most recent ChangeLog entry. Regenerated file is
Kevin Buettner [Tue, 14 Sep 2010 17:09:41 +0000 (17:09 +0000)]
Fix typo in my most recent ChangeLog entry.  Regenerated file is
Makefile.in, not Makefile.

13 years ago * path.cc (symlink_info::check): Make sure AllocationSize and EndOfFile
Corinna Vinschen [Tue, 14 Sep 2010 14:10:39 +0000 (14:10 +0000)]
* path.cc (symlink_info::check): Make sure AllocationSize and EndOfFile
are stored in the right order when fetching the info from the
NtQueryDirectoryFile result.

13 years ago * fhandler_process.cc (get_mem_values): Simplify code. Fix
Corinna Vinschen [Mon, 13 Sep 2010 13:02:19 +0000 (13:02 +0000)]
* fhandler_process.cc (get_mem_values): Simplify code.  Fix
NtQueryVirtualMemory loop so it handles memory allocation gracefully.
Always set errno to a useful value.

13 years ago * fhandler.h (class fhandler_base): Change inheritance of fstat_helper
Corinna Vinschen [Mon, 13 Sep 2010 11:17:36 +0000 (11:17 +0000)]
* fhandler.h (class fhandler_base): Change inheritance of fstat_helper
and fstat_by_...  methods to private.
(fhandler_base::fstat_helper): Drop all redundant arguments.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop call
to fstat_by_nfs_ea here.  Drop fetching basic file information.
Drop setting file attributes.  Accommodate change in fstat_helper call.
(fhandler_base::fstat_by_name): Simplify.  Only fetch directory
information to get the inode number.  Drop setting file attributes.
Accommodate change in fstat_helper call.
(fhandler_base::fstat_fs): Call fstat_by_nfs_ea if on NFS.
(fhandler_base::fstat_helper): Drop all redundant arguments.  Use
information already collected in the fhandler.  Move heading comment
into code and drop dwFileAttributes comment.
* mmap.cc (mmap64): Call fstat_fs rather than fstat_by_handle.
* mount.cc (fs_info::update): Note that has_buggy_basic_info is unused.
* path.cc (symlink_info::check_reparse_point): Add comment.
(symlink_info::check): Fetch FileNetworkOpenInformation rather than
FileBasicInformation throughout, except on NFS.  Explain why.  Store
FILE_NETWORK_OPEN_INFORMATION in conv_hdl.  Remove
FILE_ATTRIBUTE_DIRECTORY attribute in conv_hdl for reparse point
symlinks.
* path.h (class path_conv_handle): Add FILE_NETWORK_OPEN_INFORMATION
member _fnoi.
(path_conv_handle::fnoi): New accessor method for _fnoi.
(path_conv::fnoi): New accessor method for cubv_hdl._fnoi.

* fhandler_tty.cc (fhandler_tty_slave::init): Use tty::setpgid method.

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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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