summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-063-0/+575
| | | | | * libc/sys/rtems/include/inttypes.h: New file. * libc/sys/rtems/include/stdint.h: Ditto.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-062-2/+6
| | | | * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-063-22/+11
| | | | | | | | | * libc/include/machine/_types.h: New file. * libc/include/sys/types.h: Do not check for __rtems__ when including <machine/_types.h>. Remove some redundant declarations now that <machine/_types.h> is included. * libc/sys/rtems/machine/_types.h: Removed. Replaced with shared header file.
* * sync.h (sync::init_lock): Declare new static member.Christopher Faylor2005-03-063-7/+25
| | | | | | | | (sync::init()): Declare new static function. * sync.cc (sync::init): Define. (sync::init): Lock attempt to initialize a muto to stop multiple threads from colliding. * dcrt0.cc (dll_crt0_0): Initialize muto environment.
* * path.cc (special_name): Reorganize to always detect the use of special namesChristopher Faylor2005-03-062-14/+16
| | | | first, before detecting special characters.
* * cygpath.cc (usage): Pass in one more copy of program_name to printf to avoidChristopher Faylor2005-03-062-1/+6
| | | | a SEGV.
* * pathnames.sgml: Clarify binmode/textmode behavior slightly.Christopher Faylor2005-03-063-18/+25
| | | | * textbinary.sgml: Ditto.
* * fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT as thatChristopher Faylor2005-03-042-2/+8
| | | | | is what is returned by GetPriorityClipboardFormat. (fhandler_dev_clipboard::read): Ditto for the format variable.
* * fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.Corinna Vinschen2005-03-042-6/+23
|
* * fhandler_socket.cc (fhandler_socket::ioctl): Only cancelCorinna Vinschen2005-03-042-1/+6
| | | | WSAAsyncSelect when async mode is on.
* * cygwin.din (utmpxname): Export.Corinna Vinschen2005-03-036-2/+26
| | | | | | | | * syscalls.cc (utmpxname): Create export alias to utmpname. * include/utmpx.h: Define ut_name and ut_xtime if not already defined. (utmpxname): Add prototype. * include/sys/utmp.h: Only define ut_name if not already defined. * include/cygwin/version.h: Bump API minor version.
* * cygthread.cc (cygthread::detach): Use a slightly higher priority when waitingChristopher Faylor2005-03-032-1/+6
| | | | for thread signalling.
* Add Pierre's security text.Joshua Daniel Franklin2005-03-032-11/+10
|
* restore commentChristopher Faylor2005-03-031-0/+1
|
* update copyright datesAlan Modra2005-03-0347-50/+59
|
* fix changelog garblingChristopher Faylor2005-03-031-4/+3
|
* * autoload.cc (std_dll_init): Save and restore fpu control register aroundChristopher Faylor2005-03-032-2/+12
| | | | | LoadAddress to prevent loaded dlls (like msvcrt.dll) from setting unwanted stuff.
* * cygtls.cc (_cygtls::remove): Don't attempt any removal activities if exitsockChristopher Faylor2005-03-032-1/+9
| | | | is zero.
* * cygtls.cc (_cygtls::init_thread): Move exitsock setting later. It shouldChristopher Faylor2005-03-032-2/+8
| | | | | always be set. (_cygtls::remove): Detect zero exitsock. Not quite sure why this is needed.
* * mips.h: Define MIPS TLS relocations.Daniel Jacobowitz2005-03-022-2/+22
|
* * autoload.cc (LoadDLLprime): Mask error code to low-order 16 bits.Christopher Faylor2005-03-022-2/+7
| | | | (noload): Preserve sign when returning error code.
* * spawn.cc (do_cleanup): Properly restore SIGINT/SIGQUIT even if they hadChristopher Faylor2005-03-022-6/+11
| | | | previously been SIG_DFL.
* * fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): ReplaceCorinna Vinschen2005-03-023-9/+10
| | | | | | GetSystemTime/SystemTimeToFileTime with GetSystemTimeAsFileTime. * times.cc (time_as_timestruc_t): Ditto. (time): Ditto.
* PR libgcj/20160Alexandre Oliva2005-03-012-0/+64
| | | | | * ltmain.sh: Avoid creating archives with components that have duplicate basenames.
* * include/cygwin/version.h: Bump DLL minor number to 14.Christopher Faylor2005-03-012-1/+5
|
* merge from gccDJ Delorie2005-03-012-0/+8
|
* * fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never setCorinna Vinschen2005-03-017-64/+65
| | | | | | | | | | | | | errno to 0. (fhandler_dev_clipboard::read): Ditto. * fhandler_windows.cc (fhandler_windows::read): Ditto. * scandir.cc (scandir): Ditto. * syscalls.cc (_fstat64_r): Ditto. (_fstat_r): Ditto. (_stat64_r): Ditto. (_stat_r): Ditto. * mmap.cc (mmap64): Fix /dev/zero mapping.
* 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>Paolo Bonzini2005-02-283-65/+72
| | | | | | | PR bootstrap/20250 * Makefile.tpl (HOST target installs): Fix copy and pasto, use install instead of check. * Makefile.in: Regenerate.
* 2005-02-28 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-02-288-3412/+3369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync from gcc. 2005-02-28 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * Makefile.def (target_modules): Remove "stage", now unnecessary. * Makefile.tpl (HOST_SUBDIR): New substitution. (STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET, USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET, USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET, USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it. (Host modules, Bootstrapped modules): Use it. (Build modules, Target modules): Do not create symlink trees, always configure out-of-srcdir. (distclean): Try removing $(host_subdir) with rm before using rm -rf. * configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use $(HOST_SUBDIR). Create a symlink for host_subdir. * Makefile.in: Regenerate. * configure: Regenerate. Merged from libada-gnattools-branch: 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.def: Add gnattools as a module, depending on target-libada. * Makefile.in: Regenerate. * configure.in: Include gnattools in host_tools; disable it if ada is disabled. * configure: Regenerate. config: 2005-02-28 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src gcc build is going.
* * fhandler.h (class fhandler_socket): Declare new methodCorinna Vinschen2005-02-286-36/+132
| | | | | | | | | | | | | | | | | | set_socketpair_eids. * fhandler_socket.cc (fhandler_socket::set_socketpair_eids): New method. (fhandler_socket::dup): Duplicate sec_pipe if necessary. (fhandler_socket::listen): Only create sec_pipe if named pipes are available. Initialized sec_peer_pid to 0 as on Linux. (fhandler_socket::connect): Only run eid credential transaction if named pipes are available. Fake otherwise. Initialized sec_peer_pid to 0 as on Linux. (fhandler_socket::accept): Ditto. (fhandler_socket::close): Move closing sec_pipe handle from here... (fhandler_socket::~fhandler_socket): ... to here. * net.cc (socketpair): Set eid credentials by calling fhandler_socket::set_socketpair_eids() on both socket ends. * wincap.h (wincaps::has_named_pipes): New element. * wincap.cc: Implement above element throughout.
* remove unneeded blank lineChristopher Faylor2005-02-281-1/+0
|
* * regtool.cc (opts): The argument to 'K' is not optional.Christopher Faylor2005-02-272-5/+8
| | | | (main): Revert previous change. Just let getopt deal with missing argument.
* * regtool.cc (main): Avoid a SEGV when nothing follows -K.Christopher Faylor2005-02-272-1/+8
|
* * sigproc.cc (_pinfo::set_ctty): Move functionChristopher Faylor2005-02-276-26/+46
| | | | | | | | | | * pinfo.cc (_pinfo::set_ctty): to here. * fhandler_mem.cc (fhandler_dev_mem::fstat): Don't fill out structure if this is an on-disk device rather than an "auto" device. * fhandler_raw.cc (fhandler_dev_raw::fstat): Ditto. * path.cc (normalize_posix_path): Don't treat a standalone '//' as introducing a UNC path. (normalize_win32_path): Ditto.
* * kill (getsig): Avoid buffer overflow when generating a signal name.Christopher Faylor2005-02-273-3/+9
| | | | * strace.cc (handle_output_debug_string): Make error a little more specific.
* * debug.cc (delete_handle): Report on handle value in debugging output.Christopher Faylor2005-02-268-37/+51
| | | | | | | | | | | | | | | | | | * pinfo.h (_pinfo::exists): Declare "new" function. (_pinfo::kill): Ditto. * fhandler_termios.cc (tty_min::kill_pgrp): Use _pinfo::exists rather than proc_exists. * pinfo.cc (pinfo::init): Ditto. Don't do a low_priority_sleep(0) when looping to find exec'ed procinfo. (pinfo::release): Be more careful about unmapping and closing. * signal.cc (_pinfo::kill): Rename from kill_worker. Accommodate entry into _pinfo class. (kill0): Use _pinfo::kill rather than kill_worker. (kill_pgrp): Ditto. Use _pinfo::exists rather than proc_exists. * sigproc.cc (_pinfo::exists): Rename from proc_exists. (pid_exists): Use _pinfo::exists rather than proc_exists. (remove_proc): Ditto. * sigproc.h (proc_exists): Delete declaration.
* 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-02-252-2/+7
| | | | | * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add L qualifier for these long constants.
* 2005-02-25 Eric Blake <ebb9@byu.net>Jeff Johnston2005-02-257-22/+42
| | | | | | | | | | | * libc/include/time.h (__tzrule_struct): Make offset long, since a 16-bit int overflows on a 12-hour offset. * libc/sys/linux/include/time.h: Ditto. * libc/time/mktime.c (mktime): Use new type of __tzrule.offset. * libc/time/mktm_r.c: Ditto. * libc/time/gettzinfo.c: Ditto. * libc/time/strftime.c (strftime): Fix '%x' to deal with negative years. Fix '%z' to use long, not int.
* * fhandler.h (class fhandler_base): Declare fixup_mmap_after_forkCorinna Vinschen2005-02-255-68/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | with additional flags parameter. Change offset parameter to _off64_t. (class fhandler_disk_file): Ditto. (class fhandler_dev_mem): Ditto. * fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork): Accomodate new parameters. * mmap.cc: Include ntdll.h. (class mmap_record): Add flags member. (mmap_record::mmap_record): Add flags parameter. (mmap_record::get_flags): New method. (class map): Add next_anon_addr member to store next anonymous mapping address suggestion. (map::get_next_anon_addr): New method. (map::set_next_anon_addr): New method. (mmap64): Don't align offset and length to granularity in case of MAP_ANONYMOUS on NT. Check for already existing mapping only on 9x. Call mmap_record::mmap_record with additional flags argument. (fhandler_base::fixup_mmap_after_fork): Accomodate new parameters. (fhandler_disk_file::mmap): Use NtMapViewOfSection with AT_ROUND_TO_PAGE flag for anonymous mappings on NT. If addr is NULL, try to map adjacent to previous mapping. (fhandler_disk_file::fixup_mmap_after_fork): Add flags argument. Change offset parameter to _off64_t. Use NtMapViewOfSection to re-create anonymous mappings on NT. (fixup_mmaps_after_fork): Accomodate new parameters when calling fhandler's fixup_mmaps_after_fork function. * ntdll.h (AT_ROUND_TO_PAGE): New define.
* * Fix ChangeLog entries.Corinna Vinschen2005-02-251-3/+3
|
* * mmap.cc (mmap64): Handle MAP_FIXED request on non-granulationCorinna Vinschen2005-02-252-1/+10
| | | | boundary.
* * mmap.cc (class mmap_record): Declare new map_pages method withCorinna Vinschen2005-02-252-17/+104
| | | | | | | | | | address parameter. (mmap_record::map_pages): New method with address parameter. (mmap64): Evaluate access mode before checking if already existing mapping can be used. Only use existing mapping if requested access mode matches the one in the existing mapping. Add check for existing mapping for MAP_FIXED case.
* * include/wctype.h (wctrans) Remove _CRTIMP.Danny Smith2005-02-252-4/+10
| | | | | (towctrans): Likewise. (wctype): Likewise,
* * include/wctype.h: Add comment on wctrans, towctrans, wctype.Danny Smith2005-02-252-0/+12
|
* * mingwex/wctype.c: New file.Danny Smith2005-02-254-4/+131
| | | | | | * mingwex/wctrans.c: New file. * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c. * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
* Add (int) cast.Jeff Johnston2005-02-241-1/+1
|
* 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-02-243-3/+9
| | | | | | * libm/common/s_fpclassify.c: Use __uint32_t instead of int to manipulate float values in integer form. * libm/common/sf_round.c: Ditto.
* 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-02-244-18/+163
| | | | | | | * libc/include/sys/types.h [__rtems__]: Include new header file machine/_types.h. * libc/include/machine/types.h: Ditto. * libc/sys/rtems/machine/_types.h: New file.
* Fix minor typoJoshua Daniel Franklin2005-02-241-3/+3
|
* *README: New file.Joshua Daniel Franklin2005-02-242-0/+34
|