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
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
f171a1e0a6libgloss: 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
5b09af7a51clarify 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
6208cfce7aUpdate and correct makefile rebuilding rules.
Keith Marshall
2012-01-15 15:10:09 +0000
f0449b5092More formatting adjustments.
Keith Marshall
2012-01-15 14:28:17 +0000
300dfd2a1bMiscellaneous formatting adjustments.
Keith Marshall
2012-01-15 14:20:36 +0000
c6a4777d85Improve self-documentation of 'for' loop commands.
Keith Marshall
2012-01-15 12:39:00 +0000
3ef7500436Generalise 'all' rule to arbitrary prerequisite sub-directories.
Keith Marshall
2012-01-15 12:27:13 +0000
09223354f9Derive package release index from configure time specification.
Keith Marshall
2012-01-15 12:20:09 +0000
124e2b274bDiscontinue CVS tracking of generated 'configure' script.
Keith Marshall
2012-01-14 21:19:12 +0000
e83fe04100Document 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
2ed2809fd6add 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
0e1f0840d2Update 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
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
04243e461dAdd my recent API additions.
Yaakov Selkowitz
2012-01-08 01:32:17 +0000
ba6d13258dmerge from gcc
Jason Merrill
2012-01-07 02:53:16 +0000
1f250fc805Ensure Makefile.comm source is included in distribution tarballs.
Keith Marshall
2012-01-06 22:01:15 +0000
c7cee543f02012-01-06 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe
2012-01-06 18:51:33 +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
185ad82d2dDon't leave Windows 2000 behind.
Corinna Vinschen
2011-12-22 13:48:05 +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
3a03267d6d* fhandler_process.cc: Drop unneeded includes.
Corinna Vinschen
2011-12-22 11:25:44 +0000
177dc6c7f6Throughout 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
40fb18380bconfig/: * 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
e7c65aae832011-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
a48970970eCheck 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
9d69c75f6eclarify entry
Christopher Faylor
2011-12-19 00:15:24 +0000
6e6193cd23libgloss: 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
1b23b30b29Clean up whitespace.
Christopher Faylor
2011-12-17 23:39:47 +0000