summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-07-122-3/+9
| | | | * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
* 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>Chris Sutcliffe2009-07-1228-1431/+1339
| | | | | | | | | | | | | | | | | | * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files. * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org sources as of Apr. 20, 2009. Update further to match the sources in the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the double/ulong union from U to dbl_union for better grepping and white- space tidy-ups.
* * how-spawn-works.txt: Add "out of date" note.Christopher Faylor2009-07-123-1/+7
| | | | * how-vfork-works.txt: Ditto.
* * Makefile.in: Don't do anything special with any RCS directories.Christopher Faylor2009-07-125-3/+15
| | | | | | * ntdll.h (PROCESSINFOCLASS): Remove unneeded trailing comma. * pinfo.cc (_pinfo::dup_proc_pipe): Remove unneeded assignment. * sigproc.cc (sig_send): Don't send signal to myself if this is an exec stub.
* * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Don't useCorinna Vinschen2009-07-122-20/+45
| | | | | FileAllInformation info class since it needs a big buffer. Add a comment.
* bfdTom Tromey2009-07-103-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. (elf-eh-frame.lo): Likewise. (elf32-bfin.lo): Likewise. (elf32-frv.lo): Likewise. (elf32-xc16x.lo): Likewise. * Makefile.in: Rebuild. * dwarf2.c: Included dwarf.h, not elf/dwarf2.h. * elf-eh-frame.c: Likewise. * elf32-bfin.c: Likewise. * elf32-frv.c: Likewise. * elf32-xc16x.c: Likewise. binutils * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. * Makefile.in: Rebuild. * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. gas * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not elf/dwarf2.h. (DEPTC_alpha_elf): Likewise. (DEPTC_alpha_evax): Likewise. (DEPTC_arm_elf): Likewise. (DEPTC_hppa_elf): Likewise. (DEPTC_i386_aout): Likewise. (DEPTC_i386_coff): Likewise. (DEPTC_i386_elf): Likewise. (DEPTC_m68k_aout): Likewise. (DEPTC_m68k_coff): Likewise. (DEPTC_m68k_elf): Likewise. (DEPTC_mips_coff): Likewise. (DEPTC_mips_ecoff): Likewise. (DEPTC_mips_elf): Likewise. (DEPTC_ppc_coff): Likewise. (DEPTC_ppc_elf): Likewise. (DEPTC_s390_elf): Likewise. (DEPTC_sh_coff): Likewise. (DEPTC_sh_elf): Likewise. (DEPTC_sh64_elf): Likewise. (DEPTC_sparc_aout): Likewise. (DEPTC_sparc_coff): Likewise. (DEPTC_sparc_elf): Likewise. (as.o): Likewise. (dwarf2dbg.o): Likewise. (dw2gencfi.o): Likewise. (ehopt.o): Likewise. (read.o): Likewise. * Makefile.in: Rebuild. * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. * dwarf2dbg.c: Likewise. * ehopt.c: Likewise. gdb * dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h. * dwarf2expr.c: Likewise. * dwarf2loc.c: Likewise. * dwarf2read.c: Likewise. * sh-tdep.c: Likewise. * xtensa-tdep.c: Likewise. include * dwarf2.h: New file, moved from elf/. include/elf * dwarf2.h: Move to `..'.
* 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-07-102-847/+5
| | | | * dwarf2.h: Just include ../dwarf2.h.
* STT_GNU_IFUNC support for PowerPC.Alan Modra2009-07-103-7/+20
|
* merge from gccDJ Delorie2009-07-092-0/+9
|