summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix typoChristopher Faylor2003-06-071-1/+1
|
* * poll.cc: Define FD_SETSIZE to ridiculously large number so that there will beChristopher Faylor2003-06-072-0/+6
| | | | no artificially large limits.
* * fhandler_tty.cc (fhandler_tty_slave::close): Free the console when last ttyChristopher Faylor2003-06-072-1/+7
| | | | closes.
* * fhandler_socket.cc (fhandler_socket::connect): Change errorThomas Pfaff2003-06-072-6/+14
| | | | | handling for nonblocking connects to return EALREADY when connect is called more than once for the same socket.
* 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-0643-103/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | * libc/argz/argz_add.c: Change to use _DEFUN macro for function definition. * libc/argz/argz_add_sep.c: Ditto. * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto. * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto. * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto. * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto. * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto. * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto. * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto. * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto. * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto. * libc/posix/closedir.c libc/posix/creat.c: Ditto. * libc/posix/execl.c libc/posix/execle.c: Ditto. * libc/posix/execlp.c libc/posix/execve.c: Ditto. * libc/posix/isatty.c libc/posix/opendir.c: Ditto. * libc/posix/popen.c libc/posix/readdir.c: Ditto. * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto. * libc/posix/scandir.c libc/posix/seekdir.c: Ditto. * libc/posix/telldir.c libc/search/hcreate.c: Ditto. * libc/search/tdelete.c libc/search/tdestroy.c: Ditto. * libc/search/tfind.c libc/search/tsearch.c: Ditto. * libc/search/twalk.c libc/signal/signal.c: Ditto.
* iq2000 port.Anthony Green2003-06-0636-0/+2302
|
* New structure containing fields used by the on_exit() function.Nick Clifton2003-06-066-27/+84
| | | | | (struct _atexit): Include struct _on_exit_args. For _REENT_SMALL do his via a pointer that is initialised when needed.
* * cygwin.din: Add vsyslog.Corinna Vinschen2003-06-066-7/+28
| | | | | | | | | | * fhandler.cc (fhandler_base::write): Only make file sparse if the seeked area is >= 128K. * syslog.cc (vsyslog): New function, overtaking functionality from syslog. (syslog): Just call vsyslog. * include/cygwin/version.h: Bump API minor. * include/sys/syslog.h: Add vsyslog declaration.
* 2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-06-065-2/+162
| | | | | | | | | | | | | | * lib/test.c: #include <powerprof.h>. 2003-06-06 James E. Lucas <xelloss@sourceforge.net> * include/powerprof.h: New file. * lib/powerprof.def: New file. 2003-06-06 Danny Smith <dannysmith@users.sourceforge.net> * include/winnt (SLIST_HEADER): Add C90 anonymous struct protection.
* * cygthread.cc (cygthread::terminate_thread): Change system_printf toChristopher Faylor2003-06-052-1/+6
| | | | debug_printf.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-052-24/+48
| | | | | | | | | * h8sx.h (enum h8_model): Add AV_H8S to distinguish from H8H. (ldc): Split ccr ops from exr ops (which are only available on H8S or H8SX). (stc): Ditto. (andc, orc, xorc): Ditto. (ldmac, stmac, clrmac, mac): Change access to AV_H8S.
* * include/winuser.h (WNDCLASS[AW], WNDCLASSEX[AW]): Change type ofLuke Dunstan2003-06-052-4/+10
| | | | | hInstance members to HINSTANCE. Thanks to: Brenden T. <brenden@rcsis.com>
* * shared.cc (shared_info::heap_chunk_size): Be really defensive about makingChristopher Faylor2003-06-052-0/+7
| | | | sure that heap_chunk is set.
* 2003-06-05 Bart Oldeman <bartoldeman@users.sourceforge.net>Danny Smith2003-06-053-2/+8
| | | | | * include/lmaccess.h (UF_MNS_LOGON_ACCOUNT): Add define. * include/wingdi.h (LPRGBTRIPLE, LPRGBQUAD): Add typedefs.
* * path.cc (conv_path_list): Use correct value when calculating length to avoidChristopher Faylor2003-06-042-1/+6
| | | | a potential SEGV.
* 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-043-4/+7
| | | | | * libc/sys/linux/net/Makefile.am: Remove extraneous markers. * libc/sys/linux/net/Makefile.in: Regenerated.
* 2003-06-03 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-06-042-25/+17
| | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::fstat): Mark the pc as non-executable if the file cannot be opened for read. Retry query open only if errno is EACCES. Never change the mode, even if it is 000 when query open() fails.
* * configure.in: Allow any i?86 variant.Christopher Faylor2003-06-041-0/+5
| | | | * configure: Regenerate.
* binutils/Jakub Jelinek2003-06-033-0/+14
| | | | | | | | | | | | | | | | | | | | * readelf.c (get_segment_type): Handle PT_GNU_STACK. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. (bfd_section_from_phdr): Likewise. (map_sections_to_segments): Create PT_GNU_STACK segment header. (get_program_header_size): Count with PT_GNU_STACK. * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. include/ * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. * elf/common.h (PT_GNU_STACK): Define. ld/ * ldgram.y (phdr_type): Grok PT_GNU_STACK. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z execstack and -z noexecstack. (gld${EMULATION_NAME}_list_options): Likewise. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-032-545/+1814
| | | | | | and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * h8300.h: Add support for h8300sx instruction set.
* * Makefile.tpl: Make 'recursive targets' using autogen ratherNathanael Nerode2003-06-036-667/+16693
| | | | | | | | | | | than shell loop. Remove duplicate 'clean' targets and false comments. * Makefile.def: Add systematic dependencies to 'recursive' targets. Add systematic method of specifying missing targets in subdirs. Add copyright boilerplate. * Makefile.in: Regenerate. * configure.in: Add 'recursive targets' to maybe list. * configure: Regenerate.
* 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-0335-126/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/reent/execr.c: Use _DEFUN macro for function declaration. * libc/reent/fcntlr.c: Ditto. * libc/reent/fstat64r.c: Ditto. * libc/reent/linkr.c: Ditto. * libc/reent/lseek64r.c: Ditto. * libc/reent/lseekr.c: Ditto. * libc/reent/openr.c: Ditto. * libc/reent/readr.c: Ditto. * libc/reent/reent.c: Ditto. * libc/reent/sbrkr.c: Ditto. * libc/reent/signalr.c: Ditto. * libc/reent/signgam.c: Ditto. * libc/reent/statr.c: Ditto. * libc/reent/timer.c: Ditto. * libc/reent/unlinkr.c: Ditto. * libc/reent/writer.c: Ditto. * libc/syscalls/sysclose.c: Ditto. * libc/syscalls/sysexecve.c: Ditto. * libc/syscalls/sysfcntl.c: Ditto. * libc/syscalls/sysfork.c: Ditto. * libc/syscalls/sysfstat.c: Ditto. * libc/syscalls/sysgetpid.c: Ditto. * libc/syscalls/sysgettod.c: Ditto. * libc/syscalls/syskill.c: Ditto. * libc/syscalls/syslink.c: Ditto. * libc/syscalls/syslseek.c: Ditto. * libc/syscalls/sysopen.c: Ditto. * libc/syscalls/sysread.c: Ditto. * libc/syscalls/syssbrk.c: Ditto. * libc/syscalls/sysstat.c: Ditto. * libc/syscalls/systimes.c: Ditto. * libc/syscalls/sysunlink.c: Ditto. * libc/syscalls/syswait.c: Ditto.
* 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>Jeff Johnston2003-06-032-1/+8
| | | | | | * libc/time/tzset_r.c: Change local variables that are set via sscanf using the %h format specifier to be unsigned short instead of int.
* bfd/H.J. Lu2003-06-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (elf_link_input_bfd): Call linker error_handler for discarded definitions. include/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. ld/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ldmisc.c: Include "bfdlink.h". (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION and -LD_DEFINITION_IN_DISCARDED_SECTION. * Makefile.am: Rebuild dependency. * Makefile.in: Regenerated. ld/testsuite/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Updated. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
* * configure.in: Allow any i?86 variant.Christopher Faylor2003-06-032-2/+2
| | | | * configure: Regenerate.
* * Makefile.tpl: Rename [+target+] to [+make_target+].Nathanael Nerode2003-06-033-14/+19
| | | | * Makefile.def: Rename 'target' to 'make_target'.
* Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure.Nick Clifton2003-06-032-1/+7
|
* * fhandler_socket.cc (connect_thread): Remove.Corinna Vinschen2003-06-033-55/+77
| | | | | | | | | (accept_thread): Remove. (fhandler_socket::connect): Remove all special blocking handling. (fhandler_socket::accept): Ditto. * net.cc (cygwin_connect): Make blocking sockets temporarily non-blocking and call cygwin_select on them to be interruptible. (cygwin_accept): Ditto.
* * spawn.cc (spawn_guts): Don't hang around if the parent doesn't exist.Christopher Faylor2003-06-032-2/+6
|
* * include/ddk/ntpoapi.h (POWER_INFORMATION_LEVEL): Remove.Danny Smith2003-06-025-43/+35
| | | | | | | * include/winnt.h (POWER_INFORMATION_LEVEL): Add. * include/ddk/winddk.h (SINGLE_LIST_ENTRY,SLIST_HEADER): Remove. * include/ddk/ndis.h (NdisAllocateSpinLock): Add missing '\'.
* * cygthread.h (cygthread::terminate_thread): Mark private.Christopher Faylor2003-06-023-5/+16
| | | | | * cygthread.cc (cygthread::terminate_thread): Deallocate free_range thread stuff.
* * fhandler_socket.cc (fhandler_socket::accept): Rename `signalled'Corinna Vinschen2003-06-022-2/+7
| | | | to `interrupted' as used in fhandler_socket::connect.
* * fhandler_socket.cc (fhandler_socket::connect): Simplify previousCorinna Vinschen2003-06-022-28/+16
| | | | | patch. (fhandler_socket::accept): Ditto.
* * fhandler_socket.cc: Include cygthread.h.Corinna Vinschen2003-06-022-110/+71
| | | | | | | | | (class sock_event): Remove. (thread_connect): New function. (thread_accept): Ditto. (fhandler_socket::connect): Use cygthread instead of socket event handling for blocking sockets. (fhandler_socket::accept): Ditto.
* * fhandler.cc (fhandler_base::write): Correct minor printf formatting styleChristopher Faylor2003-06-022-1/+6
| | | | glitch.
* 2003-06-01 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-06-012-12/+17
| | | | | * fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Assume an existing directory is a root if FindFirstFile fails.
* * path.cc (mount_info::conv_to_win32_path): gcc warning about chroot_ok wasChristopher Faylor2003-05-302-3/+9
| | | | actually valid. Fix it.
* 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>Jeff Johnston2003-05-305-12/+20
| | | | | | | | * configure.host: Allow i[34567]86 variant. * configure.in: Likewise. * README: Likewise to the docs. * configure: Regenerated. * Makefile.in: Ditto.
* bfd/Jakub Jelinek2003-05-302-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elflink.h (elf_link_add_object_symbols): Use !info->executable instead of info->shared where appropriate. (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise. * elflink.c (_bfd_elf_create_got_section): Likewise. (_bfd_elf_link_create_dynamic_sections): Likewise. (_bfd_elf_link_assign_sym_version): Likewise. * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section and DT_DEBUG dynamic tag even for position independent executables. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise. * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise. * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise. * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise. * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise. * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise. include/ * bfdlink.h (struct bfd_link_info): Add pie and executable bits. ld/ * lexsup.c (OPTION_PIE): Define. (ld_options): Add -pie and --pic-executable options. (parse_args): Handle OPTION_PIE. * ldmain.c (main): Initialize link_info.pie and link_info.executable. * genscripts.sh: Generate PIE scripts. * ld.texinfo: Document -pie and --pic-executable options. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): (gld${EMULATION_NAME}_place_orphan): Likewise. (gld${EMULATION_NAME}_get_script): Include PIE scripts. * scripttempl/elf.sc: In PIE scripts set . the same way as in shared scripts. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
* * cygheap.cc (init_cheap): Temporarily remove inline that newer gcc's haveChristopher Faylor2003-05-304-15/+22
| | | | | | problems with. * path.cc (path_conv::check): Rework has_acls logic slightly. Uncouple exec tests away from filesystem tests.
* 2003-05-30 Mattia Barbon <mbarbon@dsi.unive.it>Luke Dunstan2003-05-307-12/+207
| | | | | | | | | | | | | | | | | | | | | | | * lib/oleacc.def: New file. * include/winable.h: New file. * include/oleacc.h: Add extern "C" guard. (NAVDIR_*, ROLE_*, STATE_*): Add missing constants. (AccessibleChildren, AccessibleObjectFromEvent, AccessibleObjectFromPoint, AccessibleObjectFromWindow, CreateStdAccessibleProxy[AW], GetOleaccVersionInfo, GetRoleText[AW], GetStateText[AW], LresultFromObject, ObjectFromLresult, WindowFromAccessibleObject): Add prototypes and UNICODE mappings. * include/winuser.h (NotifyWinEvent): Add prototype. (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR, OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL, OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT, OBJID_SOUND): Move from here to... * include/winable.h (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR, OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL, OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT, OBJID_SOUND): Here, as per documentation. * lib/test.c: Include winable.h. * lib/user32.def (NotifyWinEvent): Add missing export.
* 2003-05-30 Bang Jun-Young <junyoung@netbsd.org>Danny Smith2003-05-303-1/+26
| | | | | | * include/winbase.h (HeapCompact): Correct prototype. * include/winnt.h (SINGLE_LIST_ENTRY, SLIST_ENTRY, SLIST_HEADER): Add.
* * include/sys/param.h: Add DEV_BSIZE.Corinna Vinschen2003-05-302-1/+10
|
* Update URLNick Clifton2003-05-302-1/+6
|
* 2003-05-30 Sascha Sommer <saschasommer@freenet.de>Danny Smith2003-05-302-0/+13
| | | | * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
* * fhandler_socket.cc (fhandler_socket::dup): Rearrange. FixCorinna Vinschen2003-05-292-22/+29
| | | | conditional.
* Import patch to add FreeBSD support.Nick Clifton2003-05-292-0/+22
|
* * include/winuser.h (LWA_COLORKEY, LWA_ALPHA): Add defines.Luke Dunstan2003-05-292-0/+6
|
* * mkvers.sh: Avoid "-dontuse" tags.Christopher Faylor2003-05-295-35/+74
| | | | | | | | | | * path.cc (path_conv::check): Set exec state based on known situations. * path.cc (mount_item::fnmunge): New function. (mount_item::build_win32): New function. (mount_info::conv_to_win32_path): Use build_win32 to build windows path. * path.h (mount_item::fnmunge): Declare new function. (mount_item::build_win32): Ditto. * sys/mount.h (MOUNT_ENC): Define.
* * fhandler_socket.cc (fhandler_socket::dup): If running impersonated,Corinna Vinschen2003-05-282-10/+24
| | | | | | revert to original account before calling fixup_before_fork_exec and impersonate again afterwards. Change comment accordingly. Clean up error handling and debug output.