]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago2005-05-17 Brian Dessent <brian@dessent.net>
Brian Dessent [Wed, 18 May 2005 01:10:06 +0000 (01:10 +0000)]
2005-05-17  Brian Dessent  <brian@dessent.net>

* winsup.api/signal-into-win32-api.c (main): Use 'NULL' instead of '0'
in argument list to avoid compiler warning with gcc4.
* winsup.api/ltp/execle01.c (main): Ditto.
* winsup.api/ltp/execlp01.c (main): Ditto.
* winsup.api/ltp/fcntl07.c (do_exec): Ditto.
* winsup.api/ltp/fcntl07B.c (do_exec): Ditto.

19 years ago * fhandler.h (class fhandler_netdrive): Add method rewinddir.
Corinna Vinschen [Tue, 17 May 2005 20:34:15 +0000 (20:34 +0000)]
* fhandler.h (class fhandler_netdrive): Add method rewinddir.
* fhandler_netdrive.cc (struct netdriveinf): New structure to
store thread arguments.
(thread_netdrive): Thread handling all potentially blocking
WNet... calls.
(create_thread_and_wait): Start and wait for above thread.
(fhandler_netdrive::exists): Change to call create_thread_and_wait
instead of calling WNet... function.
(fhandler_netdrive::readdir): Ditto.  Fix error handling.
(fhandler_netdrive::rewinddir): New method.

19 years ago * external.cc (cygwin_internal): Avoid compiler warning.
Corinna Vinschen [Tue, 17 May 2005 08:46:41 +0000 (08:46 +0000)]
* external.cc (cygwin_internal): Avoid compiler warning.

19 years agowhite space
Christopher Faylor [Tue, 17 May 2005 01:29:27 +0000 (01:29 +0000)]
white space

19 years ago* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded since
Christopher Faylor [Tue, 17 May 2005 01:27:31 +0000 (01:27 +0000)]
* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded since
the state of fds is unknown at this point.

19 years ago* cygcheck.cc (cygwin_internal): Define as a "C" function.
Christopher Faylor [Tue, 17 May 2005 01:26:16 +0000 (01:26 +0000)]
* cygcheck.cc (cygwin_internal): Define as a "C" function.
* strace.cc (cygwin_internal): Ditto.
* cygpath.cc (print_version): Update copyright.

19 years ago* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.
Christopher Faylor [Tue, 17 May 2005 01:21:06 +0000 (01:21 +0000)]
* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.
* external.cc (cygwin_internal): Implement CW_DEBUG_SELF.
* init.cc (dll_entry): Minor rearrangement of code.

19 years ago* path.cc (path_conv::check): Remove embedded dots before slashes.
Christopher Faylor [Tue, 17 May 2005 01:08:58 +0000 (01:08 +0000)]
* path.cc (path_conv::check): Remove embedded dots before slashes.

19 years ago * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.
Corinna Vinschen [Mon, 16 May 2005 15:48:36 +0000 (15:48 +0000)]
* environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.
It doesn't belong here.

19 years ago* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.
Christopher Faylor [Mon, 16 May 2005 03:18:29 +0000 (03:18 +0000)]
* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.

