]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
Christopher Faylor [Fri, 13 May 2005 03:21:39 +0000 (03:21 +0000)]
* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
* dir.cc (mkdir): Check path for writability.
(rmdir): Ditto.  Remove check for special directories.
* path.cc (path_conv::check): Set PATH_RO for virtual devices.  Set error if
read-only and asked for writability.
* path.h (pathconv_arg): Add PC_WRITABLE.
(path_types): Add PATH_RO.
(path_conv::isro): Add (currently unused) check for read-only filesystem.
Return "ENOSHARE" when we know a share doesn't exist.
* include/sys/mount.h: Add MOUNT_RO flag.
* autoload.cc (WNetGetResourceInformationA): Import.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Detect actual existence of
remote system rather than always assuming that it exists.

19 years ago2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 May 2005 22:10:26 +0000 (22:10 +0000)]
2005-05-12  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host (mn10300-*): Add long long I/O support by default.

19 years ago2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 May 2005 22:06:26 +0000 (22:06 +0000)]
2005-05-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/getpwuid.c: Removed.
        * libc/sys/linux/getpwnam.c: Removed.
        * libc/sys/linux/getpwent.c: New file containing logic
        from files removed above.  This allows overriding of file
        in libc/unix.
        * libc/sys/linux/Makefile.am: Support changes above.
        * libc/sys/linux/Makefile.in: Regenerated.

19 years agomerge from gcc
DJ Delorie [Thu, 12 May 2005 20:00:35 +0000 (20:00 +0000)]
merge from gcc

19 years agoPR bootstrap/21230
DJ Delorie [Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)]
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.

19 years ago* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
Christopher Faylor [Wed, 11 May 2005 21:53:54 +0000 (21:53 +0000)]
* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
(__main): Reinstate atexit of do_global_dtors.
(cygwin_exit): Call dll_global_dtors here.
(do_exit): And here.

