Commit Graph

  • 1b79b38101 * Makefile.in (CYGWIN_BINS): Add tzset. * tzset.c: New tool, new file. * utils.sgml (tzset): New section. Corinna Vinschen 2012-01-29 09:41:06 +0000
  • 327afcea30 Forced checkin for timestamp Corinna Vinschen 2012-01-28 14:44:23 +0000
  • e2c22341c2 * cygwin.din: Fix order (DATA first). Corinna Vinschen 2012-01-28 14:44:01 +0000
  • deeffc5036 * dcrt0.cc (is_dos_path): New macro to recognize drive letter and UNC DOS paths. (globify): Call is_dos_path instead of isdrive. Corinna Vinschen 2012-01-27 09:28:38 +0000
  • 4f415392a7 * dwarf2.h (enum dwarf_form): Add Fission extensions. (enum dwarf_attribute): Likewise. Cary Coutant 2012-01-26 22:57:17 +0000
  • c9241c2619 * sigproc.cc (child_info::retry_count): Actually that should have been 0. Christopher Faylor 2012-01-26 18:14:11 +0000
  • bd4174619e * sigproc.cc (child_info::retry_count): Default to 1. Christopher Faylor 2012-01-26 16:35:34 +0000
  • 2d5a2c1b35 * pathnames.sgml (mount-table): Rephrase a few expressions for clearness. Corinna Vinschen 2012-01-24 09:48:59 +0000
  • abd9714a7b * ldd.cc (start_process): Handle .oct and .so as DLLs. Yaakov Selkowitz 2012-01-24 06:29:01 +0000
  • f171a1e0a6 libgloss: bfin: add a better default _exit Michael Frysinger 2012-01-24 04:41:10 +0000
  • 5ad6d0a486 * syscalls.cc (gethostid): Simplify. Just fetch MachineGuid and create hash from there. Corinna Vinschen 2012-01-23 12:59:44 +0000
  • 1ad58ee709 * fhandler.h (fhandler_fifo::arm): Declare new function. * 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. Christopher Faylor 2012-01-22 21:43:25 +0000
  • 5b09af7a51 clarify wording Christopher Faylor 2012-01-22 17:57:52 +0000
  • 0646a508aa * cygheap.h (cygheap_fdmanip::release): Simplify. * 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. Christopher Faylor 2012-01-22 07:27:57 +0000
  • ad87edbe61 * cygheap.h (cygheap_fdget::~cygheap_fdget): Simplify now that refcnt reports 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. Christopher Faylor 2012-01-22 06:45:08 +0000
  • 5259273091 * fhandler.h (fhandler_registry::opendir): Declare. * fhandler_registry.cc (fhandler_registry::opendir): New function. Corinna Vinschen 2012-01-20 12:53:26 +0000
  • c3a549f687 * arm/linux-crt0.c: Use ldr instead of adr to get address of _start_thumb. Corinna Vinschen 2012-01-17 10:03:40 +0000
  • d409f31ff3 Correct misused 'rm -r' command in uninstall rules. Keith Marshall 2012-01-16 20:37:25 +0000
  • ec54dd65e2 Generalise makefile references to subdirectories of lib. Keith Marshall 2012-01-16 20:26:49 +0000
  • 32bd06e544 * configure: Regenerate and re-add to repository. * .cvsignore: Fix accordingly. Corinna Vinschen 2012-01-16 08:44:37 +0000
  • 47c607cdca Add 'check' as GCS conforming alias for make's 'test' goal. Keith Marshall 2012-01-15 21:30:48 +0000
  • fe493b0f4b More makefile code refactoring; remove redundant INCLUDES references. Keith Marshall 2012-01-15 20:56:25 +0000
  • 71992560f7 Add smart identification of auxiliary header file paths. Keith Marshall 2012-01-15 19:11:09 +0000
  • f485d8ffb4 More makefile code refactoring; fix top_srcdir references. Keith Marshall 2012-01-15 15:31:11 +0000
  • 6208cfce7a Update and correct makefile rebuilding rules. Keith Marshall 2012-01-15 15:10:09 +0000
  • f0449b5092 More formatting adjustments. Keith Marshall 2012-01-15 14:28:17 +0000
  • 300dfd2a1b Miscellaneous formatting adjustments. Keith Marshall 2012-01-15 14:20:36 +0000
  • c6a4777d85 Improve self-documentation of 'for' loop commands. Keith Marshall 2012-01-15 12:39:00 +0000
  • 3ef7500436 Generalise 'all' rule to arbitrary prerequisite sub-directories. Keith Marshall 2012-01-15 12:27:13 +0000
  • 09223354f9 Derive package release index from configure time specification. Keith Marshall 2012-01-15 12:20:09 +0000
  • 124e2b274b Discontinue CVS tracking of generated 'configure' script. Keith Marshall 2012-01-14 21:19:12 +0000
  • e83fe04100 Document support of printf %m conversion flag. Yaakov Selkowitz 2012-01-13 10:01:12 +0000
  • df3da8e12e * new-features.sgml (ov-new1.7.10): Document support for the %m conversion flag in printf functions. Yaakov Selkowitz 2012-01-13 09:59:53 +0000
  • e55564646d * include/cygwin/config.h (_GLIBC_EXTENSION): Define. Yaakov Selkowitz 2012-01-13 09:15:22 +0000
  • 29d84e5a46 * libc/stdio/sprintf.c: Document 'm' conversion specifier. * libc/stdio/swprintf.c: Ditto. * libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm' conversion specifier. * libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto. Yaakov Selkowitz 2012-01-13 09:13:57 +0000
  • b2af74282b Document tgmath.h. Yaakov Selkowitz 2012-01-12 23:43:21 +0000
  • 9da2914941 * new-features.sgml (ov-new1.7.10): Document tgmath.h. Yaakov Selkowitz 2012-01-12 23:42:11 +0000
  • 2ed2809fd6 add indirect_symbol to mach-o port. Iain D Sandoe 2012-01-12 14:03:12 +0000
  • 2af8babd93 * libc/include/tgmath.h: New header. Yaakov Selkowitz 2012-01-12 11:19:31 +0000
  • 74f2cb574e * spawn.cc (child_info_spawn::worker): Delete debugging. Christopher Faylor 2012-01-11 22:38:52 +0000
  • 0e1f0840d2 Update copyright on all files checked in so far this year. * fhandler.h: Use #pragma once rather than ifdef guards. (fhandler_console::tc_getpgid): Return our pgid if we have never opened a console. * fork.cc: Rearrange includes to accommodate fhandler.h use of pinfo.h. * sigproc.cc: Ditto. * spawn.cc: Ditto. (child_info_spawn::worker): Query myself->pgid rather than calling expensive function. * thread.h: Use #pragma once rather than ifdef guards. * pinfo.h: Use #pragma once rather than ifdef guards. (pinfo::remember): Don't define if sigproc.h has not been included. (pinfo::reattach): Ditto. * sigproc.h: Use #pragma once rather than ifdef guards. Use different test to see if pinfo.h has been included. Christopher Faylor 2012-01-11 19:07:11 +0000
  • 5ecc040cff * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name): Declare. Yaakov Selkowitz 2012-01-09 22:49:20 +0000
  • 3182cdfaf0 * libc/include/complex.h: Fix "/*" within comment warning. Yaakov Selkowitz 2012-01-09 22:46:34 +0000
  • 4b4391b74d * libc/include/process.h: Remove Cygwin-only header. Corinna Vinschen 2012-01-09 17:06:20 +0000
  • 02c8acc1b4 * include/cygwin/process.h: Move here from newlib. * exec.cc: Change include of process.h to reflect the fact that it's now in the include/cygwin subfolder. * spawn.cc: Ditto. * syscalls.cc: Ditto. Corinna Vinschen 2012-01-09 17:03:39 +0000
  • cde9b54e71 * miscfuncs.cc (thread_wrapper): Make sure stack is 16 byte aligned to make gcc-3 compiled pthread applications happy. Corinna Vinschen 2012-01-09 14:19:56 +0000
  • df8c8e18eb * Makefile.common (MINGW_LDFLAGS): Correctly use -L rather than -B here. Corinna Vinschen 2012-01-09 09:50:44 +0000
  • a345dc55f9 * dtable.cc (dtable::stdio_init): Always initialize console when we have one. * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Use a better method to print tty name for debugging. (fhandler_termios::bg_check): Ditto. * pinfo.cc (_pinfo::set_ctty): Remove leftover debugging stuff. Simplify behavior when setting tty's sid and pgid to avoid overwriting previously set values. * spawn.cc (ch_spawn): Cosmetic change. Christopher Faylor 2012-01-08 06:24:17 +0000
  • 04243e461d Add my recent API additions. Yaakov Selkowitz 2012-01-08 01:32:17 +0000
  • ba6d13258d merge from gcc Jason Merrill 2012-01-07 02:53:16 +0000
  • 1f250fc805 Ensure Makefile.comm source is included in distribution tarballs. Keith Marshall 2012-01-06 22:01:15 +0000
  • c7cee543f0 2012-01-06 Chris Sutcliffe <ir0nh34d@users.sf.net> Chris Sutcliffe 2012-01-06 18:51:33 +0000
  • 8f60405b3d * new-features.sgml (ov-new1.7.10): Document pthread_sigqueue. Yaakov Selkowitz 2012-01-06 07:13:11 +0000
  • 50350cafb3 * cygwin.din (pthread_sigqueue): Export. * posix.sgml (std-gnu): Add pthread_sigqueue. * thread.cc (pthread_sigqueue): New function. * include/thread.h (pthread_sigqueue): New function. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Yaakov Selkowitz 2012-01-06 07:12:18 +0000
  • 1f94817747 2012-01-05 Chris Sutcliffe <ir0nh34d@users.sf.net> Chris Sutcliffe 2012-01-05 19:39:01 +0000
  • 4ee8ef6a7d bfd/ 2012-01-04 Tristan Gingold <gingold@adacore.com> Tristan Gingold 2012-01-04 10:37:36 +0000
  • 4d0c04db40 bfd/ 2012-01-04 Tristan Gingold <gingold@adacore.com> Tristan Gingold 2012-01-04 10:25:14 +0000
  • 1cf6182800 bfd/ 2012-01-04 Tristan Gingold <gingold@adacore.com> Tristan Gingold 2012-01-04 09:58:55 +0000
  • af10d87c7b Copyright year update in most files of the GDB Project. Joel Brobecker 2012-01-04 08:27:59 +0000
  • 70284e10d0 2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net> Chris Sutcliffe 2012-01-04 02:32:08 +0000
  • b018c06fa9 2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net> Chris Sutcliffe 2012-01-04 01:32:07 +0000
  • 286625cf91 2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com> Jeff Johnston 2012-01-03 19:13:57 +0000
  • 2a4b36abb7 Correct misuse of #ifdef, identified by 'make test'. Keith Marshall 2012-01-03 19:09:39 +0000
  • b9f131c820 * path.cc (get_current_dir_name): Avoid memory leak. Don't return PWD contents if directory doesn't actually exist. Christopher Faylor 2012-01-02 17:45:51 +0000
  • 7e89497328 * new-features.sgml (ov-new1.7.10): Document get_current_dir_name. Yaakov Selkowitz 2012-01-01 18:55:40 +0000
  • 0b5355f17c * cygwin.din (get_current_dir_name): Export. * path.cc (get_current_dir_name): New function. * posix.sgml (std-gnu): Add get_current_dir_name. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Yaakov Selkowitz 2012-01-01 18:54:25 +0000
  • d27d202f56 Bump ChangeLog Christopher Faylor 2012-01-01 16:57:25 +0000
  • 594a229a80 Add a couple other items which have been changed since initial call for testing Christopher Faylor 2011-12-31 19:23:05 +0000
  • 03062ffa8e Initial checkin of text Corinna sent to cygwin-announce. Christopher Faylor 2011-12-31 19:18:23 +0000
  • d0813bfdf0 * new-features.sgml (ov-new1.7.10): Document getpt. Yaakov Selkowitz 2011-12-30 20:24:18 +0000
  • d5f3e0ba9a * cygwin.din (getpt): Export. * posix.sgml (std-gnu): Add getpt. * tty.cc (getpt): New function. * include/cygwin/stdlib.h [!__STRICT_ANSI__] (getpt): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Yaakov Selkowitz 2011-12-30 20:22:28 +0000
  • 3abbe5ea8e * thread.cc: Mark pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock as not yet implemented in the list of cancellation points. Yaakov Selkowitz 2011-12-30 06:47:13 +0000
  • 3fc91be72b * fhandler_dsp.cc (fhandler_dev_dsp::fhandler_dev_dsp): Set up device. * syscalls.cc (open): Very minor formatting tweak. Christopher Faylor 2011-12-25 04:05:31 +0000
  • 855ea3fddd * path.cc (struct symlink_info): Add bool argument to declaration of check_reparse_point. (symlink_info::check_reparse_point): Add bool argument to indicate remote drive. Handle STATUS_PENDING. Don't evaluate junctions on remote drives. Fix comments. (symlink_info::check): Drop check for is_remote_drive and associated comment here. Add fs.is_remote_drive as second parameter to check_reparse_point call. Corinna Vinschen 2011-12-24 13:11:34 +0000
  • 9ffe887f6c * pinfo.cc (pinfo_basic::pinfo_basic): Fix formatting. Set uid and gid to default values to accommodate early initialization of shared user info. Add comment. Corinna Vinschen 2011-12-23 17:12:10 +0000
  • 6d55bc5c8a [bfd] * elf32-rl78.c (rl78_elf_howto_table): Add R_RL78_RH_RELAX. (rl78_reloc_map): Add BFD_RELOC_RL78_RELAX. (rl78_elf_relocate_section): Add R_RL78_RH_RELAX, R_RL78_RH_SFR, and R_RL78_RH_SADDR. (rl78_elf_finish_dynamic_sections): Only validate PLT section if we didn't relax anything, as relaxing might remove a PLT reference after we've set up the table. (elf32_rl78_relax_delete_bytes): New. (reloc_bubblesort): New. (rl78_offset_for_reloc): New. (relax_addr16): New. (rl78_elf_relax_section): Add support for relaxing long instructions into short ones. DJ Delorie 2011-12-23 01:49:37 +0000
  • a4ea75600c * spawn.cc (child_info_spawn::worker): Add CREATE_BREAKAWAY_FROM_JOB to c_flags only if current process is member of a job and breakaway is allowed. Corinna Vinschen 2011-12-22 14:33:08 +0000
  • 964a927fe6 * include/winnt.h (JOB_OBJECT_LIMIT_BREAKAWAY_OK): Define. (JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK): Define. (JOB_OBJECT_BREAKAWAY_OK): Define as JOB_OBJECT_LIMIT_BREAKAWAY_OK and mark as kept for backward compatibility only. (JOB_OBJECT_SILENT_BREAKAWAY): Define as JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK and mark as kept for backward compatibility only. Corinna Vinschen 2011-12-22 14:31:46 +0000
  • 185ad82d2d Don't leave Windows 2000 behind. Corinna Vinschen 2011-12-22 13:48:05 +0000
  • a6ae9400a7 * include/winnt.h: Add missing PROCESS_QUERY_LIMITED_INFORMATION. Corinna Vinschen 2011-12-22 13:46:11 +0000
  • 1281d5fc02 * Makefile.in (ps.exe): Drop -lpsapi from ALL_LDFLAGS. * ps.cc: Don't include psapi.h. (dosdevs): Drop. (unicode_buf): Define. (main): Simplify path evaluation in CW_GETPINFO_FULL case. Fetch drive map from Cygwin DLL. Use it to convert NT device paths to Win32 paths. Corinna Vinschen 2011-12-22 12:40:26 +0000
  • 3a24189bba * external.cc (cygwin_internal): Implement CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP. * fhandler_process.cc: Include mount.h. (get_volume_path_names_for_volume_name): Move to mount.cc. (struct dos_drive_mappings): Ditto. * mount.cc (get_volume_path_names_for_volume_name): Move here. (dos_drive_mappings::dos_drive_mappings): Ditto. (dos_drive_mappings::fixup_if_match): Ditto. (dos_drive_mappings::~dos_drive_mappings): Ditto. * mount.h (class dos_drive_mappings): Declare her. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP. * include/cygwin/version.h: Bump API minor number. Corinna Vinschen 2011-12-22 12:25:10 +0000
  • 3a03267d6d * fhandler_process.cc: Drop unneeded includes. Corinna Vinschen 2011-12-22 11:25:44 +0000
  • 177dc6c7f6 Throughout use wincap.allocation_granularity instead of getpagesize. Throughout use wincap.page_size instead of getsystempagesize. Throughout use "status" as variable name to hold NTSTATUS values. * fhandler_mem.cc: Check for NT_SUCCESS rather than for STATUS_SUCCESS. Fix debug_printf output. Rectify long statements. Fix comment formatting. * fhandler_proc.cc: Ditto. (format_proc_swaps): Drop useless test for ERROR_PROC_NOT_FOUND. * fhandler_process.cc: Ditto as in fhandler_mem.cc. (get_process_state): Rearrange allocation loop. Use malloc/realloc. (get_mem_values): Fix potential NULL pointer usage. Drop unused variable. * pinfo.cc (winpids::enum_processes): Handle low memory gracefully. * sec_auth.cc (get_priv_list): Drop local variable ret. * shared.cc (memory_init): Drop outdated call to getpagesize. * syscalls.cc (getsystempagesize): Remove. * sysconf.cc: Check for NT_SUCCESS rather than for STATUS_SUCCESS. (sysinfo): Constify sizeof_stodi. Drop useless test for ERROR_PROC_NOT_FOUND. * thread.cc (pthread_getattr_np): Cast pointers to uintptr_t rather than to int for pointer arithmetic. * winsup.h (getsystempagesize): Drop declaration. Corinna Vinschen 2011-12-22 11:02:36 +0000
  • 8176232ddc * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct value in switch statement. Christopher Faylor 2011-12-21 18:34:57 +0000
  • f500a700b1 * dcrt0.cc (_dll_crt0): Rephrase comments. Set $ebp to NULL, as in the pthread stack setup. * wow64.cc (wow64_revert_to_original_stack): Rephrase some comments. Return _tlsbase-16 rather than _main_tls-4 so as not to waste stack. Corinna Vinschen 2011-12-21 17:19:48 +0000
  • 40fb18380b config/: * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate. Andreas Schwab 2011-12-20 17:01:29 +0000
  • 87865f4c9a * fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free in fclose. Enhance comment. Corinna Vinschen 2011-12-20 09:06:58 +0000
  • e7c65aae83 2011-12-19 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2011-12-19 22:03:51 +0000
  • 18d0c0fb8b * syscalls.cc (rename): Fix typo in comment. Fix condition to handle the case oldpath is no .lnk symlink and newpath points to an existing .lnk symlink or .exe file and no explicit .lnk suffix has been given in oldpath. Add a comment to explain. Corinna Vinschen 2011-12-19 17:01:37 +0000
  • a48970970e Check for warning flags without no- prefix Andreas Schwab 2011-12-19 13:20:23 +0000
  • f08bc85858 * dcrt0.cc (dll_crt0_0): Check for wincap.wow64_has_secondary_stack rather than for wincap.is_wow64. Accommodate name change from wow64_has_64bit_parent to wow64_needs_stack_adjustment. Align comment. (_dll_crt0): Ditto. * wincap.h (wincaps::wow64_has_secondary_stack): New element. * wincap.cc: Implement above element throughout. (wincapc::init): Set wow64_has_secondary_stack to false on non-64 bit systems. * wow64.cc (wow64_needs_stack_adjustment): Rename (hopefully the last time) from wow64_has_64bit_parent. (wow64_eval_expected_main_stack): Fix comment to reflect real life. (wow64_test_for_64bit_parent): Fix comment. * wow64.h (wow64_needs_stack_adjustment): Accommodate new name. Corinna Vinschen 2011-12-19 12:50:35 +0000
  • 93a61a6fe3 2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> Chung-Lin Tang 2011-12-19 07:58:02 +0000
  • 9d69c75f6e clarify entry Christopher Faylor 2011-12-19 00:15:24 +0000
  • 6e6193cd23 libgloss: bfin: add clear_cache_range support (for gcc) Michael Frysinger 2011-12-18 18:41:20 +0000
  • 1a08e38b0d * configure: Regenerate. config/ * acx.m4 (Test for GNAT): Update comment and add quotes in final test. Eric Botcazou 2011-12-18 10:20:52 +0000
  • d004a27971 * fhandler.cc (fhandler_base::close): Move setting isclosed() from here to closed(). (fhandler_base_overlapped::close): Correct comment. (fhandler_base_overlapped::destroy_overlapped): Signal overlapped event before closing it to potentially wake up a waiting thread. (fhandler_base_overlapped::wait_overlapped): Expand setting of err when closed to encompass non-signal event. Test for a cancel event before making nonblocking decisions. * syscalls.cc (close): Set closed flag here so that any concurrently executing functions will be notified ASAP. Christopher Faylor 2011-12-18 04:07:47 +0000
  • 1b23b30b29 Clean up whitespace. Christopher Faylor 2011-12-17 23:39:47 +0000
  • 988d896c0a * dcrt0.cc (_dll_crt0): Fix formatting. Corinna Vinschen 2011-12-17 10:24:09 +0000
  • d329320822 * wow64.cc (wow64_revert_to_original_stack): Fix comment. * wow64.h (wow64_respawn_process): Declare noreturn. Corinna Vinschen 2011-12-17 10:05:25 +0000