19 years ago./
Daniel Jacobowitz [Sun, 15 May 2005 18:19:37 +0000 (18:19 +0000)]
./
* ylwrap: Import from Automake 1.9.5.
binutils/
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ.
* doc/Makefile.am (binutils_TEXINFOS): Define.
(config.texi): Depend on distributed files instead of built
files.
(binutils.dvi, binutils.info): Remove unnecessary rules.
(DISTCLEANFILES): Remove.
(install-data-local): Renamed from install.
(info-local): Renamed from info.
* Makefile.in, aclocal.m4, config.in, configure,
doc/Makefile.in: Regenerated.
gas/
* Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
invocation.
* Makefile.in: Regenerated.
ld/
* Makefile.am (AM_MAKEINFOFLAGS): Define.
(TEXI2DVI): Define.
(ldver.texi): Depend on distributed files instead of built files.
(ld.info): Include $(srcdir) in the rule target.  Remove actions.
(ld.dvi): Remove actions.
(MAINTAINERCLEANFILES): Add configdoc.texi.
(CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
(install-data-local): Renamed from install.
(Makefile): Remove explicit dependency.
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ.  Remove extra $CONFIG_SHELL.
* Makefile.in, aclocal.m4, config.in, configure: Regenerated.
gdb/
* Makefile.in (.y.c): Update ylwrap invocation.

19 years ago * cygcheck.cc (load_cygwin): Don't touch $PATH for now.
Corinna Vinschen [Sun, 15 May 2005 12:29:47 +0000 (12:29 +0000)]
* cygcheck.cc (load_cygwin): Don't touch $PATH for now.
(print_version): Fix copyright.
* strace.cc (print_version): Ditto.

19 years ago * environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.
Corinna Vinschen [Sun, 15 May 2005 12:04:13 +0000 (12:04 +0000)]
* environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.

19 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
Corinna Vinschen [Sat, 14 May 2005 21:12:10 +0000 (21:12 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
return code from GetFileSize and set file size to 0 if necessary.
* fhandler_netdrive.cc (fhandler_netdrive::fstat): Set permissions
to read/execute for all.

19 years agoinclude/elf/
Alan Modra [Sat, 14 May 2005 05:07:15 +0000 (05:07 +0000)]
include/elf/
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
bfd/
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
not DT_PPC_GLINK.
(ppc_elf_finish_dynamic_sections): Likewise.
binutils/
* readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
DT_PPC_GLINK.

19 years agoreally fix typo.
Christopher Faylor [Fri, 13 May 2005 22:40:19 +0000 (22:40 +0000)]
really fix typo.

19 years agofix typo
Christopher Faylor [Fri, 13 May 2005 22:09:32 +0000 (22:09 +0000)]
fix typo

19 years ago* path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.
Christopher Faylor [Fri, 13 May 2005 21:05:46 +0000 (21:05 +0000)]
* path.cc (normalize_posix_path): Do normalization on .  and ..  after a '//'.

19 years ago Add missing ChangeLog entry.
Corinna Vinschen [Fri, 13 May 2005 21:01:32 +0000 (21:01 +0000)]
Add missing ChangeLog entry.

19 years ago * fhandler.h (fhandler_netdrive::readdir): Remove useless comment.
Corinna Vinschen [Fri, 13 May 2005 20:29:31 +0000 (20:29 +0000)]
* fhandler.h (fhandler_netdrive::readdir): Remove useless comment.

19 years ago * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.
Corinna Vinschen [Fri, 13 May 2005 20:28:00 +0000 (20:28 +0000)]
* include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.
(WNetGetResourceParentW): Ditto.
* include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.

19 years ago* mount.cc (mount_commands): Display "-X" option when appropriate.
Christopher Faylor [Fri, 13 May 2005 20:24:20 +0000 (20:24 +0000)]
* mount.cc (mount_commands): Display "-X" option when appropriate.

19 years ago * autoload.cc (WNetGetResourceParentA): Import.
Corinna Vinschen [Fri, 13 May 2005 20:20:02 +0000 (20:20 +0000)]
* autoload.cc (WNetGetResourceParentA): Import.
(WNetOpenEnumA): Import.
(WNetEnumResourceA): Import.
(WNetCloseEnum): Import.
* fhandler.h (fhandler_netdrive::telldir): Add declaration.
(fhandler_netdrive::seekdir): Ditto.
(fhandler_netdrive::closedir): Ditto.
* fhandler_netdrive.cc: Drop explicit including windows.h.  Include
winnetwk.h instead of shlwapi.h.  Include dirent.h.
(fhandler_netdrive::readdir): Implement.
(fhandler_netdrive::telldir): New method.
(fhandler_netdrive::seekdir): New method.
(fhandler_netdrive::closedir): Ditto.

19 years agoRemove PC_FULL from path_conv usage throughout.
Christopher Faylor [Fri, 13 May 2005 15:46:07 +0000 (15:46 +0000)]
Remove PC_FULL from path_conv usage throughout.
* path.h (enum pathconv_arg): Change PC_FULL to PC_NOUILL.
* path.cc (path_conv::check): Test for PC_NOFULL rather than !PC_FULL.
(cygwin_conv_to_win32_path): Use PC_NOFULL to force non-absolute path.

19 years ago* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.
Christopher Faylor [Fri, 13 May 2005 13:23:38 +0000 (13:23 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.

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.

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