summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * mount.cc (fs_info::update): Revert to open filesystem with access setCorinna Vinschen2009-07-232-5/+16
| | | | to READ_CONTROL. If that fails, try additionally with FILE_READ_DATA.
* * exceptions.cc (handle_exceptions): Set si_addr according toEric Blake2009-07-232-7/+14
| | | | POSIX for SIGSEGV.
* * mount.cc (fs_info::update): Open filesystem with access set to 0.Corinna Vinschen2009-07-222-4/+11
| | | | Explain why.
* * mount.cc: Revert accidental checkin.Corinna Vinschen2009-07-222-1/+5
|
* * path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED fromCorinna Vinschen2009-07-222-1/+8
| | | | NtCreateFile just like STATUS_EAS_NOT_SUPPORTED.
* * mount.cc (do_mount): Replace --no-executable flag with notexecCorinna Vinschen2009-07-223-2/+8
| | | | | mount option in hint for remote filesystems. * path.cc (getmntent): Fix typo (noexec -> notexec).
* * mount.cc (fillout_mntent): Fix typo (noexec -> notexec).Corinna Vinschen2009-07-222-2/+6
|
* * path.cc (symlink_info::check): Fix typo in comment.Corinna Vinschen2009-07-222-2/+6
|
* * fhandler.h (enum del_lock_called_from): New enumeration.Corinna Vinschen2009-07-224-7/+35
| | | | | | | | | | | (fhandler_base::del_my_locks): Declare taking a del_lock_called_from as argument. * fhandler.cc (fhandler_base::close): Call del_my_locks with "on_close". (fhandler_base::fixup_after_fork): Call del_my_locks with "after_fork". (fhandler_base::fixup_after_exec): Call del_my_locks with "after_exec". * flock.cc (fhandler_base::del_my_locks): Take del_lock_called_from as argument. Call node->del_my_locks with NULL handle in after_exec case. Explain why.
* * Makefile.in (path-mount.o): Add a rule to build stripped down versionCorinna Vinschen2009-07-226-26/+175
| | | | | | | | | | | | | | | | | | | | | | | of path.cc for usage in mount. (mount.exe): Add dependency to path-mount.o. * mount.cc (force): Convert to bool value. Accommodate throughout. (from_fstab): New function. (do_mount_from_fstab): New function. (longopts): Add --all option. (opts): Add -a option. (usage): Document -a/--all option. (main): Handle -a option as well as single parameter. * path.cc: Add FSTAB_ONLY conditional to allow building path-mount.o. (mount_table): Remove static storage class. (max_mount_entry): Ditto. (root_here): Unused. Remove. (from_fstab_line): Remove static. * path.h (struct mnt_t): Define here rather than in path.cc. (from_fstab_line): Declare. (mount_table): Declare. (max_mount_entry): Declare. * utils.sgml (mount): Document -a/--all option and mounting of single path from fstab files.
* Avoid a fault from locking a closed standard file.Eric Blake2009-07-222-5/+14
| | | | | * libc/stdio/fflush.c (_fflush_r): Give up early if stream has been previously closed.
* Add ccoutant to previous dwarf4 entry.Doug Evans2009-07-211-1/+2
|
* * dtable.cc (dup2): Correct return value for no-op.Corinna Vinschen2009-07-212-1/+5
|
* * lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry pointsCorinna Vinschen2009-07-213-2/+8
| | | | | from here... * lib/gdo32.dll: ...to here.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Add special caseCorinna Vinschen2009-07-212-6/+49
| | | | | | | for MVFS. Explain why. (fhandler_disk_file::utimens): Drop local variables lastaccess and lastwrite. Copy timestamps right into FILE_BASIC_INFORMATION structure to avoid copying them twice.
* Add some dwarf4 values.Doug Evans2009-07-202-1/+18
| | | | | | | * dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit. (enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc, DW_FORM_flag_present, DW_FORM_sig8. (enum dwarf_attribute): Add DW_AT_signature.
* * wincap.h (wincaps::has_always_all_codepages): New element.Corinna Vinschen2009-07-205-6/+71
| | | | | | | | | | | | | | | * wincap.cc: Implement above element throughout. * wchar.h (__sjis_mbtowc): Declare. (__eucjp_mbtowc): Ditto. (__gbk_mbtowc): Ditto. (__kr_mbtowc): Ditto. (__big5_mbtowc): Ditto. * syscalls.cc (internal_setlocale): Convert to char * function. Return parameter by default. Return NULL if request to use a charset can't be satisfied due to missing codepage support in the underlying OS. Fix comment. (setlocale): Store original locale. Restore to original locale if internal_setlocale returns NULL.
* * Makefile.in (all): Fix wrong target names.Corinna Vinschen2009-07-202-6/+14
| | | | | | (cygwin-ug-net/cygwin-ug-net-nochunks.html.gz): Ditto. (cygwin-ug-net/cygwin-ug-net.pdf): Convert to use docbook2pdf. (cygwin-api/cygwin-api.pdf): Ditto.
* * fork.cc (fork): Create local tmp_pathbuf. Explain why.Corinna Vinschen2009-07-202-0/+9
|
* * faq: Throughout, revert references to User's Guide to default URL.Corinna Vinschen2009-07-206-19/+23
|
* * new-features.sgml (ov-new1.7-misc): Add stdc++ new/delete wrappers.Corinna Vinschen2009-07-202-0/+8
|
* * new-features.sgml (ov-new1.7-posix): Add WCONTINUED, WIFCONTINUED.Corinna Vinschen2009-07-202-0/+6
|
* * setup2.sgml (setup-locale-charsetlist): Fix ISO88-59-13 and -15Corinna Vinschen2009-07-202-2/+7
| | | | codepage numbers.
* * exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.Christopher Faylor2009-07-185-4/+21
| | | | | | | | (stopped_or_terminated): Honor WCONTINUED. * wait.cc (wait4): Ditto. * include/cygwin/wait.h (WCONTINUED): Define. (__W_CONTINUED): Ditto. (WIFCONTINUED): Ditto.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-188-5/+58
| | | | | | * include/inttypes.h include/math.h include/stdio.h include/stdlib.h include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard to all inline functions.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-183-0/+13
| | | | | * CRT_fp8.c: Add PCC alternative to GCC-specific constructs. * CRT_fp10.c: Ditto.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-183-2/+8
| | | | | | * cpu_features.c: replace gcc-specific construct with portable alternative and match the code a few lines above. * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-182-12/+54
| | | | * include/_mingw.h: Changes required for PCC compiler.
* 2009-07-18 Jeff Lu <jll544@yahoo.com>Chris Sutcliffe2009-07-182-1/+5
| | | | * mingwex/usleep.c: round up to next ms
* 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-07-1810-300/+307
| | | | | | | * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
* * libstdcxx_wrapper.cc (operator delete): Remove stray space inDave Korn2009-07-172-1/+6
| | | | asm name.
* revert erroneous checkinChristopher Faylor2009-07-172-111/+36
|
* merge from gccDJ Delorie2009-07-172-0/+11
|
* * cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or weChristopher Faylor2009-07-175-43/+142
| | | | | | could still end up adding our handler twice. Add comment explaining what we're doing. * dll_init.cc (dll_dllcrt0_1): Clarify comment.
* * cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exceptionChristopher Faylor2009-07-172-0/+8
| | | | handler twice.
* * syscalls.cc (unlink_nt): Just return when a sharing violationCorinna Vinschen2009-07-172-1/+18
| | | | occurs on remote filesystems.
* PR other/40784Joseph Myers2009-07-172-2/+8
| | | | | * tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to AC_LINK_IFELSE.
* * globals.cc: Improve comment on R/O UNICODE_STRINGs.Corinna Vinschen2009-07-176-13/+48
| | | | | | | | | | * mount.h (class fs_info): Add is_mvfs bit. * mount.cc (fs_info::update): Recognize MVFS remote filesystem. (fillout_mntent): Reorder filesystem checks for speed. Add mvfs, unixfs, and sunwnfs filesystem types. * path.h (class path_conv): Add fs_is_mvfs method. * path.cc (symlink_worker): On MVFS, always create symlinks as Windows shortcuts. Explain why.
* * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library whenJoseph Myers2009-07-162-1/+24
| | | | cross-compiling.
* * syscalls.cc (unlink_nt): First remove the R/O DOS attribute withCorinna Vinschen2009-07-162-11/+32
| | | | | FILE_WRITE_ATTRIBUTES access only, then re-open the file for DELETE. Explain why.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Remove fileCorinna Vinschen2009-07-162-2/+6
| | | | attribute check already done in NtSetAttributesFile.
* * globals.cc: Reorder constant UNICODE_STRINGs for clarity.Corinna Vinschen2009-07-165-68/+81
| | | | | | | | | | | | | * mount.h (fs_info::sttaus): Move filesystem type flags into substructure. Add union to allow simple test for having set any one filesystem type flag. Replace has_buggy_open flag with is_sunwnfs flag. Replace has_buggy_fileid_dirinfo with is_unixfs flag. (fs_info::got_fs): New private method. (fs_info::has_buggy_open): New explicit implementation. (fs_info::has_buggy_fileid_dirinfo): Ditto. * mount.cc (fs_info::update): Optimize filesystem checks for speed. * winsup.h (IMPLEMENT_STATUS_FLAG): Change write accessor to return value just set.
* * fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove.Corinna Vinschen2009-07-152-12/+18
| | | | | | (thread_netdrive): Drop GET_RESOURCE_INFO case. (fhandler_netdrive::exists): Use GET_RESOURCE_OPENENUM info class to check for existance.
* * strace.cc (main): Open trace output file in UNIX mode.Corinna Vinschen2009-07-152-2/+7
|
* * fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove uselessCorinna Vinschen2009-07-152-1/+5
| | | | alloca.
* * path.cc (cwdstuff::set): Only fix up UNC path in win32 so as notCorinna Vinschen2009-07-152-1/+10
| | | | to overwrite incoming path.
* * mep/syscalls.S (sysret): Maintain 16-byte stack alignment.DJ Delorie2009-07-142-2/+6
|
* Throughout avoid having to initialize constant UNICODE_STRINGs.Corinna Vinschen2009-07-1410-75/+98
| | | | | | | | | | | | | | | | | | | | | | * globals.cc: Define constant UNICODE_STRINGs and store in .rdata section. * fhandler_disk_file.cc: Throughout, use readonly UNICODE_STRINGs rather then initializing local UNICODE_STRING variable where applicable. * fhandler_mem.cc (fhandler_dev_mem::open): Ditto. * flock.cc (inode_t::inode_t): Ditto. * mmap.cc: Ditto. * syscalls.cc: Ditto. * mount.cc (fs_info::update): Ditto. * path.cc: Ditto. * ntdll.h (RtlEqualUnicodePathPrefix): Redefine to take prefix as UNICODE_STRING. (RtlEqualUnicodePathSuffix): Redefine to take suffix as UNICODE_STRING. * fhandler_disk_file.cc: Accommodate throughout. * mount.cc (fs_info::update): Ditto. * path.cc (cwdstuff::set): Ditto. * syscalls.cc: Ditto.
* * globals.cc (active_codepage): Remove.Corinna Vinschen2009-07-142-3/+4
|
* * cygcheck.cc (dump_sysinfo): Remove "not yet supported" text.Corinna Vinschen2009-07-132-5/+6
|