summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-08-22 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-222-3/+19
| | | | | | | * libc/include/_syslist.h: If HAVE_OPENDIR is not defined, define _opendir as opendir, _readdir as readdir, and _closedir as closedir so that the implementations in libc/posix will be used.
* * mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.Corinna Vinschen2005-08-222-1/+5
|
* add missing entryChristopher Faylor2005-08-201-0/+1
|
* * cygerrno.h (geterrno_from_win_error): Change declaration to default to usingChristopher Faylor2005-08-2013-120/+173
| | | | | | | | | | | | | | | | | | | | | | | | | GetLastError and EACCESS. * cygwin.din: Export readdir_r. * include/cygwin/version.h: Bump API version number to 138. * syscalls.cc (readdir_worker): New function, renamed from old readdir() function. (readdir): Use readdir_worker. (readdir_r): New function. * fhandler.h (fhandler_base::readdir): Accommodate second argument indicating dirent buffer. (fhandler_disk_file::readdir): Ditto. (fhandler_cygdrive::readdir): Ditto. (fhandler_proc::readdir): Ditto. (fhandler_netdrive::readdir): Ditto. (fhandler_registry::readdir): Ditto. (fhandler_process::readdir): Ditto. * fhandler.cc (fhandler_base::readdir): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto. * fhandler_cygdrive.cc (fhandler_cygdrive::readdir): Ditto. * fhandler_proc.cc (fhandler_proc::readdir): Ditto. * fhandler_netdrive.cc (fhandler_netdrive::readdir): Ditto. * fhandler_registry.cc (fhandler_registry::readdir): Ditto. * fhandler_process.cc (fhandler_process::readdir): Ditto.
* * fhandler.h (dirent_states): Add dirent_saw_proc.Christopher Faylor2005-08-193-4/+16
| | | | | * fhandler_disk_file.cc (fhandler_disk_file::readdir): Fill in "proc" if it is the root dir and it is missing.
* * fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,Christopher Faylor2005-08-196-21/+77
| | | | | | | | | | | | | | dirent_saw_dev. * dir.cc (opendir): Don't zero __flags here. Push that responsibility to opendir methods. (seekdir): Preserve dirent_isrrot in __flags. (rewinddir): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Set dirent_isroot appropriately. (fhandler_disk_file::readdir): Fill in "cygdrive" and "dev" if it is the root dir and they are missing. * fhandler_process.cc (fhandler_process::opendir): Set __flags here. * fhandler_virtual.cc (fhandler_virtual::opendir): Set __flags here.
* * m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.DJ Delorie2005-08-193-7/+40
| | | | | | (*.o): Add dependencies. * m32c/m32csys.h: Move syscall location to 0x400 as per Renesas recommendations.
* * winsup.h (create_pipe): Declare new function.Christopher Faylor2005-08-193-0/+24
| | | | | (CreatePipe): New define. * miscfuncs.cc (create_pipe): Define new function.
* * passwd.c (longopts): Add --logonserver option.Corinna Vinschen2005-08-182-21/+65
| | | | | | | | | | | | (opts): Add -d option. (GetPW): Add server parameter which is given to Net functions. (ChangePW): Ditto. (PrintPW): Ditto. (SetModals): Ditto. (usage): Add description for -d/--logonserver option. (main): Add option handling for -d/--logonserver. Use LOGONSERVER environment variable content for server to contact, unless -d/--logonserver option is given. If both is missing, use NULL.
* * fhandler.h (fhandler_tty_common::lseek): Declare new method.Christopher Faylor2005-08-183-2/+15
| | | | | | (fhandler_tty_slave::lseek): Delete old method. (fhandler_tty_master::lseek): Delete old method. * fhandler_tty.cc (fhandler_tty_common::lseek): Define new method.
* * m32c/Makefile.in: Block out memory regions reserved for monitorsDJ Delorie2005-08-182-8/+24
| | | | and simulators. Add monitor link scripts.
* * fhandler_socket.cc (fhandler_socket::recvfrom): Always initializeCorinna Vinschen2005-08-182-4/+10
| | | | | ret to 0. (fhandler_socket::recvmsg): Ditto.
* * errno.cc (strerror): Check errnum for underflow.Corinna Vinschen2005-08-182-1/+5
|
* Remove a29k files.Alan Modra2005-08-184-429/+8
|
* Remove a29k support.Alan Modra2005-08-184-5/+7
|
* * textbinary.sgml: Correct incorrect information about ability to specify textChristopher Faylor2005-08-172-2/+7
| | | | mode in fopen().
* merge from gccDJ Delorie2005-08-172-5/+17
|
* * dcrt0.cc (dll_crt0_1): Tweak debugging stuff.Christopher Faylor2005-08-173-8/+24
| | | | | | | * fhandler_tty.cc (fhandler_tty_common::close): Rearrange the code so that the master end of the input and output pipes is closed before signalling an EOF event to the slave. (fhandler_pty_master::close): Likewise.
* 2005-08-17 Christian Groessler <chris@groessler.org>Christian Groessler2005-08-173-2/+7
| | | | | * Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash. * Makefile.in: Regenerate.
* 2005-08-17 Michael Jung <mjung@iss.tu-darmstadt.de>Danny Smith2005-08-172-1/+14
| | | | | | * lib/shell32.c (CLSID_RecycleBin, CLSID_ControlPanel, CLSID_MyComputer,CLSID_Internet, CLSID_NetworkPlaces, CLSID_MyDocuments, CLSID_FolderShortcut): Add GUIDs.
* 2005-08-17 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith2005-08-174-0/+48
| | | | | | | | | | | * include/shlobj.h (IContextMenu3): Define. * include/shlguid.h (IID_IContextMenu3): Declare. * lib/shell32.c (IID_IContextMenu3): Define. 2005-08-17 Martin Fuchs <martin-fuchs@gmx.net> * include/shlobj.h (SHFormatDrive): Declaration of function and associated constants.
* * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.Brian Dessent2005-08-172-31/+48
| | | | Avoid extraneous cygrunsrv invocation if 'verbose' is true.
* 2005-08-16 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-162-2/+32
| | | | | | * arm/syscalls.c (initialise_monitor_handles): Set monitor_stderr to the result of SWI_open(":tt", "a") instead of simply duplicating stdout.
* gas/Daniel Jacobowitz2005-08-152-1/+8
| | | | | | | | | | | | | | | * config/tc-ppc.c (parse_cpu): Add -me300 support. (md_show_usage): Likewise. * doc/c-ppc.texi (PowerPC-Opts): Document it. include/opcode/ * ppc.h (PPC_OPCODE_E300): Define. opcodes/ * ppc-dis.c (powerpc_dialect): Handle e300. (print_ppc_disassembler_options): Likewise. * ppc-opc.c (PPCE300): Define. (powerpc_opcodes): Mark icbt as available for the e300. binutils/ * doc/binutils.texi (objdump): Document -M e300.
* * init.cc (respawn_wow64_process): Make inline function. RemoveCorinna Vinschen2005-08-142-20/+60
| | | | | | | "noreturn" attribute. Add additional check if parent process is actually a 64 bit process. (dll_entry): Only test WOW64 processes with a stack in the usual "dangerous" process space area.
* * Include/_mingw.h: Increment version to 3.8.Chris Sutcliffe2005-08-133-3/+8
| | | | * Makefile.in: Ditto.
* * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.Martin Schwidefsky2005-08-122-2/+11
|
* toplevel:Paolo Bonzini2005-08-125-602/+629
| | | | | | | | | | | | | | | 2005-08-12 Paolo Bonzini <bonzini@gnu.org> * configure.in: Replace NCN_STRICT_CHECK_TOOL with NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS. Look for alternate names of the target cc and c++ config: 2005-08-12 Paolo Bonzini <bonzini@gnu.org> * config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL, NCN_STRICT_CHECK_TARGET_TOOL): Remove. (NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,
* * include/ddk/hidsdi.h: New file.Danny Smith2005-08-123-1/+81
| | | | | | * lib/ddk/hid.def: Uncomment symbols and add stdcall suffix for functions declared in hidsdi.h. Thanks to: Alex J Lennon <ajlennon at organixconsulting dot com>
* * lib/imm32.def (ImmDisableIME): Add stub.Danny Smith2005-08-122-0/+6
| | | | Thanks to: "kidmin" <kidmin at users dot sourceforge dot net>
* white spaceChristopher Faylor2005-08-1216-73/+72
|
* fix typoChristopher Faylor2005-08-111-1/+1
|
* * fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rateChristopher Faylor2005-08-112-21/+21
| | | | regardless of current DTR state.
* * dcrt0.cc: Remove ld_preload declaration.Christopher Faylor2005-08-114-2/+11
| | | | | * winsup.h: Move ld_preload declaration here. * fork.cc (fork_child): Call ld_preload() before returning.
* * child_info. (CURR_CHILD_INFO_MAGIC): Refresh.Christopher Faylor2005-08-113-31/+59
| | | | | | | | | | | | | (child_info::child_info()): New constructor. (child_info_spawn::child_info_spawn()): Ditto. (child_info_spawn::operator new): New operator. (child_info_spawn::set): New function. * spawn.cc (av()): New constructor. (av::operator new): New operator. (av::set): New function. (spawn_guts): Reorganize so that classes which allocates are defined early in the function so that it can be properly cleaned up after an efault. Set errno to E2BIG in the event of a SEGV situation.
* Attempting to add include/objsafe.h again...Dimitri Papadopoulos2005-08-111-0/+26
|
* * include/w32api.h: Increment version to 3.3.Chris Sutcliffe2005-08-113-3/+8
| | | | * Makefile.in: Ditto.
* * MAINTAINERS (CPU Ports): Add CPU port maintainer section.DJ Delorie2005-08-102-0/+11
|
* 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>Jeff Johnston2005-08-105-8/+15
| | | | | | | * libm/common/sf_fmax.c: Fix to properly handle NaNs. * libm/common/s_max.c: Ditto. * libm/common/sf_fmin.c: Ditto. * libm/common/s_min.c: Ditto.
* 2005-08-10 DJ Delorie <dj@redhat.com>Jeff Johnston2005-08-1011-3/+2782
| | | | | | | | | | | | | | * configure.host: Add m32c support. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/include/sys/config.h: Likewise. * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support. * libc/machine/m32c/aclocal.m4: New file. * libc/machine/m32c/configure: Ditto. * libc/machine/m32c/configure.in: Ditto. * libc/machine/m32c/Makefile.am: Ditto. * libc/machine/m32c/Makefile.in: Ditto. * libc/machine/m32c/setjmp.S: Ditto.
* Add * qualifier for file list.Jeff Johnston2005-08-101-1/+1
|
* 2005-08-10 DJ Delorie <dj@redhat.com>Jeff Johnston2005-08-1035-7/+2843
| | | | | | | | | | | | | | * configure.in: Add m32c support. * configure: Regenerated * m32c: New directory, Renesas R8C/M16C/M32C support. * m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S, m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in, m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S, m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S, m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S, m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in, m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S, m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files
* * include/wctype.h (towupper, towlower): Change arg and return valueDanny Smith2005-08-103-4/+16
| | | | | types to wint_t. * include/ctype.h (towupper, towlower): Likewise.
* * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) withDanny Smith2005-08-102-9/+14
| | | | | a diagnostic, guarded by #ifdef DEBUG. (__mingwthr_remove_key_dtor): Likewise.
* * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):John David Anglin2005-08-102-0/+11
| | | | New defines.
* * cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference.Christopher Faylor2005-08-082-1/+7
|
* * include/sys/cdefs.h: Remove extra line.Christopher Faylor2005-08-082-1/+4
|
* * security.cc (get_reg_security): New static function.Corinna Vinschen2005-08-082-0/+46
| | | | | (get_nt_object_security): Call get_reg_security for registry keys to circumvent problems with predefined registry keys.
* * fhandler_process.cc (fhandler_process::open): Allow opening ofCorinna Vinschen2005-08-083-7/+19
| | | | | | /proc/<pid>/fd for reading. * fhandler_registry.cc (fhandler_registry::open): Ditto for registry keys.
* * include/sys/cdefs.h (__CONCAT): Define.Christopher Faylor2005-08-087-0/+751
| | | | | | | | * include/elf.h: New file. * include/sys/elf32.h: Ditto. * include/sys/elf64.h: Ditto. * include/sys/elf_common.h: Ditto. * include/sys/elf_generic.h: Ditto.