]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years ago2007-08-03 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 3 Aug 2007 22:22:31 +0000 (22:22 +0000)]
2007-08-03  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.10.
        * Makefile.in: Ditto.

16 years ago2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 3 Aug 2007 21:03:40 +0000 (21:03 +0000)]
2007-08-03  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/include/tar.h: New.

16 years ago2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 3 Aug 2007 21:01:11 +0000 (21:01 +0000)]
2007-08-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
        lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
        * libc/sys/linux/intl/Makefile.in: Regenerated.
        * libc/sys/linux/intl/stpcpy.c: Renamed to...
        * libc/sys/linux/intl/lcl_stpcpy.c: ..this.

16 years ago * Makefile.in (cygcheck.exe): Add bloda.o as prerequisite, adjusting
Dave Korn [Fri, 3 Aug 2007 19:41:48 +0000 (19:41 +0000)]
* Makefile.in (cygcheck.exe):  Add bloda.o as prerequisite, adjusting
dependency-filtering $(wordlist ...) call appropriately.  Link ntdll.
(bloda.o):  New rule to build bloda.o
* cygcheck.cc (dump_sysinfo):  Call bloda function dump_dodgy_apps().
* bloda.cc:  New file implements detection of applications from the
Big List Of Dodgy Apps.

16 years agoImplement fmemopen and open_memstream.
Eric Blake [Thu, 2 Aug 2007 20:23:06 +0000 (20:23 +0000)]
Implement fmemopen and open_memstream.
* libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
* libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
New file.
* libc/stdio/fopencookie.c (fcwriter): Minor optimization.
* libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
functions together.
(fmemopen, open_memstream): Declare new functions.
* libc/stdio/stdio.tex: Document them.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
fmemopen and open_memstream.
* libc/stdio/Makefile.in: Regenerate.

