aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-07-28 * Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' whenNathanael Nerode5-145/+80
creating target and build subdirs to build all parent dirs as needed. * Makefile.in: Rebuild. * configure.in: Don't build dirs explicitly here. * configure: Rebuild.
2003-07-26 * include/winuser.h (ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK,Danny Smith3-3/+23
LWA_COLORKEY, LWA_ALPHA): Guard with _WIN32_WINNT, _WIN32_WINDOWS, not WINVER. (AllowSetForegroundWindow,LockSetForegroundWindow, SetLayeredWindowAttributes): Likewise. (GetLayeredWindowAttributes,UpdateLayeredWindow): Add prototypes. * lib/user32.def (GetLayeredWindowAttributes,UpdateLayeredWindow): Add stubs.
2003-07-26* mount.cc (do_mount): Issue warning when using managed mount option onChristopher Faylor2-0/+25
non-empty directory.
2003-07-26* exceptions.cc (ctrl_c_handler): Send SIGHUP when events occur only if thereChristopher Faylor14-224/+232
is a tty associated with the process. Send SIGHUP on CTRL_LOGOFF_EVENT. * fhandler_tty.cc (fhandler_tty_slave::open): Adjust console open handle counter regardless of whether this is a pty or tty. (fhandler_tty_slave::open): Ditto. (fhandler_tty_slave::dup): Ditto. (fhandler_tty_common::set_close_on_exec): Ditto. (fhandler_tty_master::init_console): Decrement console open handle counter after init since it will now be handled by all tty open. * syscalls.cc (setsid): Rework debugging output slightly.
2003-07-26* configure.in: Use 'install-sh -c'.Christopher Faylor5-2/+17
* configure: Regenerate.
2003-07-26revert erroneous checkinChristopher Faylor1-6/+0
2003-07-26* Makefile.in: Only use localhost when building mingw with distcc or gcc won'tChristopher Faylor2-0/+11
be able to find .exp files on other hosts.
2003-07-262003-07-26 Eric R. Krause <ekrause_98@users.sourceforge.net>Danny Smith2-2/+6
* include/onjidl.h (IMalloc): Fix typo.
2003-07-26preliminary checkinChristopher Faylor1-4/+0
2003-07-26preliminary checkinChristopher Faylor1-0/+5
2003-07-26preliminary checkinChristopher Faylor4-4/+4
2003-07-26preliminary checkinChristopher Faylor6-11/+10
2003-07-25* configure.in: Always use install-sh.Christopher Faylor9-110/+137
* configure: Regenerate.
2003-07-25* include/cygwin/socket.h: Conditionalize [AP]F_INET6 define.Christopher Faylor2-0/+8
2003-07-25* Makefile.in (OBSOLETE_FUNCTION): Add fdopen.Christopher Faylor2-1/+5
2003-07-25* libc/stdio64/fdopen64.c: Include sys/lock.h.Christopher Faylor2-0/+5
2003-07-25* cygwin.din: Export _fdopen64Christopher Faylor5-2/+13
* Makefile.in (NEW_FUNCTIONS): Add _fdopen64 -> fdopen translation. * include/cygwin/version.h: Bump api minor number. * ntdll.h: Remove (now) duplicate FILE_SYNCHRONOUS_IO_NONALERT definition.
2003-07-25* configure.host: Find cygwin include directory, when appropriate.Christopher Faylor1-0/+4
2003-07-25* libc/stdio64/fdopen64.c: New file.Christopher Faylor6-3/+137
* libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o * libc/stdio64/Makefile.in: Regenerate. * libc/include/stdio.h (fdopen64): Define. * libc/include/stdio.h (_fdopen64_r): Ditto.
2003-07-25bfd/H.J. Lu2-0/+17
2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (bfd_elf_special_section): New. (elf_backend_data): Add special_sections, a pointer to bfd_elf_special_section. (elf_section_type). New. (elf_section_flags): New. (_bfd_elf_get_sec_type_attr): New. * elf.c (_bfd_elf_make_section_from_shdr): Always use the real section type/flags. (special_sections): New. (get_special_section): New. (_bfd_elf_get_sec_type_attr): New. (_bfd_elf_new_section_hook): Check special_section to set elf_section_type and elf_section_flags. (elf_fake_sections): Don't use section name to set ELF section data. * elf32-m32r.c (m32r_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-m68hc11.c (elf32_m68hc11_special_sections): New. (elf_backend_special_sections): Defined. * elf32-mcore.c (mcore_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-ppc.c (ppc_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-sh64.c (sh64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-v850.c (v850_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-xtensa.c (elf_xtensa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-alpha.c (elf64_alpha_special_sections): New. (elf_backend_special_sections): Defined. * elf64-hppa.c (elf64_hppa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-ppc.c (ppc64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf64-sh64.c (sh64_elf64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-ia64.c (elfNN_ia64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-mips.c (_bfd_mips_elf_special_sections): New. * elfxx-mips.h (_bfd_mips_elf_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-target.h (elf_backend_special_sections): New. Default to NULL. (elfNN_bed): Initialize special_sections. * section.c (bfd_abs_section): Remove const. (bfd_und_section): Likewise. (bfd_com_section): Likewise. (bfd_ind_section): Likewise. gas/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (special_sections): Removed. (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set elf_section_type and elf_section_flags. (elf_frob_file): Set SHT_GROUP. * config/obj-elf.h (obj_sec_set_private_data): New. * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed. * config/tc-ia64.h: Likewise. * config/tc-m32r.h: Likewise. * config/tc-m68hc11.h: Likewise. * config/tc-mcore.h: Likewise. * config/tc-mips.h: Likewise. * config/tc-ppc.h: Likewise. * config/tc-sh64.h: Likewise. * config/tc-v850.h: Likewise. * config/tc-xtensa.h: Likewise. * config/tc-v850.h (SHF_V850_GPREL): Removed. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise. * subsegs.c (subseg_get): Call obj_sec_set_private_data if it is defined. include/elf/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * v850.h (SHF_V850_GPREL): New. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise.
2003-07-24 * include/dkk/ntifs.h: Fix typo in guard forDanny Smith2-1/+6
#pragma GCC system_header.
2003-07-24* environ.cc (check_case_init): Use strncasematch.Christopher Faylor4-2/+11
* cygwin.din: Export __mempcpy. * cygwin/version.h: Bump api minor number.
2003-07-22 * include/objidl.h (PropVariant): Add CHAR cVal fieldDanny Smith2-0/+13
to union. (FMTID_SummaryInformation, FMTID_DocSummaryInformation, FMTID_UserDefinedProperties): Declare.
2003-07-22 * include/winbase.h (GetModuleHandleEx[AW]): Add prototypes.Danny Smith2-0/+14
2003-07-22 * include/winbase.h (DUPLICATE_CLOSE_SOURCE,Danny Smith6-88/+169
DUPLICATE_SAME_ACCESS): Remove defines. (HANDLE_FLAG_INHERIT, HANDLE_FLAG_PROTECT_FROM_CLOSE): Sync with ddk/ntapi.h defines. (SEM_*) : Likewise. * include/winnt.h (COMPRESSION_*, ACCESS_*, SYSTEM_*): Sync with ddk/ntifs.h defines. (FILE_*): Likewise. (MEM_IMAGE, SEC_*): Likewise. (DUPLICATE_CLOSE_SOURCE, DUPLICATE_SAME_ACCESS, DUPLICATE_SAME_ATTRIBUTES): Sync with ddk/winddk.h defines. (TOKEN_*): Sync with ddk/ntifs.h defines. * include/ddk/ntapi.h: Add comments noting definitions in winbase.h. * include/ddk/ntifs.h: Add comments noting definitions in winnt.h. * include/ddk/winddk.h: Add comments noting definitions in winnt.h.
2003-07-22* Makefile.tpl (all-make): Depend on intl.Alexandre Oliva3-2/+7
* Makefile.in: Rebuilt.
2003-07-21 * mmap.cc: Use proper format specifiers for _off64_t and size_t inCorinna Vinschen2-9/+15
format strings passed to syscall_printf () and debug_printf () throughout.
2003-07-18* Makefile.common (CFLAGS_COMMON): Remove -march=i386.Christopher Faylor2-1/+5
2003-07-18 * include/winnt.h (FILE_*): Sync with ddk/winddk.h.Danny Smith3-43/+128
* include/winioctl.h (FILE_*): Sync with ddk/winddk.h.
2003-07-182003-07-18 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2-23/+22
* security.cc (verify_token): Fix white space and style. Use type bool instead of BOOL and char. Use alloca instead of malloc and free for my_grps.
2003-07-17 (IMAGE_FILE_NET_RUN_FROM_SWAP): Define.Nick Clifton2-19/+50
(IMAGE_FILE_MACHINE_WCEMIPSV2): Define. (IMAGE_FILE_MACHINE_SH3DSP): Define. (IMAGE_FILE_MACHINE_SH3E): Define. (IMAGE_FILE_MACHINE_SH5): Define. (IMAGE_FILE_MACHINE_AM33): Define. (IMAGE_FILE_MACHINE_POWERPCFP): Define. (IMAGE_FILE_MACHINE_AXP64): Define. (IMAGE_FILE_MACHINE_TRICORE): Define. (IMAGE_FILE_MACHINE_CEF): Define. (IMAGE_FILE_MACHINE_EBC): Define. (IMAGE_FILE_MACHINE_AMD64): Define. (IMAGE_FILE_MACHINE_M32R): Define. (IMAGE_FILE_MACHINE_CEE): Define.
2003-07-172003-07-17 Pierre Humblet <pierre.humblet@ieee.org>Danny Smith2-0/+7
* include/mmsystem.h (TIME_KILL_SYNCHRONOUS): Add define.
2003-07-17 * sysconf.cc (sysconf): Fix OPEN_MAX patch. Return page size onCorinna Vinschen2-2/+7
_SC_PAGESIZE again.
2003-07-17update copyrightChristopher Faylor1-1/+1
2003-07-16 Clean up warnings in ddk.Danny Smith21-184/+244
* include/ddk/atm.h (_ATM_AAL_OOB_INFO): Add _ANONYMOUS_UNION, conditional on __cplusplus. * include/ddk/scsi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT defines, throughout. (_CDB): Add _ANONYMOUS_UNION, conditional on __cplusplus. * include/ddk/cfg.h (_PNP_VETO_TYPE): Remove extra comma. * include/ddk/cfgmgr32.h: Change C++ comment style to ISO C. * include/ddk/ddkmapi.h (_DDLOCKOUT): Add _ANONYMOUS_UNION defines. * include/ddk/hidpi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT defines, throughout. * include/ddk/ndis.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT defines, throughout. Remove trailing semicolon from *_S 'structure' macro expansion, throughout. Remove trailing semicolon from DECLARE_UNKNOWN_STRUCT macro expansion. * include/ddk/ndiswan.h (_NDIS_WAN_COMPRESS_INFO): Add _ANONYMOUS_UNION. * include/ddk/ntapi.h (_PROCESS_DEVICEMAP_INFORMATION, _PROCESS_SESSION_INFORMATION): Add _ANONYMOUS_UNION. * include/ddk/ntddcdrm.h (CDROM_TOC_CD_TEXT_DATA_BLOCK): Add _ANONYMOUS_UNION. * include/ddk/ntdddisk.h: Add _ANONYMOUS_UNION, throughout. * include/ddk/ntddmou.h: Add _ANONYMOUS_UNION, throughout. * include/ddk/ntifs.h: Add _ANONYMOUS_UNION, throughout. (ZwQueryObject): Change 2nd param to OBJECT_INFORMATION_CLASS, to match proto in ntapi.h. (ZwSetInformationObject): Likewise. * include/ddk/srb.h (SCSI_REQUEST_BLOCK): Add _ANONYMOUS_UNION. (SCSI_ADAPTER_CONTROL_TYPE): Add __extension__. * include/ddk/tdikrnl.h (TDI20_CLIENT_INTERFACE_INFO): Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT. * include/ddk/usb.h (USB): Add _ANONYMOUS_UNION. * include/ddk/usbcamdi.h (USBCAMD_CamControlFlags): Remove last comma. * include/ddk/video.h (STATUS_BLOCK): Add _ANONYMOUS_UNION. * include/ddk/winddk.h (DECLARE_INTERNAL_OBJECT): Remove trailing semicolon when expanding macro. (GENERAL_LOOKASIDE_S): Likewise. Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT, throughout. Change inline to __inline, throughout. * include/ddk/winnt4.h: Change inline to __inline, throughout.
2003-07-16 * config.if: Remove unused libc_interface determination.Nathanael Nerode2-51/+4
2003-07-16* pathnames.sgml: Use correct registry key. Clarify '@' operation.Christopher Faylor2-5/+10
* ntsec.sgml: Reword references to "ntsec patch".
2003-07-15include/opcode/Richard Sandiford2-0/+7
* mips.h (CPU_RM7000): New macro. (OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns. bfd/ * archures.c (bfd_mach_mips7000): New. * bfd-in2.h: Regenerated. * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. (mips_mach_extensions): Add an entry for it. opcodes/ * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries. gas/ * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000. (mips_cpu_info_table): Add rm7000 and rm9000 entries. gas/testsuite/ * gas/mips/rm7000.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-07-152003-07-14 Christian Groessler <chris@groessler.org>Jason Eckhardt2-0/+7
* i860.h (AOUTSZ): Define properly for i860 coff.
2003-07-14 * Makefile.in: Regenerate, correctly this time.Nathanael Nerode2-0/+73
2003-07-14Import from gcc repository:Zack Weinberg3-0/+168
2003-07-07 Zack Weinberg <zack@codesourcery.com> * gettext.m4: Delete all former contents. (ZW_GNU_GETTEXT_SISTER_DIR): New macro. * progtest.m4: New file. 2003-07-04 Zack Weinberg <zack@codesourcery.com> * gettext.m4: New file - copy of gettext.m4 from binutils
2003-07-14 * cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalidCorinna Vinschen5-115/+106
value for tokens. * syscalls.cc (seteuid32): Ditto. Set new_token to process token if process token is suitable. * uinfo.cc (uinfo_init): Initialize tokens in cygheap user info to INVALID_HANDLE_VALUE. * cygheap.h (enum impersonation): Delete. (cygheap_user::impersonation_state): Delete. (cygheap_user::current_token): New. (cygheap_user::issetuid): Modify to use current_token. (cygheap_user::token): Ditto. (cygheap_user::deimpersonate): Ditto. (cygheap_user::reimpersonate): Ditto. (cygheap_user::has_impersonation_tokens): Ditto. (cygheap_user::close_impersonation_tokens): Ditto. * security.cc (cygwin_set_impersonation_token): Always set the token. (verify_token): Change type of gsid to cygpsid. (get_file_attribute): Use the effective ids. * syscalls.cc (seteuid32): Modify to use cygheap_user::current_token. * uinfo.cc (uinfo_init) Do not set cygheap->user.impersonation_state.
2003-07-142003-07-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Thomas Fitzsimmons3-35/+26
* m32r/configure.in: fixed bug to delete ../config-ml.in.
2003-07-13 * Makefile.tpl: Set INSTALL and friends using autoconf. RemoveNathanael Nerode5-83/+144
unused INSTALL_PROGRAM_ARGS. * configure.in: Use AC_PROG_INSTALL. * Makefile.in: Regenerate. * configure: Regenerate.
2003-07-132003-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith3-30/+42
* include/ddk/ntifs.h (KeInsertQueueApc): Make return type BOOLEAN. Name parameter 4 PriorityBoost and make it of type KPRIORITY. * include/ddk/winddk.h (_KPCR): Put IDT field on next line. * include/ddk/winddk.h (_IO_STATUS_BLOCK, _IRP, _OWNER_ENTRY, _ERESOURCE, _IMAGE_INFO, _CREATE_DISK, _DISK_SIGNATURE, _KPCR_TIB): Apply _ANONYMOUS_UNION to anonymous unions and _ANONYMOUS_STRUCT to anonymous structs.
2003-07-12* pinfo.cc (_pinfo::commune_send): Fix bounds test so that poll ofChristopher Faylor2-1/+6
communicating pid actually stops eventually.
2003-07-12 * include/winnt.h (PVOID): Move to before HANDLE typedef.Danny Smith3-2/+9
* include/winuser.h (mouse_event): Correct type of fifth param, Thanks to: Andrew Jones <guln at users dot sourceforge dot net>
2003-07-11 * include/winnt.h (HANDLE): Define based on STRICT filter.Earnie Boyd2-3/+10
(THREAD_BASE_PRIORITY_MIN): Use parens around negative value. (THREAD_BASE_PRIOIRTY_IDLE): Ditto.
2003-07-11* path.cc (get_device_number): Remove special com? consideration.Christopher Faylor2-51/+63
(special_chars): Make static. (special_introducers): New. (special_char): Allow specified valid_chars args. (fnunmunge): Handle aux-like filenames correctly. (special_name): Add con, conin$, conout$. (mount_item::fnmunge): Use __small_sprintf return value to calculate increments.
2003-07-102000-04-27 Alexandre Oliva <aoliva@cygnus.com>Alexandre Oliva3-0/+50
* libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26. * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and restore callee-saved FP registers.