summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * malloc.cc: Update to 2.7.2.Christopher Faylor2002-08-183-10/+19
| | | | | * malloc_wrapper.cc (malloc_init): Call user level mallocs to determine if the malloc has been wrapped.
* * Makefile.in: Change COMPILE_C* definitions.Christopher Faylor2002-08-171-0/+4
|
* * include/winuser.h (CURSOR_SHOWING) Add define.Danny Smith2002-08-172-0/+6
|
* 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-172-0/+8
| | | | | * libc/include/sys/config.h[__PPC__][__SPE__]: Set _LONG_DOUBLE to double.
* 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-1722-2/+5272
| | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Add powerpc*-*-eabispe* configuration. * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file. * libc/machine/powerpc/atosfix32.c: Ditto. * libc/machine/powerpc/atosfix64.c: Ditto. * libc/machine/powerpc/atoufix16.c: Ditto. * libc/machine/powerpc/atoufix32.c: Ditto. * libc/machine/powerpc/atoufix64.c: Ditto. * libc/machine/powerpc/fix64.h: Ditto. * libc/machine/powerpc/simdldtoa.c: Ditto. * libc/machine/powerpc/strtosfix16.c: Ditto. * libc/machine/powerpc/strtosfix32.c: Ditto. * libc/machine/powerpc/strtosfix64.c: Ditto. * libc/machine/powerpc/strtoufix16.c: Ditto. * libc/machine/powerpc/strtoufix32.c: Ditto. * libc/machine/powerpc/strtoufix64.c: Ditto. * libc/machine/powerpc/ufix64toa.c: Ditto. * libc/machine/powerpc/configure.in: Add check for powerpc*-eabispe and add fixed-point conversion functions. * libc/machine/powerpc/configure: Regenerated. * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for %r and %R format specifiers which handle fixed-point data. * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto. * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point function prototypes.
* 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-1714-183/+380
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Move cmath stuff into libc/sys/linux. * Makefile.in: Regenerated. * configure.host: Default -DMB_CAPABLE for x86-linux. * libc/include/reent.h: Define _sbrk to take signed int argument. * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk. * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and make locale name checking more efficient. Also allow "C-ISO-8859-1" locale for LC_CTYPE and LC_MESSAGES. * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t. * libc/sys/linux/brk.c: Change sbrk prototype. * libc/sys/linux/include/time.h: Remove Cygwin stuff and include <sys/features.h>. (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID. (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID. * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h with a few local additions. * libc/sys/linux/sys/features.h: New file. * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes to take signed argument. * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk prototypes to take signed size argument.
* * include/winerror.h: Cast OLE error codes to HRESULT.Danny Smith2002-08-172-355/+360
|
* fix typoChristopher Faylor2002-08-171-1/+1
|
* * Makefile.in: Change COMPILE_C* definitions.Christopher Faylor2002-08-171-2/+2
|
* * libc/sys/linux/cmath: New directory.Thomas Fitzsimmons2002-08-1677-68/+5712
| | | | | | | | | | | | | | | | | | | * libc/sys/linux/include/cmathcalls.h: New file. * libc/sys/linux/include/complex.h: New file. * libc/sys/linux/machine/i386/huge_val.h: New file * libm/math/w_sincos.c: New file * libm/math/wf_sincos.c: New file * libm/mathfp/s_sincos.c: New file * libm/mathfp/sf_sincos.c: New file * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in. * libc/include/math.h: Add sincos and sincosf declarations. * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath. (SUBLIBS): Likewise. * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath. * libm/math/Makefile.am (src): Add w_sincos.c. (fsrc): Add wf_sincos.c. * libm/mathfp/Makefile.am (src): Add s_sincos.c (fsrc): Add sf_sincos.c.
* Missed this commit in last checkin.Christopher Faylor2002-08-161-74/+149
|
* * winsup.h: Remove malloc_*lock functions.Christopher Faylor2002-08-162-3/+4
|
* * Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. UseChristopher Faylor2002-08-1610-31/+5661
| | | | | | | | | | | | | | | | | -fomit-frame-pointer for malloc.o compilation. * malloc_wrapper.cc: New file. Rename from malloc.cc. Add support for more malloc functions. Eliminate export_* calls. Just use straight malloc names. Remove unused argument from malloc lock functions. * cygwin.din: Just export straight malloc names. Add malloc_stats, malloc_trim, malloc_usable_size, mallopt, memalign, valloc. * dcrt0.cc (__cygwin_user): Eliminate export_* malloc entries. * fork.cc (fork_parent): Remove unused argument from malloc_lock argument. * malloc.cc: New file. Doug Lea's malloc v2.7.1. * cygmalloc.h: New file. * include/cygwin/version.h: Bump API_MINOR. * sync.h (muto::acquire): Use appropriate number for regparm attribute. (muto::reset): Ditto. (muto::release): Ditto.
* * exceptions.cc (interrupt_setup): Ensure that the previous signal mask isChristopher Faylor2002-08-162-1/+7
| | | | properly saved.
* * dcrt0.cc: Modify define for CYGWIN_GUARD.Christopher Faylor2002-08-152-2/+8
| | | | (alloc_stack_hard_way): Just use CYGWIN_GUARD in VirtualAlloc call.
* present tenseChristopher Faylor2002-08-151-21/+20
|
* make comment more accurate.Christopher Faylor2002-08-151-4/+4
|
* * i370.h: Define relocs using reloc-macros.h.Alan Modra2002-08-152-2/+28
|
* * include/wincrypt.h (ALG_*): Add defines.Danny Smith2002-08-142-0/+73
| | | | | | | | (CALG_*): Ditto. (CRYPT_*): Ditto. (PP_*): Ditto. (PROV_*): Ditto. (PRIVATEKEYBLOB): Add define.
* * include/unistd.h: Add include of process.h.Earnie Boyd2002-08-142-0/+5
|
* * include/shlobj.h (SHGetFolderPath): Add define.Earnie Boyd2002-08-143-0/+14
| | | | | * lib/shell32.def (SHGetSpecialFolderPath): Add export. (SHGetFolderPath): Ditto.
* * m68hc11.h (M6812_OP_PAGE): Define to identify call operand.Stephane Carrez2002-08-132-6/+23
| | | | | | | (M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE, M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12 memory banks. (M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value.
* * regtool.cc (find_key): Add support for custom key separator.Christopher Faylor2002-08-132-3/+19
| | | | (usage): Document it.
* * m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,Stephane Carrez2002-08-132-1/+46
| | | | | | | | | EF_M68HC11_ABI): Define for ABI specification. (STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for linker and debugger. (R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs. (R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker relaxation.
* 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-132-3/+9
| | | | | | * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end): Declare as extern chars and use the address operator to properly use values set in linker script.
* * include/commdlg.h: Don't include COM headers if __OBJC__.Danny Smith2002-08-122-4/+9
|
* * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):Danny Smith2002-08-122-0/+9
| | | | Add prototypes.
* 2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>Danny Smith2002-08-122-0/+5
| | | | * include/shellapi.h (FOF_NOERRORUI): Add define.
* * fhandler.h (fhandler_socket::recv): Remove method.Conrad Scott2002-08-124-106/+28
| | | | | | | | | | | | | (fhandler_socket::send): Ditto. * fhandler_socket.cc (fhandler_socket::recv): Ditto. (fhandler_socket::send): Ditto. (fhandler_socket::read): Delegate to fhandler_socket::recvfrom. (fhandler_socket::write): Delegate to fhandler_socket::sendto. (fhandler_socket::sendto): Check for null `to' address. * net.cc (cygwin_sendto): Check for zero request length. (cygwin_recvfrom): Ditto. Fix signature, use void *buf. (cygwin_recv): Delegate to cygwin_recvfrom. (cygwin_send): Delegate to cygwin_sendto.
* * include/objidl.h (IEnumMoniker): Put 'interface' back.Danny Smith2002-08-112-1/+5
|
* * cygthread.cc (cygthread::cygthread): Close another race.Christopher Faylor2002-08-112-1/+12
|
* * assert.cc (__assert): Call debugger on assertion failure if debugging.Christopher Faylor2002-08-117-25/+41
| | | | | | | | | | | | | * dcrt0.cc (dll_crt0_1): Just wait for signal thread to go live rather than going through the overhead of invoking it. * fork.cc (fork_child): Ditto. * exceptions.cc (signal_fixup_after_fork): Call sigproc_init here. * sigproc.cc (proc_can_be_signalled): Assume that the signal thread is live. (sig_dispatch): Ditto. (sig_send): Ditto. (wait_for_sigthread): Renamed from "wait_for_me". Assume that wait_sig_inited has been set and that this function is only called from the main thread. * winsup.h (wait_for_sigthread): Declare new function.
* * include/objidl.h (IEnumMoniker): Correct declaration.Danny Smith2002-08-112-1/+5
|
* * w32sdk: New winsup module.Earnie Boyd2002-08-101-0/+4
|
* 2002-08-09 Jason Tishler <jason@tishler.net>Jeff Johnston2002-08-092-2/+19
| | | | | | | | * libc/stdlib/mallocr.c: Include <limits.h>. (request2size): Change macro to do unsigned long comparisons and avoid signed overflow. (mALLOc): Add overflow check for the number of bytes to allocate. (rEALLOc): Ditto.
* 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-099-192/+804
| | | | | | | | | | | | | | | * configure.host: Add check for --enable-newlib-io-pos-args and define WANT_IO_POS_ARGS flag if enabled. Define the flag by default for x86-linux configurations. * configure.in: Add support for --enable-newlib-io-pos-args. * libc/configure.in: Ditto. * configure: Regenerated. * libc/configure: Ditto. * libc/stdio/Makefile.am: Specify -fshort-enums for compiling vfprintf.c and vfiprintf.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/vfprintf.c: Add positional argument support that is enabled by compiling with -DWANT_IO_POS_ARGS.
* * include/commctrl.h: Whitespace change.Danny Smith2002-08-091-3/+3
|
* 2002-08-09 Mark Schreiber <mark7@users.sourceforge.net>Danny Smith2002-08-092-1/+10
| | | | | | | | * include/wincrypt.h (CRYPT_NOHASHOID): Add define. 2002-08-09 Danny Smith <dannysmith@users.sourceforge.net> * include/commctrl.h: Whitespace change.
* 2002-08-09 Lars Munch <lars@segv.dk>Danny Smith2002-08-092-5/+16
| | | | | | | * include/commctrl.h (tagTVHITTESTINFO): Replace obsolete struct name _TVHITTESTINFO and typedefs. Add defines for backward compatability. (ListView_SetExtendedListViewStyleEx): Add macro.
* * environ.cc (parse_options): Remember the "no" part of any options for laterChristopher Faylor2002-08-082-1/+7
| | | | export.
* * winsup.h (__check_null_invalid_struct): Make ptr argument non-const.Conrad Scott2002-08-086-150/+191
| | | | | | | | | | | | | | | | | | | | | | | | | (__check_null_invalid_struct_errno): Ditto. * miscfuncs.cc (__check_null_invalid_struct): Ditto. (__check_null_invalid_struct_errno): Ditto. (__check_invalid_read_ptr_errno): Remove superfluous cast. * net.cc (get): Set appropriate errno if fd is not a socket. (cygwin_sendto): Fix parameter checking. (cygwin_recvfrom): Ditto. (cygwin_setsockopt): Ditto. (cygwin_getsockopt): Ditto. (cygwin_connect): Ditto. (cygwin_gethostbyaddr): Ditto. (cygwin_accept): Ditto. (cygwin_bind): Ditto. (cygwin_getsockname): Ditto. (cygwin_listen): Ditto. (cygwin_getpeername): Ditto. (cygwin_send): Ditto. (cygwin_shutdown): Ditto. Move sigframe to fhandler_socket. (cygwin_recvmsg): Fix parameter checking. Add tracing. (cygwin_sendmsg): Ditto. * fhandler_socket.cc (fhandler_socket::shutdown): Add sigframe. * resource.cc (setrlimit): Fix parameter checking.
* Patch by Joe Buehler <jbuehler@hekimian.com>:Corinna Vinschen2002-08-082-1/+5
| | | | * sec_helper.cc (sec_acl): remove extraneous arg to debug_printf.
* Check symbols with undefine version.H.J. Lu2002-08-082-0/+12
|
* * libc/include/machine/setjmp.h: For mips, define _JBLEN basedRichard Sandiford2002-08-073-100/+74
| | | | | | based on __mips_soft_float rather than __mips64. * libc/machine/mips/setjmp.S: Provide hard and soft float versions of both 32-bit and 64-bit code.
* Fix by Conrad Scott <conrad.scott@dsl.pipex.com>:Corinna Vinschen2002-08-072-2/+7
| | | | * fhandler_socket.cc (fhandler_socket::accept): Fix FIONBIO call.
* one more changeChristopher Faylor2002-08-072-1/+2
|
* * cygheap.cc (_csbrk): Avoid !cygheap considerations.Christopher Faylor2002-08-072-20/+18
| | | | (cygheap_init): Deal with unintialized cygheap issues here.
* Conrad Scott <conrad.scott@dsl.pipex.comChristopher Faylor2002-08-063-3/+9
| | | | | * cygheap.cc (_csbrk): Allocate some slop initially. Don't erroneously add sbrk amount to returned value in initial case.
* Add hppa-openbsd targetNick Clifton2002-08-062-0/+5
|
* * spawn.cc (spawn_guts): Don't set mount_h here.Christopher Faylor2002-08-063-1/+7
| | | | | * sigproc.cc (init_child_info): Set it here instead. * shared.cc (cygwin_mount_h): Make NO_COPY.