9e1fe26d12* hookapi.cc (rvadelta): Compute max_size using SizeOfRawData rather than VirtualSize.
Corinna Vinschen
2012-04-04 11:09:44 +0000
7c1d11f7e8* passwd.cc (_getpass_close_fd): New static pthread cleanup handler. (getpass): Rework to use /dev/tty in the first place. Install _getpass_close_fd as pthread cleanup handler. Flush prompt explicitely. Lock input and switch off signal input handling when reading password.
Corinna Vinschen
2012-04-04 09:57:17 +0000
f777ddfbe3* syscalls.cc (fhandler_base::stat_fixup): Replace string comparison with new device::is_dev_resident() call.
Corinna Vinschen
2012-04-03 07:28:48 +0000
17a61045ff* devices.h (lives_in_dev): New field. (dev_on_fs): Set bit size. (is_dev_resident): Define new method. * devices.in: Use different method for labelling requested name for dev storage: prefix it with a ='. Use an actual ':' to denote an internal device. (exists_console): Avoid repeated test. (exists_ntdev_silent): Rename from the less-descriptive exists_ntdevs. (dev_dev_storage): Delete unneeded define. * gendevices: Add a flag to each line denoting whether the device lives in /dev space. (generate): Handle special ":" case here for internal devices. Parse =something_dev as requiring a storage location. Tack the rest of the line back onto the reformulated "$rest". * devices.cc: Regenerate.
Christopher Faylor
2012-04-02 20:41:46 +0000
eb7729eb36* devices.h (device::get_device): New method. * fhandler_dev.cc (fhandler_dev::readdir): Set st_ino to device number. * syscalls.cc (fhandler_base::stat_fixup): Ditto. Fix link count for CD-ROM devices. Fix typo in comment.
Corinna Vinschen
2012-04-02 19:25:58 +0000
467e17b9af* fhandler.h (fhandler_base::stat_fixup): Rename from fhandler_base::set_ino_and_dev. * syscalls.cc (fhandler_base::stat_fixup): Ditto. Accommodate name change throughout. Fixup link count of console devices.
Corinna Vinschen
2012-04-02 16:19:29 +0000
f7c8c4540a* devices.h (FH_CYGDRIVE): Define as DEV_VIRTFS_MAJOR class device. (DEV_CYGDRIVE_MAJOR): Remove. (iscygdrive_dev): Define. * dtable.cc (fh_alloc): Accommodate above change. * path.cc (path_conv::check): Use iscygdrive_dev to check for cygdrive. * syscalls.cc (fhandler_base::set_ino_and_dev): Drop check for DEV_CYGDRIVE_MAJOR from conditional.
Corinna Vinschen
2012-04-02 15:56:43 +0000
1f312200d3* devices.h (FH_DEV): Define as DEV_VIRTFS_MAJOR class device. (DEV_DEV_MAJOR): Remove. * dtable.cc (fh_alloc): Accommodate above change. * syscalls.cc (set_ino_and_dev): Drop check for DEV_DEV_MAJOR from conditional.
Corinna Vinschen
2012-04-02 11:45:56 +0000
949cc8b640* fhandler.h (fhandler_base::set_ino_and_dev): Declare. * syscalls.cc (fhandler_base::set_ino_and_dev): New method to set st_ino, st_dev, and st_rdev for devices in a single spot. (fstat64): Call fhandler_base::set_ino_and_dev instead of setting st_ino, st_dev, and st_rdev here. (stat_worker): Ditto.
Corinna Vinschen
2012-04-02 11:18:45 +0000
da8274643c* fhandler.h (fhandler_dev::open): Declare. (fhandler_dev::close): Declare. (fhandler_dev::fstat): Declare. (fhandler_dev::fstatvfs): Declare. (fhandler_cygdrive::fstatvfs): Declare. * fhandler_dev.cc (fhandler_dev::open): New method. (fhandler_dev::close): Ditto. (fhandler_dev::fstat): Ditto. (fhandler_dev::fstatvfs): Ditto. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't fill st_rdev. (fhandler_cygdrive::fstatvfs): New method. * path.h (path_conv::fs_got_fs): New method. * mount.h (fs_info::got_fs): Change type to bool, make public.
Corinna Vinschen
2012-04-02 11:08:07 +0000
5346e8aebb* mount.cc (fillout_mntent): Use "none" rather than 0 when checking FS type.
Corinna Vinschen
2012-04-02 11:00:17 +0000
881beea81d* dtable.cc (dtable::fixup_close): Define new function. (dtable::fixup_after_exec): Use fixup_close() and detect when it was not possible to open an inherited file handle. (dtable::fixup_after_fork): Defensively close any file handles which were not, for some reason, inheritable. * dtable.h: Make #pragma once. (dtable::fixup_close): Declare new function. * fhandler_console.cc (fhandler_console::set_unit): Set I/O handles to NULL when this function fails.
Christopher Faylor
2012-04-01 22:28:39 +0000
727a81f4d9* devices.h (device::exists_func): Redefine field. (device::dev_on_fs): Remove unneeded bit field. Just make a normal boolean. (device::exists): Redefine function. * devices.in: Move previous functions earlier since they are now only defined static. Rename some functions due to an as-yet unresolved bug in gendevices. Rename posix part of internal-only devices with a double-slash. gendevices will eventuall translate that to a ":". (device::parse): Rework to use dev pointer and dev_storage_end. * devices.cc: Regenerate. * gendevices: Translate "// to ": after shilka processing.
Christopher Faylor
2012-04-01 07:19:52 +0000
e2e887c5ac* devices.cc: Regenerate. * devices.h (device::exists_func): New member function pointer, replacing noexpose. (device::expose): Remove. (device::exists_never): Declare. (device::exists_ptys): Declare. (device::exists_cons): Declare. (device::exists_console): Declare. (device::exists_nt_dev): Declare. (device::exists): Declare. * devices.in (dev_storage): Replace former noexpose values with pointers to matching exists_XXX method. (device::exists_never): New method. (device::exists_ptys): New method. (device::exists_cons): New method. (device::exists_console): New method. (device::exists_nt_dev): New method. (device::exists): New method. * fhandler_dev.cc (fhandler_dev::readdir): Replace call to device::expose with call to device::exists and drop all further existence filtering since it's done in device::exists now. * path.cc (path_conv::check): Replace call to device::expose with call to device::exists.
Corinna Vinschen
2012-03-31 20:14:14 +0000
4303e52e4fupdate copyright
Christopher Faylor
2012-03-31 17:38:40 +0000
1c1294b4ce(Interim checkin while we work on this) * devices.cc: Regenerate. * devices.h (device::noexpose): New field. (device::dev_on_fs): Make a bit field. (get_major): Use proper type for declaration. (expose): New field. (ext_dev_storage): Delete declaration. (dev_storage_size): Ditto. (dev_storage): New declaration. (dev_storage_end): Ditto. * devices.in: Mark /dev/ptym*, /dev/com*, /dev/pipe, /dev/fifo, and "/dev" as "no expose". * fhandler.h (fhandler_dev::lastrealpos): Delete declaration. (fhandler_dev::devidx): Declare new field. * fhandler_disk_file.cc: Move fhandler_dev functions into fhandler_dev.cc. * fhandler_dev.cc: Add includes needed for functions moved from fhandler_disk_file.cc. (dev_storage_scan_start): Define place to start listing devices. (dev_storage_size): Define size of array to scan. (fhandler_dev::fhandler_dev): Move here from fhandler_disk_file.cc. (fhandler_dev::opendir): Ditto. (fhandler_dev::readdir): Just check devidx for non-NULL to determine when to go to disk for /dev content. Use dev_storage rather than ext_dev_storage. Iterate over dev_storage using devidx pointer. Use accessor functions rather than raw references to the device struct. Only increment dir->__d_position when we are actually going to be returning something. Add debug_printf for exit. (fhandler_dev::rewinddir): Set devidx as appropriate depending on whether there's a /dev on disk or not. * gendevices: Don't mark dev_storage static but do put it in the _RDATA section. * path.cc (path_conv::check): Use new "device::expose()" function to decide to forbid programs from referencing internal device types.
Christopher Faylor
2012-03-31 17:38:00 +0000
e612307024* cygwinenv.sgml (cygwinenv-implemented-options): Add detect_bloda. * new-features.sgml (ov-new1.7.12): Add list items for the change to flock and the detect_bloda CYGWIN option. * overview2.sgml (ov-hi-process-problems): Add a reference to the detect_bloda CYGWIN option.
Corinna Vinschen
2012-03-30 11:30:13 +0000
b255aece50* new-features.sgml (ov-new1.7.12): Create. Move mountinfo here. Add /dev notice. * pathnames.sgml (pathnames-posixdevices): Rephrase to account for /dev change in 1.7.12.
Corinna Vinschen
2012-03-29 18:23:32 +0000
9ca7bca3c3* Makefile.in (DLL_OFILES): Add fhandler_dev.o. * devices.h (DEV_DEV_MAJOR): Define. (FH_DEV): Redefine in terms of DEV_DEV_MAJOR. (ext_dev_storage): Declare. (dev_storage_size): Declare. (dev_dev_storage): Declare. (dev_dev): Define. (isdev_dev): Define. * devices.in (dev_dev_storage): Activate. (ext_dev_storage): Define as externally available pointer to dev_storage. (dev_storage_size): Define to contain number of dev_storage elements. * dir.cc (rmdir): Handle /dev as always not empty. * dtable.cc (fh_alloc): Handle DEV_DEV_MAJOR. * fhandler.h (fhandler_dev): New class, derived from fhandler_disk_file. (fhandler_union): Add fhandler_dev member. * fhandler_disk_file.cc (class __DIR_mounts): Handle /dev directory to make sure it always exists. * fhandler_dev.cc: New file implementing /dev. * globals.cc (ro_u_dev): New R/O unicode string. * path.cc (path_conv::check): Handle FH_DEV device.
Corinna Vinschen
2012-03-29 18:02:54 +0000
d46ed263af* fhandler_console.cc (fhandler_console::set_unit): Don't succeed unless we are opening a console actually associated with this process.
Christopher Faylor
2012-03-29 17:34:55 +0000
74daacfd31* exceptions.cc (ctrl_c_handler): Don't generate a SIGINT if we've execed a non-cygwin process. Let the Windows process deal with it itself.
Christopher Faylor
2012-03-29 05:45:49 +0000
cd24077999* fhandler_process.cc (process_tab): Add entry for mountinfo. (format_process_mountstuff): New function, derived from format_process_mounts. Only open another user's user_info shared memory area if the process is owned by another user. Actually access the opened shared user_info to get the right mount table. For other users, don't print remote cygdrive mount points. Print mountinfo or mounts output depending on the bool mountinfo argument. (format_process_mounts): Just call format_process_mountstuff with mountinfo set to false. (format_process_mountinfo): Ditto with mountinfo set to true.
Corinna Vinschen
2012-03-27 18:30:28 +0000
c2c7860fff* fhandler.h (class fhandler_dev_clipboard): Add fstat method. * fhandler_clipboard.cc (cygcb_t): New type for Cygwin-specific clipboard format. (set_clipboard): Use new clipboard format to allow setting a timestamp. (fhandler_dev_clipboard::fstat): New method. Read modification and access timestamp as well as length from clipboard data. (fhandler_dev_clipboard::read): Use new clipboard format.
Corinna Vinschen
2012-03-26 11:24:51 +0000
33c789303f* libc/stdio/findfp.c (__sinit): Set __sdidinit last.
Corinna Vinschen
2012-03-26 10:43:06 +0000
b54d64de05* hires.h (hires_ms::dmsecs): Drop unused method. * times.cc (JITTER): Remove. (gtod): Revert to process-local variable. (hires_ms::nsecs): Just return system time to disallow discrepancy with the OS. (hires_ms::resolution): Return coarsest timer value from OS. Add comment to explain why. (clock_setres): Ditto.
Corinna Vinschen
2012-03-26 09:05:50 +0000
cff00a2038libgloss: cris: respect DESTDIR when installing
Michael Frysinger
2012-03-24 03:38:28 +0000
d8a7ac6d18* child_info.h: Reset magic number.
Christopher Faylor
2012-03-21 17:23:57 +0000
b7d95b5bb5* child_info.h (child_info::postfork): Define new function. * fork.cc (frok::parent): Call postfork to do all of the manipulation required prior to calling pinfo::remember. * pinfo.h (pinfo::set_rd_proc_pipe): Just set pinfo's rd_proc_pipe. Don't bother setting it to NULL. * sigproc.cc (child_info_spawn::wait_for_myself): Call postfork to set up myself for waiting. * spawn.cc (child_info_spawn::worker): Avoid now-unnecessary global lock. Consistently test mode rather than chtype when making wr_proc_pipe decisions. Call postfork() to set up stuff prior to pinfo::remember.
Christopher Faylor
2012-03-21 15:54:50 +0000
6daf4afb11* child_info.h: Reset magic number. (child_info_spawn::wait_for_myself): Move function to sigproc.cc. * pinfo.cc (is_toplevel_proc): Delete unneeded variable. * sigproc.cc (child_info_spawn::wait_for_myself): Move function from header to here. Do all setup required to properly wait for top-level execed process to exit. * spawn.cc (child_info_spawn::worker): Attempt to properly handle _P_DETACH. Set wr_proc_pipe if top-level process even when execing. Just call wait_for_myself() to... wait for myself. Don't call cleanup twice.
Christopher Faylor
2012-03-21 05:23:13 +0000
e102a69b3d* pinfo.cc (proc_waiter): Remove debugging.
Christopher Faylor
2012-03-21 04:45:57 +0000
30fa154939* dtable.cc (set_std_handle): Call SetStdHandle with NULL if fd is closed. (dtable::release): "Close" standard handle if appropriate. * dcrt0.cc (dll_crt0_0): Fix minor switch formatting problem. * fork.cc (frok::parent): Make minor comment indentation change.
Christopher Faylor
2012-03-20 23:13:40 +0000
8ea7221511* ntdll.h (SharedUserData): Add volatile qualifier. This fixes a possible infinite loop in hires_ms::timeGetTime_ns.
Corinna Vinschen
2012-03-20 18:01:09 +0000
1fb6667f1c* child_info.h (CURR_CHILD_INFO_MAGIC): Reset. (child_info::rd_proc_pipe): Declare new field. (child_info::wr_proc_pipe): Ditto. (child_info::prefork): Declare new function, derived from previous pinfo version. * dcrt0.cc (child_info_fork::handle_fork): Close previous wr_proc_pipe when appropriate and assign new one from passed-in child_info block. (child_info_spawn::handle_spawn): Assign our wr_proc_pipe handle from passed-in child_info block. * fork.cc (child_info::prefork): Define new function. (frok::child): Clear rd_proc_pipe and wr_proc_pipe so they will not be closed by the child_info destructor. (frok::parent): Use child_info prefork handling, outside of retry loop. Set rd_proc_pipe in child's pinfo after successful CreateProcess. Eliminate postfork call. * globals.cc (my_wr_proc_pipe): Define/declare new variable. * pinfo.cc (pinfo::pending_rd_proc_pipe): Delete. (pinfo::pending_wr_proc_pipe): Ditto. (pinfo::prefork): Ditto. (pinfo::postfork): Ditto. (pinfo::postexec): Ditto. (pinfo::wait): Assume that rd_proc_pipe is set up correctly prior to call. (_pinfo::alert_parent): Replace "wr_proc_pipe" with "my_wr_proc_pipe". * pinfo.h (_pinfo::_wr_proc_pipe): Delete declaration. (_pinfo::set_rd_proc_pipe): Define new function. (pinfo::pending_rd_proc_pipe): Delete declaration. (pinfo::pending_wr_proc_pipe): Ditto. (pinfo::prefork): Ditto. (pinfo::postfork): Ditto. (pinfo::postexec): Ditto. (pinfo::wr_proc_pipe): Ditto. * sigproc.cc (child_info::child_info): Clear rd_proc_pipe and wr_proc_pipe. (child_info::cleanup): Close rd_proc_pipe and wr_proc_pipe if necessary. (child_info_fork::child_info_fork): Set forker_finished to NULL by default. (child_info_spawn::child_info_spawn): Use my_wr_proc_pipe rather than myself->wr_proc_pipe. (child_info::sync): Ditto. (child_info_spawn::cleanup): Call child_info::cleanup. * spawn.cc (child_info_spawn::worker): Remove call to myself.prefork(). Set wr_proc_pipe when execing or set up new rd_proc_pipe/wr_proc_pipe via child_info::prefork when spawning. Remove call to pinfo::postexec. Set rd_proc_pipe in child pinfo when spawning. Use my_wr_proc_pipe rather than myself->wr_proc_pipe. Remove call to postfork.
Christopher Faylor
2012-03-20 15:07:30 +0000
e9a6f9c625* pinfo.cc (pinfo_init): Cosmetic change: unset "destroy" for myself. (pinfo::wait): Change some comments. (pinfo::prefork): Move a comment. (pinfo::postfork): Set pending_*_pipe variables to NULL if closed. (pinfo::postexec): Use right name when closing handle. (_pinfo::alert_parent): Ditto. * sigproc.h (hold_everything): Remove debugging label.
Christopher Faylor
2012-03-20 02:08:14 +0000
b0a905c5a02012-03-19 Ben Greear <greear@users.sf.net>
Chris Sutcliffe
2012-03-20 00:28:53 +0000
a1b22837ae* client.cc: Revert sigproc.h inclusion since it was fixed elsewhere.
Christopher Faylor
2012-03-19 20:52:55 +0000
33a6952b7f* cygserver_ipc.h: Include sigproc.h for signal_arrived declaration.
Christopher Faylor
2012-03-19 20:18:18 +0000
971d94e260* client.cc: Include sigproc.h if __INSIDE_CYGWIN__ is defined.
Corinna Vinschen
2012-03-19 19:25:01 +0000
374d215cca* cygprops.h: Use #pragma once. * mkglobals_h: Ditto for generated globals.h file. * globals.cc: Use specific NO_GLOBALS_H flag to control inclusion of globals.h. * winsup.h: Honor NO_GLOBALS_H to control inclusion of globals.h. Make clear_procimptoken extern inline so that it is only defined when needed.
Christopher Faylor
2012-03-19 17:49:40 +0000
d0d8b75350* thread.cc (cancelable_wait): Don't malloc tbi, just make it a struct on the stack to avoid memory leak.
Corinna Vinschen
2012-03-19 17:34:23 +0000
d9492ab8d2* pinfo.cc (pinfo::wait): Handle case where prefork was not called prior to calling wait(). This is the case when we are reabsorbing processes after being execed.
Christopher Faylor
2012-03-19 16:51:30 +0000
4aeaedf961* fork.cc (lock_signals): Move to sigproc.h. (lock_pthread): Ditto. (hold_everything): Ditto. (frok::parent): Call myself.prefork() just before calling CreateProcess. Call myself.postfork () on function exit. * pinfo.cc (pinfo::pending_rd_proc_pipe): Define. (pinfo::pending_wr_proc_pipe): Ditto. (_pinfo::dup_proc_pipe): Delete. (pinfo::wait): Move pipe creation into pinfo::prefork. Set pipe variables from pending_*. (_pinfo::sync_proc_pipe): Delete. (_pinfo::proc_pipe_owner): Ditto. (pinfo::prefork): Define new function. (pinfo::postfork): Ditto. (pinfo::postexec): Ditto. (_pinfo::alert_parent): Remove obsolete call to sync_proc_pipe. (_pinfo::dup_proc_pipe): Delete declaration. (_pinfo::sync_proc_pipe): Ditto. (pinfo::pending_rd_proc_pipe): Declare. (pinfo::pending_wr_proc_pipe): Ditto. (pinfo::prefork): Declare new function. (pinfo::postfork): Ditto. (pinfo::postexec): Ditto. (pinfo::wr_proc_pipe): Define new wrapper function. * sigproc.h: Include "sync.h". Move locking functions from fork to here. * spawn.cc (child_info_spawn::worker): Delete now-unneeded requirement to record orig_wr_proc_pipe. Call hold_everything prior to doing anything. Call myself.prefork() if spawning. Replace wr_proc_pipe synchronization with call to myself.postexec(). Call myself.postfork() if not execing. * sync.h: Replace #ifdef wrapper with "#pragma once".
Christopher Faylor
2012-03-16 20:20:29 +0000
096d5bbf1dinclude/ * dis-asm.h (disassemble_init_powerpc): Declare. opcodes/ * disassemble.c (disassemble_init_for_target): Handle ppc init. * ppc-dis.c (private): New var. (powerpc_init_dialect): Don't return calloc failure, instead use private. (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define. (powerpc_opcd_indices): New array. (disassemble_init_powerpc): New function. (print_insn_big_powerpc): Don't init dialect here. (print_insn_little_powerpc): Likewise. (print_insn_powerpc): Start search using powerpc_opcd_indices.
Alan Modra
2012-03-15 12:58:48 +0000
b732246b87* hookapi.cc (hook_or_detect_cygwin): Change condition when to use importRVAMaxSize or importRVASize for the mapping size. Make sure to map never more than the section size. Change comments accordingly.
Corinna Vinschen
2012-03-13 17:15:28 +0000
5fd4464077libgloss: libnosys: use @host_makefile_frag@
Michael Frysinger
2012-03-13 01:52:31 +0000
f408b153cclibgloss: change 'q' flag to 'r' in ar call
Michael Frysinger
2012-03-13 01:47:40 +0000
3617fc8859Christopher Faylor <me.cygwin2012@cgf.cx> * fhandler.h (wait_return): Add overlapped_nullread. * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Detect zero-byte read as a special case. (fhandler_base_overlapped::raw_read): Keep looping when zero-byte read detected without EOF. (fhandler_base_overlapped::raw_write): Quiet gcc warning by adding overlapped_nullread to switch statement even though it will never actually be hit.
Christopher Faylor
2012-03-12 21:29:36 +0000
6c95669d23* dtable.cc (fh_alloc): Treat pc.dev as unsigned. * fhandler_console.cc (fhandler_console::set_unit): Use lock always to avoid races between competing cygwin processes running on the console.
Christopher Faylor
2012-03-10 17:51:33 +0000
ecd676f23cinclude/opcode/ * ppc.h: Add PPC_OPCODE_ALTIVEC2, PPC_OPCODE_E6500, PPC_OPCODE_TMR. opcodes/ * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500". * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New. (PPCVEC2, PPCTMR, E6500): New short names. (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt, mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx, lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl, lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl, lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC optional operands on sync instruction for E6500 target. bfd/ * archures.c: Add bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. * bfd-in2.h: Regenerate. * cpu-powerpc.c (bfd_powerpc_archs): Add entryies for bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. gas/ * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500. (ppc_handle_align): Add termination nop opcode for e500mc family. * doc/as.texinfo: Document options -me5500 and -me6500. * doc/c-ppc.texi: Likewise. gas/testsuite/ * gas/ppc/e500mc64_nop.s: New test case for e500mc family termination nops. * gas/ppc/e500mc64_nop.d: Likewise. * gas/ppc/e5500_nop.s: Likewise. * gas/ppc/e5500_nop.d: Likewise. * gas/ppc/e6500_nop.s: Likewise. * gas/ppc/e6500_nop.d: Likewise. * gas/ppc/e6500.s: New. * gas/ppc/e6500.d: Likewise. * gas/ppc/ppc.exp: Run e6500, e500mc64_nop, e5500_nop, and e6500_nop.
Alan Modra
2012-03-09 23:39:02 +0000
0069c6ecfb2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2012-03-09 20:31:34 +0000
543c24fcdf2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2012-03-09 20:28:57 +0000
eab1d3e1252012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2012-03-09 20:26:39 +0000
fa24a065c02012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2012-03-09 19:38:10 +0000
acb3c3e564* hookapi.cc (rvadelta): Add parameter to return maximum available size from start of import RVA table to end of section. (find_first_notloaded_dll): Take big executables into account. Use offset and size computation as in hook_or_detect_cygwin, just simpler. (hook_or_detect_cygwin): Return NULL rather than false througout. Change computation of required mapping size to take non-gcc compilers into account. Explain the differences and what we do against them. Don't alloca buf if fn is NULL. Never use buf if fn is NULL.
Corinna Vinschen
2012-03-09 12:37:37 +0000
3e25449aa5* net.cc (call_gaa): New thread function to call GetAdaptersAddresses. (get_adapters_addresses): Call call_gaa. If necessary, call it as child thread. Explain why that's necessary.
Corinna Vinschen
2012-03-08 16:02:44 +0000
75543537a1* Throughout, replace usage of w32api's min with MIN from sys/param.h.
Corinna Vinschen
2012-03-08 09:36:11 +0000
106833e9b3merge from gcc
DJ Delorie
2012-03-08 00:01:18 +0000
33a1f4b23b* mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD, R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE, R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD, R_MN10300_TLS_DTPOFF and R_MN10300_TLS_TPOFF.
Nick Clifton
2012-03-07 17:51:56 +0000
ab79e06445* pinfo.cc (_pinfo::dup_proc_pipe): Reorganize to provide more information for failing condition. (pinfo::wait): Pass name of function to dup_proc_pipe. Eliminate error check for dup_proc_pipe since it never actually returned an error. * pinfo.h (_pinfo::dup_proc_pipe): Add an argument. * spawn.cc (child_info_spawn::worker): Pass name of function to dup_proc_pipe.
Christopher Faylor
2012-03-07 17:09:37 +0000
1d928241e1* glob.cc (MAXPATHLEN): Reinstantiate with a value of 8192.
Corinna Vinschen
2012-03-07 10:12:28 +0000
86b87ffa9b* pinfo.cc (_pinfo::dup_proc_pipe): Fix order of arguments in debug output.
Corinna Vinschen
2012-03-05 12:12:10 +0000
292cd759a1* init.cc (dll_entry): Move wincap.init call back from here... * dcrt0.cc (dll_crt0_0): ...to here.
Corinna Vinschen
2012-03-05 12:09:22 +0000
a3904c655e* cygheap.h (enum fcwd_version_t): Move here from path.cc. (class fcwd_access_t): Ditto. Only declare methods. (class cwdstuff): Move fast_cwd_ptr and fast_cwd_version from shared DLL section here. * path.cc: Keep fcwd_access_t method definitions. (fcwd_access_t::fast_cwd_version): New method. (find_fast_cwd_pointer): Change comment. Mention test on W8CP. (cwdstuff::init): Initialize fast_cwd_ptr and fast_cwd_version.
Corinna Vinschen
2012-03-05 11:50:25 +0000
75effa37fc* dll_init.cc (dll_list::operator[]): Extend comment a bit more to explain previous patch.
Corinna Vinschen
2012-03-05 10:27:44 +0000
f5b0d9d414* dll_init.cc (dll_list::alloc): Compare linked DLLs by basename only. Explain why. Add code to check if a DLL with the same basename but different path is the same DLL. Bail out if not. (in_load_after_fork): New static NO_COPY bool to allow to differ between linked and loaded DLL at fork. (dll_list::load_after_fork): Set in_load_after_fork accordingly. (dll_dllcrt0_1): Don't treat DLL as linked if in_load_after_fork is set. Drop test for in_forkee.
Corinna Vinschen
2012-03-04 16:47:45 +0000
50124fc056* dll_init.cc: Revert pathname changes from 2012-02-08. (dll_list::operator[]): Add long comment to explain the misery. (dll_list::alloc): Skip long pathname prefix potentially returned by GetModuleFileNameW. * dll_init.h (dll_list::find_by_modname): Add back declaration.
Corinna Vinschen
2012-03-04 13:50:12 +0000
bd7c945953* fhandler_console.cc (fhandler_console::dup): Only set ctty when we haven't specifically called setsid. * fhandler_tty.cc (fhandler_pty_slave::dup): Ditto. Also add comment documenting research into rxvt problem. * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Don't check specifically for myself->ctty == -1. Test for > 0 as that is the correct test. (fhandler_termios::sigflush): Ditto.
Christopher Faylor
2012-03-03 21:35:30 +0000
56bed67046* flock.cc (allow_others_to_sync): Reorder conditional expression to check for DACL presence first, since otherwise dacl pointer value is undefined. Add comment.
Corinna Vinschen
2012-03-02 17:20:11 +0000
b4ad7197fb* flock.cc (allow_others_to_sync): Use RtlGetDaclSecurityDescriptor rather than accessing the SECURITY_DESCRIPTOR structure directly. Take no DACL and NULL DACL into account.
Corinna Vinschen
2012-03-02 17:07:17 +0000
52cbb05cfb2012-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2012-03-02 16:02:04 +0000
2e398e8437* configure.in: Accept "arm*" target spec instead of just "arm". * configure: Regenerated. * libnosys/configure.in: Likewise. (libc_symbol_prefix): Renamed to libc_cv_symbol_prefix. * libnosys/configure: Regenerated (using autoconf v2.68).
Nick Clifton
2012-03-02 13:20:08 +0000
3118315f06Fix typo in ChangeLog entry
Corinna Vinschen
2012-03-02 12:01:27 +0000
109bc58303* fhandler_console.cc (fhandler_console::input_tcsetattr): Revert prevois patch. (fhandler_console::open_setup): Install Ctrl-C handler here, if this console is the controlling tty and the process hasn't been started by a Cygwin process.
Corinna Vinschen
2012-03-02 11:56:06 +0000
bfeed1643e* fhandler_console.cc (fhandler_console::input_tcsetattr): Set the state of the Ctrl-C handler depending on the setting of ENABLE_PROCESSED_INPUT.
Corinna Vinschen
2012-03-02 10:17:16 +0000
521b39b4c7* faq-programming.xml (faq.programming.make-execvp): Remove obsolete information about Tcl/Tk. (faq.programming.dll-relocatable): Ditto. * faq-using.xml (faq.using.tcl-tk): Rewrite to reflect switch to X11 Tcl/Tk.
Yaakov Selkowitz
2012-03-01 07:35:02 +0000