19 years ago * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
Alan Modra [Wed, 11 May 2005 14:08:45 +0000 (14:08 +0000)]
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT) Adjust.
(R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
(DT_PPC_GLINK): Define.

19 years ago* cygtls.cc (_cygtls::remove): Clear exitsock after close.
Christopher Faylor [Wed, 11 May 2005 03:33:38 +0000 (03:33 +0000)]
* cygtls.cc (_cygtls::remove): Clear exitsock after close.
* fhandler_console.cc (fhandler_console::write_normal): Store character in a
local variable for potential future inspection.

19 years ago * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
Corinna Vinschen [Tue, 10 May 2005 20:56:07 +0000 (20:56 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
* devices.h (FH_KMSG): Define new device.
* devices.in: Add "/dev/kmsg" entry.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Handle case FH_KMSG.
* fhandler.h (class fhandler_mailslot): New class.
(class select_stuff): Add device_specific_mailslot pointer.
* fhandler_mailslot.cc: New file.
* select.cc (peek_mailslot): New function.
(verify_mailslot): Ditto.
(struct mailslotinf): New stuct to handle select on mailslots.
(thread_mailslot): New function.
(start_thread_mailslot): Ditto.
(mailslot_cleanup): Ditto.
(fhandler_mailslot::select_read): New method.
* syslog.cc (klog_guard): New muto.
(dev_kmsg): Local mailslot for kernel message device.
(vklog): New function.
(klog): Ditto.
* winsup.h (vklog): Declare.
(klog): Ditto.
* include/sys/syslog.h: Define _PATH_KLOG.

19 years ago* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors are
Christopher Faylor [Tue, 10 May 2005 16:08:46 +0000 (16:08 +0000)]
* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors are
handled correctly.

19 years agoUpdate the address and phone number of the FSF organization
Nick Clifton [Tue, 10 May 2005 10:21:13 +0000 (10:21 +0000)]
Update the address and phone number of the FSF organization

19 years ago * path.cc (path_conv::check): Set correct file attributes for socket
Corinna Vinschen [Tue, 10 May 2005 09:08:20 +0000 (09:08 +0000)]
* path.cc (path_conv::check): Set correct file attributes for socket
files.

19 years ago * mingwex/math/nexttoward.c: New file.
Danny Smith [Tue, 10 May 2005 08:39:07 +0000 (08:39 +0000)]
* mingwex/math/nexttoward.c: New file.
* mingwex/math/nexttowardf.c: New file.
* mingwex/math/nextafterl.c: Add nexttowardl aliaa.
* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
mexttowardf.c,
(MATH_OBJS):  Add nexttoward.o, mexttowardf.o,
* include/math.h (nexttoward, nextowardf, nexttowardl): Add
prototypes.

19 years ago * mingwex/math/nextafterf.c (nextafterf): Correct
Danny Smith [Mon, 9 May 2005 09:36:10 +0000 (09:36 +0000)]
* mingwex/math/nextafterf.c (nextafterf): Correct
handling of -0.0.
* mingwex/math/nextafterl.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
(MATH_OBJS): Add nextafterl.o.
* include/math.h (nextafterl): Uncomment prototype.

19 years agogas/
Jan Beulich [Mon, 9 May 2005 06:49:01 +0000 (06:49 +0000)]
gas/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_insn): Disallow use of prefix separator
and comma in Intel mode.

include/opcode/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add ht and hnt.

19 years ago2005-05-09 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Mon, 9 May 2005 02:39:34 +0000 (02:39 +0000)]
2005-05-09  Pierre Humblet <pierre.humblet@ieee.org>

        * fhandler.h (class fhandler_netdrive): New class.
        * fhandler_netdrive.cc (fhandler_netdrive::fhandler_netdrive): New constructor.
        (fhandler_netdrive::exists): New method.
        (fhandler_netdrive::fstat): Ditto.
        (fhandler_netdrive::readdir): Ditto.
        (fhandler_netdrive::open): Ditto.
        * dtable.cc (build_fh_pc): Handle case FH_NETDRIVE.
        * path.cc (isvirtual_dev): Add FH_NETDRIVE.
        (mount_info::conv_to_win32_path): Detect netdrive device and bypass mount
        search for network paths.

19 years ago* cygcheck.cc (nuke): New function.
Christopher Faylor [Mon, 9 May 2005 01:56:34 +0000 (01:56 +0000)]
* cygcheck.cc (nuke): New function.
(load_cygwin): New function.
(main): Use load_cygwin to load argv/envp from cygwin environment, if
appropriate.

19 years ago* strace.cc (attach_process): Don't call load_cygwin(). Assume that it's
Christopher Faylor [Mon, 9 May 2005 01:21:43 +0000 (01:21 +0000)]
* strace.cc (attach_process): Don't call load_cygwin().  Assume that it's
already happened.
(dotoggle): Ditto.
(main): Set argv from cygwin environment, if it exists.

19 years ago* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.
Christopher Faylor [Mon, 9 May 2005 01:19:38 +0000 (01:19 +0000)]
* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.
(dll_crt0_0): Use get_cygwin_startup_info to retrieve cygwin-specific startup
pointer.
* external.cc (cygwin_internal): Implement CW_ARGV and CW_ENVP.
* include/sys/cygwin.h: Implement CW_ARGV and CW_ENVP.

19 years ago* how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp errors and...
Joshua Daniel Franklin [Sun, 8 May 2005 19:43:35 +0000 (19:43 +0000)]
* how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp errors and cygexec.

19 years ago * mingwex/math/erfl.c: New file.
Danny Smith [Sun, 8 May 2005 08:07:18 +0000 (08:07 +0000)]
* mingwex/math/erfl.c: New file.
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c.
(MATH_OBJS): Add erfl.o.
* include/math.h (erfl, erfcl): Uncomment prototypes.

19 years ago* path.cc (normalize_posix_path): Don't treat '//' specially since newer
Christopher Faylor [Sat, 7 May 2005 21:06:08 +0000 (21:06 +0000)]
* path.cc (normalize_posix_path): Don't treat '//' specially since newer
versions of bash now get this right.

19 years ago* devices.cc: Regenerate with correct name for dev_netdrive_storage.
Christopher Faylor [Sat, 7 May 2005 20:20:51 +0000 (20:20 +0000)]
* devices.cc: Regenerate with correct name for dev_netdrive_storage.

19 years agomove comment
Christopher Faylor [Fri, 6 May 2005 21:09:58 +0000 (21:09 +0000)]
move comment

19 years agofix breakpoint example
Christopher Faylor [Fri, 6 May 2005 21:09:35 +0000 (21:09 +0000)]
fix breakpoint example

19 years ago* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
Christopher Faylor [Fri, 6 May 2005 04:06:17 +0000 (04:06 +0000)]
* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
* fhandler_netdrive.cc: Placeholder file for future development.
* devices.h (FH_NETDRIVE): Define new virtual device type.
(netdrive_dev): Define.
* devices.in (dev_netdrive_storage): Define.
* devices.cc: Regenerate.

19 years ago2005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>
Jeff Johnston [Thu, 5 May 2005 23:15:53 +0000 (23:15 +0000)]
2005-05-05  Tobias Anderberg  <tobias.anderberg@axis.com>

        * arm/syscalls.c (get_errno): Fix output register constraint.

19 years ago2005-05-05 J"orn Rennecke <joern.rennecke@st.com>
Jeff Johnston [Thu, 5 May 2005 23:07:08 +0000 (23:07 +0000)]
2005-05-05  J"orn Rennecke <joern.rennecke@st.com>

        * rs6000/sim-getrusage.S: New file, broken out of:
        (simulator.S).
        * rs6000/Makefile.in (SIM_OBJS): Add sim-getrusage.o.
        (sim-getrusage.o): New rule.

19 years ago * configure.in: Always pass --target to target configures as
Mike Stump [Thu, 5 May 2005 01:36:32 +0000 (01:36 +0000)]
    * configure.in: Always pass --target to target configures as
        otherwise rebuilds that do --recheck will fail.
        * confiugure: Rebuilt.

19 years ago2005-05-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 4 May 2005 15:42:05 +0000 (15:42 +0000)]
2005-05-04  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
STAGE_HOST_EXPORTS.
(configure, all): Add bootstrap support.
(Host modules, target modules): Pass post-stage1 flags and exports.
(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
* Makefile.in: Regenerate.

19 years ago * cygerrno.h (__set_errno): Remove useless parentheses.
Corinna Vinschen [Wed, 4 May 2005 11:05:11 +0000 (11:05 +0000)]
* cygerrno.h (__set_errno): Remove useless parentheses.

19 years ago * cygerrno.h (__set_errno): Define as inline function here.
Corinna Vinschen [Wed, 4 May 2005 11:00:22 +0000 (11:00 +0000)]
* cygerrno.h (__set_errno): Define as inline function here.
(set_errno): Always define as call to __set_errno.
* debug.cc (__set_errno): Move to cygerrno.h.

19 years ago * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
Danny Smith [Wed, 4 May 2005 09:29:09 +0000 (09:29 +0000)]
* include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
#if (WCHAR_MAX <= WCHAR_MIN) is false.
* include/stdint.h (WCHAR_MAX): Likwise.
(WINT_MAX): Likewise.

19 years ago* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
Christopher Faylor [Wed, 4 May 2005 01:20:05 +0000 (01:20 +0000)]
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
until cb is non-zero.

19 years ago* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
Christopher Faylor [Wed, 4 May 2005 01:14:47 +0000 (01:14 +0000)]
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
until cb is non-zero.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't treat
Corinna Vinschen [Tue, 3 May 2005 19:03:20 +0000 (19:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't treat
inability to open file as failure if only SetFileAttributes is
going to be called.  Only call set_file_attribute if really necessary.

19 years ago * fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.
Corinna Vinschen [Tue, 3 May 2005 14:07:19 +0000 (14:07 +0000)]
* fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.

19 years ago * mingwex/math/signbit.c (__signbit): Make return value
Danny Smith [Tue, 3 May 2005 08:39:19 +0000 (08:39 +0000)]
* mingwex/math/signbit.c (__signbit):  Make return value
consistent with GCC's __builtin_signbit.
* mingwex/math/signbitf.c (__signbitf):  Likewise.
* mingwex/math/signbitf.c (__signbitl):  Likewise.
* include/math.h (__signbit, __signbitf, __signbitl): Likewise
for inlines.

19 years ago * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
Danny Smith [Mon, 2 May 2005 08:03:34 +0000 (08:03 +0000)]
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
variadic macro.
* mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
Remove unused MBTOWC_FLAGS define.

19 years agowhite space and minor comment cleanup.
Christopher Faylor [Mon, 2 May 2005 03:50:11 +0000 (03:50 +0000)]
white space and minor comment cleanup.

19 years ago* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==
Christopher Faylor [Mon, 2 May 2005 00:17:45 +0000 (00:17 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==
vtime == 0.

19 years ago* mount.cc (usage): Clarify action of -m option.
Christopher Faylor [Sun, 1 May 2005 15:50:02 +0000 (15:50 +0000)]
* mount.cc (usage): Clarify action of -m option.

19 years ago* environ.cc (spenv::force_into_environment): Rename from add_always.
Christopher Faylor [Sat, 30 Apr 2005 17:07:05 +0000 (17:07 +0000)]
* environ.cc (spenv::force_into_environment): Rename from add_always.
(spenv::add_if_exists): Rename from force.
(build_env): Accommodate name changes.  Make sure that stuff that is always
supposed to be in the environment is actually added to the environment.
* shared.cc (open_shared): Restore VirtualFree eliminated by 2005-04-28 change.

19 years ago* errno.cc (errmap): Sort table.
Christopher Faylor [Sat, 30 Apr 2005 04:10:39 +0000 (04:10 +0000)]
* errno.cc (errmap): Sort table.

19 years ago* errno.cc (errmap): Map ERROR_NETNAME_DELETED to ENOSHARE.
Christopher Faylor [Sat, 30 Apr 2005 03:40:26 +0000 (03:40 +0000)]
* errno.cc (errmap): Map ERROR_NETNAME_DELETED to ENOSHARE.

19 years ago* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags to
Dave Korn [Fri, 29 Apr 2005 16:39:34 +0000 (16:39 +0000)]
* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags to
mnt_opts string if present in mount flags.

19 years ago2005-04-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 29 Apr 2005 14:00:03 +0000 (14:00 +0000)]
2005-04-29  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc:

2005-04-22  Bernd Schmidt  <bernd.schmidt@analog.com>

        * config.sub: Update from master copy.

2005-04-19  Hans-Peter Nilsson  <hp@axis.com>

        * configure.in <crisv32-*-*, cris-*-*>: New local variable
        libgcj_ex_libffi.  Have specific match for *-*-linux*.  Separate
        matches for "*-*-aout" and "*-*-elf".  Don't disable libffi for
        "*-*-elf" and "*-*-linux*".
        * configure: Regenerate.

config:
2005-04-29  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_GNAT): Remove stray break.

19 years ago* shared_info.h (cygwin_shared_address): Bump to a higher value to avoid
Christopher Faylor [Thu, 28 Apr 2005 23:59:44 +0000 (23:59 +0000)]
* shared_info.h (cygwin_shared_address): Bump to a higher value to avoid
collision with large data areas.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Accommodate changes to
open_shared arguments.
* fhandler_tape.cc (mtinfo_init): Ditto.
* pinfo.cc (pinfo::init): Use open_shared rather than win32 mmap calls.
* shared.cc (user_shared_initialize): Ditto.
(memory_init): Ditto.
(open_shared): Change to allow use a smore general mmap handler.
* shared_info.h (shared_locations): Add SH_JUSTCREATE, SH_JUSTOPEN.
(open_shared): Change declaration to match new usage.
* autoload.cc (LoadDLLfuncEx2): Define in terms of LoadDLLfuncEx3.
(LoadDLLfuncEx3): New macro.

19 years ago2005-04-28 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Thu, 28 Apr 2005 18:40:39 +0000 (18:40 +0000)]
2005-04-28  Shaun Jackman  <sjackman@gmail.com>

        * libgloss/syscalls.c (get_errno): Add an output register constraint.

19 years ago2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 28 Apr 2005 18:26:08 +0000 (18:26 +0000)]
2005-04-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
        when checking for multiple flags.

19 years ago(check in files that should have been checked in previously)
Christopher Faylor [Thu, 28 Apr 2005 03:41:09 +0000 (03:41 +0000)]
(check in files that should have been checked in previously)
* fhandler.cc (fhandler_base::open_9x): Remove (broken) check for
O_CREAT|O_EXCL.
* syscalls.cc (open): Do O_CREAT|O_EXCL check here first.

19 years ago* fhandler.cc (fhandler_base::open_9x): Remove (broken) check for
Christopher Faylor [Thu, 28 Apr 2005 03:33:19 +0000 (03:33 +0000)]
* fhandler.cc (fhandler_base::open_9x): Remove (broken) check for
O_CREAT|O_EXCL.
* syscalls.cc (open): Do O_CREAT|O_EXCL check here first.

19 years ago* environ.cc (build_env): Ensure that win32 array is properly filled in when a
Christopher Faylor [Wed, 27 Apr 2005 03:09:59 +0000 (03:09 +0000)]
* environ.cc (build_env): Ensure that win32 array is properly filled in when a
missing value has to be generated.

19 years ago* include/cygwin/version.h: Bump DLL minor number to 17.
Christopher Faylor [Tue, 26 Apr 2005 17:27:40 +0000 (17:27 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 17.

19 years ago * include/wininet.h (FtpGetFileSize): Add prototype.
Danny Smith [Tue, 26 Apr 2005 08:18:27 +0000 (08:18 +0000)]
* include/wininet.h (FtpGetFileSize): Add prototype.
(FtpCommand[AW]): Correct prototypes.
Reported by <siger at users dot sf dot net>

19 years agomerge from gcc
DJ Delorie [Tue, 26 Apr 2005 01:01:49 +0000 (01:01 +0000)]
merge from gcc

19 years ago* mount.cc (mount_commands): Display "-X" option when appropriate.
Christopher Faylor [Mon, 25 Apr 2005 14:40:53 +0000 (14:40 +0000)]
* mount.cc (mount_commands): Display "-X" option when appropriate.

19 years ago * include/vfw.h (capCreateCaptureWindow[AW]): Add prototypes.
Danny Smith [Mon, 25 Apr 2005 07:08:22 +0000 (07:08 +0000)]
* include/vfw.h (capCreateCaptureWindow[AW]): Add prototypes.
(capGetDriverDescription[AW]): Likewise.

ChangeLog: Typo fixes.

19 years ago* how-to-debug-cygwin.txt: Fix typo.
Joshua Daniel Franklin [Mon, 25 Apr 2005 05:03:53 +0000 (05:03 +0000)]
* how-to-debug-cygwin.txt: Fix typo.

19 years ago * mingwex/mbrtowc.c: New file.
Danny Smith [Sun, 24 Apr 2005 11:30:27 +0000 (11:30 +0000)]
* mingwex/mbrtowc.c: New file.
* mingwex/wcrtomb.c: New file.
* mingwex/btowc.c: New file.
* mingwex/wctob.c: New file.
* mingwex/mb_wc_common.h: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(Q8_OBJS): Add new objects.
* include/wchar.h: Adjust comment about mbrtowc() and related
funcions. Add __restrict__ to pointer params in prototypes.
(wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
arg names from protototypes.

19 years ago2005-04-23 Wu Yongwei <adah@sh163.net>
Danny Smith [Sun, 24 Apr 2005 10:26:37 +0000 (10:26 +0000)]
2005-04-23  Wu Yongwei  <adah@sh163.net>

mingwex/dirent.c: Formatting changes.

mingwex/dirent.c (_topendir): Make the end-of-path slash check
MBCS-safe.

19 years ago* shared.cc (user_shared_initialize): Implement locking similar to shared_info
Christopher Faylor [Sat, 23 Apr 2005 03:24:21 +0000 (03:24 +0000)]
* shared.cc (user_shared_initialize): Implement locking similar to shared_info
when initializing shared region.

19 years ago* fhandler.h (dev_console::set_color): Define new function.
Christopher Faylor [Fri, 22 Apr 2005 17:03:38 +0000 (17:03 +0000)]
* fhandler.h (dev_console::set_color): Define new function.
(dev_console::set_default_attr): Ditto, moved from fhandler_console.
(dev_console::fillin_info): Ditto.  Accommodate this change throughout this
file.
(fhandler_console::get_win32_attr): Eliminate.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Properly set default
attributes on initialization.
(fhandler_console::open): Set current attributes rather than default color on
open.
(fhandler_console::get_win32_attr): Eliminate.
(dev_console::set_color): New function.  Move get_win32_attr stuff here.
(dev_console::set_default_attr): New function, moved from fhandler_console.
(dev_console::fillin_info): Ditto.
(fhandler_console::char_command): Call set_color to set screen characteristics.

19 years ago* fhandler.cc (fhandler_base::read): Remove unused signal state tweaks.
Christopher Faylor [Fri, 22 Apr 2005 13:58:09 +0000 (13:58 +0000)]
* fhandler.cc (fhandler_base::read): Remove unused signal state tweaks.
* fhandler.h (fhandler_pipe::create_selectable): Declare.
(fhandler_fifo::close_one_end): Declare.
* fhandler_fifo.cc (fhandler_fifo::close_one_end): Define.
(fhandler_fifo::open_not_mine): Use close_one_end to close appropriate end of
pipe.
* pinfo.cc (_pinfo::commune_recv): Ditto.
* pipe.cc (fhandler_pipe::create_selectable): Rename from
create_selectable_pipe.  Reorganize.
(fhandler_pipe::create): Use create_selectable.

19 years ago* shared.cc (shared_info::initialize): Test previous version of shared memory
Christopher Faylor [Thu, 21 Apr 2005 23:53:49 +0000 (23:53 +0000)]
* shared.cc (shared_info::initialize): Test previous version of shared memory
magic rather than current version when determining if there has been a shared
memory mismatch.

19 years agorevert erroneous checkin
Christopher Faylor [Wed, 20 Apr 2005 20:50:57 +0000 (20:50 +0000)]
revert erroneous checkin

19 years ago* sigproc.cc (proc_subproc): Fix handling of waiting for pids with zero value.
Christopher Faylor [Wed, 20 Apr 2005 20:43:36 +0000 (20:43 +0000)]
* sigproc.cc (proc_subproc): Fix handling of waiting for pids with zero value.
* strace.cc (strace::hello): Report parent pid of executing process.

19 years ago* path.cc (path_conv::check): Fix problem reading symlinks introduced in below
Christopher Faylor [Wed, 20 Apr 2005 18:25:14 +0000 (18:25 +0000)]
* path.cc (path_conv::check): Fix problem reading symlinks introduced in below
change by reverting the change and adding an additional test for nonexistent
files in /proc.

19 years ago * pathnames.sgml (mount-table): Indicate that user-specific
Corinna Vinschen [Wed, 20 Apr 2005 12:26:45 +0000 (12:26 +0000)]
* pathnames.sgml (mount-table): Indicate that user-specific
mounts override system-wide.

19 years ago * utils.sgml (mount): Clarify setting cygdrive prefix for user
Corinna Vinschen [Wed, 20 Apr 2005 12:25:43 +0000 (12:25 +0000)]
* utils.sgml (mount): Clarify setting cygdrive prefix for user
and system-wide.

19 years ago* fhandler-tut.txt: Update description to cygwin 1.5.13
Christopher Faylor [Wed, 20 Apr 2005 04:26:34 +0000 (04:26 +0000)]
* fhandler-tut.txt: Update description to cygwin 1.5.13

19 years ago* path.cc (path_conv::check): Punt when attempting to access a nonexistent
Christopher Faylor [Wed, 20 Apr 2005 04:06:25 +0000 (04:06 +0000)]
* path.cc (path_conv::check): Punt when attempting to access a nonexistent
directory or file in /proc.

19 years agomerge from gcc
DJ Delorie [Tue, 19 Apr 2005 19:09:30 +0000 (19:09 +0000)]
merge from gcc

19 years ago2005-04-19 Eric Christopher <echristo@redhat.com>
Eric Christopher [Tue, 19 Apr 2005 18:03:18 +0000 (18:03 +0000)]
2005-04-19  Eric Christopher  <echristo@redhat.com>

* mips/regs.S: Sign extend constants for mips64 and unify
        address handling.

19 years ago * cygwinenv.sgml: Mention that check_case is deprecated.
Corinna Vinschen [Tue, 19 Apr 2005 14:45:54 +0000 (14:45 +0000)]
* cygwinenv.sgml: Mention that check_case is deprecated.

19 years ago * security.cc (alloc_sd): Remove DELETE bit from user's ACE if
Corinna Vinschen [Tue, 19 Apr 2005 10:10:13 +0000 (10:10 +0000)]
* security.cc (alloc_sd): Remove DELETE bit from user's ACE if
allow_traverse is set.

19 years ago * cygwin.din (pselect): Export.
Corinna Vinschen [Tue, 19 Apr 2005 08:32:59 +0000 (08:32 +0000)]
* cygwin.din (pselect): Export.
* select.cc (pselect): New function.
* include/cygwin/version.h: Bump API minor number.
* include/sys/select.h: Include signal.h.  Declare pselect.

19 years agogas/ChangeLog:
Mark Kettenis [Mon, 18 Apr 2005 20:59:19 +0000 (20:59 +0000)]
gas/ChangeLog:
* config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
include/opcode/ChangeLog:
* i386.h: Insert hyphens into selected VIA PadLock extensions.
Add xcrypt-ctr.  Provide aliases without hyphens.
opcodes/ChangeLog:
* i386-dis.c: Insert hyphens into selected VIA PadLock extensions.
Add xcrypt-ctr.

19 years ago * fhandler.h (enum conn_state): Add connect_failed state.
Corinna Vinschen [Mon, 18 Apr 2005 18:56:52 +0000 (18:56 +0000)]
* fhandler.h (enum conn_state): Add connect_failed state.
* fhandler_socket.cc (fhandler_socket::connect): Set connect_state to
connect_failed when connect failed.
* poll.cc (poll): Change errno to EINVAL if allocating memory fails,
according to SUSv3. Add socket descriptors always to except_fds. Test
for failed connect and set revents flags appropriately.
* select.cc (set_bits): Set connect_state to connect_failed when
select indicates failed nonblocking connect.
(fhandler_dev_null::select_except): Set except_ready to false so that
/dev/null is not always in except state.
(peek_socket): Fix bogus conditional.
(fhandler_socket::select_write): Treat all connect_states except
unconnected equivalent to return consistent results.
(fhandler_windows::select_except): Set except_ready to false so that
/dev/windows is not always in except state.

19 years ago* include/cygwin/version.h: Bump DLL minor number to 16.
Christopher Faylor [Mon, 18 Apr 2005 17:25:04 +0000 (17:25 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 16.

19 years ago * grp.cc (initgroups32): Return the correct value.
Corinna Vinschen [Mon, 18 Apr 2005 16:03:08 +0000 (16:03 +0000)]
* grp.cc (initgroups32): Return the correct value.

19 years ago * configure.host <cris-*-* | crisv32-*-*>: Set
Hans-Peter Nilsson [Mon, 18 Apr 2005 02:52:21 +0000 (02:52 +0000)]
* configure.host <cris-*-* | crisv32-*-*>: Set
        default_newlib_io_long_long="yes".

19 years agoActually check in files.
Christopher Faylor [Sun, 17 Apr 2005 00:12:14 +0000 (00:12 +0000)]
Actually check in files.

19 years agomerge from gcc
DJ Delorie [Sat, 16 Apr 2005 21:49:07 +0000 (21:49 +0000)]
merge from gcc

19 years ago * fhandler_disk_file.cc (fhandler_base::utimes_fs): Ignore
Corinna Vinschen [Sat, 16 Apr 2005 17:17:33 +0000 (17:17 +0000)]
* fhandler_disk_file.cc (fhandler_base::utimes_fs): Ignore
ERROR_NOT_SUPPORTED to workaround Win9x weirdness.
* path.cc (symlink_info::check): Remap ERROR_INVALID_FUNTION to
ERROR_FILE_NOT_FOUND for the same reason.

19 years ago * security.h (cygsidlist::addfromgr): Allow duplicate entries.
Corinna Vinschen [Sat, 16 Apr 2005 15:21:47 +0000 (15:21 +0000)]
* security.h (cygsidlist::addfromgr): Allow duplicate entries.
(get_server_groups): Declare new function.
* security.cc (is_group_member): Simplify.
(get_server_groups): New function.
(get_initgroups_sidlist): Call get_server_groups.
(verify_token): Allow token when supplementary sids are not in
/etc/group but are in the token.
Streamline the code.
* grp.cc (initgroups32): New implementation.
(getgroups32): Handle case where the supplementary groups are set.

19 years ago * cygwinenv.sgml: Add new words for (no)traverse option.
Corinna Vinschen [Sat, 16 Apr 2005 13:16:25 +0000 (13:16 +0000)]
* cygwinenv.sgml: Add new words for (no)traverse option.

19 years ago * environ.cc (environ_init): Don't set traverse checking as default.
Corinna Vinschen [Sat, 16 Apr 2005 13:11:40 +0000 (13:11 +0000)]
* environ.cc (environ_init): Don't set traverse checking as default.

19 years ago * fhandler_disk_file.cc (fhandler_base::utimes_fs): Drop touching
Corinna Vinschen [Sat, 16 Apr 2005 12:53:48 +0000 (12:53 +0000)]
* fhandler_disk_file.cc (fhandler_base::utimes_fs): Drop touching
ChangeTime.

19 years ago* fhandler.cc (fhandler::dup): Duplicate flags, too.
Christopher Faylor [Sat, 16 Apr 2005 05:20:01 +0000 (05:20 +0000)]
* fhandler.cc (fhandler::dup): Duplicate flags, too.
* fhandler.h (fhandler_fifo::owner): Eliminate.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Handle on-disk devices
better.
(fhandler_base::fstat_helper): Ditto.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Don't initialize obsolete
"owner".
(fhandler_fifo::open_not_mine): Add some debugging.  Duplicate correct handle
when we own it.
(fhandler_fifo::open): Set flags from input, not from first pipe.  Flag that
fork fixup is needed.
(fhandler_fifo::dup): Set errno correctly when DuplicateHandle fails.
* pinfo.cc (commune_send): Add debugging for fifo.
* cygwin/version.h: Bump API minor version to 127 to reflect exporting of
sigrelese.

19 years ago * syscalls.cc (setuid32): Correct debugging output.
Corinna Vinschen [Fri, 15 Apr 2005 08:19:07 +0000 (08:19 +0000)]
* syscalls.cc (setuid32): Correct debugging output.

19 years ago* dcrt0.cc (do_global_dtors): Run DLL dtors.
Christopher Faylor [Thu, 14 Apr 2005 17:34:03 +0000 (17:34 +0000)]
* dcrt0.cc (do_global_dtors): Run DLL dtors.
(__main): Don't rely on atexit to run dtors.
(do_exit): Specifically call do_global_dtors here.
(cygwin_exit): Ditto.
* dll_init.cc (dll_global_dtors): Make global.  Only run dtors once.
(dll_list::init): Just set flag that dtors should be run.  Don't rely on
atexit.
* dll_init.h (dll_global_dtors): Declare.
* exceptions.cc (sigrelse): Define.
* path.h (is_fs_device): New method.
(is_lnk_special): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::link): Use "is_lnk_special" rather
than "is_lnk_symlink".
* syscalls.cc (rename): Ditto.
* hookapi.cc (ld_preload): Use colon as a separator rather than space.

19 years ago.
Christopher Faylor [Thu, 14 Apr 2005 17:08:02 +0000 (17:08 +0000)]
.

19 years agomerge from gcc
DJ Delorie [Thu, 14 Apr 2005 02:22:07 +0000 (02:22 +0000)]
merge from gcc

19 years agoMove entries in ChangeLog-9103 to appropriate */ChangeLog-9103.
H.J. Lu [Wed, 13 Apr 2005 17:33:48 +0000 (17:33 +0000)]
Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103.

19 years ago * fhandler.h (class fhandler_socket): Remove utimes.
Corinna Vinschen [Wed, 13 Apr 2005 17:13:41 +0000 (17:13 +0000)]
* fhandler.h (class fhandler_socket): Remove utimes.
* fhandler_socket.cc (fhandler_socket::utimes): Remove.

19 years agoMove entries to appropriate ChangeLog files.
H.J. Lu [Wed, 13 Apr 2005 16:53:25 +0000 (16:53 +0000)]
Move entries to appropriate ChangeLog files.

19 years ago * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32
Corinna Vinschen [Wed, 13 Apr 2005 16:41:33 +0000 (16:41 +0000)]
* cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32
error code as well as errno. Use throughout where errno is set from
NT status.
(set_errno): Evaluate val only once.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fix typo in
debug output.
* fhandler_mem.cc (fhandler_dev_mem::open): Rely on
__seterrno_from_nt_status setting Win32 error code in debug output.
* fhandler_proc.cc (format_proc_uptime): Ditto.
(format_proc_stat): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
* sysconf.cc (sysconf): Ditto.

19 years ago* fhandler.h (fhandler_base::utimes_fs): New method.
Christopher Faylor [Wed, 13 Apr 2005 16:17:37 +0000 (16:17 +0000)]
* fhandler.h (fhandler_base::utimes_fs): New method.
* fhandler.cc (fhandler_base::utimes): Call utimes_fs if on-disk special file.
* fhandler_disk_file.cc (fhandler_disk_file::utimes): Use utimes_fs.
(fhandler_base::utimes_fs): Handle on-disk device files.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::utimes): Don't set errno
Corinna Vinschen [Wed, 13 Apr 2005 11:07:44 +0000 (11:07 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::utimes): Don't set errno
if open fails, it has already been set by open.

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