summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * how-to-debug-cygwin.txt: Fix typo.Joshua Daniel Franklin2005-04-252-2/+6
|
* * mingwex/mbrtowc.c: New file.Danny Smith2005-04-248-26/+364
| | | | | | | | | | | | | * mingwex/wcrtomb.c: New file. * mingwex/btowc.c: New file. * mingwex/wctob.c: New file. * mingwex/mb_wc_common.h: New file. * mingwex/Makefile.in (DISTFILES): Add new files. (Q8_OBJS): Add new objects. * include/wchar.h: Adjust comment about mbrtowc() and related funcions. Add __restrict__ to pointer params in prototypes. (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove arg names from protototypes.
* 2005-04-23 Wu Yongwei <adah@sh163.net>Danny Smith2005-04-242-7/+18
| | | | | | | mingwex/dirent.c: Formatting changes. mingwex/dirent.c (_topendir): Make the end-of-path slash check MBCS-safe.
* * shared.cc (user_shared_initialize): Implement locking similar to shared_infoChristopher Faylor2005-04-232-1/+10
| | | | when initializing shared region.
* * fhandler.h (dev_console::set_color): Define new function.Christopher Faylor2005-04-223-63/+84
| | | | | | | | | | | | | | | | (dev_console::set_default_attr): Ditto, moved from fhandler_console. (dev_console::fillin_info): Ditto. Accommodate this change throughout this file. (fhandler_console::get_win32_attr): Eliminate. * fhandler_console.cc (fhandler_console::get_tty_stuff): Properly set default attributes on initialization. (fhandler_console::open): Set current attributes rather than default color on open. (fhandler_console::get_win32_attr): Eliminate. (dev_console::set_color): New function. Move get_win32_attr stuff here. (dev_console::set_default_attr): New function, moved from fhandler_console. (dev_console::fillin_info): Ditto. (fhandler_console::char_command): Call set_color to set screen characteristics.
* * fhandler.cc (fhandler_base::read): Remove unused signal state tweaks.Christopher Faylor2005-04-227-80/+77
| | | | | | | | | | | | * fhandler.h (fhandler_pipe::create_selectable): Declare. (fhandler_fifo::close_one_end): Declare. * fhandler_fifo.cc (fhandler_fifo::close_one_end): Define. (fhandler_fifo::open_not_mine): Use close_one_end to close appropriate end of pipe. * pinfo.cc (_pinfo::commune_recv): Ditto. * pipe.cc (fhandler_pipe::create_selectable): Rename from create_selectable_pipe. Reorganize. (fhandler_pipe::create): Use create_selectable.
* * shared.cc (shared_info::initialize): Test previous version of shared memoryChristopher Faylor2005-04-212-9/+13
| | | | | magic rather than current version when determining if there has been a shared memory mismatch.
* revert erroneous checkinChristopher Faylor2005-04-201-13/+0
|
* * sigproc.cc (proc_subproc): Fix handling of waiting for pids with zero value.Christopher Faylor2005-04-203-1/+21
| | | | * strace.cc (strace::hello): Report parent pid of executing process.
* * path.cc (path_conv::check): Fix problem reading symlinks introduced in belowChristopher Faylor2005-04-202-11/+29
| | | | | change by reverting the change and adding an additional test for nonexistent files in /proc.
* * pathnames.sgml (mount-table): Indicate that user-specificCorinna Vinschen2005-04-202-1/+8
| | | | mounts override system-wide.
* * utils.sgml (mount): Clarify setting cygdrive prefix for userCorinna Vinschen2005-04-202-3/+10
| | | | and system-wide.
* * fhandler-tut.txt: Update description to cygwin 1.5.13Christopher Faylor2005-04-202-10/+25
|
* * path.cc (path_conv::check): Punt when attempting to access a nonexistentChristopher Faylor2005-04-202-1/+7
| | | | directory or file in /proc.
* merge from gccDJ Delorie2005-04-197-30/+36
|
* 2005-04-19 Eric Christopher <echristo@redhat.com>Eric Christopher2005-04-192-3/+9
| | | | | * mips/regs.S: Sign extend constants for mips64 and unify address handling.
* * cygwinenv.sgml: Mention that check_case is deprecated.Corinna Vinschen2005-04-192-1/+8
|
* * security.cc (alloc_sd): Remove DELETE bit from user's ACE ifCorinna Vinschen2005-04-192-0/+13
| | | | allow_traverse is set.
* * cygwin.din (pselect): Export.Corinna Vinschen2005-04-195-1/+44
| | | | | | * select.cc (pselect): New function. * include/cygwin/version.h: Bump API minor number. * include/sys/select.h: Include signal.h. Declare pselect.
* gas/ChangeLog:Mark Kettenis2005-04-182-4/+17
| | | | | | | | | | * config/tc-i386.c (md_begin): Allow hyphens in mnemonics. include/opcode/ChangeLog: * i386.h: Insert hyphens into selected VIA PadLock extensions. Add xcrypt-ctr. Provide aliases without hyphens. opcodes/ChangeLog: * i386-dis.c: Insert hyphens into selected VIA PadLock extensions. Add xcrypt-ctr.
* * fhandler.h (enum conn_state): Add connect_failed state.Corinna Vinschen2005-04-185-17/+50
| | | | | | | | | | | | | | | | | * fhandler_socket.cc (fhandler_socket::connect): Set connect_state to connect_failed when connect failed. * poll.cc (poll): Change errno to EINVAL if allocating memory fails, according to SUSv3. Add socket descriptors always to except_fds. Test for failed connect and set revents flags appropriately. * select.cc (set_bits): Set connect_state to connect_failed when select indicates failed nonblocking connect. (fhandler_dev_null::select_except): Set except_ready to false so that /dev/null is not always in except state. (peek_socket): Fix bogus conditional. (fhandler_socket::select_write): Treat all connect_states except unconnected equivalent to return consistent results. (fhandler_windows::select_except): Set except_ready to false so that /dev/windows is not always in except state.
* * include/cygwin/version.h: Bump DLL minor number to 16.Christopher Faylor2005-04-182-1/+5
|
* * grp.cc (initgroups32): Return the correct value.Corinna Vinschen2005-04-182-1/+5
|
* * configure.host <cris-*-* | crisv32-*-*>: SetHans-Peter Nilsson2005-04-182-0/+6
| | | | default_newlib_io_long_long="yes".
* Actually check in files.Christopher Faylor2005-04-174-10/+10
|
* merge from gccDJ Delorie2005-04-162-0/+10
|
* * fhandler_disk_file.cc (fhandler_base::utimes_fs): IgnoreCorinna Vinschen2005-04-163-2/+18
| | | | | | ERROR_NOT_SUPPORTED to workaround Win9x weirdness. * path.cc (symlink_info::check): Remap ERROR_INVALID_FUNTION to ERROR_FILE_NOT_FOUND for the same reason.
* * security.h (cygsidlist::addfromgr): Allow duplicate entries.Corinna Vinschen2005-04-164-67/+132
| | | | | | | | | | | | (get_server_groups): Declare new function. * security.cc (is_group_member): Simplify. (get_server_groups): New function. (get_initgroups_sidlist): Call get_server_groups. (verify_token): Allow token when supplementary sids are not in /etc/group but are in the token. Streamline the code. * grp.cc (initgroups32): New implementation. (getgroups32): Handle case where the supplementary groups are set.
* * cygwinenv.sgml: Add new words for (no)traverse option.Corinna Vinschen2005-04-162-4/+10
|
* * environ.cc (environ_init): Don't set traverse checking as default.Corinna Vinschen2005-04-162-5/+6
|
* * fhandler_disk_file.cc (fhandler_base::utimes_fs): Drop touchingCorinna Vinschen2005-04-162-4/+7
| | | | ChangeTime.
* * fhandler.cc (fhandler::dup): Duplicate flags, too.Christopher Faylor2005-04-165-8/+32
| | | | | | | | | | | | | | | | | * fhandler.h (fhandler_fifo::owner): Eliminate. * fhandler_disk_file.cc (fhandler_base::fstat_fs): Handle on-disk devices better. (fhandler_base::fstat_helper): Ditto. * fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Don't initialize obsolete "owner". (fhandler_fifo::open_not_mine): Add some debugging. Duplicate correct handle when we own it. (fhandler_fifo::open): Set flags from input, not from first pipe. Flag that fork fixup is needed. (fhandler_fifo::dup): Set errno correctly when DuplicateHandle fails. * pinfo.cc (commune_send): Add debugging for fifo. * cygwin/version.h: Bump API minor version to 127 to reflect exporting of sigrelese.
* * syscalls.cc (setuid32): Correct debugging output.Corinna Vinschen2005-04-152-1/+6
|
* * dcrt0.cc (do_global_dtors): Run DLL dtors.Christopher Faylor2005-04-1410-18/+62
| | | | | | | | | | | | | | | | | (__main): Don't rely on atexit to run dtors. (do_exit): Specifically call do_global_dtors here. (cygwin_exit): Ditto. * dll_init.cc (dll_global_dtors): Make global. Only run dtors once. (dll_list::init): Just set flag that dtors should be run. Don't rely on atexit. * dll_init.h (dll_global_dtors): Declare. * exceptions.cc (sigrelse): Define. * path.h (is_fs_device): New method. (is_lnk_special): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::link): Use "is_lnk_special" rather than "is_lnk_symlink". * syscalls.cc (rename): Ditto. * hookapi.cc (ld_preload): Use colon as a separator rather than space.
* .Christopher Faylor2005-04-141-3/+1
|
* merge from gccDJ Delorie2005-04-143-3/+18
|
* Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103.H.J. Lu2005-04-136-74/+83
|
* * fhandler.h (class fhandler_socket): Remove utimes.Corinna Vinschen2005-04-133-12/+5
| | | | * fhandler_socket.cc (fhandler_socket::utimes): Remove.
* Move entries to appropriate ChangeLog files.H.J. Lu2005-04-133-77/+73
|
* * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32Corinna Vinschen2005-04-1310-38/+54
| | | | | | | | | | | | | | error code as well as errno. Use throughout where errno is set from NT status. (set_errno): Evaluate val only once. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fix typo in debug output. * fhandler_mem.cc (fhandler_dev_mem::open): Rely on __seterrno_from_nt_status setting Win32 error code in debug output. * fhandler_proc.cc (format_proc_uptime): Ditto. (format_proc_stat): Ditto. * fhandler_process.cc (format_process_stat): Ditto. * sysconf.cc (sysconf): Ditto.
* * fhandler.h (fhandler_base::utimes_fs): New method.Christopher Faylor2005-04-134-4/+29
| | | | | | * fhandler.cc (fhandler_base::utimes): Call utimes_fs if on-disk special file. * fhandler_disk_file.cc (fhandler_disk_file::utimes): Use utimes_fs. (fhandler_base::utimes_fs): Handle on-disk device files.
* * fhandler_disk_file.cc (fhandler_disk_file::utimes): Don't set errnoCorinna Vinschen2005-04-132-4/+7
| | | | if open fails, it has already been set by open.
* 2005-04-12 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-04-132-2/+8
| | | | | | * libgloss/arm/Makefile.in (RDPMON_BSP): librdpmon.a was empty due to a typo. Fixed. (RDIMON_BSP): Ditto.
* 2005-04-12 Paul Brook <paul@codesourcery.com>Paul Brook2005-04-122-16/+20
| | | | * opcode/m88k.h: Rename psr macros to avoid conflicts.
* include/opcode/ChangeLog:Mark Kettenis2005-04-122-9/+14
| | | | | | | | * i386.h (i386_optab): Mark VIA PadLock instructions as ImmExt and adjust them accordingly. gas/ChangeLog: * config/tc-i386.c (output_insn): Handle VIA PadLock instructions similar to other instructions now that they're marked as ImmExt.
* * autoload.cc (NtQueryVolumeInformationFile): Add.Corinna Vinschen2005-04-126-66/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.cc (fhandler_base::raw_write): Don't touch has_changed flag. * fhandler.h (enum change_state): Remove. (fhandler_base::status): Revert has_changed to a simple bit. (fhandler_base::fstat_helper): Add nAllocSize parameter. Rename ftCreationTime to ftChangeTime. * fhandler_disk_file.cc: Call fstat_helper with additional allocation size throughout. (fhandler_base::fstat_by_handle): Use NT native functions to get full file information on NT. Call fstat_helper with LastWriteTime as ctime, if ChangeTime is not available. (fhandler_base::fstat_by_name): Call fstat_helper with LastWriteTime as ctime. (fhandler_base::fstat_helper): Add comment. Drop special FAT handling since it's useless. Use nAllocSize for st_blocks if available. (fhandler_disk_file::touch_ctime): Only touch LastWriteTime. (fhandler_disk_file::fchmod): Set has_changed on 9x only. (fhandler_disk_file::fchown): Don't set has_changed. (fhandler_disk_file::facl): Ditto. (fhandler_disk_file::ftruncate): Ditto. (fhandler_disk_file::link): Set has_changed on 9x only and on original file only. (fhandler_base::open_fs): Don't set has_changed in O_TRUNC case. * ntdll.h (FILE_BASIC_INFORMATION): Define. (FILE_STANDARD_INFORMATION): Define. (FILE_INTERNAL_INFORMATION): Define. (FILE_EA_INFORMATION): Define. (FILE_ACCESS_INFORMATION): Define. (FILE_POSITION_INFORMATION): Define. (FILE_MODE_INFORMATION): Define. (FILE_ALIGNMENT_INFORMATION): Define. (FILE_NAME_INFORMATION): Don't define with arbitrary FileName size. (FILE_ALL_INFORMATION): Define. (FILE_INFORMATION_CLASS): Add FileAllInformation. (FILE_FS_VOLUME_INFORMATION): Define. (FS_INFORMATION_CLASS): Define. (NtQueryVolumeInformationFile): Define.
* * mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,Richard Sandiford2005-04-1215-28/+36
| | | | | | | * mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld, * mips/jmr3904app-java.ld, mips/jmr3904app.ld, * mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, * mips/nullmon.ld, mips/pmon.ld: Keep .init and .fini.
* Fix ChangeLog entry.Corinna Vinschen2005-04-111-1/+1
|
* Revert previous patch.Corinna Vinschen2005-04-115-29/+37
| | | | | | | * autoload.cc (GetVolumePathNamesForVolumeNameA): Remove. * autoload.cc (GetVolumeNameForVolumeMountPointA): Add. * syscalls.cc (sync): Rewrite guid case to skip floppies also on Windows 2000.
* * syscalls.cc (sync): Use renamed has_get_volume_pathnames wincap.Corinna Vinschen2005-04-114-15/+23
| | | | | | | * wincap.h (wincaps::has_get_volume_pathnames): Rename from has_guid_volumes * wincap.cc: Accomodate above rename throughout. Set to false on Windows 2000.