summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).Nick Clifton2008-05-216-1/+34
| | | | | | * iq2000/crt0.S (__dso_handle): Define (weak). * frv/crt0.S (__dso_handle): Define (weak). * mn10300/crt0.S (___dso_handle): Define (weak).
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test forCorinna Vinschen2008-05-202-1/+6
| | | | S_IFSOCK in mode bits.
* * path.cc (symlink_worker): Fix EA buffer size info given toCorinna Vinschen2008-05-202-5/+11
| | | | | | NtCreateFile. (symlink_info::check_nfs_symlink): Get 64K buffer for EA buffer. Change EA buffer size info given to NtQueryEaFile accordingly.
* * path.cc (symlink_info::check_shortcut): Minimize requested fileCorinna Vinschen2008-05-202-5/+14
| | | | | | | access flags. (symlink_info::check_sysfile): Ditto. Add missing `else'. (symlink_info::check): Only retry to open file if first try failed with access denied.
* 2008-05-20 DJ Delorie <dj@redhat.com>Jeff Johnston2008-05-202-1/+5
| | | | * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
* * path.cc (fs_info::update): Re-add opening the unsplitted pathCorinna Vinschen2008-05-202-0/+7
| | | | for fillout_mntent's sake.
* * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directoriesCorinna Vinschen2008-05-202-1/+27
| | | | on NFS shares with correct mode bits.
* * winsup.h (cygwin_inet_addr): Fix type of declaration.Corinna Vinschen2008-05-202-1/+6
|
* * Makefile.in (DLL_OFILES): Add nfs.o.Corinna Vinschen2008-05-2010-157/+527
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.cc (fhandler_base::open): Open files on NFS shares with correct access flags and EAs. * fhandler.h (fhandler_base::fstat_by_nfs_ea): Declare. * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): New method. (fhandler_base::fstat_by_handle): Call fstat_by_nfs_ea for files on NFS shares. (fhandler_disk_file::fchmod): Use NFS specific method to set mode for files on NFS shares. Don't overrule errno from call to set_file_attribute with errno from NtSetInformationFile call. (fhandler_disk_file::fchown): Add comment. * mount.cc (fillout_mntent): Accommodate change in second parameter to fs_info::update. * nfs.cc: New file. * nfs.h: New file. * path.cc (fs_info::update): Take handle instead of bool as second parameter. Use that handle if it's not NULL. Only close handle if it has been opened here. Use static defined buffers instead of alloca'd buffers. (path_conv::check): Call symlink_info::check with reference to fs. Don't call fs.update here if file exists. (conv_path_list): Prefer tmp_pathbuf buffer over using alloca. (symlink_worker): Use NFS specific method to create symlinks on NFS shares. Prefer tmp_pathbuf buffer over using alloca. (symlink_info::check_shortcut): Reopen file from incoming handle with necessary FILE_GENERIC_READ flag. Prefer tmp_pathbuf buffer over using alloca. (symlink_info::check_sysfile): Ditto. (symlink_info::check_reparse_point): Use tmp_pathbuf buffer to allocate REPARSE_DATA_BUFFER. (symlink_info::check_nfs_symlink): New method. (enum symlink_t): Remove. (symlink_info::check): Don't use NtQueryAttributesFile. Rather, open file with necessary access flags and call NtQueryInformationFile. Fix error handling in case file can't be opened. For existing files, call fs_info::update here. Restructure symlink checking to accommodate the fact that the file is already open. Add case for NFS symlinks. * path.h (fs_info::update): Take handle instead of bool as second parameter.
* * syscalls.cc (rename): Fix condition when to start a transaction.Corinna Vinschen2008-05-202-1/+6
|
* * path.cc (path_conv::check): Free wide_path and normalized_path ifCorinna Vinschen2008-05-203-10/+28
| | | | | | necessary. * path.h (path_conv::path_conv): Set wide_path, normalized_path and normalized_path_size to 0 in all constructors.
* * syscalls.cc (rename): Allocate temporary path buffers usingCorinna Vinschen2008-05-192-5/+17
| | | | | tmp_pathbuf. Don't try to unset R/O attribute on dstpc if a removepc exists. dstpc is a non-existant file in that case.
* * include/stdint.h: Use int rather than long for {u,}int32_t.Christopher Faylor2008-05-172-2/+6
|
* * src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,Daniel Jacobowitz2008-05-162-5/+10
| | | | | | README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp, mkdep, and compile. Update comments. (ETC_SUPPORT): Add ChangeLog and update comments.
* * Makefile.in (install-license): Install COPYING file as well.Corinna Vinschen2008-05-162-2/+8
|
* * CYGWIN_LICENSE: New text.Corinna Vinschen2008-05-162-28/+59
|
* * CYGWIN_LICENSE: Remove duplicate file here.Corinna Vinschen2008-05-162-38/+4
|
* 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>Chris Sutcliffe2008-05-152-1/+11
| | | | * include/stdlib.h: Fix strtod under C++.
* * syscalls.cc (rename): ONly start transaction if FS supports them.Corinna Vinschen2008-05-152-1/+8
|
* * include/winnt.h (FILE_SEQUENTIAL_WRITE_ONCE): Define.Corinna Vinschen2008-05-152-0/+8
| | | | (FILE_SUPPORTS_TRANSACTIONS): Define.
* * autoload.cc (LoadDLLfuncNt): Re-invent.Corinna Vinschen2008-05-156-3/+123
| | | | | | | | | | | | | | | | | | | | | (NtCreateTransaction): Define. (NtCommitTransaction): Define. (NtRollbackTransaction): Define. (RtlGetCurrentTransaction): Define. (RtlSetCurrentTransaction): Define. * ntdll.h (TRANSACTION_ALL_ACCESS): Define. (NtCreateTransaction): Declare. (NtCommitTransaction): Declare. (NtRollbackTransaction): Declare. (RtlGetCurrentTransaction): Declare. (RtlSetCurrentTransaction): Declare. * syscalls.cc (start_transaction): New static function to start TxF transaction. (stop_transaction): New static function to end TxF transaction. (rename): Call start_transaction and stop_transaction where appropriate on systems supporting transactions. * wincap.h (wincaps::has_transactions): New element. * wincap.cc: Implement above element throughout.
* * Makefile.in (CYGWIN_BINS): Remove ipcrm and ipcs.Corinna Vinschen2008-05-154-1054/+7
| | | | | * ipcrm.c: Remove. * ipcs.c: Remove.
* 2008-05-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-05-142-91/+96
| | | | | * libc/include/sys/reent.h: Change _REENT_INIT... macros to access macro parameter with parentheses around it.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): DropCorinna Vinschen2008-05-143-5/+20
| | | | | | explicit transformation of special DOS chars. * strfuncs.cc (sys_wcstombs): Always transform UNICODE private use area back to ASCII.
* * include/cygwin/stdlib.h (initstate): Declare.Corinna Vinschen2008-05-132-0/+7
| | | | (setstate): Declare.
* * path.cc (path_conv::set_normalized_path): Drop strip_tail argument.Corinna Vinschen2008-05-135-47/+26
| | | | | | | | | | | | | Never strip trailing dots and spaces. * (path_conv::check): Accomodate above change. * path.h (path_conv::operator=): Ditto * dtable.cc (build_fh_dev): Ditto. * fhandler.h (fhandler_base::set_name): Ditto. * path.cc (transform_chars): Disable converting trailing dots and spaces. * path.cc (path_conv::check): Remove two disabled code snippets.
* * random.cc (initstate): Align to POSIX definition.Corinna Vinschen2008-05-132-4/+10
| | | | (setstate): Ditto.
* 2008-05-12 Samuel Tardieu <sam@rfc1149.net>Paolo Bonzini2008-05-122-2/+9
| | | | | | | Paolo Bonzini <bonzini@gnu.org> PR ada/36001 * acx.m4: Add optional parameter to ACX_PROG_GNAT.
* * src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.Ian Lance Taylor2008-05-122-1/+5
|
* * Makefile.in (DLL_OFILES): Remove _def_time.o.Corinna Vinschen2008-05-104-45/+35
| | | | | | * libc/_def_time.c: Remove. Move definitions of _DefaultTimeLocale and _CurrentTimeLocale ... * libc/strptime.cc: ... here.
* * include/sys/localedef.h: Remove.Corinna Vinschen2008-05-083-101/+24
| | | | | * libc/strptime.cc: Define _TimeLocale and declare _CurrentTimeLocale as well as _DefaultTimeLocale locally for Cygwin.
* * Makefile.in (DLL_OFILES): Add _def_time.o. Remove timelocal.o.Corinna Vinschen2008-05-088-701/+477
| | | | | | | | | | * include/sys/localedef.h: New file from NetBSD. * libc/_def_time.c: Ditto. * libc/getopt.c: Update to latest OpenBSD version 1.23. * libc/strptime.cc: Replace FreeBSD version 1.35 with latest NetBSD version 1.28. * libc/timelocal.cc: Remove. * libc/timelocal.h: Remove.
* 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>Chris Sutcliffe2008-05-073-5/+9
| | | | | * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod. * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
* Fix typo and commit the write headerChris Sutcliffe2008-05-062-1/+5
|
* 2008-05-05 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2008-05-052-8/+6
| | | | * spu/readlink.c: Align readlink implementation to POSIX.
* 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>Chris Sutcliffe2008-05-044-1/+55
| | | | | | | * include/sys/time.h (useconds_t): typedef. * include/unistd.h (usleep): Add prototype. * mingwex/usleep.c: New file. * mingwex/makefile.in: Add usleep source and object.
* 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>Chris Sutcliffe2008-05-032-0/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/vfw.h (WM_CAP_SET_CALLBACK_ERRORA, WM_CAP_SET_CALLBACK_ERRORW, WM_CAP_SET_CALLBACK_STATUS, WM_CAP_SET_CALLBACK_YIELD, WM_CAP_SET_CALLBACK_FRAMEA, WM_CAP_SET_CALLBACK_FRAMEW, WM_CAP_SET_CALLBACK_VIDEOSTREAM, WM_CAP_SET_CALLBACK_WAVESTREAM, WM_CAP_GET_USER_DATA, WM_CAP_SET_USER_DATA, WM_CAP_DRIVER_CONNECT, WM_CAP_DRIVER_DISCONNECT, WM_CAP_DRIVER_GET_NAMEA, WM_CAP_DRIVER_GET_NAMEW, WM_CAP_DRIVER_GET_VERSIONA, WM_CAP_DRIVER_GET_VERSIONW, WM_CAP_DRIVER_GET_CAPS, WM_CAP_FILE_SET_CAPTURE_FILEA, WM_CAP_FILE_SET_CAPTURE_FILEW, WM_CAP_FILE_GET_CAPTURE_FILEA, WM_CAP_FILE_GET_CAPTURE_FILEW, WM_CAP_FILE_ALLOCATE, WM_CAP_FILE_SAVEASA, WM_CAP_FILE_SAVEASW, WM_CAP_FILE_SET_INFOCHUNK, WM_CAP_FILE_SAVEDIBA, WM_CAP_FILE_SAVEDIBW, WM_CAP_EDIT_COPY, WM_CAP_SET_AUDIOFORMAT, WM_CAP_GET_AUDIOFORMAT, WM_CAP_DLG_VIDEOFORMAT, WM_CAP_DLG_VIDEOSOURCE, WM_CAP_DLG_VIDEODISPLAY, WM_CAP_GET_VIDEOFORMAT, WM_CAP_SET_VIDEOFORMAT, WM_CAP_DLG_VIDEOCOMPRESSION, WM_CAP_SET_PREVIEW, WM_CAP_SET_OVERLAY, WM_CAP_SET_PREVIEWRATE, WM_CAP_SET_SCALE, WM_CAP_GET_STATUS, WM_CAP_SET_SCROLL, WM_CAP_GRAB_FRAME, WM_CAP_GRAB_FRAME_NOSTOP, WM_CAP_SEQUENCE, WM_CAP_SEQUENCE_NOFILE, WM_CAP_SET_SEQUENCE_SETUP, WM_CAP_GET_SEQUENCE_SETUP, WM_CAP_SET_MCI_DEVICEA, WM_CAP_SET_MCI_DEVICEW, WM_CAP_GET_MCI_DEVICEA, WM_CAP_GET_MCI_DEVICEW, WM_CAP_STOP, WM_CAP_ABORT, WM_CAP_SINGLE_FRAME_OPEN, WM_CAP_SINGLE_FRAME_CLOSE, WM_CAP_SINGLE_FRAME, WM_CAP_PAL_OPENA, WM_CAP_PAL_OPENW, WM_CAP_PAL_SAVEA, WM_CAP_PAL_SAVEW, WM_CAP_PAL_PASTE, WM_CAP_PAL_AUTOCREATE, WM_CAP_PAL_MANUALCREATE, WM_CAP_SET_CALLBACK_CAPCONTROL, WM_CAP_SET_CALLBACK_ERROR, WM_CAP_SET_CALLBACK_FRAME, WM_CAP_DRIVER_GET_NAME, WM_CAP_DRIVER_GET_VERSION, WM_CAP_FILE_SET_CAPTURE_FILE, WM_CAP_FILE_GET_CAPTURE_FILE, WM_CAP_FILE_SAVEAS, WM_CAP_FILE_SAVEDIB, WM_CAP_SET_MCI_DEVICE, WM_CAP_GET_MCI_DEVICE, WM_CAP_PAL_OPEN, WM_CAP_PAL_SAVE, capSetCallbackOnError, capSetCallbackOnStatus, capSetCallbackOnYield, capSetCallbackOnFrame, capSetCallbackOnVideoStream, capSetCallbackOnWaveStream, capGetUserData, capSetUserData, capDriverConnect, capDriverDisconnect, capDriverGetName, capDriverGetVersion, capDriverGetCaps, capFileSetCaptureFile, capFileGetCaptureFile, capFileAlloc, capFileSaveAs, capFileSetInfoChunk, capFileSaveDIB, capEditCopy, capSetAudioFormat, capGetAudioFormat, capGetAudioFormatSize, capDlgVideoFormat, capDlgVideoSource, capDlgVideoDisplay, capGetVideoFormat, capGetVideoFormatSize, capSetVideoFormat, capDlgVideoCompression, capPreview, capOverlay, capPreviewRate, capPreviewScale, capGetStatus, capSetScrollPos, capGrabFrame, capGrabFrameNoStop, capCaptureSequence, capCaptureSequenceNoFile, capCaptureSetSetup, capCaptureGetSetup, capSetMCIDeviceName, capGetMCIDeviceName, capCaptureStop, capCaptureAbort, capCaptureSingleFrameOpen, capCaptureSingleFrameClose, capCaptureSingleFrame, capPaletteOpen, capPaletteSave, capPalettePaste, capPaletteAuto, capPaletteManual, capSetCallbackOnCapControl): Define. (CAPDRIVERCAPS, *LPCAPDRIVERCAPS, CAPINFOCHUNK, *LPCAPINFOCHUNK, CAPSTATUS, *LPCAPSTATUS, CAPTUREPARMS, *LPCAPTUREPARMS, VIDEOHDR, *LPVIDEOHDR): typedef.
* 2008-04-02 Ramiro Polla <ramiro@lisha.ufsc.br>Chris Sutcliffe2008-05-033-1/+14
| | | | | | | | | Make strtod() conform to C99. * include/stdlib.h (strtod): Declare this mingwex function, and... (_strtod): rename this MSVCRT counterpart. * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
* 2008-05-01 Bart Oldeman <bartoldeman@users.sf.net>Chris Sutcliffe2008-05-032-3/+5
| | | | | * include/winuser.h (DEVICE_NOTIFY_WINDOW_HANDLE, DEVICE_NOTIFY_SERVICE_HANDLE): remove duplicate definition.
* * libc/include/stdint.h (SIZE_MIN): Remove.Mark Mitchell2008-05-024-2/+36
| | | | | | (SIZE_MAX): Define. * testsuite/newlib.stdlib/stdlib.exp: New. * testsuite/newlib.stdlib/size_max.c: Likewise.
* * sysv_msg.cc: Add fix from upstream version 1.65.Corinna Vinschen2008-04-302-3/+15
| | | | | | | (msgsnd): Call msleep with timeout value. Handle EWOULDBLOCK. Make sure it's clear from where msleep has been called in debug output. (msgrcv): Make sure it's clear from where msleep has been called in debug output.
* * dtable.cc (dtable::release): Drop fixup_before handling.Corinna Vinschen2008-04-306-67/+19
| | | | | | | | | | | | | | | | (dtable::fixup_before_fork): Remove. (dtable::fixup_before_exec): Remove. * dtable.h (class dtable): Remove cnt_need_fixup_before member. (dtable::dtable): Accommodate above change. (dtable::dec_need_fixup_before): Remove. (dtable::inc_need_fixup_before): Remove. (dtable::need_fixup_before): Remove. (dtable::fixup_before_exec): Remove declaration. (dtable::fixup_before_fork): Ditto. * fhandler.h (fhandler_base::fixup_before_fork_exec): Remove. (fhandler_base::need_fixup_before): Remove. * fork.cc (frok::parent): Drop fixup_before handling. * spawn.cc (spawn_guts): Ditto.
* * mount.cc (is_unc_share): Allow \\?\ prefix as well. Enhance comment.Corinna Vinschen2008-04-303-21/+25
| | | | | | | | | | | (mount_info::from_fstab): Remove patch from 2008-04-29. * mount.cc (mount_info::conv_to_posix_path): Simplify test for native UNC path. * path.cc (normalize_win32_path): Ditto. (symlink_worker): Ditto. (symlink_info::posixify): Ditto. (cygwin_conv_path): Ditto.
* Fix 2008-04-14 regression in asprintf(ptr,"").Eric Blake2008-04-307-43/+67
| | | | | | | | | | | * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio baggage. * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise. * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise. * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise. * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise. * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc an initial buffer for asprintf.
* * mount.cc (mount_info::from_fstab): Skip native path prefix inCorinna Vinschen2008-04-292-1/+13
| | | | module path.
* * syscalls.cc (rename): Use volume serial numbers stored in path_convCorinna Vinschen2008-04-292-15/+13
| | | | | rather than fetching them here for the "same file" test. Change comment to reflect this.
* * mips.h (INSN_MACRO): Move it up to the the pinfo macros.Adam Nemet2008-04-282-4/+16
| | | | (INSN2_M_FP_S, INSN2_M_FP_D): New pinfo2 macros.
* * path.cc (symlink_info::check): Avoid special handling forCorinna Vinschen2008-04-283-14/+14
| | | | | STATUS_BUFFER_OVERFLOW when calling NtQueryDirectoryFile. * strace.cc (strace::vprntf): Use bigger buffer.
* * kernel32.cc (CreateFileMappingW): Remove stray small_printf.Corinna Vinschen2008-04-282-1/+4
|
* * autoload.cc (IsWow64Process): Remove.Corinna Vinschen2008-04-286-11/+24
| | | | | | | | | | (Wow64DisableWow64FsRedirection): Remove. (Wow64RevertWow64FsRedirection): Remove. * ntdll.h (enum _PROCESSINFOCLASS): Define ProcessWow64Information. * init.cc (respawn_wow64_process): Use NtQueryInformationProcess to get WOW64 state. * wincap.cc (wincapc::init): Ditto. * wincap.h (wincapc::wow64): Change type to ULONG.