]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
12 years agoFix a couple of typos.
Christopher Faylor [Fri, 6 Apr 2012 04:36:22 +0000 (04:36 +0000)]
Fix a couple of typos.

12 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 14.
Corinna Vinschen [Thu, 5 Apr 2012 15:26:27 +0000 (15:26 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 14.

12 years ago * new-features.sgml (ov-new1.7.13): Add typeahead description.
Corinna Vinschen [Thu, 5 Apr 2012 15:04:24 +0000 (15:04 +0000)]
* new-features.sgml (ov-new1.7.13): Add typeahead description.

12 years agoAdd typeahead description.
Christopher Faylor [Thu, 5 Apr 2012 14:23:06 +0000 (14:23 +0000)]
Add typeahead description.

12 years ago * new-features.sgml (ov-new1.7.13): New section. Add entry for
Corinna Vinschen [Thu, 5 Apr 2012 13:41:49 +0000 (13:41 +0000)]
* new-features.sgml (ov-new1.7.13): New section.  Add entry for
mkpasswd/mkgroup change to print TrustedInstaller account.

12 years ago*** empty log message ***
Corinna Vinschen [Thu, 5 Apr 2012 13:39:59 +0000 (13:39 +0000)]
*** empty log message ***

12 years ago * mkgroup.c (print_special_by_sid): Rename from print_special. Change
Corinna Vinschen [Thu, 5 Apr 2012 13:37:32 +0000 (13:37 +0000)]
* mkgroup.c (print_special_by_sid): Rename from print_special.  Change
calls throughout.
(print_special_by_name): New function.
(main): Call print_special_by_name for TrustedInstaller account.
* mkpasswd.c (print_special_by_sid): Rename from print_special.  Change
calls throughout.
(print_special_by_name): New function.
(enum_std_accounts): Call print_special_by_name for TrustedInstaller
account.

12 years ago * passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo contain
Corinna Vinschen [Thu, 5 Apr 2012 10:16:09 +0000 (10:16 +0000)]
* passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo contain
the required number of colons.

12 years ago* fhandler.h (fhandler_pty_common::bytes_available): Declare new function.
Christopher Faylor [Thu, 5 Apr 2012 02:54:51 +0000 (02:54 +0000)]
* fhandler.h (fhandler_pty_common::bytes_available): Declare new function.
(fhandler_pty_master::flush_to_slave): Ditto.
* fhandler_tty.cc (bytes_available): Define new function.
(fhandler_pty_common::bytes_available): Ditto.
(handler_pty_master::flush_to_slave): Ditto.
(fhandler_pty_master::process_slave_output): Call flush_to_slave () here.  Use
bytes_available () rather than PeekNamedPipe.  Cleanup sloppy logic.
(fhandler_pty_slave::read): Use bytes_available () rather than PeekNamedPipe.
(fhandler_pty_slave::ioctl): Ditto.
(fhandler_pty_master::ioctl): Ditto.
(fhandler_pty_master::cleanup): Remove ancient #if 0.
* select.cc (peek_pipe): Call flush_to_slave whenever we're checking for a pty
master.

12 years ago * fhandler_nodevice.cc (fhandler_nodevice::open): Convert EROFS to
Corinna Vinschen [Wed, 4 Apr 2012 12:45:24 +0000 (12:45 +0000)]
* fhandler_nodevice.cc (fhandler_nodevice::open): Convert EROFS to
ENOENT if non-existent file got opened for reading only.  Explain why.
* path.cc (path_conv::check): Stick to ENOENT if file has been opened
for informational purposes only.  Add to comment.

12 years ago * path.cc (path_conv::check): Convert device type to FH_FS for
Corinna Vinschen [Wed, 4 Apr 2012 12:06:21 +0000 (12:06 +0000)]
* path.cc (path_conv::check): Convert device type to FH_FS for
non-existant files on /dev, unless /dev itself doesn't exist on disk.
Add comment to explain why.

12 years ago * hookapi.cc (rvadelta): Compute max_size using SizeOfRawData rather
Corinna Vinschen [Wed, 4 Apr 2012 11:09:44 +0000 (11:09 +0000)]
* hookapi.cc (rvadelta): Compute max_size using SizeOfRawData rather
than VirtualSize.

12 years ago * passwd.cc (_getpass_close_fd): New static pthread cleanup handler.
Corinna Vinschen [Wed, 4 Apr 2012 09:57:17 +0000 (09:57 +0000)]
* 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.

12 years ago2012-04-03 Corinna Vinschen <corinna@vinschen.de>
Corinna Vinschen [Tue, 3 Apr 2012 19:16:10 +0000 (19:16 +0000)]
2012-04-03  Corinna Vinschen  <corinna@vinschen.de>

* new-features.sgml (ov-new1.7.12): Fix layout of flock example.

12 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 13.
Corinna Vinschen [Tue, 3 Apr 2012 14:54:17 +0000 (14:54 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 13.

12 years ago * syscalls.cc (fhandler_base::stat_fixup): Replace string comparison
Corinna Vinschen [Tue, 3 Apr 2012 07:28:48 +0000 (07:28 +0000)]
* syscalls.cc (fhandler_base::stat_fixup): Replace string comparison
with new device::is_dev_resident() call.

12 years ago* devices.h (lives_in_dev): New field.
Christopher Faylor [Mon, 2 Apr 2012 20:41:46 +0000 (20:41 +0000)]
* 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.

12 years ago * devices.h (device::get_device): New method.
Corinna Vinschen [Mon, 2 Apr 2012 19:25:58 +0000 (19:25 +0000)]
* 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.

12 years ago * fhandler.h (fhandler_base::stat_fixup): Rename from
Corinna Vinschen [Mon, 2 Apr 2012 16:19:29 +0000 (16:19 +0000)]
* 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.

12 years ago * devices.h (FH_CYGDRIVE): Define as DEV_VIRTFS_MAJOR class device.
Corinna Vinschen [Mon, 2 Apr 2012 15:56:43 +0000 (15:56 +0000)]
* 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.

12 years ago * devices.h (FH_DEV): Define as DEV_VIRTFS_MAJOR class device.
Corinna Vinschen [Mon, 2 Apr 2012 11:45:56 +0000 (11:45 +0000)]
* 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.

12 years ago * fhandler.h (fhandler_base::set_ino_and_dev): Declare.
Corinna Vinschen [Mon, 2 Apr 2012 11:18:45 +0000 (11:18 +0000)]
* 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.

12 years ago * fhandler.h (fhandler_dev::open): Declare.
Corinna Vinschen [Mon, 2 Apr 2012 11:08:07 +0000 (11:08 +0000)]
* 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.

12 years ago * mount.cc (fillout_mntent): Use "none" rather than 0 when checking
Corinna Vinschen [Mon, 2 Apr 2012 11:00:17 +0000 (11:00 +0000)]
* mount.cc (fillout_mntent): Use "none" rather than 0 when checking
FS type.

12 years ago* dtable.cc (dtable::fixup_close): Define new function.
Christopher Faylor [Sun, 1 Apr 2012 22:28:39 +0000 (22:28 +0000)]
* 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.

12 years ago * fhandler_dev.cc (fhandler_dev::readdir): Fix formatting. Simplify
Corinna Vinschen [Sun, 1 Apr 2012 10:38:07 +0000 (10:38 +0000)]
* fhandler_dev.cc (fhandler_dev::readdir): Fix formatting.  Simplify
code.  Use device::type() to fetch dirent compatible device type.
Add comment.

12 years ago* devices.h (device::exists_func): Redefine field.
Christopher Faylor [Sun, 1 Apr 2012 07:19:52 +0000 (07:19 +0000)]
* 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.

12 years ago * devices.cc: Regenerate.
Corinna Vinschen [Sat, 31 Mar 2012 20:14:14 +0000 (20:14 +0000)]
* 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.

12 years agoupdate copyright
Christopher Faylor [Sat, 31 Mar 2012 17:38:40 +0000 (17:38 +0000)]
update copyright

12 years ago(Interim checkin while we work on this)
Christopher Faylor [Sat, 31 Mar 2012 17:38:00 +0000 (17:38 +0000)]
(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.

12 years agoFix typo
Corinna Vinschen [Fri, 30 Mar 2012 13:28:17 +0000 (13:28 +0000)]
Fix typo

12 years ago*** empty log message ***
Corinna Vinschen [Fri, 30 Mar 2012 13:27:38 +0000 (13:27 +0000)]
*** empty log message ***

12 years ago * cygwinenv.sgml (cygwinenv-implemented-options): Add detect_bloda.
Corinna Vinschen [Fri, 30 Mar 2012 11:30:13 +0000 (11:30 +0000)]
* 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.

12 years ago * posix.sgml (std-notes): Change description of flock restrictions.
Corinna Vinschen [Fri, 30 Mar 2012 11:29:57 +0000 (11:29 +0000)]
* posix.sgml (std-notes): Change description of flock restrictions.

12 years ago * devices.h (DEV_TTY_MAJOR): Define, use throughout where appropriate.
Corinna Vinschen [Fri, 30 Mar 2012 09:26:45 +0000 (09:26 +0000)]
* devices.h (DEV_TTY_MAJOR): Define, use throughout where appropriate.
(DEV_VIRTFS_MAJOR): Ditto.
* fhandler_dev.cc (fhandler_dev::readdir): Add comments.  Tweak tests
for invisible devices.  Don't print comX devices, only ttySX.  Drop
requirement to call stat64.

12 years ago * libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
Corinna Vinschen [Thu, 29 Mar 2012 20:27:15 +0000 (20:27 +0000)]
* libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
with default UTF-8 charset.

12 years ago*** empty log message ***
Corinna Vinschen [Thu, 29 Mar 2012 18:24:45 +0000 (18:24 +0000)]
*** empty log message ***

12 years ago * new-features.sgml (ov-new1.7.12): Create. Move mountinfo here.
Corinna Vinschen [Thu, 29 Mar 2012 18:23:32 +0000 (18:23 +0000)]
* 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.

12 years ago * Makefile.in (DLL_OFILES): Add fhandler_dev.o.
Corinna Vinschen [Thu, 29 Mar 2012 18:02:54 +0000 (18:02 +0000)]
* 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.

12 years ago* fhandler_console.cc (fhandler_console::set_unit): Don't succeed unless we are
Christopher Faylor [Thu, 29 Mar 2012 17:34:55 +0000 (17:34 +0000)]
* fhandler_console.cc (fhandler_console::set_unit): Don't succeed unless we are
opening a console actually associated with this process.

12 years ago * sec_acl.cc (acl32): Fix potnetial crash if build_fh_name returns NULL.
Corinna Vinschen [Thu, 29 Mar 2012 15:01:18 +0000 (15:01 +0000)]
* sec_acl.cc (acl32): Fix potnetial crash if build_fh_name returns NULL.

12 years ago* exceptions.cc (ctrl_c_handler): Don't generate a SIGINT if we've execed a
Christopher Faylor [Thu, 29 Mar 2012 05:45:49 +0000 (05:45 +0000)]
* 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.

12 years ago* sigproc.cc (proc_terminate): Avoid releasing myself.
Christopher Faylor [Wed, 28 Mar 2012 17:28:27 +0000 (17:28 +0000)]
* sigproc.cc (proc_terminate): Avoid releasing myself.

12 years ago * times.cc (clock_setres): Set minperiod to period.
Corinna Vinschen [Wed, 28 Mar 2012 07:38:35 +0000 (07:38 +0000)]
* times.cc (clock_setres): Set minperiod to period.

12 years ago Fix copyright.
Corinna Vinschen [Tue, 27 Mar 2012 18:31:09 +0000 (18:31 +0000)]
Fix copyright.

12 years ago * fhandler_process.cc (process_tab): Add entry for mountinfo.
Corinna Vinschen [Tue, 27 Mar 2012 18:30:28 +0000 (18:30 +0000)]
* 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.

* new-features.sgml (ov-new1.7.11): Add mountinfo.

12 years ago * times.cc (clock_setres): Revert previous change.
Corinna Vinschen [Tue, 27 Mar 2012 08:50:45 +0000 (08:50 +0000)]
* times.cc (clock_setres): Revert previous change.

12 years ago * fhandler.h (class fhandler_dev_clipboard): Add fstat method.
Corinna Vinschen [Mon, 26 Mar 2012 11:24:51 +0000 (11:24 +0000)]
* 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.

12 years ago * libc/stdio/findfp.c (__sinit): Set __sdidinit last.
Corinna Vinschen [Mon, 26 Mar 2012 10:43:06 +0000 (10:43 +0000)]
* libc/stdio/findfp.c (__sinit): Set __sdidinit last.

12 years ago * hires.h (hires_ms::dmsecs): Drop unused method.
Corinna Vinschen [Mon, 26 Mar 2012 09:05:50 +0000 (09:05 +0000)]
* 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.

12 years agolibgloss: cris: respect DESTDIR when installing
Michael Frysinger [Sat, 24 Mar 2012 03:38:28 +0000 (03:38 +0000)]
libgloss: cris: respect DESTDIR when installing

12 years ago* child_info.h: Reset magic number.
Christopher Faylor [Wed, 21 Mar 2012 17:23:57 +0000 (17:23 +0000)]
* child_info.h: Reset magic number.

12 years ago* child_info.h (child_info::postfork): Define new function.
Christopher Faylor [Wed, 21 Mar 2012 15:54:50 +0000 (15:54 +0000)]
* 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.

12 years ago * cygtls.cc (well_known_dlls): Add advapi32.dll.
Corinna Vinschen [Wed, 21 Mar 2012 10:42:24 +0000 (10:42 +0000)]
* cygtls.cc (well_known_dlls): Add advapi32.dll.

12 years ago* child_info.h: Reset magic number.
Christopher Faylor [Wed, 21 Mar 2012 05:23:13 +0000 (05:23 +0000)]
* 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.

12 years ago* pinfo.cc (proc_waiter): Remove debugging.
Christopher Faylor [Wed, 21 Mar 2012 04:45:57 +0000 (04:45 +0000)]
* pinfo.cc (proc_waiter): Remove debugging.

12 years ago* dtable.cc (set_std_handle): Call SetStdHandle with NULL if fd is closed.
Christopher Faylor [Tue, 20 Mar 2012 23:13:40 +0000 (23:13 +0000)]
* 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.

12 years ago * syscalls.cc (lseek): Fix debug output.
Corinna Vinschen [Tue, 20 Mar 2012 20:39:32 +0000 (20:39 +0000)]
* syscalls.cc (lseek): Fix debug output.

12 years ago * ntdll.h (SharedUserData): Add volatile qualifier. This fixes a
Corinna Vinschen [Tue, 20 Mar 2012 18:01:09 +0000 (18:01 +0000)]
* ntdll.h (SharedUserData): Add volatile qualifier. This fixes a
possible infinite loop in hires_ms::timeGetTime_ns.

12 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
Christopher Faylor [Tue, 20 Mar 2012 15:07:30 +0000 (15:07 +0000)]
* 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.

12 years ago* pinfo.cc (pinfo_init): Cosmetic change: unset "destroy" for myself.
Christopher Faylor [Tue, 20 Mar 2012 02:08:14 +0000 (02:08 +0000)]
* 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.

12 years ago2012-03-19 Ben Greear <greear@users.sf.net>
Chris Sutcliffe [Tue, 20 Mar 2012 00:28:53 +0000 (00:28 +0000)]
2012-03-19      Ben Greear  <greear@users.sf.net>

        * include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO
        to correct warning about IP_LOCAL_BINDING being undefined.

12 years ago* client.cc: Revert sigproc.h inclusion since it was fixed elsewhere.
Christopher Faylor [Mon, 19 Mar 2012 20:52:55 +0000 (20:52 +0000)]
* client.cc: Revert sigproc.h inclusion since it was fixed elsewhere.

12 years ago* cygserver_ipc.h: Include sigproc.h for signal_arrived declaration.
Christopher Faylor [Mon, 19 Mar 2012 20:18:18 +0000 (20:18 +0000)]
* cygserver_ipc.h: Include sigproc.h for signal_arrived declaration.

12 years ago * client.cc: Include sigproc.h if __INSIDE_CYGWIN__ is defined.
Corinna Vinschen [Mon, 19 Mar 2012 19:25:01 +0000 (19:25 +0000)]
* client.cc: Include sigproc.h if __INSIDE_CYGWIN__ is defined.

12 years ago* cygprops.h: Use #pragma once.
Christopher Faylor [Mon, 19 Mar 2012 17:49:40 +0000 (17:49 +0000)]
* 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.

12 years ago* client.cc: Remove unneeded #include "sigproc.h".
Christopher Faylor [Mon, 19 Mar 2012 17:47:05 +0000 (17:47 +0000)]
* client.cc: Remove unneeded #include "sigproc.h".

12 years ago * thread.cc (cancelable_wait): Don't malloc tbi, just make it a struct
Corinna Vinschen [Mon, 19 Mar 2012 17:34:23 +0000 (17:34 +0000)]
* thread.cc (cancelable_wait): Don't malloc tbi, just make it a struct
on the stack to avoid memory leak.

12 years ago* pinfo.cc (pinfo::wait): Handle case where prefork was not called prior to
Christopher Faylor [Mon, 19 Mar 2012 16:51:30 +0000 (16:51 +0000)]
* 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.

12 years ago* fork.cc (lock_signals): Move to sigproc.h.
Christopher Faylor [Fri, 16 Mar 2012 20:20:29 +0000 (20:20 +0000)]
* 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".

12 years ago * configure.ac (enable_libgomp): Remove *-*-irix6*.
Rainer Orth [Thu, 15 Mar 2012 14:13:32 +0000 (14:13 +0000)]
* configure.ac (enable_libgomp): Remove *-*-irix6*.
(unsupported_languages): Remove mips-sgi-irix6.*.
(noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*.
(with_stabs): Remove.
* configure: Regenerate.

12 years ago * configure.ac (enable_libgomp): Remove *-*-osf*.
Rainer Orth [Thu, 15 Mar 2012 14:11:38 +0000 (14:11 +0000)]
* configure.ac (enable_libgomp): Remove *-*-osf*.
(with_stabs): Remove alpha*-*-osf*.
* configure: Regenerate.

12 years agoinclude/
Alan Modra [Thu, 15 Mar 2012 12:58:48 +0000 (12:58 +0000)]
include/
* 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.

12 years ago * hookapi.cc (hook_or_detect_cygwin): Change condition when to use
Corinna Vinschen [Tue, 13 Mar 2012 17:15:28 +0000 (17:15 +0000)]
* 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.

12 years ago * include/netdb.h (h_errno): Add self-referencing macro and comment.
Corinna Vinschen [Tue, 13 Mar 2012 09:13:02 +0000 (09:13 +0000)]
* include/netdb.h (h_errno): Add self-referencing macro and comment.

12 years agolibgloss: libnosys: use @host_makefile_frag@
Michael Frysinger [Tue, 13 Mar 2012 01:52:31 +0000 (01:52 +0000)]
libgloss: libnosys: use @host_makefile_frag@

Rather than inlining the generated rules, use @host_makefile_frag@ instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agolibgloss: change 'q' flag to 'r' in ar call
Michael Frysinger [Tue, 13 Mar 2012 01:47:40 +0000 (01:47 +0000)]
libgloss: change 'q' flag to 'r' in ar call

The GNU ar has "q" aliased to "r", and we generally want this behavior anyways
(replacing rather than always appending), so change our AR_FLAGS definition.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoChristopher Faylor <me.cygwin2012@cgf.cx>
Christopher Faylor [Mon, 12 Mar 2012 21:29:36 +0000 (21:29 +0000)]
Christopher 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.

12 years ago* dtable.cc (fh_alloc): Treat pc.dev as unsigned.
Christopher Faylor [Sat, 10 Mar 2012 17:51:33 +0000 (17:51 +0000)]
* 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.

12 years agoinclude/opcode/
Alan Modra [Fri, 9 Mar 2012 23:39:02 +0000 (23:39 +0000)]
include/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.

12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 20:31:34 +0000 (20:31 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Modify DJ Delorie license to include
        modification rights in clause as permitted by DJ Delorie.
        * COPYING.LIBGLOSS: Ditto.

12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 20:28:57 +0000 (20:28 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * epiphany/access.c: Add modification rights to clause as
        permitted by DJ Delorie.
        * iq2000/access.c: Ditto.
        * mn10200/access.c: Ditto.
        * mn10300/access.c: Ditto.
        * mt/access.c: Ditto.
        * v850/access.c: Ditto.

12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 20:26:39 +0000 (20:26 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/setjmp-dj.h: Modify license to include
        modification in clause as permitted by DJ Delorie.
        * libc/machine/arm/access.c: Ditto.
        * libc/machine/i386/setjmp.S: Ditto.
        * libc/sys/h8300hms/sys/file.h: Ditto.
        * libc/sys/linux/machine/i386/setjmp.S: Ditto.
        * libc/sys/sysmec/access.c: Ditto.
        * libc/sys/sysnecv850/access.c: Ditto.

12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 19:38:10 +0000 (19:38 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Remove two unused licenses.

12 years ago * hookapi.cc (find_first_notloaded_dll): Fix a compiler warning.
Corinna Vinschen [Fri, 9 Mar 2012 12:42:14 +0000 (12:42 +0000)]
* hookapi.cc (find_first_notloaded_dll): Fix a compiler warning.

12 years ago * hookapi.cc (rvadelta): Add parameter to return maximum available
Corinna Vinschen [Fri, 9 Mar 2012 12:37:37 +0000 (12:37 +0000)]
* 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.

Fix name and address in previous ChangeLog entry.

12 years ago * net.cc (call_gaa): New thread function to call GetAdaptersAddresses.
Corinna Vinschen [Thu, 8 Mar 2012 16:02:44 +0000 (16:02 +0000)]
* 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.

12 years ago * path.cc (readlink): Avoid calling strlen() twice.
Corinna Vinschen [Thu, 8 Mar 2012 14:56:18 +0000 (14:56 +0000)]
* path.cc (readlink): Avoid calling strlen() twice.

12 years ago2012-03-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 8 Mar 2012 14:14:52 +0000 (14:14 +0000)]
2012-03-08  Tristan Gingold  <gingold@adacore.com>

* lbr.h (struct vms_lhd): Add comments.

12 years ago * Throughout, replace usage of w32api's min with MIN from sys/param.h.
Corinna Vinschen [Thu, 8 Mar 2012 09:36:11 +0000 (09:36 +0000)]
* Throughout, replace usage of w32api's min with MIN from sys/param.h.

12 years agomerge from gcc
DJ Delorie [Thu, 8 Mar 2012 00:01:18 +0000 (00:01 +0000)]
merge from gcc

12 years ago * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD,
Nick Clifton [Wed, 7 Mar 2012 17:51:56 +0000 (17:51 +0000)]
* 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.

* elf-m10300.c (elf32_mn10300_link_hash_entry): Add tls_type
field.
(elf32_mn10300_link_hash_table): Add tls_ldm_got entry;
(elf_mn10300_tdata): Define.
(elf_mn10300_local_got_tls_type): Define.
(elf_mn10300_howto_table): Add entries for 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, R_MN10300_TLS_TPOFF relocs.
(mn10300_reloc_map): Likewise.
(elf_mn10300_tls_transition): New function.
(dtpoff, tpoff, mn10300_do_tls_transition): New functions.
(mn10300_elf_check_relocs): Add TLS support.
(mn10300_elf_final_link_relocate): Likewise.
(mn10300_elf_relocate_section): Likewise.
(mn10300_elf_relax_section): Likewise.
(elf32_mn10300_link_hash_newfunc): Initialise new field.
(_bfd_mn10300_copy_indirect_symbol): New function.
(elf32_mn10300_link_hash_table_create): Initialise new fields.
(_bfd_mn10300_elf_size_dynamic_sections): Add TLS support.
(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
(_bfd_mn10300_elf_reloc_type_class): Allocate an
elf_mn10300_obj_tdata structure.
(elf_backend_copy_indirect_symbol): Define.
* reloc.c (BFD_MN10300_TLS_GD, BFD_MN10300_TLS_LD,
BFD_MN10300_TLS_LDO, BFD_MN10300_TLS_GOTIE, BFD_MN10300_TLS_IE,
BFD_MN10300_TLS_LE, BFD_MN10300_TLS_DPTMOD,
BFD_MN10300_TLS_DTPOFF, BFD_MN10300_TLS_TPOFF): New relocations.
(BFD_RELOC_MN10300_32_PCREL, BFD_RELOC_MN10300_16_PCREL): Move to
alongside other MN10300 relocations.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

* config/tc-mn10300.c (other_registers): Add SSP and USP.
(md_assemble): Add support for TLS relocs.
(mn10300_parse_name): Likewise.

* readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.

12 years ago* pinfo.cc (_pinfo::dup_proc_pipe): Reorganize to provide more information for
Christopher Faylor [Wed, 7 Mar 2012 17:09:37 +0000 (17:09 +0000)]
* 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.

12 years ago * glob.cc (MAXPATHLEN): Reinstantiate with a value of 8192.
Corinna Vinschen [Wed, 7 Mar 2012 10:12:28 +0000 (10:12 +0000)]
* glob.cc (MAXPATHLEN): Reinstantiate with a value of 8192.

12 years ago * pinfo.cc (_pinfo::dup_proc_pipe): Fix order of arguments in debug
Corinna Vinschen [Mon, 5 Mar 2012 12:12:10 +0000 (12:12 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): Fix order of arguments in debug
output.

12 years ago * init.cc (dll_entry): Move wincap.init call back from here...
Corinna Vinschen [Mon, 5 Mar 2012 12:09:22 +0000 (12:09 +0000)]
* init.cc (dll_entry): Move wincap.init call back from here...
* dcrt0.cc (dll_crt0_0): ...to here.

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 5 Mar 2012 11:57:17 +0000 (11:57 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
* configure: Regenerate.

12 years ago * cygheap.h (enum fcwd_version_t): Move here from path.cc.
Corinna Vinschen [Mon, 5 Mar 2012 11:50:25 +0000 (11:50 +0000)]
* 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.

12 years ago * dll_init.cc (dll_list::operator[]): Extend comment a bit more to
Corinna Vinschen [Mon, 5 Mar 2012 10:27:44 +0000 (10:27 +0000)]
* dll_init.cc (dll_list::operator[]): Extend comment a bit more to
explain previous patch.

12 years ago * dll_init.cc (dll_list::alloc): Compare linked DLLs by basename only.
Corinna Vinschen [Sun, 4 Mar 2012 16:47:45 +0000 (16:47 +0000)]
* 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.

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