summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * mount.cc (mount_info::create_root_entry): Fix format specifier inCorinna Vinschen2012-02-072-2/+7
| | | | api_fatal message.
* * include/process.h: Move here from include/cygwin subdir.Corinna Vinschen2012-02-075-3/+11
| | | | | | | * exec.cc: Change include of process.h to reflect the fact that it's now back in include. * spawn.cc: Ditto. * syscalls.cc: Ditto.
* * cygheap.cc (init_cygheap::manage_console_count): Delete.Christopher Faylor2012-02-079-35/+49
| | | | | | | | | | | | | | | | | | | * cygheap.h (init_cygheap::manage_console_count): Ditto. (init_cygheap::console_count): Ditto. * fhandler.h (fhandler_console::has_a): Ditto. (fhandler_console::free_console): Declare new function. * fhandler_console.cc (fhandler_console::free_console): Define new function. (fhandler_console::open_setup): Delete call to manage_console_count. (fhandler_console::close): Ditto. Replace with call to free_console(). * fhandler_tty.cc (fhandler_pty_slave::open): Delete call to manage_console_count. (fhandler_pty_slave::cleanup): Ditto. (fhandler_pty_slave::close): Call fhandler_console::free_console() if this is our controlling tty. * pinfo.cc (_pinfo::set_ctty): Skip function if tty in question == our ctty. Delete call to manage_console_count. * syscalls.cc (close_all_files): Avoid locking and avoid setting errno when iterating over fds.
* * include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 11.Christopher Faylor2012-02-072-1/+5
|
* * libc/include/inttypes.h: Redefine pointer type macros.Corinna Vinschen2012-02-072-8/+12
|
* * new-features.sgml (ov-new1.7.10): Fix typo.Corinna Vinschen2012-02-052-1/+5
|
* * legal.sgml: Fix copyright.Corinna Vinschen2012-02-052-1/+5
|
* *** empty log message ***Corinna Vinschen2012-02-051-17/+12
|
* * setup2.sgml: Fix more typos.Corinna Vinschen2012-02-043-2/+7
| | | | * setup-net.sgml: Ditto.
* * utils.sgml: Fix typos.Corinna Vinschen2012-02-042-7/+11
|
* * faq-using.xml: Fix typos.Corinna Vinschen2012-02-046-17/+20
| | | | | | | | * ntsec.sgml: Ditto. * pathnames.sgml: Ditto. * setup2.sgml: Ditto. * setup-net.sgml: Ditto. (setup-dir): Drop paragraph on Unix/DOS file mode.
* Add support to GDB for the Renesas rl78 architecture.Kevin Buettner2012-02-042-0/+80
|
* * grp.cc (pwdgrp::parse_group): Convert grp from macro to reference.Corinna Vinschen2012-02-033-6/+10
| | | | * passwd.cc (pwdgrp::parse_passwd): Ditto for res.
* * syscalls.cc (close_all_files): Use cygheap_fdget to manipulate fhandler. UseChristopher Faylor2012-02-022-14/+19
| | | | debug_only_printf.
* Fix memory and handle leaks due to fdopendir:Corinna Vinschen2012-02-025-24/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dir.cc (closedir): Call global close instead of just releasing the fhandler. * fhandler_disk_file.cc (fhandler_disk_file::closedir): Don't close fhandler handle here, rely on global closedir doing the right thing. * fhandler_registry.cc (fhandler_registry::readdir): Also delete d_hash when closing registry key. (fhandler_registry::rewinddir): Ditto. Avoid infinite recursion in VirtualStore under UAC: * fhandler_registry.cc (VIRT_CLASSES_KEY_PREFIX): Define. (VIRT_CLASSES_KEY_SUFFIX): Ditto. (VIRT_CLASSES_KEY): Ditto. (VIRT_CLASSES_LINKTGT): Ditto. (fhandler_registry::exists): Return virt_symlink as file type if this is a Classes key under the VirtualStore. (fhandler_registry::fstat): Handle virt_symlink. (fhandler_registry::readdir): Return DT_LNK as d_type if this is a Classes key under the VirtualStore. (fhandler_registry::fill_filebuf): Handle Classes symlink. Handle user impersonation in /proc/registry access: * autoload.cc (RegOpenUserClassesRoot): Define. (RegOpenCurrentUser): Define. * fhandler_registry.cc (RegOpenUserClassesRoot): Declare function missing in w32api. (RegOpenCurrentUser): Ditto. (fetch_hkey): New function. (fhandler_registry::open): Call fetch_hkey to get root registry key. (open_key): Ditto.
* More performance enhancements and POSIX compliance corrections.Keith Marshall2012-02-012-221/+260
|
* Grr. Fix another typo.Christopher Faylor2012-02-011-1/+1
|
* * fcntl.cc (fcntl64): Add introductory debug statement. Call dup3 directoryChristopher Faylor2012-02-012-3/+12
| | | | via dtable method to avoid over-incrementing refcnt.
* * dtable.cc (dtable::dup_worker): Add comment explaining why refcnt isn'tChristopher Faylor2012-02-013-5/+17
| | | | | | incremented here. (dtable::dup3): Simplify slightly. Add comment. * syscalls.cc (dup3): Increment refcnt here, similarly to dup2.
* fix typoChristopher Faylor2012-02-011-1/+1
|
* * fhandler.cc (fhandler_base_overlapped::has_ongoing_io): Don't blockChristopher Faylor2012-02-013-48/+46
| | | | | | | GetOverlappedResult since previous IsEventSignalled will have reset the handle. * select.cc (cygwin_select): Remove space before parentheses in syscall debugging output. (pipe_data_available): Streamline if block.
* * syscalls.cc (dup3): Fix debug typo.Christopher Faylor2012-01-313-8/+19
| | | | | | | * fhandler.cc (flush_async_io): Assume only called for writer. Call GetOverlappedResult directly rather than kluding call to has_ongoing_io. (fhandler_base_overlapped::close): Only start flush thread when closing write handle. Only cancel I/O when reading.
* Move ELF header entries to elf/ChangeLogH.J. Lu2012-01-312-16/+16
|
* * strace.cc (proc_child): Don't right-shift exit value.Christopher Faylor2012-01-312-4/+9
| | | | (main): Call ExitProcess() to exit exactly the same way as any straced child.
* Support arch-dependent fillH.J. Lu2012-01-312-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * archures.c (bfd_arch_info): Add fill. (bfd_default_arch_struct): Add bfd_arch_default_fill. (bfd_arch_default_fill): New. * configure.in: Set bfd version to 2.22.52. * configure: Regenerated. * cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info initializer. * cpu-arc.c: Likewise. * cpu-arm.c: Likewise. * cpu-avr.c: Likewise. * cpu-bfin.c: Likewise. * cpu-cr16.c: Likewise. * cpu-cr16c.c: Likewise. * cpu-cris.c: Likewise. * cpu-crx.c: Likewise. * cpu-d10v.c: Likewise. * cpu-d30v.c: Likewise. * cpu-dlx.c: Likewise. * cpu-epiphany.c: Likewise. * cpu-fr30.c: Likewise. * cpu-frv.c: Likewise. * cpu-h8300.c: Likewise. * cpu-h8500.c: Likewise. * cpu-hppa.c: Likewise. * cpu-i370.c: Likewise. * cpu-i860.c: Likewise. * cpu-i960.c: Likewise. * cpu-ia64.c: Likewise. * cpu-ip2k.c: Likewise. * cpu-iq2000.c: Likewise. * cpu-lm32.c: Likewise. * cpu-m10200.c: Likewise. * cpu-m10300.c: Likewise. * cpu-m32c.c: Likewise. * cpu-m32r.c: Likewise. * cpu-m68hc11.c: Likewise. * cpu-m68hc12.c: Likewise. * cpu-m68k.c: Likewise. * cpu-m88k.c: Likewise. * cpu-mcore.c: Likewise. * cpu-mep.c: Likewise. * cpu-microblaze.c: Likewise. * cpu-mips.c: Likewise. * cpu-mmix.c: Likewise. * cpu-moxie.c: Likewise. * cpu-msp430.c: Likewise. * cpu-mt.c: Likewise. * cpu-ns32k.c: Likewise. * cpu-openrisc.c: Likewise. * cpu-or32.c: Likewise. * cpu-pdp11.c: Likewise. * cpu-pj.c: Likewise. * cpu-plugin.c: Likewise. * cpu-powerpc.c: Likewise. * cpu-rl78.c: Likewise. * cpu-rs6000.c: Likewise. * cpu-rx.c: Likewise. * cpu-s390.c: Likewise. * cpu-score.c: Likewise. * cpu-sh.c: Likewise. * cpu-sparc.c: Likewise. * cpu-spu.c: Likewise. * cpu-tic30.c: Likewise. * cpu-tic4x.c: Likewise. * cpu-tic54x.c: Likewise. * cpu-tic6x.c: Likewise. * cpu-tic80.c: Likewise. * cpu-tilegx.c: Likewise. * cpu-tilepro.c: Likewise. * cpu-v850.c: Likewise. * cpu-vax.c: Likewise. * cpu-w65.c: Likewise. * cpu-we32k.c: Likewise. * cpu-xc16x.c: Likewise. * cpu-xstormy16.c: Likewise. * cpu-xtensa.c: Likewise. * cpu-z80.c: Likewise. * cpu-z8k.c: Likewise. * cpu-i386.c: Include "libiberty.h". (bfd_arch_i386_fill): New. Add bfd_arch_i386_fill to bfd_arch_info initializer. * cpu-k1om.c: Add bfd_arch_i386_fill to bfd_arch_info initializer. * cpu-l1om.c: Likewise. * linker.c (default_data_link_order): Call abfd->arch_info->fill if fill size is 0. * bfd-in2.h: Regenerated. include/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * bfdlink.h (bfd_link_order): Update comments on data size. ld/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * emulparams/elf32_x86_64.sh: Remove NOP. * emulparams/elf_i386.sh: Likewise. * emulparams/elf_i386_be.sh: Likewise. * emulparams/elf_i386_ldso.sh: Likewise. * emulparams/elf_i386_vxworks.sh: Likewise. * emulparams/elf_k1om.sh: Likewise. * emulparams/elf_l1om.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * ldlang.c (zero_fill): Initialized to 0. * ldwrite.c (build_link_order): Set data size to linker odrder size when they are the same. * scripttempl/elf.sc: Don't specify fill if NOP is undefined. ld/testsuite/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * ld-i386/tlsbindesc.dd: Update no-op padding. * ld-i386/tlsnopic.dd: Likewise. * ld-i386/tlspic.dd: Likewise. * ld-x86-64/tlsbin.dd: Likewise. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-x86-64/tlspic.dd: Likewise.
* * tzset.c: Throughout use wide characters to be locale agnostic.Corinna Vinschen2012-01-292-470/+475
| | | | (main): Call setlocale.
* * Makefile.in (CYGWIN_BINS): Add tzset.Corinna Vinschen2012-01-297-1/+765
| | | | | | | | | * tzset.c: New tool, new file. * utils.sgml (tzset): New section. * new-features.sgml (ov-new1.7.10): Add tzset. * release/1.7.10: Add tzset.
* Forced checkin for timestampCorinna Vinschen2012-01-280-0/+0
|
* * cygwin.din: Fix order (DATA first).Corinna Vinschen2012-01-282-4/+8
|
* * dcrt0.cc (is_dos_path): New macro to recognize drive letter and UNCCorinna Vinschen2012-01-272-5/+14
| | | | | DOS paths. (globify): Call is_dos_path instead of isdrive.
* * dwarf2.h (enum dwarf_form): Add Fission extensions.Cary Coutant2012-01-262-1/+17
| | | | (enum dwarf_attribute): Likewise.
* * sigproc.cc (child_info::retry_count): Actually that should have been 0.Christopher Faylor2012-01-262-1/+6
|
* * sigproc.cc (child_info::retry_count): Default to 1.Christopher Faylor2012-01-262-1/+5
|
* * pathnames.sgml (mount-table): Rephrase a few expressions forCorinna Vinschen2012-01-242-7/+17
| | | | clearness.
* * ldd.cc (start_process): Handle .oct and .so as DLLs.Yaakov Selkowitz2012-01-242-1/+9
|
* libgloss: bfin: add a better default _exitMichael Frysinger2012-01-243-2/+32
|
* * syscalls.cc (gethostid): Simplify. Just fetch MachineGuid andCorinna Vinschen2012-01-232-114/+24
| | | | create hash from there.
* * fhandler.h (fhandler_fifo::arm): Declare new function.Christopher Faylor2012-01-224-20/+49
| | | | | | | | | * fhandler_fifo.cc (fhandler_fifo::arm): Define new function. (fhandler_fifo::open): Fix handling of RDWR pipes to avoid opening a second handle. Use arm() function to set events. (fhandler_fifo::raw_read): Correctly go into "connect again logic" when we detect another writer is available. Use arm() function to set event. * pipe.cc (fhandler_pipe::create): Add more detail to debugging output.
* clarify wordingChristopher Faylor2012-01-221-1/+1
|
* * cygheap.h (cygheap_fdmanip::release): Simplify.Christopher Faylor2012-01-225-28/+19
| | | | | | | | * dtable.cc (dtable::release): Make void again. Skip not_open check since it is guaranteed to be open. Don't bother deleting here since actual deletion will be handled in cygheap_fdget::~cygheap_fdget. * dtable.h (dtable::release): Make void again. * syscalls.cc (dup2): Bump fhandler use count on successful dup.
* * cygheap.h (cygheap_fdget::~cygheap_fdget): Simplify now that refcnt reportsChristopher Faylor2012-01-227-16/+36
| | | | | | | | | | | reference count changes itself. * fhandler.cc (fhandler_base::reset): Set _refcnt to 0. * fhandler.h (fhandler_base::refcnt): Report refcnt when debugging. * select.cc (cygwin_select): Set return_on_signal to indicate when select should be interrupted. (select_stuff::wait): Keep looping unless return_on_signal is set. * select.h (select_stuff::return_on_signal): New variable. (select_stuff::select_stuff): Zero return_on_signal.
* * fhandler.h (fhandler_registry::opendir): Declare.Corinna Vinschen2012-01-203-0/+14
| | | | * fhandler_registry.cc (fhandler_registry::opendir): New function.
* * arm/linux-crt0.c: Use ldr instead of adr to get address ofCorinna Vinschen2012-01-172-1/+8
| | | | _start_thumb.
* Correct misused 'rm -r' command in uninstall rules.Keith Marshall2012-01-164-3/+11
|
* Generalise makefile references to subdirectories of lib.Keith Marshall2012-01-163-7/+12
|
* * configure: Regenerate and re-add to repository.Corinna Vinschen2012-01-163-1/+4017
| | | | * .cvsignore: Fix accordingly.
* Add 'check' as GCS conforming alias for make's 'test' goal.Keith Marshall2012-01-155-9/+22
|
* More makefile code refactoring; remove redundant INCLUDES references.Keith Marshall2012-01-155-5/+11
|
* Add smart identification of auxiliary header file paths.Keith Marshall2012-01-155-43/+199
|
* More makefile code refactoring; fix top_srcdir references.Keith Marshall2012-01-155-71/+51
|