summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler.h (class fhandler_netdrive): Add method rewinddir.Corinna Vinschen2005-05-173-36/+116
| | | | | | | | | | | | * 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.
* * external.cc (cygwin_internal): Avoid compiler warning.Corinna Vinschen2005-05-172-1/+6
|
* white spaceChristopher Faylor2005-05-171-1/+1
|
* * dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded sinceChristopher Faylor2005-05-172-2/+7
| | | | the state of fds is unknown at this point.
* * cygcheck.cc (cygwin_internal): Define as a "C" function.Christopher Faylor2005-05-174-4/+15
| | | | | * strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
* * include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.Christopher Faylor2005-05-174-4/+16
| | | | | * external.cc (cygwin_internal): Implement CW_DEBUG_SELF. * init.cc (dll_entry): Minor rearrangement of code.
* * path.cc (path_conv::check): Remove embedded dots before slashes.Christopher Faylor2005-05-172-2/+6
|
* * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.Corinna Vinschen2005-05-162-4/+5
| | | | It doesn't belong here.
* * cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.Christopher Faylor2005-05-162-2/+9
|
* ./Daniel Jacobowitz2005-05-152-71/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen2005-05-153-5/+20
| | | | | (print_version): Fix copyright. * strace.cc (print_version): Ditto.
* * environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.Corinna Vinschen2005-05-152-2/+8
|
* * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): CheckCorinna Vinschen2005-05-143-2/+14
| | | | | | 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.
* include/elf/Alan Modra2005-05-142-2/+6
| | | | | | | | | | | * 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.
* really fix typo.Christopher Faylor2005-05-131-1/+1
|
* fix typoChristopher Faylor2005-05-131-1/+1
|
* * path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.Christopher Faylor2005-05-132-5/+6
|
* Add missing ChangeLog entry.Corinna Vinschen2005-05-131-0/+1
|
* * fhandler.h (fhandler_netdrive::readdir): Remove useless comment.Corinna Vinschen2005-05-132-1/+4
|
* * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.Corinna Vinschen2005-05-133-0/+48
| | | | | (WNetGetResourceParentW): Ditto. * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.
* * mount.cc (mount_commands): Display "-X" option when appropriate.Christopher Faylor2005-05-132-4/+6
|
* * autoload.cc (WNetGetResourceParentA): Import.Corinna Vinschen2005-05-134-4/+125
| | | | | | | | | | | | | | | (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.
* Remove PC_FULL from path_conv usage throughout.Christopher Faylor2005-05-1310-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.
* * fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.Christopher Faylor2005-05-132-1/+9
|
* * cygtls.cc (_cygtls::remove): Eliminate compiler warning.Christopher Faylor2005-05-138-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-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-05-122-0/+5
| | | | * configure.host (mn10300-*): Add long long I/O support by default.
* 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-05-126-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.
* merge from gccDJ Delorie2005-05-122-1/+8
|
* PR bootstrap/21230DJ Delorie2005-05-122-1/+7
| | | | | * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add double quotes around GCC variable.
* * dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.Christopher Faylor2005-05-112-4/+12
| | | | | | (__main): Reinstate atexit of do_global_dtors. (cygwin_exit): Call dll_global_dtors here. (do_exit): And here.
* * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,Alan Modra2005-05-112-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.
* * cygtls.cc (_cygtls::remove): Clear exitsock after close.Christopher Faylor2005-05-113-4/+14
| | | | | * fhandler_console.cc (fhandler_console::write_normal): Store character in a local variable for potential future inspection.
* * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.Corinna Vinschen2005-05-1012-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.
* * dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors areChristopher Faylor2005-05-102-1/+8
| | | | handled correctly.
* Update the address and phone number of the FSF organizationNick Clifton2005-05-10186-223/+282
|
* * path.cc (path_conv::check): Set correct file attributes for socketCorinna Vinschen2005-05-102-1/+6
| | | | files.
* * mingwex/math/nexttoward.c: New file.Danny Smith2005-05-106-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.
* * mingwex/math/nextafterf.c (nextafterf): CorrectDanny Smith2005-05-095-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.
* gas/Jan Beulich2005-05-092-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-09 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2005-05-095-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.
* * cygcheck.cc (nuke): New function.Christopher Faylor2005-05-092-0/+47
| | | | | | (load_cygwin): New function. (main): Use load_cygwin to load argv/envp from cygwin environment, if appropriate.
* * strace.cc (attach_process): Don't call load_cygwin(). Assume that it'sChristopher Faylor2005-05-092-3/+16
| | | | | | already happened. (dotoggle): Ditto. (main): Set argv from cygwin environment, if it exists.
* * dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.Christopher Faylor2005-05-094-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.
* * how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp ↵Joshua Daniel Franklin2005-05-083-24/+31
| | | | errors and cygexec.
* * mingwex/math/erfl.c: New file.Danny Smith2005-05-084-6/+308
| | | | | | * mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c. (MATH_OBJS): Add erfl.o. * include/math.h (erfl, erfcl): Uncomment prototypes.
* * path.cc (normalize_posix_path): Don't treat '//' specially since newerChristopher Faylor2005-05-073-1/+7
| | | | versions of bash now get this right.
* * devices.cc: Regenerate with correct name for dev_netdrive_storage.Christopher Faylor2005-05-072-1/+5
|
* move commentChristopher Faylor2005-05-061-2/+2
|
* fix breakpoint exampleChristopher Faylor2005-05-061-2/+2
|
* * Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.Christopher Faylor2005-05-066-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.