cebf33e4022007-09-18 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-09-18 20:05:17 +0000
3908c985922007-09-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-09-18 19:32:43 +0000
4090f565a8* mmap.cc (fh_disk_file): Delete as global static variable and... (mmap64): ...define as local pointer to make mmap thread-safe. Accommodate throughout. Only initialize fh_disk_file after file could be opened with GENERIC_EXECUTE access. Call fstat_by_handle instead of fstat to avoid overhead.
Corinna Vinschen
2007-09-18 15:59:50 +0000
d81b646dc3* security.cc (set_file_sd): Open file with FILE_OPEN_FOR_BACKUP_INTENT too.
Corinna Vinschen
2007-09-18 14:36:29 +0000
76053dfb52* configure.ac: Raise minimum makeinfo version to 4.6. * configure: Regenerate.
Andreas Schwab
2007-09-17 20:59:06 +0000
ba21046d03Obey POSIX on printf("%.s", (char*)NULL). * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account for %s on NULL. Skip NULL check when optimizing for size.
Eric Blake
2007-09-17 20:14:29 +0000
8e34786463* fhandler.cc (fhandler_base::open): Partly revert change from 2007-08-24: Call has_acls to avoid permission problems getting a handle to a file on a remote share. Add comment.
Corinna Vinschen
2007-09-17 16:48:14 +0000
70e728c2db* configure.ac: Correct makeinfo version check. * configure: Regenerate.
Alan Modra
2007-09-14 15:47:01 +0000
524e457026* configure.ac (mips*-sde-elf*): New stanza. Add target-libiberty to $skipdirs and only disable gprof for newlib. Use the normal mips*-elf* handling in other respects. * configure: Regnerate.
Richard Sandiford
2007-09-14 14:51:36 +0000
130377028dRearrange to sync with gcc.
DJ Delorie
2007-09-12 18:51:47 +0000
1b410bcf082007-09-12 David Daney <ddaney@avtrex.com>
David Daney
2007-09-12 17:51:22 +0000
420cb19173Move the last entry to proper ChangeLog.
H.J. Lu
2007-09-12 04:42:14 +0000
fd1c1753af2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Andrew Haley
2007-09-11 13:10:20 +0000
46093329c32007-09-10 Rask Ingemann Lambertsen <rask@sygehus.dk> PR other/32154 * configure.ac: For libgloss targets, point the linker to the linker script, startup code and simulator library. * configure: Regenerate.
DJ Delorie
2007-09-11 00:22:05 +0000
602c33ba462007-09-09 Andrew Haley <aph@redhat.com>
Andrew Haley
2007-09-09 08:19:50 +0000
1515ce296a* include/cygwin/config.h: Conditionalize inline __getreent() definition on _COMPILING_NEWLIB.
Brian Dessent
2007-09-08 10:51:37 +0000
e5ae72300f2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-09-07 21:24:55 +0000
36fe6da6752007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-09-07 21:18:03 +0000
dde223343c2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-09-07 21:16:25 +0000
78e66fb9782007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-09-07 15:30:59 +0000
e65aa07ac6Fix typo in ChangeLog and math.h.
Jeff Johnston
2007-09-06 19:55:34 +0000
6494ee837c2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-09-06 19:51:46 +0000
1eb76b8f84* include/sys/stdio.h (_flockfile): Don't try to lock a FILE that has the __SSTR flag set. (_ftrylockfile): Likewise. (_funlockfile): Likewise.
Brian Dessent
2007-09-06 18:47:44 +0000
b95701711bmerge from gcc
DJ Delorie
2007-09-06 17:22:36 +0000
86a934d2252007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston
2007-09-04 17:33:10 +0000
3509dfbbca* configure: Regenerate.
Christopher Faylor
2007-08-31 23:11:04 +0000
6ddf8bef402007-08-31 Antony King <antony.king@st.com>
Jeff Johnston
2007-08-31 21:21:27 +0000
95500c2effmerge from gcc
DJ Delorie
2007-08-31 20:20:44 +0000
d848b3419f2007-08-31 Dave Korn <dave.korn@artimi.com>
Dave Korn
2007-08-31 00:39:41 +0000
b440439a89Move changelog
Richard Sandiford
2007-08-30 20:22:12 +0000
7132f76c96* config.sub, config.guess: Update from upstream sources.
Nick Clifton
2007-08-29 15:23:21 +0000
d48946a61e* config.sub: Add support for cr16 target.
Nick Clifton
2007-08-29 08:57:40 +0000
d4a27886522007-08-28 Hans Kester <hans.kester@ellips.nl>
Jeff Johnston
2007-08-28 21:56:50 +0000
01cd95204eMake snprintf() and vsnprintf() conform to C99.
Keith Marshall
2007-08-25 13:49:37 +0000
80bed8e0a4include/elf/ * common.h (NT_SPU): Define. bfd/ * elf.c (elfcore_grok_spu_note): New function. (elf_parse_notes): Call it. binutils/ * readelf.c (process_note): Recognize SPU core file notes.
Alan Modra
2007-08-25 13:20:40 +0000
309faeb5ca2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-08-24 20:49:59 +0000
70650b2db4* syscalls.cc (open): Don't follow symlinks if O_EXCL is given.
Corinna Vinschen
2007-08-24 14:55:56 +0000
c60c72d718* dll.sgml: myprog.ca -> myprog.c
Christopher Faylor
2007-08-24 14:52:39 +0000
e6e56f7c722007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
Jeff Johnston
2007-08-23 18:45:22 +0000
fc32145a4cSwitch the license of all .h files to GPLv3.
Joel Brobecker
2007-08-23 18:17:33 +0000
a888c0799c* ntdll.h (STATUS_NO_SUCH_FILE): Define. * path.cc (get_nt_native_path): Reset upath.Length to 0 on each invocation. (symlink_info::check): Use NT native functions.
Corinna Vinschen
2007-08-23 07:43:24 +0000
e1e4b104b6* uinfo.cc (pwdgrp::load): Use NT native functions.
Corinna Vinschen
2007-08-21 17:38:27 +0000
2e9fe498f2* fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checking for executable file magic using a thread safe method and re-enable this code.
Corinna Vinschen
2007-08-21 15:37:10 +0000
f5f0ae3e26* syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.
Corinna Vinschen
2007-08-21 12:39:53 +0000
1b61bf152b* ntdll.h (NtNotifyChangeDirectoryFile): Declare. (NtQueryAttributesFile): Move to maintain alphabetical order of declarations. Add comment to note that timestamp information returned by NtQueryAttributesFile is unreliable. * path.h (etc::changed_h): Move here. (etc::fn): Change type to OBJECT_ATTRIBUTES. (etc::last_modified): Change type to LARGE_INTEGER. (etc::init): Take PUNICODE_STRING as second argument. * path.cc: Accomodate above changes. (etc::test_file_change): Use NT native functions. (etc::dir_changed): Ditto. * uinfo.cc (pwdgrp::load): Call etc::init with NT native path.
Corinna Vinschen
2007-08-21 12:37:40 +0000
66e36b7987* fhandler_disk_file.cc: Change debugging output througout to print the NT status consistently. Use UNICODE path information if available.
Corinna Vinschen
2007-08-21 12:09:38 +0000
3c527a31f3Bring over from the GCC tree:
Ben Elliston
2007-08-21 04:15:07 +0000
e0bdf94f32* autoload.cc (CloseDesktop): Define. (CreateDesktopA): Define. (SetThreadDesktop): Define. * spawn.cc (spawn_guts): When starting a process under another user account, don't open up permissions on current window station and desktop. Instead, if not in interactive session, create a new per-user window station plus default desktop and use that for the child process.
Corinna Vinschen
2007-08-17 19:58:57 +0000
2ad518b5a02007-08-17 Richard Sandiford <richard@codesourcery.com> Nigel Stephens <nigel@mips.com>
Richard Sandiford
2007-08-17 13:15:24 +0000
2b41ef78c2* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): Add to flags_to_pass. Adjust uses of BOOT_CFLAGS. (bootstrap2-debug, bootstrap-debug): New bootstrap stages. * Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New. (do-compare, do-compare3, do-compare-debug): New. ([+compare-target+]): Use them.
Alexandre Oliva
2007-08-17 00:03:44 +0000
f4c963630e* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK mode bit by setting the SYSTEM attribute. * fhandler_socket.cc (fhandler_socket::fchmod): Add S_IFSOCK mode bit when calling fhandler_disk_file::fchmod. Don't set attributes here.
Corinna Vinschen
2007-08-16 16:59:25 +0000
29fec364c0* dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING. * sec_acl.cc (getacl): Convert debug output to print native NT path. * security.cc (set_file_attribute): Ditto. * syscalls.cc (try_to_bin): Ditto and fix buggy debug statement.
Corinna Vinschen
2007-08-16 14:46:23 +0000
dec9daad4a* ntdll.h (RtlAcquirePebLock): Declare. (RtlReleasePebLock): Declare. * path.cc (cwdstuff::set): Change PEB only while it's locked.
Corinna Vinschen
2007-08-16 14:30:53 +0000
bd61a7f7b9* fhandler.h (fhandler_base::get_namehash): Use NT native path. * fhandler_disk_file.cc (readdir_get_ino): Ditto in call to hash_path_name.
Corinna Vinschen
2007-08-16 14:10:06 +0000
855e63eb4b* ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration. (RtlUpcaseUnicodeChar): Declare. * path.cc (hash_path_name): Split into three functions, taking the path as char *, PWCSTR, or PUNICODE_STRING. Move implementation into PUNICODE_STRING-based function. Drop old drive-relative path consideration. * winsup.h (iswdirsep): Like isdirsep but for WCHARs. (isabspath_u): Like isabspath, for PUNICODE_STRINGs. (iswabspath): Like isabspath, for PWCHARs. (hash_path_name): Add new declarations.
Corinna Vinschen
2007-08-16 10:41:45 +0000
c4bd837700* path.cc (get_nt_native_path): Allow to convert special paths which have no native NT path representation for simplified debug output. * syscalls.cc: Convert debug output to print native NT path. (unlink): Drop redundant debug output.
Corinna Vinschen
2007-08-15 16:27:09 +0000
6d70255fe8* fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous test for trailing dot. * path.h (path_conv::operator []): Remove.
Corinna Vinschen
2007-08-15 15:31:19 +0000
d85bcb4542* fhandler_socket.cc (get_inet_addr): Use NT native functions for accessing the file representing the local socket. (fhandler_socket::bind): Ditto. * ntdll.h: Declare NtReadFile.
Corinna Vinschen
2007-08-15 15:17:05 +0000
3b98bacfd6* path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION and ERROR_ACCESS_DENIED, try to get file attributes by using directory functions.
Corinna Vinschen
2007-08-14 16:19:13 +0000
4a971ce403* fhandler.h (fhandler_base::pc): Make public. * fhandler_disk_file.cc (fhandler_disk_file::link): Drop extern declaration of stat_suffixes. Use NT native path in debug output. (fhandler_base::utimes_fs): Simplify closeit case. Use close_fs to close newly opened file handle. (fhandler_base::open_fs): Use NT native path in debug output. * path.cc: Throughout drop extern declaration of stat_suffixes. * path.h (stat_suffixes): Declare. * sec_acl.cc (acl_worker): Drop extern declaration of stat_suffixes. * times.cc (utimes_worker): Take path_conv as parameter instead of single-byte pathnam, drop nofollow argument, accommodate throughout. Compare UNICODE paths when enumerating file descriptors. Fix formatting. Use NT native path in debug output.
Corinna Vinschen
2007-08-14 14:48:52 +0000
7d2ade3341* mmap.cc: Call NtClose instead of CloseHandle throughout. (CreateMapping): Drop unused last argument. Accommodate throughout. (mmap64): Re-open file with execute permissions using NtOpenFile.
Corinna Vinschen
2007-08-13 19:44:31 +0000
a9a6f942292007-08-13 Carlos O'Donell <carlos@codesourcery.com>
Jeff Johnston
2007-08-13 18:13:39 +0000
176c3f21b4* Makefile.in (DLL_OFILES): Remove delqueue.o. * delqueue.cc: Delete. * fhandler.h (fhandler_base::close_fs): Drop declaration. (fhandler_disk_file::close): Drop declaration. * fhandler_disk_file.cc (fhandler_base::fstat_fs): Call close instead of close_fs. (fhandler_base::fstat_helper): Use open FH_UNIX handle in call to get_file_attribute. (fhandler_base::open_fs): Call close instead of get_file_attribute. (fhandler_disk_file::close): Remove. (fhandler_base::close_fs): Remove. * fhandler_socket.cc (fhandler_socket::close): Just call fhandler_base::close for FH_UNIX sockets. * shared.cc (user_shared_initialize): Drop call to user_shared->delqueue.init. * shared_info.h (CURR_USER_MAGIC): Change according to below change. (MAX_DELQUEUES_PENDING): Remove. (class delqueue_list): Remove. (class user_info): Remove delqueue. * syscalls.cc (close_all_files): Drop call to user_shared->delqueue.process_queue. (unlink): Drop delqueue handling.
Corinna Vinschen
2007-08-13 17:16:05 +0000
19afaa1a50* devices.in (dev_storage): Use native NT device name for kmsg mailslot. * devices.cc: Regenerate. * fhandler.cc (fhandler_base::operator =): Use path_conv assignment operator. (fhandler_base::set_name): Ditto. (fhandler_base::open): Use NT native path in debug output. * fhandler_mailslot.cc: Convert to NT native function calls. * ntdll.h (struct _FILE_MAILSLOT_SET_INFORMATION): Define. (NtCreateMailslotFile): Declare. * path.cc (path_conv::set_normalized_path): Don't set wide_path to NULL. (path_conv::set_name): Remove unused function. * path.h (path_conv::set_name): Drop declaration. (path_conv::operator =): Define.
Corinna Vinschen
2007-08-13 15:08:25 +0000
e31a79b1d6* standards.texi: Import 22 July 2007 version. * fdl.texi: Import version 1.2. * make-stds.texi: Import 2006 version.
Nick Clifton
2007-08-13 09:45:22 +0000
fc7c811f03* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass --silent if $silent. * configure: Regenerate.
Ben Elliston
2007-08-13 01:32:36 +0000
8b6f3d4c86* faq-programming.xml: Clarify where to run "make check".
Christopher Faylor
2007-08-12 19:45:45 +0000
e30c67e6cc* src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.
Daniel Jacobowitz
2007-08-12 19:05:42 +0000
61c44b72d4* ntdll.h: Add descriptive comments to special Rtl functions. (STATUS_OBJECT_PATH_NOT_FOUND): Define. (STATUS_BUFFER_OVERFLOW): Define. (FILE_SUPERSEDED): Define. (FILE_OPENED): Define. (FILE_CREATED): Define. (FILE_OVERWRITTEN): Define. (FILE_EXISTS): Define. (FILE_DOES_NOT_EXIST): Define. (PIO_APC_ROUTINE): Typedef. (NtFsControlFile): Fix parameter types to use PIO_APC_ROUTINE. (NtWriteFile): Declare. (RtlInt64ToHexUnicodeString): Declare. * strfuncs.cc: Include ntdll.h. (RtlInt64ToHexUnicodeString): New function. * syscalls.cc (try_to_bin): Rewrite using native NT functions. Only try to create recycle bin after unsuccessfully trying to move file. Also try to create special files in recycle bin so that Windows Explorer isn't unnecessarily stampeded.
Corinna Vinschen
2007-08-12 12:48:02 +0000
847e89f8e12007-08-10 Carlos O'Donell <carlos@codesourcery.com>
Jeff Johnston
2007-08-10 19:36:46 +0000