aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-13Remove PC_FULL from path_conv usage throughout.Christopher Faylor10-28/+34
* 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.
2005-05-13* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.Christopher Faylor2-1/+9
2005-05-13* cygtls.cc (_cygtls::remove): Eliminate compiler warning.Christopher Faylor8-25/+71
* 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.
2005-05-122005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+5
* configure.host (mn10300-*): Add long long I/O support by default.
2005-05-122005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston6-27/+42
* 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.
2005-05-12merge from gccDJ Delorie2-1/+8
2005-05-12PR bootstrap/21230DJ Delorie2-1/+7
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add double quotes around GCC variable.
2005-05-11* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.Christopher Faylor2-4/+12
(__main): Reinstate atexit of do_global_dtors. (cygwin_exit): Call dll_global_dtors here. (do_exit): And here.
2005-05-11 * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,Alan Modra2-9/+24
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.
2005-05-11* cygtls.cc (_cygtls::remove): Clear exitsock after close.Christopher Faylor3-4/+14
* fhandler_console.cc (fhandler_console::write_normal): Store character in a local variable for potential future inspection.
2005-05-10 * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.Corinna Vinschen12-803/+1179
* 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.
2005-05-10* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors areChristopher Faylor2-1/+8
handled correctly.
2005-05-10Update the address and phone number of the FSF organizationNick Clifton186-223/+282
2005-05-10 * path.cc (path_conv::check): Set correct file attributes for socketCorinna Vinschen2-1/+6
files.
2005-05-10 * mingwex/math/nexttoward.c: New file.Danny Smith6-3/+103
* 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.
2005-05-09 * mingwex/math/nextafterf.c (nextafterf): CorrectDanny Smith5-13/+80
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.
2005-05-09gas/Jan Beulich2-0/+6
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.
2005-05-092005-05-09 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet5-2/+117
* 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.
2005-05-09* cygcheck.cc (nuke): New function.Christopher Faylor2-0/+47
(load_cygwin): New function. (main): Use load_cygwin to load argv/envp from cygwin environment, if appropriate.
2005-05-09* strace.cc (attach_process): Don't call load_cygwin(). Assume that it'sChristopher Faylor2-3/+16
already happened. (dotoggle): Ditto. (main): Set argv from cygwin environment, if it exists.
2005-05-09* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.Christopher Faylor4-43/+72
(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.
2005-05-08* how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp ↵Joshua Daniel Franklin3-24/+31
errors and cygexec.
2005-05-08 * mingwex/math/erfl.c: New file.Danny Smith4-6/+308
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c. (MATH_OBJS): Add erfl.o. * include/math.h (erfl, erfcl): Uncomment prototypes.
2005-05-07* path.cc (normalize_posix_path): Don't treat '//' specially since newerChristopher Faylor3-1/+7
versions of bash now get this right.
2005-05-07* devices.cc: Regenerate with correct name for dev_netdrive_storage.Christopher Faylor2-1/+5
2005-05-06move commentChristopher Faylor1-2/+2
2005-05-06fix breakpoint exampleChristopher Faylor1-2/+2
2005-05-06* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.Christopher Faylor6-1/+31
* 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.
2005-05-052005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>Jeff Johnston2-1/+5
* arm/syscalls.c (get_errno): Fix output register constraint.
2005-05-052005-05-05 J"orn Rennecke <joern.rennecke@st.com>Jeff Johnston4-9/+34
* 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.
2005-05-05 * configure.in: Always pass --target to target configures asMike Stump3-38/+48
otherwise rebuilds that do --recheck will fail. * confiugure: Rebuilt.
2005-05-042005-05-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-3325/+3708
* 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.
2005-05-04 * cygerrno.h (__set_errno): Remove useless parentheses.Corinna Vinschen2-1/+5
2005-05-04 * cygerrno.h (__set_errno): Define as inline function here.Corinna Vinschen3-13/+13
(set_errno): Always define as call to __set_errno. * debug.cc (__set_errno): Move to cygerrno.h.
2005-05-04 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessorDanny Smith3-3/+10
#if (WCHAR_MAX <= WCHAR_MIN) is false. * include/stdint.h (WCHAR_MAX): Likwise. (WINT_MAX): Likewise.
2005-05-04* shared.cc (user_shared_initialize): Rework locking so that nothing is checkedChristopher Faylor1-11/+8
until cb is non-zero.
2005-05-04* shared.cc (user_shared_initialize): Rework locking so that nothing is checkedChristopher Faylor1-0/+5
until cb is non-zero.
2005-05-03 * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't treatCorinna Vinschen2-2/+13
inability to open file as failure if only SetFileAttributes is going to be called. Only call set_file_attribute if really necessary.
2005-05-03 * fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.Corinna Vinschen2-0/+6
2005-05-03 * mingwex/math/signbit.c (__signbit): Make return valueDanny Smith5-6/+15
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.
2005-05-02 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define asDanny Smith3-15/+14
variadic macro. * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL. Remove unused MBTOWC_FLAGS define.
2005-05-02white space and minor comment cleanup.Christopher Faylor40-265/+265
2005-05-02* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==Christopher Faylor2-1/+6
vtime == 0.
2005-05-01* mount.cc (usage): Clarify action of -m option.Christopher Faylor3-2/+6
2005-04-30* environ.cc (spenv::force_into_environment): Rename from add_always.Christopher Faylor3-8/+22
(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.
2005-04-30* errno.cc (errmap): Sort table.Christopher Faylor2-79/+83
2005-04-30* errno.cc (errmap): Map ERROR_NETNAME_DELETED to ENOSHARE.Christopher Faylor2-0/+5
2005-04-29* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags toDave Korn2-1/+10
mnt_opts string if present in mount flags.
2005-04-292005-04-29 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-99/+111
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.
2005-04-28* shared_info.h (cygwin_shared_address): Bump to a higher value to avoidChristopher Faylor8-69/+99
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.