16 years agobfd/
H.J. Lu [Thu, 2 Aug 2007 16:02:01 +0000 (16:02 +0000)]
bfd/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* coffcode.h (ALIGN_SET): Removed.
(ELIFALIGN_SET): Likewise.
(coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES,
IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES,
IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES,
IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES.

include/coff/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
IMAGE_SCN_ALIGN_POWER_CONST.
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
(IMAGE_SCN_ALIGN_64BYTES): Likewise.

16 years ago * fhandler_disk_file.cc (readdir_get_ino): Accommodate native symlinks.
Corinna Vinschen [Thu, 2 Aug 2007 15:13:56 +0000 (15:13 +0000)]
* fhandler_disk_file.cc (readdir_get_ino): Accommodate native symlinks.
* syscalls.cc (rename): Ditto.

16 years ago * smallprint.c: Remove.
Corinna Vinschen [Thu, 2 Aug 2007 14:38:21 +0000 (14:38 +0000)]
* smallprint.c: Remove.

16 years ago* lib/Makefile: Add missed file to accommodate below changes.
Christopher Faylor [Thu, 2 Aug 2007 14:34:46 +0000 (14:34 +0000)]
* lib/Makefile: Add missed file to accommodate below changes.

16 years agoAdd missing checkin.
Christopher Faylor [Thu, 2 Aug 2007 14:33:32 +0000 (14:33 +0000)]
Add missing checkin.

16 years ago* lib/cygwin_attach_dll.c: Fix compiler warning.
Christopher Faylor [Thu, 2 Aug 2007 14:30:17 +0000 (14:30 +0000)]
* lib/cygwin_attach_dll.c: Fix compiler warning.
* lib/cygwin_crt0.c: Ditto.

16 years ago* Makefile.in: Add -lntdll to link line.
Christopher Faylor [Thu, 2 Aug 2007 14:23:22 +0000 (14:23 +0000)]
* Makefile.in: Add -lntdll to link line.
(CYGWIN_OBJS): Include strfuncs.o.

16 years ago* dcrt0.cc (codepage_type): Remove definition.
Christopher Faylor [Thu, 2 Aug 2007 14:21:53 +0000 (14:21 +0000)]
* dcrt0.cc (codepage_type): Remove definition.
* strfuncs.cc: Move it here.  New file with bits of miscfuncs.cc.
* miscfuncs.cc: Remove wide character stuff.

16 years ago * smallprint.c: New file.
Corinna Vinschen [Thu, 2 Aug 2007 14:07:19 +0000 (14:07 +0000)]
* smallprint.c: New file.
* Makefile.in (OBJS): Add smallprint.o.
(CYGWIN_OBJS): Remove smallprint.o from Cygwin dir.

16 years ago * syscalls.cc (rename): Move and add text to comment about testing
Corinna Vinschen [Thu, 2 Aug 2007 11:11:34 +0000 (11:11 +0000)]
* syscalls.cc (rename): Move and add text to comment about testing
oldpath and newpath referring to the same file.  Test if oldpath
has more than one hardlink before opening oldpath (idea by Eric Blake).
Reorder test so that file id is tested before volume serial number.

16 years ago * path.h (struct fs_info): Drop root_len and name_hash members.
Corinna Vinschen [Thu, 2 Aug 2007 10:33:28 +0000 (10:33 +0000)]
* path.h (struct fs_info): Drop root_len and name_hash members.
(fsinfo::length): Remove.
(path_conv::rootdir): Remove.
* syscalls.cc (try_to_bin): Use rootdir function instead of
path_conv::rootdir method.

16 years ago * fhandler_disk_file.cc (path_conv::ndisk_links): Fix typo in call to
Corinna Vinschen [Thu, 2 Aug 2007 10:22:30 +0000 (10:22 +0000)]
* fhandler_disk_file.cc (path_conv::ndisk_links): Fix typo in call to
NtClose.

16 years ago * include/winbase.h (ReOpenFile): Add prototype.
Corinna Vinschen [Thu, 2 Aug 2007 07:22:46 +0000 (07:22 +0000)]
* include/winbase.h (ReOpenFile): Add prototype.
* lib/kernel32.def (ReOpenFile@16): Add export.

16 years ago * syscalls.cc (rename): Check if oldpath and newpath refer to the
Corinna Vinschen [Wed, 1 Aug 2007 21:02:24 +0000 (21:02 +0000)]
* syscalls.cc (rename): Check if oldpath and newpath refer to the
same file.  If so, return successfully and perform no other action,
as per SUSv3.

16 years agoCorrect ChangeLog entries.
H.J. Lu [Wed, 1 Aug 2007 15:27:55 +0000 (15:27 +0000)]
Correct ChangeLog entries.

16 years ago * ntdll.h (STATUS_ACCESS_DENIED): Define.
Corinna Vinschen [Wed, 1 Aug 2007 14:46:09 +0000 (14:46 +0000)]
* ntdll.h (STATUS_ACCESS_DENIED): Define.
* syscalls.cc (check_dir_not_empty): New static function.
(unlink_nt): Move code checking for non-empty dir to check_dir_not_empty
and call check_dir_not_empty instead.
(rename): Add fault handler.  Check oldpath and newpath for trailing
. and .. path components and return EINVAL if so.  Check oldpath
for being on a vrtual file system.  If renaming a dir fails with
STATUS_ACCESS_DENIED, check if the target dir is non-empty and return
ENOTEMPTY if so.

16 years ago * localtime.cc (tzsetwall): Don't set TZ.
Corinna Vinschen [Wed, 1 Aug 2007 13:26:56 +0000 (13:26 +0000)]
* localtime.cc (tzsetwall): Don't set TZ.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
Corinna Vinschen [Wed, 1 Aug 2007 12:55:25 +0000 (12:55 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
usage of path_conv::volser().
(fhandler_base::fstat_by_name): Ditto.
* ntdll.h (STATUS_NO_MEDIA_IN_DEVICE): Define.
(STATUS_OBJECT_NAME_NOT_FOUND): Define.
(FILE_REMOVABLE_MEDIA, FILE_READ_ONLY_DEVICE, FILE_FLOPPY_DISKETTE)
(FILE_WRITE_ONCE_MEDIA, FILE_REMOTE_DEVICE, FILE_DEVICE_IS_MOUNTED)
(FILE_VIRTUAL_VOLUME, FILE_AUTOGENERATED_DEVICE_NAME)
FILE_DEVICE_SECURE_OPEN): Define Device Characteristics.
(struct _FILE_FS_DEVICE_INFORMATION): Define.
* path.cc (MAX_FS_INFO_CNT): Remove.
(fsinfo): Remove.
(fsinfo_cnt): Remove.
(fs_info::update): Rewrite using native NT functions.  Drop fs_info
cashing since it's incorrect.
(path_conv::fillin): Use NtQueryInformationFile.  Drop setting serial
number.
(path_conv::check): Accommodate new fs_info::update parameters.
(fillout_mntent): Ditto.
* path.h (fs_info): Drop serial, has_ea and drive_type status
flags.
(fs_info::update): Declare with new parameters.
(path_conf::drive_type): Remove.
(path_conf::fs_has_ea): Remove.
(path_conf::volser): Remove.

16 years ago * fhandler.cc (check_posix_perms): Remove.
Corinna Vinschen [Wed, 1 Aug 2007 08:36:38 +0000 (08:36 +0000)]
* fhandler.cc (check_posix_perms): Remove.
(fhandler_base::fpathconf): Return value of pc.has_acls () instead
of calling check_posix_perms.

16 years ago * syscalls.cc (rename): Use unchanged path_conv in condition.
Corinna Vinschen [Wed, 1 Aug 2007 07:52:35 +0000 (07:52 +0000)]
* syscalls.cc (rename): Use unchanged path_conv in condition.

16 years ago * smallprint.cc (__small_vsprintf): Add format specifier 'W' for
Corinna Vinschen [Wed, 1 Aug 2007 07:39:21 +0000 (07:39 +0000)]
* smallprint.cc (__small_vsprintf): Add format specifier 'W' for
PWCHAR arguments.  Move wide char handling after char handling.

16 years agoMore POSIX stream corner cases.
Eric Blake [Tue, 31 Jul 2007 20:49:40 +0000 (20:49 +0000)]
More POSIX stream corner cases.
* libc/stdio/findfp.c (__sinit): Open stderr read/write.
* libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
requested.
* libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.

16 years ago * ntdll.h (RtlFreeAnsiString): Declare.
Corinna Vinschen [Tue, 31 Jul 2007 20:48:17 +0000 (20:48 +0000)]
* ntdll.h (RtlFreeAnsiString): Declare.
* ntdll.h (RtlFreeOemString): Declare.
* ntdll.h (RtlUnicodeStringToAnsiString): Declare.
* ntdll.h (RtlUnicodeStringToOemString): Declare.
* smallprint.cc: Renamed from smallprint.c.  Drop unnecessary
forward declarations.
(__small_vsprintf): Add format specifiers 'C' for WCHAR arguments
and 'S' for PUNICODE_STRING arguments.

16 years ago2007-07-31 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 31 Jul 2007 17:55:40 +0000 (17:55 +0000)]
2007-07-31  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Revert to checking
Corinna Vinschen [Tue, 31 Jul 2007 15:20:00 +0000 (15:20 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Revert to checking
for binary in case of .exe files.
* ntdll.h (RtlPrefixUnicodeString): Declare.
* path.cc (path_conv::is_binary): New method.
* path.h (path_conv::is_binary): Declare.
* syscalls.cc (rename_append_suffix): New static helper function for
rename.
(rename): Rewrite.  New suffix tests.  Use native NT functions.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::facl): If file can't be
Corinna Vinschen [Mon, 30 Jul 2007 10:58:16 +0000 (10:58 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): If file can't be
opened for reading the ACLs, fall back to faking them.
* sec_acl.cc (acl_worker): Handle non-existing files.
* security.cc (get_file_attribute): Return ILLEGAL_UID/ILLEGAL_GID
as owner/group for non-readable ACLs on file systems supporting them.

16 years ago * syscalls.cc (stat_worker): Don't call build_fh_pc with invalid pc.
Corinna Vinschen [Mon, 30 Jul 2007 10:05:27 +0000 (10:05 +0000)]
* syscalls.cc (stat_worker): Don't call build_fh_pc with invalid pc.

16 years ago2007-7-30 Martijn Wargers <martijnw22@users.sourceforge.net>
Danny Smith [Mon, 30 Jul 2007 01:02:31 +0000 (01:02 +0000)]
2007-7-30  Martijn Wargers  <martijnw22@users.sourceforge.net>

* include/wingdi.h (GetTextExtentExPointI): Add prototype.
* lib/gdi32.def (GetTextExtentExPointI@28): Add export.

16 years ago* fhandler.cc (fhandler_base::wait_overlapped): Handle read EOF better and
Christopher Faylor [Sun, 29 Jul 2007 17:24:54 +0000 (17:24 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Handle read EOF better and
issue a SIGPIPE when we get ERROR_NO_DATA.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't allow
Corinna Vinschen [Sun, 29 Jul 2007 15:57:41 +0000 (15:57 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't allow
FileAttributes set to 0 when calling NtSetInformationFile since it has
a special meaning.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::link): Only set attributes after copying files.
Use SetFileAttributesW.
* syscalls.cc (unlink_nt): Only care for actual FILE_ATTRIBUTE_READONLY.
Don't allow FileAttributes set to 0 when calling NtSetInformationFile.
After marking for deletion, restore R/O attribute on files to
accommodate hardlinks.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Use FILE_ANY_ACCESS.
Corinna Vinschen [Sun, 29 Jul 2007 12:27:22 +0000 (12:27 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Use FILE_ANY_ACCESS.
(fhandler_base::utimes_fs): Fix white space.
(fhandler_disk_file::lock): Remove 9x blurb from comment.
(fhandler_disk_file::mkdir): Use NtCreateFile/NtClose instead of
CreateDirectoryA.
(fhandler_disk_file::rmdir): Accommodate changes to unlink_nt.
Simplify post-delete SMB-related tests.  Use NtQueryAttributesFile
instead of GetFileAttributes.
* ntdll.h (STATUS_DIRECTORY_NOT_EMPTY): Define.
(NtQueryAttributesFile): Declare.
* syscalls.cc (unlink_nt): Return NTSTATUS.  Drop setattrs parameter.
Never use FILE_DELETE_ON_CLOSE, always use
NtSetInformationFile(FileDispositionInformation) instead.
Check for R/O attributes and open file with FILE_WRITE_ATTRIBUTES
access if any of them are set.  Remove R/O attributes before
marking for delete if necessary.  Revert them afterwards if necessary.
(unlink): Accommodate changes to unlink_nt.

16 years ago * fhandler_disk_file.cc: Use get_handle throughout.
Corinna Vinschen [Sun, 29 Jul 2007 08:23:04 +0000 (08:23 +0000)]
* fhandler_disk_file.cc: Use get_handle throughout.
(fhandler_disk_file::fchmod): Always try to open file with required
access rights.  Use NtSetInformationFile instead of SetFileAttributes.
(fhandler_disk_file::facl): Use NtSetInformationFile instead of
SetFileAttributes.
(fhandler_base::utimes_fs): Change lastaccess and lastwrite to
LARGE_INTEGER.  Drop 9x directory case.  Use NtSetInformationFile
instead of SetFileAttributes.  Drop temporarily changing R/O attribute
since NtSetInformationFile(FileBasicInformation) also works on R/O
files.
* ntdll.h (STATUS_NOT_SUPPORTED): Define.

16 years ago* cygtls.h (_cygtls::inside_kernel): Move function declaration into _cygtls
Christopher Faylor [Sun, 29 Jul 2007 05:22:05 +0000 (05:22 +0000)]
* cygtls.h (_cygtls::inside_kernel): Move function declaration into _cygtls
class.
* exceptions.cc (_cygtls::inside_kernel): Move function definition into _cygtls
class.
* fhandler.cc (fhandler_base::wait_overlapped): Make return tri-state to detect
when there is a EINTR situation.  Add a pointer to a length parameter.  Move
GetOverlappedResult into this function.
(fhandler_base::read_overlapped): Accommodate above changes and loop if we
receive a restartable signal.
(fhandler_base::write_overlapped): Ditto.
* fhandler.h (fhandler_base::wait_overlapped): Reflect above changes.
* fhandler_fifo.cc (fhandler_fifo::wait): Ditto.

16 years ago * ntdll.h (RtlEqualUnicodePathPrefix): Rename from RtlEqualPathPrefix.
Corinna Vinschen [Sat, 28 Jul 2007 16:08:45 +0000 (16:08 +0000)]
* ntdll.h (RtlEqualUnicodePathPrefix): Rename from RtlEqualPathPrefix.
(RtlEqualUnicodePathSuffix): Rename from RtlEqualPathSuffix.
* fhandler_disk_file.cc (fhandler_disk_file::link): Accommodate above
change.

16 years ago * ntdll.h (RtlInitCountedUnicodeString): Swap order of string and length
Corinna Vinschen [Sat, 28 Jul 2007 16:00:35 +0000 (16:00 +0000)]
* ntdll.h (RtlInitCountedUnicodeString): Swap order of string and length
parameters to be the same as for RtlInitEmptyUnicodeString.
(RtlEqualPathPrefix): New inline function.
(RtlEqualPathSuffix): New inline function.
* fhandler_disk_file.cc: Accommodate parameter order change of
RtlInitEmptyUnicodeString throughout.
(fhandler_disk_file::link): Do path checking in unicode.  Call
CopyFileW instead of CopyFileA.

16 years ago * autoload.cc (CreateHardLinkA): Remove.
Corinna Vinschen [Fri, 27 Jul 2007 16:24:07 +0000 (16:24 +0000)]
* autoload.cc (CreateHardLinkA): Remove.
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop GetBinaryType
test.  Just check exe suffix instead.  Tune creating new file name.
Implement creating hard link using native NT functions which works
on all platforms.
* ntdll.h (STATUS_INVALID_DEVICE_REQUEST): Define.
(struct _FILE_LINK_INFORMATION): Define.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Use
Corinna Vinschen [Fri, 27 Jul 2007 13:19:41 +0000 (13:19 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Use
NtQueryInformationFile instead of GetFileSize, NtFsControlFile instead
of DeviceIoControl.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_name): Use
Corinna Vinschen [Fri, 27 Jul 2007 10:10:57 +0000 (10:10 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_name): Use
RtlSplitUnicodePath.
(fhandler_disk_file::fstat): Rename oret to opened.  Open file using NT
functions right here.  Try to open parent dir instead of root directory
to avoid call to rootdir.  Use NtFsControlFile.
* ntdll.h (RtlSplitUnicodePath): Define.

16 years ago * fhandler_disk_file.cc (is_volume_mountpoint): New static inline
Corinna Vinschen [Fri, 27 Jul 2007 09:00:12 +0000 (09:00 +0000)]
* fhandler_disk_file.cc (is_volume_mountpoint): New static inline
function.
(path_conv::ndisk_links): Call is_volume_mountpoint.
(fhandler_disk_file::readdir_helper): Ditto.

16 years ago * fhandler.h (enum query_state): Drop redundant query_stat_control.
Corinna Vinschen [Fri, 27 Jul 2007 08:38:00 +0000 (08:38 +0000)]
* fhandler.h (enum query_state): Drop redundant query_stat_control.
* fhandler.cc (fhandler_base::open): Ditto.  Add READ_CONTROL to
access and FILE_OPEN_FOR_BACKUP_INTENT to create_options when opening
for writing.  Always set security attributes to avoid calling
has_acls.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Don't try to
open file twice.

17 years ago * dir.cc (readdir_worker): Drop dir parameter from call to
Corinna Vinschen [Thu, 26 Jul 2007 17:30:54 +0000 (17:30 +0000)]
* dir.cc (readdir_worker): Drop dir parameter from call to
readdir_get_ino.
* fhandler.h (fhandler_disk_file::readdir_helper): Switch file name
parameter to PUNICODE_STRING.
* fhandler_disk_file.cc: Drop including ntdef.h.
(class __DIR_mounts): Store mount points in UNICODE.  Additionally
store cygdrive prefix in unicode here.  Change methods accordingly.
(__DIR_mounts::eval_ino): Call new stat_worker instead of lstat64.
(__DIR_mounts::~__DIR_mounts): New destructor to free UNICODE buffers.
(path_conv::ndisk_links): Rewrite using native NT functions.
(fhandler_base::fstat_by_handle): Use NAME_MAX instead of CYG_MAX_PATH.
Always set pfvi->VolumeSerialNumber to non-0.  Remove last resort
code.
(fhandler_base::fstat_by_name): Rewrite using native NT functions.
(fhandler_base::fstat_fs): Always call fstat_by_name if fstat_by_handle
fails.
(fhandler_base::fstat_helper): Rely on dwVolumeSerialNumber.
(fhandler_disk_file::facl): Call fstat_by_name if fstat_by_handle fails.
(DIR_BUF_SIZE): Define using NAME_MAX instead of CYG_MAX_PATH.
(__DIR_cache): Remove __name.
(d_dirname): Remove.
(fhandler_disk_file::opendir): Drop pathname length check.
Remove outdated comment.  Use get_name method instead of accessing
pc.normalized_path directly.
(readdir_get_ino): Drop unused dir parameter.  Accomodate throughout.
Allocate fname dynamically.  Call new stat_worker instead of lstat64.
Call NtOpenFile instead of CreateFile.  Call NtClose instead of
CloseHandle.
(fhandler_disk_file::readdir_helper): Use native NT functions.
Check for volume mount points and use correct inode number.
(fhandler_disk_file::readdir): Simplify slightly.
Use get_name instead of pc.normalized_path.
(fhandler_disk_file::rewinddir): Use RtlInitUnicodeString.
(fhandler_cygdrive::fstat): Ignore floppy drives.  Set st_nlink
correctly.
(fhandler_cygdrive::readdir): Ignore floppy drives.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Accommodate
change to readdir_get_ino.
* fhandler_proc.cc (PROC_DIR_COUNT): Define.
(fhandler_proc::fstat): Evaluate correct link count for /proc.
* ntdll.h (struct _FILE_DIRECTORY_INFORMATION): Define.
(NtFsControlFile): Declare.
(RtlAppendUnicodeToString): Declare.
(RtlAppendUnicodeStringToString): Declare.
(RtlCompareUnicodeString): Declare.
(RtlCopyUnicodeString): Declare.
(RtlCreateUnicodeStringFromAsciiz): Declare.
(RtlEqualUnicodeString): Declare.
(RtlFreeUnicodeString): Declare.
(RtlInitEmptyUnicodeString): Declare.
(RtlSecondsSince1970ToTime): Declare.
(RtlInitEmptyUnicodeString): Define as inline function.
(RtlInitCountedUnicodeString): Define as inline function.
* path.cc (path_conv::check): New method with PUNICODE_STRING as path,
preliminary implementation.
(mount_info::get_mounts_here): Change to create UNICODE_STRINGs.
Also copy cygpath prefix into UNICODE_STRING.
(is_floppy): Drop 9x consideration.
* path.h: Drop including ntdef.h.
(path_conv::check): Add declaration.
(path_conv::path_conv): Add constructor for UNICODE_STRING paths.
* shared_info.h (mount_info::get_mounts_here): Change declaration.
* syscalls.cc: Drop forward declaration of stat_worker.
(stat_worke): Take path_conv as parameter.  Drop nofollow flag.
(stat64): Create matching path_conv and call stat_worker with it.
(lstat64): Ditto.
* winsup.h: Include ntdef.h.
(stat_worker): Declare.
(readdir_get_ino): Change declaration.

17 years ago * autoload.cc (CreateToolhelp32Snapshot): Remove.
Corinna Vinschen [Wed, 25 Jul 2007 16:11:03 +0000 (16:11 +0000)]
* autoload.cc (CreateToolhelp32Snapshot): Remove.

17 years ago * autoload.cc (Process32First): Remove.
Corinna Vinschen [Wed, 25 Jul 2007 16:07:41 +0000 (16:07 +0000)]
* autoload.cc (Process32First): Remove.
(Process32Next): Remove.

17 years ago * include/wtypes.h (LPDECIMAL): Define.
Danny Smith [Wed, 25 Jul 2007 10:21:53 +0000 (10:21 +0000)]
* include/wtypes.h (LPDECIMAL): Define.
(DECIMAL_NEG, DECIMAL_SETZERO): Move definitions.

17 years ago * autoload.cc (NetWkstaUserGetInfo): Remove.
Corinna Vinschen [Wed, 25 Jul 2007 10:04:57 +0000 (10:04 +0000)]
* autoload.cc (NetWkstaUserGetInfo): Remove.
(CharToOemBuffA): Remove.
(KillTimer): Remove.
(OemToCharBuffA): Remove.
(SetTimer): Remove.

17 years ago * ternary.h: Remove.
Ben Elliston [Wed, 25 Jul 2007 06:34:29 +0000 (06:34 +0000)]
* ternary.h: Remove.

17 years ago Add missing ChangeLog entry.
Corinna Vinschen [Tue, 24 Jul 2007 19:17:05 +0000 (19:17 +0000)]
Add missing ChangeLog entry.

17 years ago * dumper.cc: Change license to plain GPLv2 + later.
Corinna Vinschen [Tue, 24 Jul 2007 19:08:23 +0000 (19:08 +0000)]
* dumper.cc: Change license to plain GPLv2 + later.
* dumper.h: Ditto.
* parse_pe.cc: Ditto.

17 years ago* Makefile.in (SUBDIRS): Delete stray line continuation artifact,
Keith Marshall [Mon, 23 Jul 2007 21:32:35 +0000 (21:32 +0000)]
* Makefile.in (SUBDIRS): Delete stray line continuation artifact,
resulting from incomplete removal of enclosing `for ...; do ...; done'
loop from compound command; (reported by Greg Chicares).

17 years ago* strace.cc (create_child): Don't convert a path from cygwin format unless it
Christopher Faylor [Mon, 23 Jul 2007 21:03:59 +0000 (21:03 +0000)]
* strace.cc (create_child): Don't convert a path from cygwin format unless it
has a slash.

17 years ago * bsd_helper.cc: Drop unnecessary security.h include.
Corinna Vinschen [Sat, 21 Jul 2007 07:43:24 +0000 (07:43 +0000)]
* bsd_helper.cc: Drop unnecessary security.h include.

17 years ago Fix ChangeLog
Corinna Vinschen [Fri, 20 Jul 2007 15:42:09 +0000 (15:42 +0000)]
Fix ChangeLog

17 years ago * fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes
Corinna Vinschen [Fri, 20 Jul 2007 14:29:43 +0000 (14:29 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes
of access control functions throughout.
* fhandler_disk_file.cc: Ditto.
* fhandler_registry.cc: Ditto.
* sec_acl.cc: Drop unnecessary includes.
(setacl): Take path_conv instead of file name as parameter.
Accommodate interface changes of access control functions.
(getacl): Ditto.
* sec_auth.cc: New file, taking over all authentication related
functions from security.cc.
* sec_helper.cc: Drop unnecessary includes.
* security.cc: Ditto.  Move all authentication related functions to
sec_auth.cc.
(ALL_SECURITY_INFORMATION): New define.  Use throughout.
(set_file_sd): New function, replacing read_sd and the file related
part of get_nt_object_security.
(get_reg_sd): Rename from get_reg_security.  Drop type parameter.
(get_reg_attribute): New function, replacing the registry related part
of get_nt_object_security.
(get_file_attribute): Take path_conv instead of file name as parameter.
Use new get_file_sd call.
(set_file_attribute): Ditto plus new set_file_sd.  Drop unnecessary
implementation without uid/gid parameters.
(check_file_access): Take path_conv instead of file name as parameter.
Use new get_file_sd call.
(check_registry_access): Use new get_reg_sd call.
* security.h: Accommodate above interface changes.

17 years ago * security.cc (set_nt_attribute): Remove.
Corinna Vinschen [Thu, 19 Jul 2007 17:42:11 +0000 (17:42 +0000)]
* security.cc (set_nt_attribute): Remove.
(set_file_attribute): Do it yourself instead of calling
set_nt_attribute.

17 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_name): Use
Corinna Vinschen [Thu, 19 Jul 2007 17:22:34 +0000 (17:22 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_name): Use
NtQueryFullAttributesFile instead of FindFirstFile.
(fhandler_base::fstat_fs): Drop check for exec_state.  Drop check for
invalid characters.
* ntdll.h (struct _FILE_NETWORK_OPEN_INFORMATION): Define.
(NtQueryFullAttributesFile): Declare.

17 years ago * fhandler.cc (fhandler_base::open): Drop local wpath and upath
Corinna Vinschen [Thu, 19 Jul 2007 11:41:17 +0000 (11:41 +0000)]
* fhandler.cc (fhandler_base::open): Drop local wpath and upath
variables.  Call pc.get_object_attr to create object attributes.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto.
* syscalls.cc (unlink_nt): Ditto.
* path.cc (path_conv::set_normalized_path): Set wide_path to NULL.
(path_conv::get_nt_native_path): Drop parameter.  Create path in
wide_path/uni_path members.
(path_conv::get_object_attr): New method to create object attributes.
(path_conv::get_wide_win32_path): New method to create Win32 wide path.
(path_conv::check): Initialize wide_path to NULL.
(path_conv::~path_conv): cfree wide_path.
* path.h (class path_conv): New members wide_path and uni_path.
Add declarations of get_object_attr and get_wide_win32_path.
(path_conv::path_conv): Initialize wide_path to NULL.
(path_conv::get_nt_native_path): Drop parameter.

17 years ago * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
Danny Smith [Thu, 19 Jul 2007 09:25:32 +0000 (09:25 +0000)]
* include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
Vista.

17 years ago * sec_helper.cc: Remove unused code.
Corinna Vinschen [Thu, 19 Jul 2007 09:12:09 +0000 (09:12 +0000)]
* sec_helper.cc: Remove unused code.

17 years ago * autoload.cc (SetSecurityDescriptorControl): Drop.
Corinna Vinschen [Thu, 19 Jul 2007 09:06:54 +0000 (09:06 +0000)]
* autoload.cc (SetSecurityDescriptorControl): Drop.
* security.cc (alloc_sd): Set security descriptor control flag without
calling SetSecurityDescriptorControl function.
* wincap.h (wincapc::has_dacl_protect): Rename from
has_security_descriptor_control.
* wincap.cc: Ditto throughout.

17 years ago * autoload.cc (SetUserObjectSecurity): Drop.
Corinna Vinschen [Thu, 19 Jul 2007 08:36:32 +0000 (08:36 +0000)]
* autoload.cc (SetUserObjectSecurity): Drop.
* pinfo.cc (pinfo::set_acl): Use NtSetSecurityObject instead of
SetKernelObjectSecurity.
* spawn.cc (spawn_guts): Use NtSetSecurityObject instead of
SetUserObjectSecurity.
* uinfo.cc (cygheap_user::init): Ditto.

17 years ago * cygheap.h (init_cygheap::luid): Remove.
Corinna Vinschen [Thu, 19 Jul 2007 08:33:22 +0000 (08:33 +0000)]
* cygheap.h (init_cygheap::luid): Remove.
* mmap.cc (mlock): Accommodate parameter change in call to
push_thread_privilege.
(munlock): Ditto.
* ntdll.h (STATUS_NOT_ALL_ASSIGNED): Define.
(NtAdjustPrivilegesToken): Declare.
* sec_helper.cc (cygpriv): Reorder to match numerical privilege order.
(privilege_luid): Take job of privilege_luid_by_name, using new
cygpriv.
(privilege_luid_by_name): Remove.
(privilege_name): Accommodate new cygpriv array.
(set_privilege): Call NtAdjustPrivilegesToken to avoid using advapi32.
Accommodate changes to privilege_name.
(set_cygwin_privileges): Simplify.  Don't try to set
SE_CREATE_GLOBAL_PRIVILEGE on systems not supporting it.
* security.cc (sys_privs): Reorder to match numerical privilege order.
Use real privilege values as defined in security.h.
(get_system_priv_list): Drop unused grp_list argument.  Create
list of privileges according to new wincapc::max_sys_priv value.
(get_priv_list): Call privilege_luid instead of privilege_luid_by_name.
Make priv a local value instead of a pointer.
(create_token): Accommodate parameter change in call to
push_self_privilege.
(lsaauth): Ditto.
(check_access): Use privilege values directly instead of calling
privilege_luid.
* security.h: Define real privilege values.
(cygpriv_idx): Remove.
(privilege_luid): Change declaration.
(privilege_luid_by_name): Drop declaration.
(set_privilege): Change declaration.
(set_process_privilege): Drop definition.
(_push_thread_privilege): Accomodate new set_privilege parameters.
* wincap.h (wincapc::max_sys_priv): New element.
* wincap.cc: Implement above element throughout.
(wincap_2000sp4): New wincaps structure.
(wincap_xpsp1): Ditto.
(wincap_xpsp2): Ditto.
(wincapc::init): Use new wincaps.
(wincapc::max_sys_priv): New element.

17 years ago * dcrt0.cc (dll_crt0_0): Call set_cygwin_privileges here, after
Corinna Vinschen [Thu, 19 Jul 2007 07:24:17 +0000 (07:24 +0000)]
* dcrt0.cc (dll_crt0_0): Call set_cygwin_privileges here, after
initializing hProcToken.
* sec_helper.cc (init_global_security): Don't call set_cygwin_privileges        here.

17 years agoFix 'make info'.
Eric Blake [Thu, 19 Jul 2007 03:42:21 +0000 (03:42 +0000)]
Fix 'make info'.
* libc/stdio/stdio.tex: Add missing include.
* libc/stdio/vfprintf.c: Use expected node name.
* libc/stdio/vfscanf.c: Likewise.
* libc/stdio/sscanf.c: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/siscanf.c: Likewise.
* libc/stdio/siprintf.c: Likewise.
* libc/stdio/fopencookie.c: Quote raw {}.
Reported by DJ Delorie.

17 years ago * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
Bob Wilson [Wed, 18 Jul 2007 18:52:30 +0000 (18:52 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.

17 years agoFix date type for 1.15 release.
Jeff Johnston [Wed, 18 Jul 2007 18:27:04 +0000 (18:27 +0000)]
Fix date type for 1.15 release.

17 years ago * faq-using.xml (faq.using.console-window): Mention FHS location of
Brian Dessent [Wed, 18 Jul 2007 15:43:37 +0000 (15:43 +0000)]
* faq-using.xml (faq.using.console-window): Mention FHS location of
docs and remove outdated reference to ash.

17 years ago * include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define.
Corinna Vinschen [Wed, 18 Jul 2007 12:52:45 +0000 (12:52 +0000)]
* include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define.

17 years ago * cygheap.h (shared_prefix): De-const.
Corinna Vinschen [Wed, 18 Jul 2007 11:15:51 +0000 (11:15 +0000)]
* cygheap.h (shared_prefix): De-const.
(shared_prefix_buf): Add static buffer for shared prefix to avoid
additional allocation.
* cygheap.cc (cygheap_init): Set cygheap->shared_prefix to
cygheap->shared_prefix_buf and strcpy.

17 years ago * fhandler.cc (fhandler_base::fhaccess): Add check for R/O file system.
Corinna Vinschen [Tue, 17 Jul 2007 14:39:02 +0000 (14:39 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Add check for R/O file system.
* security.cc (check_registry_access): Set errno to EROFS when checking
for W_OK.

17 years ago * include/winnt.h (FILE_READ_ONLY_VOLUME): Define.
Corinna Vinschen [Tue, 17 Jul 2007 14:30:38 +0000 (14:30 +0000)]
* include/winnt.h (FILE_READ_ONLY_VOLUME): Define.
* include/ddk/ntifs.h (FILE_READ_ONLY_VOLUME): Define.

17 years ago* COPYING3: New file. Contains version 3 of the GNU General Public License.
Nick Clifton [Tue, 17 Jul 2007 13:50:23 +0000 (13:50 +0000)]
* COPYING3: New file.  Contains version 3 of the GNU General Public License.
* COPYING3.LIB: New file.  Contains version 3 of the GNU Lesser General Public License.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Move setting
Corinna Vinschen [Tue, 17 Jul 2007 13:22:21 +0000 (13:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Move setting
cfd->nohandle where it won't crash.

17 years ago * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.
Corinna Vinschen [Mon, 16 Jul 2007 20:01:15 +0000 (20:01 +0000)]
* cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.
Accommodate changge throughout Cygwin.
(cygheap_user::imp_token): Rename from token.  Accommodate changge
throughout Cygwin.
(rcygheap_user::eimpersonate): Use primary token for impersonation.
* grp.cc (internal_getgroups): Use primary impersonation token when
impersonated.
* security.h (_push_thread_privilege): Use primary impersonation token
when impersonated.

17 years ago* init.cc (in_dllentry): Delete.
Christopher Faylor [Sat, 14 Jul 2007 15:58:32 +0000 (15:58 +0000)]
* init.cc (in_dllentry): Delete.
(dll_entry): Remove assignment to deleted variable.
* winsup.h (in_dllentry): Delete declaration.
* exceptions.cc (inside_kernel): Use another method to see if we are in
dll_entry phase.

17 years ago* init.cc (in_dllentry): Make NO_COPY to avoid spurious false positives.
Christopher Faylor [Sat, 14 Jul 2007 02:27:11 +0000 (02:27 +0000)]
* init.cc (in_dllentry): Make NO_COPY to avoid spurious false positives.

17 years agoFix fflush issues.
Eric Blake [Fri, 13 Jul 2007 20:37:53 +0000 (20:37 +0000)]
Fix fflush issues.
* libc/stdio/fflush.c (_fflush_r): New function.
(fflush): Fix reentrancy and large offset behavior.
* libc/include/stdio.h (_fflush_r): Add prototype.
* libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/fseek.c (_fseek_r): Likewise.
* libc/stdio/ftell.c (_ftell_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/setvbuf.c (setvbuf): Likewise.
* libc/stdio/ungetc.c (_ungetc_r): Likewise.
* libc/stdio/vfprintf.c (__sbprintf): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
32-bit version if not large file.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.

17 years agomerge from gcc
DJ Delorie [Fri, 13 Jul 2007 18:23:23 +0000 (18:23 +0000)]
merge from gcc

17 years ago * mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ld
Kevin Buettner [Fri, 13 Jul 2007 17:32:21 +0000 (17:32 +0000)]
* mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ld
(.gcc_except_table): Add pattern for .gcc_except_table.*.

17 years agoDocumentation updates.
Eric Blake [Fri, 13 Jul 2007 17:07:28 +0000 (17:07 +0000)]
Documentation updates.
* libc/stdio/ungetc.c: Document ungetc.
* libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
of files with documentation.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/stdio.tex: Sort and update stdio documentation index.

17 years ago * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
Hans-Peter Nilsson [Thu, 12 Jul 2007 13:30:24 +0000 (13:30 +0000)]
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype.

17 years ago * configure.ac: Fix my previous change to really match GCC.
Bernd Schmidt [Thu, 12 Jul 2007 11:51:39 +0000 (11:51 +0000)]
* configure.ac: Fix my previous change to really match GCC.
* configure: Regenerate.

17 years ago2007-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 12 Jul 2007 11:22:31 +0000 (11:22 +0000)]
2007-07-12  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (FE_FONTSMOOTHINGSTANDARD, FE_FONTSMOOTHINGCLEARTYPE):
        Define.

17 years agoChangelog typo
Danny Smith [Thu, 12 Jul 2007 09:42:31 +0000 (09:42 +0000)]
Changelog typo

17 years ago * incude/wchar.h (_wsystem) Declare.
Danny Smith [Thu, 12 Jul 2007 09:38:17 +0000 (09:38 +0000)]
* incude/wchar.h (_wsystem) Declare.
(_wputenv) Declare.
(_wgetenv): Declare.
(_wsearchenv): Declare.
(_wmakepath): Declare.
(_wsplitpath): Declare.
(_wfullpath): Declare.
* incude/stdlib.h (_wsystem) Declare.
(_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath, _wfullpath):
Move into _WSTDLIB_DEFINED guard.
* include/tchar.h (_tsystem): New UNICODE mapping define.

17 years ago * include/winuser.h: (PBT_APMQUERYSUSPEND, PBT_APMQUERYSTANDBY,
Danny Smith [Thu, 12 Jul 2007 07:54:51 +0000 (07:54 +0000)]
* include/winuser.h: (PBT_APMQUERYSUSPEND, PBT_APMQUERYSTANDBY,
PBT_APMQUERYSUSPENDFAILED, PBT_APMQUERYSTANDBYFAILED,
PBT_APMSUSPEND, PBT_APMSTANDBY, PBT_APMRESUMECRITICAL,
PBT_APMRESUMESUSPEND, PBT_APMRESUMESTANDBY, PBT_APMBATTERYLOW,
PBT_APMPOWERSTATUSCHANGE, PBT_APMOEMEVENT, PBT_APMRESUMEAUTOMATIC):
Sync with include/pbt.h.

17 years agoAdd support for building on a 64-bit Windows host.
Nick Clifton [Thu, 12 Jul 2007 07:16:41 +0000 (07:16 +0000)]
Add support for building on a 64-bit Windows host.

17 years ago [mingw-Bugs-1751518]
Danny Smith [Thu, 12 Jul 2007 05:49:18 +0000 (05:49 +0000)]
[mingw-Bugs-1751518]
* include/mshtml.h (IHTMLDocument2): Correct spelling of put_URL, get_URL.

[mingw-Bugs-1751565]
* include/basetyps.h (IID); Guard with __IID_DEFINED__

[mingw-Bugs-1751595]
* include/exdisp.h (DWebBrowserEvents2): Remove undocumented STDDISP
methods.

17 years agoMerge from gcc:
DJ Delorie [Wed, 11 Jul 2007 19:12:27 +0000 (19:12 +0000)]
Merge from gcc:
2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* configure.ac: Rewrite 'configure --help' strings to look nicer.
* configure: Regenerate.

2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* configure.ac: Add some missing m4 quotation.
* configure: Regenerate.

17 years ago2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 11 Jul 2007 19:09:22 +0000 (19:09 +0000)]
2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>

* tls.m4 (GCC_CHECK_CC_TLS): New.

2007-07-05  Sebastian Pop  <sebpop@gmail.com>

PR bootstrap/32622
* mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
don't reset its value.

17 years ago2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 11 Jul 2007 18:09:08 +0000 (18:09 +0000)]
2007-07-11  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h: Fix so C99 functions/macros are accessible
        when -std=c99 is used when compiling and not when using C89.

17 years ago [mingw-Bugs-1750898]
Danny Smith [Tue, 10 Jul 2007 08:06:00 +0000 (08:06 +0000)]
[mingw-Bugs-1750898]
* include/mmsystem.h (MIXERCONTROL): Correct UNICODE mapping.
Thanks to Yuji Kuwabara  <yujikuwabara at sf dot net>

17 years ago* debug.cc (close_handle): Change debug output format slightly.
Christopher Faylor [Tue, 10 Jul 2007 01:21:03 +0000 (01:21 +0000)]
* debug.cc (close_handle): Change debug output format slightly.
* dlfcn.cc (dlclose): Don't close handle returned from GetModuleHandle(NULL).
* fhandler.h (fhandler_pipe::create): Remove obsolete argument.
(fhandler_pipe::create): Ditto.
* fhandler.cc (fhandler_pipe::create): Ditto.
(fhandler_pipe::create): Ditto.

17 years ago* strace.cc (usage): Add missing description for -q.
Christopher Faylor [Tue, 10 Jul 2007 00:57:30 +0000 (00:57 +0000)]
* strace.cc (usage): Add missing description for -q.

17 years ago* cygwin/strsig.cc (__signals): New macro.
Christopher Faylor [Tue, 10 Jul 2007 00:12:54 +0000 (00:12 +0000)]
* cygwin/strsig.cc (__signals): New macro.
(sys_sigabbrev): New array of signal strings, patterned after linux.
(siglist): Use __signals.
* cygwin/include/cygwin/signal.h (sys_sigabbrev): Define.
* cygwin/include/cygwin/version.h: Bump API minor version to 177.

* utils/Makefile.in (kill.exe): Remove reliance on libiberty.
* utils/kill.cc (strsigno): New function patterned after libiberty but using
newly exported cygwin array.

17 years ago.
Roland McGrath [Mon, 9 Jul 2007 21:21:50 +0000 (21:21 +0000)]
.

This page took 0.071653 seconds and 5 git commands to generate.