summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/features.h: Add definition of all supportedCorinna Vinschen2007-02-074-86/+227
| | | | | | | | | _POSIX_xxx values for Cygwin. * libc/include/sys/types.h (pthread_rwlock_t): Omit definition on Cygwin. (pthread_rwlockattr_t): Ditto. * libc/include/sys/unistd.h: Define all _SC_xxx values as required by SUSv3. Unify formatting.
* Fix entries for MeP submission.Dave Brolley2007-02-061-43/+4
|
* Fix comment attached to #endifNick Clifton2007-02-061-1/+1
|
* 2007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2007-02-052-1/+9
| | | | | | | * Contribute the following changes: 2001-03-26 Ben Elliston <bje@redhat.com> * dis-asm.h (print_insn_mep): Declare.
* 2007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2007-02-051-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Contribute the following Changes: 2005-08-22 Dave Brolley <brolley@redhat.com> * mep.h (EF_MEP_CPU_C4): New macro. (EF_MEP_CPU_H1): Change to 0x10000000. 2005-04-22 Richard Sandiford <rsandifo@redhat.com> * mep.h (EF_MEP_LIBRARY): New flag. (EF_MEP_ALL_FLAGS): Update accordingly. 2004-06-21 Dave Brolley <brolley@redhat.com> * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2) (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK) (EF_MEP_ALL_FLAGS): New macros. 2001-09-28 Richard Henderson <rth@redhat.com> * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New. 2001-07-12 DJ Delorie <dj@redhat.com> * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow. 2001-06-25 DJ Delorie <dj@redhat.com> * mep.h: Add vtable relocs. 2001-05-10 DJ Delorie <dj@redhat.com> * mep.h: Fix bit offsets for HI16*, make them no-overflow. Add comment about mep-relocs.pl. 2001-05-01 DJ Delorie <dj@redhat.com> * mep.h: Add MeP-specific relocs. 2001-03-22 Ben Elliston <bje@redhat.com> * mep.h: New file. 2001-03-20 Ben Elliston <bje@redhat.com> * common.h (EM_CYGNUS_MEP): Define.
* 2007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2007-02-052-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Contribute the following Changes: 2005-08-22 Dave Brolley <brolley@redhat.com> * mep.h (EF_MEP_CPU_C4): New macro. (EF_MEP_CPU_H1): Change to 0x10000000. 2005-04-22 Richard Sandiford <rsandifo@redhat.com> * mep.h (EF_MEP_LIBRARY): New flag. (EF_MEP_ALL_FLAGS): Update accordingly. 2004-06-21 Dave Brolley <brolley@redhat.com> * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2) (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK) (EF_MEP_ALL_FLAGS): New macros. 2001-09-28 Richard Henderson <rth@redhat.com> * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New. 2001-07-12 DJ Delorie <dj@redhat.com> * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow. 2001-06-25 DJ Delorie <dj@redhat.com> * mep.h: Add vtable relocs. 2001-05-10 DJ Delorie <dj@redhat.com> * mep.h: Fix bit offsets for HI16*, make them no-overflow. Add comment about mep-relocs.pl. 2001-05-01 DJ Delorie <dj@redhat.com> * mep.h: Add MeP-specific relocs. 2001-03-22 Ben Elliston <bje@redhat.com> * mep.h: New file. 2001-03-20 Ben Elliston <bje@redhat.com> * common.h (EM_CYGNUS_MEP): Define. 2007-02-15 Dave Brolley <brolley@redhat.com> From Graydon Hoare <graydon@redhat.com>: * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.
* 2007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2007-02-052-0/+12
| | | | * mt-mep: New.
* 2007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2007-02-054-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Contribute the following changes: 2006-11-28 DJ Delorie <dj@redhat.com> * configure.in: Fix typo for mep's target_makefile_frag. * configure: Regenerated. 2005-04-22 Richard Sandiford <rsandifo@redhat.com> * configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET. * configure: Regenerate. 2001-09-19 DJ Delorie <dj@redhat.com> * configure.in (target_makefile_frag): use mt-mep 2001-06-12 Don Howard <dhoward@redhat.com> * configure.in: Remove gdb from MeP skip list. 2001-04-05 DJ Delorie <dj@redhat.com> * configure.in (noconfigdirs): Remove gcc from MeP skip list. 2001-03-20 Ben Elliston <bje@redhat.com> * configure.in (noconfigdirs): Add gcc and gdb for MeP. 2001-03-19 Ben Elliston <bje@redhat.com> * config.sub (mep, mep-*): Add.
* * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support forCorinna Vinschen2007-02-053-0/+93
| | | | | | | baud rates up to 3000000 baud. Add missing 128K and 256K cases. (fhandler_serial::tcgetattr): Ditto. * include/sys/termios.h: Add baud rate definitions from B460800 up to B3000000.
* Fix typos in year.H.J. Lu2007-02-021-1/+1
|
* 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2007-02-022-0/+5
| | | | * libc/include/sys/errno.h: Add ECANCELED.
* binutils/H.J. Lu2007-02-022-0/+5
| | | | | | | | | | | | | | | | | | | | | | | 2076-02-02 H.J. Lu <hongjiu.lu@intel.com> * doc/binutils.texi (objdump): Document the new addr64 option for i386 disassembler. include/ 2076-02-02 H.J. Lu <hongjiu.lu@intel.com> * dis-asm.h (print_i386_disassembler_options): New. opcodes/ 2076-02-02 H.J. Lu <hongjiu.lu@intel.com> * disassemble.c (disassembler_usage): Call print_i386_disassembler_options for i386 disassembler. * i386-dis.c (print_i386_disassembler_options): New. (print_insn): Support the new addr64 option.
* * syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.Corinna Vinschen2007-02-022-1/+5
|
* Fix typo.Corinna Vinschen2007-02-011-1/+1
|
* 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2007-02-0112-4/+559
| | | | | | | | | | | | | | | | | | Kazunori Asayama <asayama@sm.sony.co.jp> * libc/machine/spu/Makefile.am: Add objects. * libc/machine/spu/Makefile.in: Regenerated. * libc/machine/spu/vsscanf.c: New file. Add a stdio function implementation. * libc/machine/spu/snprintf.c: Ditto. * libc/machine/spu/sprintf.c: Ditto. * libc/machine/spu/sscanf.c: Ditto. * libc/machine/spu/remove.c: Ditto. * libc/machine/spu/rename.c: Ditto. * libc/machine/spu/tmpnam.c: Ditto. * libc/machine/spu/vsnprintf.c: Add initialization routine of stdio stuffs. * libc/machine/spu/vsprintf.c: Ditto.
* 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2007-02-0149-26/+2625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kazunori Asayama <asayama@sm.sony.co.jp> * configure.host: Enable SPU specific stdio directory. * libc/machine/spu/Makefile.am: Add objects. * libc/machine/spu/Makefile.in: Regenerated. * libc/machine/spu/c99ppe.h: Add macros and function declarations to initialize SPU specific stdio stuffs. * libc/machine/spu/stdio.c: Add functions to manage Cell SPU specific FILE structures. * libc/machine/spu/perror.c: Add initialization routine of stdio stuffs. * libc/machine/spu/printf.c: Ditto. * libc/machine/spu/putchar.c: Ditto. * libc/machine/spu/puts.c: Ditto. * libc/machine/spu/vprintf.c: Ditto. * libc/machine/spu/clearerr.c: New file. Add a stdio function implementation. * libc/machine/spu/feof.c: Ditto. * libc/machine/spu/ferror.c: Ditto. * libc/machine/spu/fileno.c: Ditto. * libc/machine/spu/fopen.c: Ditto. * libc/machine/spu/fclose.c: Ditto. * libc/machine/spu/freopen.c: Ditto. * libc/machine/spu/fflush.c: Ditto. * libc/machine/spu/fseek.c: Ditto. * libc/machine/spu/ftell.c: Ditto. * libc/machine/spu/rewind.c: Ditto. * libc/machine/spu/fgetpos.c: Ditto. * libc/machine/spu/fsetpos.c: Ditto. * libc/machine/spu/fread.c: Ditto. * libc/machine/spu/fwrite.c: Ditto. * libc/machine/spu/getc.c: Ditto. * libc/machine/spu/getchar.c: Ditto. * libc/machine/spu/gets.c: Ditto. * libc/machine/spu/fgetc.c: Ditto. * libc/machine/spu/fgets.c: Ditto. * libc/machine/spu/ungetc.c: Ditto. * libc/machine/spu/putc.c: Ditto. * libc/machine/spu/fputc.c: Ditto. * libc/machine/spu/fputs.c: Ditto. * libc/machine/spu/vfprintf.c: Ditto. * libc/machine/spu/vfscanf.c: Ditto. * libc/machine/spu/fprintf.c: Ditto. * libc/machine/spu/fscanf.c: Ditto. * libc/machine/spu/scanf.c: Ditto. * libc/machine/spu/vscanf.c: Ditto. * libc/machine/spu/setbuf.c: Ditto. * libc/machine/spu/setvbuf.c: Ditto. * libc/machine/spu/tmpfile.c: Ditto. 2007-02-01 Jeff Johnston <jjohnstn@redhat.com> * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__. * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check around stdio macros that manipulate fields in the normal file structure. * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include <sys/custom_file.h> to define custom FILE structure. * libc/include/sys/custom_file.h: New default header file that generates error if not overridden when __CUSTOM_FILE_IO__ set. * libc/machine/spu/sys/custom_file.h: New file.
* * net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6Corinna Vinschen2007-02-015-21/+165
| | | | | | | | | | | | | | | | | mapping addition. (ga_clone): Just call ga_dup from here. (ga_duplist): New function to duplicate list of struct addrinfo. (ga_echeck): Don't check a_flags, it already happened in cygwin_getaddrinfo. (cygwin_freeaddrinfo): Always call ipv4_freeaddrinfo. (cygwin_getaddrinfo): Use new wincap.supports_all_posix_ai_flags flag rather than wincap.has_gaa_on_link_prefix. Always duplicate WinSock's addrinfo list to a self-allocated list. Handle AI_V4MAPPED for pre-Vista platforms supporting getaddrinfo. * wincap.h (wincapc::supports_all_posix_ai_flags): New element. * wincap.cc: Implement above element throughout. * include/netdb.h: Note how AI_ADDRCONFIG is not supported pre-Vista. Remove superfluous comment.
* * include/cygwin/socket.h: Add IPv6 socket options.Corinna Vinschen2007-02-012-0/+11
|
* * Makefile.tpl (LDFLAGS): Substitute it.Andreas Schwab2007-01-313-2/+7
| | | | * Makefile.in: Regenerate.
* 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2007-01-3127-11/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Define stdio directory as a variable. * libc/Makefile.am: Define stdio related names as macros. * libc/configure.in: Add detection routine of stdio directory. * libc/Makefile.in: Regenerated. * libc/configure: Ditto. * libc/argz/Makefile.in: Ditto. * libc/ctype/Makefile.in: Ditto. * libc/errno/Makefile.in: Ditto. * libc/iconv/Makefile.in: Ditto. * libc/iconv/ccs/Makefile.in: Ditto. * libc/iconv/ccs/binary/Makefile.in: Ditto. * libc/iconv/ces/Makefile.in: Ditto. * libc/iconv/lib/Makefile.in: Ditto. * libc/locale/Makefile.in: Ditto. * libc/misc/Makefile.in: Ditto. * libc/posix/Makefile.in: Ditto. * libc/reent/Makefile.in: Ditto. * libc/search/Makefile.in: Ditto. * libc/signal/Makefile.in: Ditto. * libc/stdio/Makefile.in: Ditto. * libc/stdio64/Makefile.in: Ditto. * libc/stdlib/Makefile.in: Ditto. * libc/string/Makefile.in: Ditto. * libc/syscalls/Makefile.in: Ditto. * libc/time/Makefile.in: Ditto. * libc/unix/Makefile.in: Ditto.
* include/Vladimir Prus2007-01-312-0/+27
| | | | | | | | | | | | | | | | | | | * libiberty.h (PEX_STDERR_TO_PIPE): New define. (PEX_BINARY_ERROR): New define. (pex_read_err): New function. libiberty/ * pex-common.h (struct pex_obj): New fields stderr_pipe and read_err. * pex-common.c (pex_init_common): Initialize stderr_pipe. (pex_run_in_environment): Add error checking for PEX_STDERR_TO_PIPE. Create a pipe for stderr if necessary. (pex_read_err): New. (pex_free): Close read_err. * pexecute.txh: Document changes. * functions.texi: Regenerated.
* * net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.Corinna Vinschen2007-01-312-2/+5
|
* * net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.Corinna Vinschen2007-01-313-1/+41
| | | | | Handle AI_NUMERICSERV. Handle AI_ADDRCONFIG behaviour on Vista. * include/netdb.h (AI_NUMERICSERV): Add missing flag.
* * fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir nameCorinna Vinschen2007-01-313-9/+21
| | | | | | | | to debug output. * syscalls.cc (try_to_bin): Enable code to move file to user specific recycler dir to eliminate Vista problem. (unlink_nt): Add comment that rename after opening for delete on close only fails on XP.
* merge from gccDJ Delorie2007-01-302-5/+42
|
* * sigproc.cc (child_info::child_info): Set msv_count to non-zeroCorinna Vinschen2007-01-302-3/+8
| | | | value only on systems requiring it.
* * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualifyBen Elliston2007-01-303-7/+8
| | | | | | fmt member. * libc/machine/spu/printf.c (c99_printf_t): Likewise. (printf): Pass fmt to va_start to suppress a warning.
* * libc/search/hash.c (init_hash): Make `info' parameter const.Ben Elliston2007-01-302-2/+6
|
* * include/ftw.h: Include sys/cdefs.h.Corinna Vinschen2007-01-282-0/+5
|
* Expose some msvcr80.dll functions.Danny Smith2007-01-273-1/+24
| | | | | | | * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64, _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64, _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
* Fix typo.Corinna Vinschen2007-01-261-1/+1
|
* * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Implement rmdirCorinna Vinschen2007-01-263-18/+48
| | | | | | | on NT by calling unlink_nt. Check for directory here. * syscalls.cc (try_to_bin): Fix buggy debug_printf statement. (unlink_nt): Make non-static. Don't use delete-on-close semantics on directoires. Explain why.
* Expose some msvcr80.dll functions.Danny Smith2007-01-264-5/+44
| | | | | | | | | | | | * include/stdlib.h (_set_abort_behavior): Add prototype. (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for _set_abort_behavior mask argument. (_invalid_parameter_handler): Add typedef. (_set_invalid_parameter_handler): Add prototype. * include/stdio.h (_get_printf_count_output): Add prototype. (_set_printf_count_output): Add prototype. * msvcrt.def.in (_get_printf_count_output, _set_printf_count_output, _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
* * include/_mingw.h (CRT_INLINE): Correct typo.Danny Smith2007-01-262-2/+6
|
* * net.cc (if_nametoindex): This time, really free IP_ADAPTER_ADDRESSESCorinna Vinschen2007-01-242-7/+13
| | | | | memory. (if_indextoname): Ditto.
* * security.h (pop_thread_privilege): Revert to previous state, notCorinna Vinschen2007-01-242-2/+7
| | | | to token used for impersonation.
* * cygheap.h (cygheap_user::deimpersonate): Always RevertToSelf.Corinna Vinschen2007-01-242-2/+5
|
* * include/io.h (X_OK): Define to F_OK.Danny Smith2007-01-242-1/+7
|
* * net.cc (gai_errmap): Add EAI_OVERFLOW entry. Fix formatting.Corinna Vinschen2007-01-233-17/+24
| | | | | | (cygwin_gai_strerror): Drop using EAI_MAX. (w32_to_gai_err): Ditto. * include/netdb.h: Define EAI_OVERFLOW. Remove EAI_MAX.
* * include/netdb.h: Add AI_xxx flags available since Vista.Corinna Vinschen2007-01-232-10/+8
|
* * net.cc (if_nametoindex): Free IP_ADAPTER_ADDRESSES memory.Corinna Vinschen2007-01-232-19/+40
| | | | | (if_indextoname): Ditto. (if_nameindex): Ditto. Remove duplicate indexed entries in result.
* * autoload.cc (WSAIoctl): Define.Corinna Vinschen2007-01-2110-286/+813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (SendARP): Define. * cygwin.din: Export if_freenameindex, if_indextoname, if_nameindex and if_nametoindex. * fhandler_procnet.cc: Drop including wchar.h. Drop definitions of GAA_FLAG_INCLUDE_ALL_INTERFACES, IP_ADAPTER_UNICAST_ADDRESS_VISTA. (fhandler_procnet::exists): Check for has_gaa_prefixes. Call get_adapters_addresses here. (fhandler_procnet::readdir): Ditto. (prefix): Move to net.cc. (fhandler_procnet::fill_filebuf): Call get_adapters_addresses here. Simplify allocation. Use AdapterName rather than FriendlyName as interface name. Use IfIndex if available, Ipv6IfIndex otherwise. (in6_are_prefix_equal): Move to net.cc. * fhandler_socket.cc: Define old SIOCGxxx values. (CONV_OLD_TO_NEW_SIO): Convert old SIOCGxxx value to new one. (struct __old_ifreq): Define old struct ifreq. (fhandler_socket::ioctl): Handle old SIOCGxxx values. Handle new SIOCGIFFRNDLYNAM command. Simplify copying ifreq data to user space. Call get_ifconf with additional SOCKET parameter. * net.cc (IP_ADAPTER_UNICAST_ADDRESS_LH): Define. (IP_ADAPTER_ADDRESSES_LH): Define. (SIO_GET_INTERFACE_LIST): Define. (sockaddr_in6_old): Define. (sockaddr_gen): Define. (INTERFACE_INFO): Define. (IN_LOOPBACK): Define. (in_are_prefix_equal): New static function. (ip_addr_prefix): New function, replaces prefix function, add AF_INET handling. (GAA_FLAG_INCLUDE_ALL_INTERFACES): Define. (get_adapters_addresses): New function. (WS_IFF_xxx): Define Winsock interface flag values. (convert_ifr_flags): New function to convert Winsock interface flag values to Cygwin interface flag values. (get_xp_ifconf): New get_ifconf implementation for XP SP1 and above. (get_2k_ifconf): Fix interface index. Fix formatting. (get_nt_ifconf): Fix formatting. (get_95_ifconf): Ditto. (get_ifconf): Take additional SOCKET parameter. Call get_xp_ifconf on XP SP1 and above. (if_nametoindex): New function. (if_indextoname): New function. (if_nameindex): New function. (if_freenameindex): New function. (in6_are_prefix_equal): Moved here from fhandler_procnet.cc. * wincap.cc (wincap_xp): Define has_gaa_prefixes as true by default. (wincapc::init): Assume has_osversioninfoex by default. Call GetVersionEx with OSVERSIONINFOEX first. Call with OSVERSIONINFO only if that fails. Simplify NT4 case and try to avoid strcmp. Check XP Service Pack using version.wServicePackMajor to avoid strcmp. * include/asm/socket.h (SIOCGIFFRNDLYNAM): Define. * include/cygwin/if.h: Fix formatting. (IFF_POINTTOPOINT): Define. (IFF_NOARP): Define. (IFF_LOWER_UP): Define. (IFF_DORMANT): Define. (struct if_nameindex): Define. (IFRF_FRIENDLYNAMESIZ): Define. (struct ifreq_frndlyname): Define. (IFNAMSIZ): Redefine as 44. (IF_NAMESIZE): Define. (struct ifreq): Redefine ifru_flags as int. Define ifru_data. Pad size to sizeof sockaddr_in6 for further extensions. (ifr_data): Define. (ifr_frndlyname): Define. (if_nametoindex): Declare. (if_indextoname): Declare. (if_nameindex): Declare. (if_freenameindex): Declare. * include/cygwin/version.h: Bump API minor number. (CYGWIN_VERSION_CHECK_FOR_OLD_IFREQ): Define check for old vs. new ifreq structure.
* 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2007-01-194-18/+18
| | | | | | * libc/machine/spu/c99ppe.h: Replace vector with __vector. * libc/machine/spu/vec_literal.h: Ditto. * libc/machine/spu/strncmp.c: Ditto.
* 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2007-01-192-2/+5
| | | | * spu/syscalls.c: Replace vector with __vector.
* Oops. The actual change for this entry wasn't committed.Danny Smith2007-01-191-7/+7
| | | | | | | | | | | | 2007-01-11 Gisle Vanem <giva@users.sourceforge.net> * include/winbase.h (struct _OVERLAPPED): Change type of Internal, InternalHigh members to ULONG_PTR. (PAPCFUNC): Change DWORD parameter to ULONG_PTR. (CreateIoCompletionPort): Likewise. (PostQueuedCompletionStatus): Likewise. (QueueUserAPC): Likewise. (GetQueuedCompletionStatus): Change PDWORD parm to PULONG_PTR.
* * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): DefineDanny Smith2007-01-194-15/+33
| | | | | | | | unconditionally. Change comment. * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define here too. * include/io.h (rename): Declare. (remove): Declare.
* * spawn.cc (spawn_guts): Don't set cwd for non-Cygwin child processesCorinna Vinschen2007-01-182-2/+9
| | | | on NT to allow starting them in virtual directories.
* * mmap.cc (list::hash): Fix type to __ino64_t.Corinna Vinschen2007-01-182-31/+47
| | | | | | | | | | | | | (list::get_hash): Ditto. (list::set): Add struct stat parameter. Use that instead of calling fstat. (map::get_list_by_fd): Ditto. (map::add_list): Ditto. (mmap_is_attached_or_noreserve): Call get_list_by_fd appropriately. (mmap_worker): Add pameters for map list and file stat information. Propagate to called functions. (mmap64): Use fstat on files early. Replace call to GetFileSize. Call get_list_by_fd and mmap_worker appropriately.
* * fhandler_procnet.cc: Drop declaration of htonl and ntohs. IncludeCorinna Vinschen2007-01-182-4/+7
| | | | asm/byteorder.h instead.
* * include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.Corinna Vinschen2007-01-183-2/+8
| | | | * fhandler_procnet.cc: Declare htonl and ntohs here.