c4857613ca* how-resources.texinfo: Add some additional words about where to find documentation.
Christopher Faylor
2001-09-07 16:48:23 +0000
b0cce7e127* include/limits.h: Define PIPE_BUF. * syscalls.cc (fpathconf): Use PIPE_BUF instead of numerical constant. (pathconf): Ditto.
Corinna Vinschen
2001-09-07 08:31:16 +0000
ddeaa23fbbexperiment.
Christopher Faylor
2001-09-07 01:13:47 +0000
04da0bbe2f* fhandler_socket.cc (fhandler_socket::fhandler_socket): Ensure that prot_info_ptr is zeroed for later use.
Christopher Faylor
2001-09-07 00:07:49 +0000
b2bfade325* cygheap.cc (cygheap_fixup_in_child): Don't consider a NULL bucket as a candidate for deletion. It is actually the end of a linked list chain. * exceptions.cc (open_stackdumpfile): Default to "unknown" program name if myself->progname hasn't been filled out yet.
Christopher Faylor
2001-09-06 18:06:27 +0000
128f2650a5Another in the how-it-works series.
Christopher Faylor
2001-09-06 16:53:48 +0000
12ca96df93Fix import symbols for AIX.
Tom Rix
2001-09-06 15:20:00 +0000
57c89867f5Move appropriate variables to NO_COPY segment, throughout.
Christopher Faylor
2001-09-06 05:17:22 +0000
08b78edf5aRemove initialization of static or global values to zero, throughout. This just needlessly grows the size of the DLL. * tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for thread safety.
Christopher Faylor
2001-09-06 04:41:59 +0000
4ce15a4980* cygheap.h (init_cygheap): Move bucket array here from cygheap.cc. * cygheap.cc: Throughout use bucket array from cygheap. * sigproc.cc (proc_subproc): Dynamically allocate zombie buffer to save DLL space. (sigproc_fixup_after_fork): Free zombie array after a fork. * sigproc.h (sigproc_fixup_after_fork): Declare. * dir.cc (mkdir): Expand buffer for security descriptor to 4K to avoid stack corruption. * fhandler.cc (fhandler_base::open): Ditto. * path.cc (symlink): Ditto.
Christopher Faylor
2001-09-06 03:39:18 +0000
0fb61528c9* Makefile.in (dumper): Change logic for libbfd and libintl so that they will be found either in the build tree or the installed directory. * mkpasswd.c (enum_users): Add a comment as a password for NT.
Christopher Faylor
2001-09-06 02:38:22 +0000
94ce0c04c1Revert inadvertently checked in files.
Christopher Faylor
2001-09-06 00:45:51 +0000
08547e6403* Makefile.in: Install libstdc++.a if it does not exist.
Christopher Faylor
2001-09-05 23:26:38 +0000
b6077b89beminor wording changes
Christopher Faylor
2001-09-05 20:12:38 +0000
6da0fb340etop level overview of vfork.
Christopher Faylor
2001-09-05 19:43:52 +0000
5bcf2f939e* winver.rc: Change copyright to include 2001.
Corinna Vinschen
2001-09-05 19:36:49 +0000
233823ba36* libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h and getopt.h.
Corinna Vinschen
2001-09-05 15:56:01 +0000
669153e144* fhandler_socket.cc (fhandler_socket::close): Change 2MSL value according to MSDN.
Corinna Vinschen
2001-09-05 09:35:08 +0000
47497e6243* net.cc (cygwin_connect): Add WSAEALREADY and WSAEINVAL handling for non-blocking sockets.
Corinna Vinschen
2001-09-05 08:16:51 +0000
0bcb0f6a0e* alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove. (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
Richard Henderson
2001-09-05 02:54:37 +0000
60a6280984* alpha.h (struct alpha_operand): Pack elements into bitfields.
Richard Henderson
2001-09-05 02:52:17 +0000
d72a655937* exceptions.cc (ctrl_c_handler): Only send SIGINT when we have a controlling terminal and we are the head of the process group.
Christopher Faylor
2001-09-05 02:42:49 +0000
a71aee46c4* cygwin.din: Add `dirfd'. * dir.cc (dirfd): New function. (opendir): Open a directory file descriptor and save it in __d_dirent->d_fd. (closedir): Close directory file descriptor. * include/cygwin/version.h: Bump API minor version to 44.
Corinna Vinschen
2001-09-03 16:36:54 +0000
9867ecfdb3* child_info.h: Modify magic number. * dcrt0.cc (_cygwin_testing): Define. (_dll_crt0): Set _cygwin_testing if CYGWIN_TESTING environment variable exists. Don't issue "conflicting versions" error if _cygwin_testing is true. * shared.cc (shared_name): Use _cygwin_testing global rather than testing the environment. * syscalls.cc (_write): Remove debugging info.
Christopher Faylor
2001-09-03 02:13:05 +0000
db8b09c306* mount.cc (main): Eliminate excess arguments in printf.
Christopher Faylor
2001-09-01 19:58:40 +0000
2bcd6fb89d* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous structs are available rather than just testing preprocessor variable directly.
Christopher Faylor
2001-09-01 14:42:57 +0000
2496a3637f* tty.cc (tty::create_inuse): Eliminate unneeded argument. * tty.h: Reflect above change. * fhandler_tty.cc: Reflect argument reduction in tty::create_inuse, throughout. Always make inuse inheritable.
Christopher Faylor
2001-09-01 05:38:46 +0000
e62ac9e869* debug.cc (mark_closed): Rename from debug_mark_closed and make static. (setclexec_pid): New function for marking saved handle as close-on-exec. (delete_handle): New function. (debug_fixup_after_fork): New function. * debug.h: Declare new functions, remove obsolete ones. * fork.cc (debug_fixup_after_fork): Call to cleanup close-on-exec handles. * fhandler.cc (fhandler_disk_file::close): Minor reorg. (fhandler_base::set_inheritance): Set flag appropriately for debugging when close-on-exec so forked process can delete closed handles. * tty.h (open_output_mutex): Eliminate unneeded argument. (open_input_mutex): Ditto. * fhandler_tty.cc (fhandler_tty_slave::open): reflect open_*_mutex argument changes. * fhandler.h (fhandler_socket): Make saw_shutdown_* functions type bool. * tty.cc (tty::get_event): Eliminate unneeded argument. (tty::common_init): Reflect change to get_event. Events should always be inherited.
Christopher Faylor
2001-09-01 05:17:34 +0000
a26a4cdbe0mips3264 support
Eric Christopher
2001-08-31 21:21:54 +0000
0a7908a68e2001-03-30 Richard Henderson <rth@redhat.com> Eric Christopher <echristo@redhat.com>
Eric Christopher
2001-08-31 20:18:49 +0000
dc8c4c68b7* security.cc (create_token): Change initialization of `exp' to comply with new LARGE_INTEGER definition in winnt.h.
Corinna Vinschen
2001-08-31 19:48:34 +0000
75f259bfe3* include/winnt.h: Change definition of `SYSTEM_LUID' to comply with new `LARGE_INTEGER' definition.
Corinna Vinschen
2001-08-31 19:48:04 +0000
d9204f54e12001-08-30 Richard Henderson <rth@redhat.com> Eric Christopher <echristo@redhat.com>
Eric Christopher
2001-08-31 19:22:51 +0000
4597920dfc2001-08-30 Eric Christopher <echristo@redhat.com> Jason Eckhardt <jle@redhat.com>
Eric Christopher
2001-08-31 06:37:20 +0000
a39a34f7152001-08-30 Eric Christopher <echristo@redhat.com>
Eric Christopher
2001-08-31 05:45:40 +0000
5e2ccd4bc2minor wording change.
Christopher Faylor
2001-08-31 05:24:36 +0000
fcc46b19d3space reduction.
Christopher Faylor
2001-08-31 05:23:04 +0000
fff42f4172space reduction.
Christopher Faylor
2001-08-31 05:17:47 +0000
5835f2cf8d* cygwin.sc: New file -- linker script for building cygwin DLL. * Makefile.in: Use linker script to control location of cygheap. * cygheap.cc (buckets): Make static. (init_cheap): Remove special iswinnt handling. Allocate cygheap at a fixed location. Display more info when allocation fails. (cygheap_fixup_in_child): Try harder to move cygheap to correct location. Display more info when allocation fails. * fhandler.h (fhandler_socket): Add macros for tracking socket shutdown state. * net.cc (cygwin_shutdown): Set appropriate shutdown value for future use. * select.cc (select_stuff::cleanup): New method. (cygwin_select): Call cleanup explicitly to avoid a race. (select_stuff:~select_stuff): Call cleanup chain via cleanup method. (fhandler_socket::select_read): Set *_ready when shutdown has been called on the socket. (fhandler_socket::select_write): Ditto. (fhandler_socket::select_except): Ditto. * winsup.h: Move NO_COPY to "COMMON" section. * autoload.cc (wsock_started): Avoid initializing NO_COPY value. * sigproc.cc: Remove initialization from NO_COPY variables. (sigproc_init): Initialize sig_loop_wait here, rather than via initialization. (subproc_init): Initialize proc_loop_wait here, rather than via initialization.
Christopher Faylor
2001-08-31 05:06:14 +0000
33bc82476e* dumper.h: Update copyright notice. * dumper.cc: Ditto. * dumper.cc: (dumper::print_core_section_list): New function. * dumper.h: (dumper::print_core_section_list): Declare it. * dumper.cc (print_section_name): New function. (dumper::collect_process_information): Augment debugging output. Stop debugee processing if it posts double exception. (usage): Fix typo in option name.
Egor Duda
2001-08-30 16:47:51 +0000
4208d592f3* include/winsock2.h: Remove "extra token" after #endif.
Christopher Faylor
2001-08-30 13:37:23 +0000
bca00ab4b6* config.guess: Remove the \r from the end of line. * config.sub: Ditto. * include/winnt.h: Allow anonymous struct in [U]LARGE_INTEGER if __cplusplus as well as if _ANONYMOUS_STRUCT. * config.guess: Add the MSYS system. * config.sub: Ditto. * include/winsock.h: Add the __INSIDE_MSYS__ protections. * incldue/winsock2.h: Ditto.
Earnie Boyd
2001-08-30 04:29:49 +0000
348c5e06c22001-08-29 Joel Sherrill <joel@OARcorp.com>
Jeff Johnston
2001-08-29 20:09:31 +0000
646d6b3a1emerge from gcc
DJ Delorie
2001-08-29 20:03:08 +0000
f29865c5ff2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-08-29 19:55:20 +0000
9e2a4ef8762001-08-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-08-29 19:47:43 +0000
3ab7340b94* h8.h (EF_H8_MACH): New mask for encoded machine type. (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New machine types.
Jeff Law
2001-08-29 17:23:39 +0000
d1b093d567* include\winnt.h: Allow anonymous (Xxx.LowPart) or non-anonymous (Xxx.u.LowPart) access to HighPart and LowPart of a LARGE_INTEGER or ULARGE_INTEGER. * include/wingdi.h (HANGUL_CHARSET): Add define.
Earnie Boyd
2001-08-29 13:45:46 +0000
1ae900d62f* configure.host (h8300-*-elf*, h8500-*-elf*): New cases. * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors / __ctors_end. * libc/sys/h8300hms/syscalls.c: Include errno.h. (_unlink): New stub function.
Joern Rennecke
2001-08-29 13:26:32 +0000
41d53c9845* path.cc (path_conv::check): Avoid splitting off leading '/' in path component when building a symlink.
Christopher Faylor
2001-08-29 04:43:19 +0000
e4a17c6d11* resource.cc (getrlimit): Return actual values on RLIMIT_STACK.
Corinna Vinschen
2001-08-28 22:48:23 +0000
a06a7fb451* h8.h: New file.
Joern Rennecke
2001-08-28 22:33:27 +0000
955dfa520aoops
Christopher Faylor
2001-08-28 20:39:22 +0000
ffe94510f5* dir.cc (rmdir): Report ENOENT when file doesn't exist rather than ENOTDIR.
Christopher Faylor
2001-08-28 20:38:07 +0000
34971f0f8c* mount.cc (main): Issue correct warning for 'not enough arguments'.
Christopher Faylor
2001-08-28 18:48:38 +0000
830dc41f50merge from gcc
DJ Delorie
2001-08-27 20:04:44 +0000
8d661d3658* select.cc (cygwin_select): Ensure that arguments are zeroed on timeout. (select_stuff::wait): Ditto.
Christopher Faylor
2001-08-27 15:59:26 +0000
c2f0f4f466* ppc.h (PPC_OPERAND_DS): Define.
Alan Modra
2001-08-27 10:26:57 +0000
435b1d99a9* ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.
Alan Modra
2001-08-27 10:26:34 +0000
dd7dfc875b* xcoff.h (struct __rtinit): Make proper prototype for rtl.
Andreas Jaeger
2001-08-27 09:08:38 +0000
e451b2c504For include/opcode: * d30v.h: Fix declaration of reg_name_cnt.
Andreas Jaeger
2001-08-26 11:47:39 +0000
8e26d5b5a7* libc/include/sys/errno.h: Add a cautionary comment.
Christopher Faylor
2001-08-26 02:28:33 +0000
e32b4e81cb* syscalls.cc (check_tty_fds): New function. Check whether there is a fd referring to pty slave. (setsid): Don't detach console if the process has a pty slave.
Christopher Faylor
2001-08-25 17:27:31 +0000
46f2e78081fix compile time warning message
Nick Clifton
2001-08-25 09:48:13 +0000
f02e226057Apply H.J.'s patch to revert change to elfxx-target.h Apply my patch to allow SREC as output format.
Nick Clifton
2001-08-24 16:36:01 +0000
5d0fe6351a* net.cc (free_addr_list): Add define for symmetry. (free_hostent_ptr): Use free_addr_list to free h_addr_list element. (dup_addr_list): New static function. (dup_hostent_ptr): Use dup_addr_list instead of dup_char_list in order to handle embedded null characters.
Corinna Vinschen
2001-08-24 06:57:53 +0000
e039969bb5* elf-bfd.h (enum elf_reloc_type_class): New. (struct elf_backend_data): Add elf_backend_reloc_type_class. (_bfd_elf_reloc_type_class): New. * elfxx-target.h (elf_backend_reloc_type_class): Define. (elfNN_bed): Add elf_backend_reloc_type_class. * elf.c (_bfd_elf_reloc_type_class): New. * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf_i386_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf32_sparc_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (sparc64_elf_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field. (elfNN_ia64_hash_table_create): Clear ia64_info. (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only section. (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag instead of looking up section names for DT_TEXTREL. (elfNN_ia64_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elflink.h (size_dynamic_sections): Add spare DT_NULL tags. (struct elf_link_sort_rela): New. (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New. (elf_bfd_final_link): Call elf_link_sort_relocs. Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if necessary.
Jakub Jelinek
2001-08-23 15:14:17 +0000
702f8b1602merge from gcc
DJ Delorie
2001-08-23 14:51:49 +0000
ecaff08ccd* dtable.cc (dtable::dup2): Allow extension of fd table by dup2. * syscalls.cc: Minor code cleanup. (fpathconf): Check for bad fd before doing anything else. * termios.cc (tcsetattr): Don't convert to new termios if bad fd. (tcgetattr): Minor debugging tweak.
Christopher Faylor
2001-08-23 02:27:01 +0000
cb19ccf4b5* net.cc (cygwin_inet_ntoa): Rearrange previous patch to use thread local buffer space when compiled thread safe. (cygwin_getprotobyname): Ditto. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostbyname): Ditto. (cygwin_gethostbyaddr): Ditto. Move near to cygwin_gethostbyname. * thread.h (struct _winsup_t): Add pointers for above used buffer space. * passwd.cc (getpwduid): Remove initializing passwd. (setpwent): Ditto. (endpwent): Ditto. (setpassent): Ditto.
Corinna Vinschen
2001-08-22 21:51:48 +0000
0a047e8f32* smallprint.c (console_printf): New function. * dcrt0.cc (dll_crt0_1): Use console_printf for debugging output. * debug.cc (debug_mark_closed): New function. (close_handle): Use debug_mark_closed. * debug.h: Declare new functions. * dtable.cc (dtable::build_fhandler): Remove unneeded extern. * spawn.cc: Cosmetic changes. * winsup.h: Define NO_COPY for C files, too. Declare a global.
Christopher Faylor
2001-08-22 17:50:22 +0000
1fdc8df95d* net.cc (free_char_list): New static function. (dup_char_list): Ditto. (free_protoent_ptr): Ditto. (dup_protoent_ptr): Ditto. (free_servent_ptr): Ditto. (dup_servent_ptr): Ditto. (free_hostent_ptr): Ditto. (dup_hostent_ptr): Ditto. (cygwin_inet_ntoa): Use local static buffer to allow propagating of the result to child processes. (cygwin_getprotobyname): Ditto. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostbyname): Ditto. (cygwin_gethostbyaddr): Ditto.
Corinna Vinschen
2001-08-22 15:31:59 +0000
d4d65813a7fix typo.
Christopher Faylor
2001-08-22 02:40:22 +0000
26dda98bc2merge from gcc
DJ Delorie
2001-08-22 02:11:38 +0000
7ca4612da3* mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'
Jonathan Larmour
2001-08-22 00:22:58 +0000
e8267664452001-08-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-08-21 20:23:16 +0000
75394d4a26merge from gcc
DJ Delorie
2001-08-21 15:18:37 +0000
de8e9cfb39* include/setupapi.h : New file. * lib/setupapi.def:New file. * lib/test.c: Include setupapi.h. * include/winioctl.h (_DISK_PERFORMANCE): Correct typo. * include/richedit.h (ENLINK): Add structure definition. (EM_AUTOURLDETECT, EN_LINK, ENM_LINK): Add defines. * include/shlobj.h (CMIC_*): Remove duplicate defines. (CMDSTR_*): Remove duplicates; UNICODE string constants. (GCS_*): Make UNICODE. (CSIDL_*): Add more defines. * include/winioctl.h (_MEDIA_TYPE): Add pointer typedef. (_DISK_GEOMETRY): Ditto. (_DISK_PERFORMANCE): Ditto. * include/winbase.h (HasOverlappedIoCompleted): Add macro. * include/winnt.h: Move CHAR, SHORT and LONG typedefs outside of block protected by #ifndef VOID. (This reverts 1998-12-01 Anders Norlander change.) * include/odbcinst.h: End file with newline. * include/raserror.h: Ditto. * include/winsock2.h (#include <wtypes.h): Don't. (_BLOB): Define instead, if not already done. (__BLOB_T_DEFINED: New define for guarding _BLOB. * include/wtypes.h (_BLOB): Guard against prior definition. * include/oaidl.h (tagVARIANT): Mark anonymous structs and unions as __extension__. (tagTYPEDESC): Ditto. (_wireBRECORD): Add structure definition. (_wireSAFEARR_BRECORD): Ditto. (_wireSAFEARR_HAVEIID): Ditto. (_wireSAFEARRAY_UNION.u): Add fields SAFEARR_BRECORD RecordStr, SAFEARR_HAVEIID HaveIidStr. (tagVariant): Add fields _VARIANT_BOOL bool,*pbool. (_wireVARIANT): Change field parray to type wirePSAFEARRAY, pparray to wirePSAFEARRAY*. (_wireVARIANT): Add field wireBRECORD brecVal. (wireVARIANT): Change typedef to struct _wireVariant*. (IRecordInfo): Add interface definition. (LPRECORDINFO): Add typedef for IRecordInfo*. (IID_IRecordInfo): Add forward decalaration. * include/lmcons.h: Guard CNLEN and UNCLEN against prior definition. * include/nddeapi.h: Likewise. * ChangeLog: Formatting and typo fixes.
Earnie Boyd
2001-08-21 13:58:52 +0000