635f4bd3982006-09-08 Michael Gerdau <mgdde@users.sourceforge.net>
Danny Smith
2006-09-08 01:16:46 +0000
d6b1ac7faa* environ.cc (build_env): Don't put an empty environment variable into the environment. Optimize use of "len". * errno.cc (ERROR_MORE_DATA): Translate to EMSGSIZE rather than EAGAIN.
Christopher Faylor
2006-09-07 20:42:53 +0000
0324070e352006-09-07 Masaki Muranaka <monaka@monami-software.com>
Jeff Johnston
2006-09-07 17:32:19 +0000
aa61d16c042006-09-07 Masaki Muranaka <monaka@monami-software.com>
Jeff Johnston
2006-09-07 17:28:09 +0000
19ff420025[mingw-Bugs-1553275] * include/wingdi.h (SetLayout): Add prototype. (GetLayout): Likewise.
Danny Smith
2006-09-07 09:09:13 +0000
ab1d66234a* mingwex/gdtoa/misc.c (pow5mult): Restore original code. * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified. * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
Danny Smith
2006-09-06 22:03:16 +0000
d39002f9ca2006-09-06 Eric Blake <ebb9@byu.net>
Jeff Johnston
2006-09-06 20:03:27 +0000
a046f426ed[mingw-Bugs-1550139] * include/oleauto.h (GetRecordInfoFromTypeInfo): Add prototype. (GetRecordInfoFromGuids): Add prototype.
Danny Smith
2006-09-02 09:00:45 +0000
1202770601* include/winbase.h: Add comment about 'missing' SEM flag.
Danny Smith
2006-09-01 01:28:30 +0000
e635b30956Import David Gay's gdtoa library.
Danny Smith
2006-08-31 23:48:56 +0000
55283468e6* grp.cc (initgroups32): Run get_server_groups under original token. * syscalls.cc (seteuid32): Slightly reorganize code creating a token.
Corinna Vinschen
2006-08-31 15:57:56 +0000
c9f1f4b438* Makefile.in: Make install-license .PHONY. Make sure that doc directory is created before copying to it.
Christopher Faylor
2006-08-31 00:53:48 +0000
52d82ba5272006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston
2006-08-30 19:06:48 +0000
6f91c38b892006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston
2006-08-30 19:04:31 +0000
bc6686654c* configure.in: Never build newlib for a Mingw host. Never build newlib as Mingw target library. Test the existence of winsup/cygwin for building a Cygwin newlib, rather than just winsup. Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if building a Mingw target. * configure: Regenerate.
Corinna Vinschen
2006-08-30 13:14:18 +0000
7e5d0e9f95* Makefile.in: Make installation of CYGWIN_LICENSE configurable. * aclocal.m4: Regenerate. * configure.in: Add GCC_NO_EXECUTABLES call. Add configuration for INSTALL_LICENSE. Make cygwin subdirectory optional. Add sanity check for cygwin resp. mingw subdirectories dependent of the target. * configure: Regenerate.
Corinna Vinschen
2006-08-30 13:05:46 +0000
3cdac9e9d4* Makefile.in: Add with_cross_host to allow more granular checks. Set installation directories accordingly. Override CC setting only if building a Cygwin target. * aclocal.m4: Regenerate. * configure.in: Move AC_CANONICAL_SYSTEM check up. Add GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files. Test AC_ALLOCA only if building on a native system. * configure: Regenerate.
Corinna Vinschen
2006-08-30 13:05:05 +0000
fc0256b600* configure.in: Substitute with_cross_host in depending files. * configure: Regenerate. * lib/Makefile.in: Add with_cross_host to allow more granular checks. Set installation directories accordingly. * lib/ddk/Makefile.in: Ditto. * lib/directx/Makefile.in: Ditto.
Corinna Vinschen
2006-08-30 13:04:41 +0000
9e8b8cdb9fRemove references to %redact files
Nick Clifton
2006-08-30 08:40:26 +0000
859742654a2006-08-29 Paul Brook <paul@codesourcery.com>
Jeff Johnston
2006-08-29 21:00:59 +0000
c1f828e56e2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
Jeff Johnston
2006-08-28 17:17:24 +0000
1cc0c5d6f9* child_info.h (child_info_spawn::~child_info_spawn): Don't close myself_pinfo handle when spawning.
Christopher Faylor
2006-08-27 16:46:27 +0000
d9baa656ed2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-08-27 12:14:58 +0000
1e069c300d* faq-setup.xml (faq.setup.uninstall): Mention Safe Mode requirement for accessing the Security tab in XP Home. * faq-using.xml (faq.using.chmod): Mention FAT32.
Joshua Daniel Franklin
2006-08-26 19:11:00 +0000
80f52ae1dd* include/ctype.h: Expose iswblank if __cplusplus. * include/wctype.h: Expose iswblank if __cplusplus.
Danny Smith
2006-08-25 09:10:05 +0000
d82b4a993b2006-08-24 Paul Brook <paul@codesourcery.com>
Jeff Johnston
2006-08-24 23:07:15 +0000
1fa66a83d12006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston
2006-08-23 16:13:24 +0000
b8e05321ba2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston
2006-08-23 16:07:36 +0000
380d8ec45d2006-08-22 Eric Blake <ebb9@byu.net>
Jeff Johnston
2006-08-22 20:30:37 +0000
cb5e3d1df72006-08-21 David Ung <davidu@mips.com>
Jeff Johnston
2006-08-21 22:24:42 +0000
b0662a051b* fhandler_disk_file.cc (DIR_NUM_ENTRIES): Set to 100 to maximize performance on remote shares. (fhandler_disk_file::opendir): Move comment about Samba weirdness into fhandler_disk_file::readdir. Don't disallow FileIdBothDirectoryInformation on Samba. (fhandler_disk_file::readdir): Workaround Samba problem with FileIdBothDirectoryInformation by rereading already read entries using FileBothDirectoryInformation. Change comment about Samba weirdness explaining this change.
Corinna Vinschen
2006-08-20 12:18:12 +0000
ffa6849093* fhandler_disk_file.cc (fhandler_disk_file::pread): Properly check for non-error return from lseek.
Christopher Faylor
2006-08-19 21:44:58 +0000
a0922fcb04* sys/types.h: Correct syntax error caused by missing '\' on #ifdef line.
Christopher Faylor
2006-08-19 16:13:23 +0000
84a79403822006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
Jeff Johnston
2006-08-17 15:53:15 +0000
30691bd756* fhandler_serial.cc (raw_read): Evaluate minchars taking the vmin_ > ulen case into account. Simplify evaluating the bytes to read. Don't use bytes in Queue value from ClearCommError call in case vtime_ is > 0. Reformat GetOverlappedResult call. Simplify call to ReadFile.
Corinna Vinschen
2006-08-17 14:51:48 +0000
0d8de89c9b2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston
2006-08-16 21:51:13 +0000
57819655332006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston
2006-08-16 21:49:24 +0000
1641d724b82006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston
2006-08-16 21:45:53 +0000
734e8414352006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston
2006-08-16 21:39:43 +0000
0486bb7f0d2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston
2006-08-16 21:15:03 +0000
8216dda89f[ ChangeLog ] * config.sub: Add support for sde as alias of mipsisa32-sde-elf.
Thiemo Seufer
2006-08-15 18:23:07 +0000
e39a29e36b* shared.cc (open_shared): Desperately try to get shared memory, only when DEBUGGING enabled for now.
Corinna Vinschen
2006-08-11 15:40:07 +0000
fc43c1d925* lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here... * lib/kernel32.def (WTSGetActiveConsoleSessionId). ...to here.
Danny Smith
2006-08-10 21:06:01 +0000
1767b8d028* pinfo.cc (_onreturn::~onreturn): Don't attempt to close a NULL handle.
Christopher Faylor
2006-08-10 20:25:54 +0000
2f98d8bdc7revert erroneous checkin
Christopher Faylor
2006-08-10 14:16:24 +0000
44d67b9b31* winsup.h: Turn on DEBUGGING by default for now.
Christopher Faylor
2006-08-10 14:15:00 +0000
887e02e478* fhandler_disk_file.cc (fhandler_disk_file::lock): Handle ERROR_NOT_LOCKED returned from UnlockFileEx.
Corinna Vinschen
2006-08-10 08:44:43 +0000
eab543a1d6* overview2.sgml: Remove inaccurate "full support for windows pathnames" clause.
Christopher Faylor
2006-08-09 16:13:56 +0000
bbf38a55c6* autoload.cc (GetHandleInformation): Declare new function. (SetHandleInformation): Ditto. * debug.cc (add_handle): Use SetHandleInformation to protect handle. (close_handle): Use SetHandleInformation to unprotect handle. * spawn.cc (spawn_guts): Move detached test outside of P_OVERLAY block.
Christopher Faylor
2006-08-09 15:04:32 +0000
7636b58590* autoload.cc (NtSetInformationFile): Define. * cygwin.din: Export posix_fadvise and posix_fallocate. * fhandler.cc (fhandler_base::fadvise): New method. (fhandler_base::ftruncate): Add allow_truncate parameter. * fhandler.h (class fhandler_base): Add fadvise method. Accomodate new parameter to ftruncate. (class fhandler_pipe): Add fadvise and ftruncate methods. (class fhandler_disk_file): Add fadvise method. Accomodate new parameter to ftruncate. * fhandler_disk_file.cc (fhandler_disk_file::fadvise): New method. (fhandler_disk_file::ftruncate): Accomodate new allow_truncate parameter. Set EOF using NtSetInformationFile on NT. * ntdll.h (struct _FILE_END_OF_FILE_INFORMATION): Define. (NtSetInformationFile): Declare. * pipe.cc (fhandler_pipe::fadvise): New method. (fhandler_pipe::ftruncate): Ditto. * syscalls.cc (posix_fadvise): New function. (posix_fallocate): Ditto. (ftruncate64): Accomodate second parameter to fhandler's ftruncate method. * include/fcntl.h: Add POSIX_FADV_* flags. Add declarations of posix_fadvise and posix_fallocate. * include/cygwin/version.h: Bump API minor number.
Corinna Vinschen
2006-08-07 19:29:14 +0000
76ddec15ab* ldmain.c (main): Initialise print_gc_sections field of link_info structure. * lexsup.c: Add --print-gc-sections and --no-print-gc-sections switches. * ld.texinfo: Document new switches. * NEWS: Mention new switches. * bfdlink.h (struct bfd_link_info): New field: print_gc_sections. * elflink.c (elf_gc_sweep): If info.print_gc_sections is true, list removed sections to stderr.
Nick Clifton
2006-08-04 14:53:25 +0000
840d9c1abe* include/ctype.h: Remove stray ')'.
Danny Smith
2006-08-03 21:05:05 +0000
079b45dc002006-08-03 J"orn Rennecke <joern.rennecke@st.com>
Jeff Johnston
2006-08-03 16:56:05 +0000
fb43e6237c* path.cc (vconcat): Don't convert backslahes to slashes. (cygpath): Return native path with all backslashes.
Corinna Vinschen
2006-08-03 15:29:30 +0000
bb1a7afa67* include/ctype.h (_BLANK): Expand comment. (isblank): Add prototype and inline definition. (iswblank): Add prototype and inline definition. * include/wctype.h (iswblank): Add prototype and inline definition. * mingwex/isblank.c: New file. * mingwex/iswblank.c: New file. * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
Danny Smith
2006-08-03 07:44:30 +0000
9e4051d4b7fix typo
Christopher Faylor
2006-08-03 03:59:27 +0000
bee65cb860* Makefile.in (subauth): Add dependency on mingw.
Christopher Faylor
2006-08-03 03:47:54 +0000
6f1d48621e* environ.cc (env_win32_to_posix_path_list): Declare. (conv_envvars): Use env_win32_to_posix_path_list rather than cygwin_win32_to_posix_path_list. (posify): Translate back to win32 path if errno is EIDRM. * environ.h: Update copyright. Define ENV_CVT. * path.cc (conv_path_list): If converting for the environment and removed an element set errno to ENV_CVT. (env_win32_to_posix_path_list): New function.
Christopher Faylor
2006-08-02 15:11:48 +0000
2dba45f4aa* Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll. * cygpath.cc: Include DDK headers. (RtlAllocateUnicodeString): New static inline function. (get_device_name): New static function to evaluate DOS path from native NT path. (get_device_paths): New function to do the same for path lists. (doit): Call get_device_paths/get_device_name where appropriate.
Corinna Vinschen
2006-08-02 09:48:18 +0000
2ebf115df92006-08-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-08-01 20:20:25 +0000
8fe03354d9* cygwinenv.sgml: Document [no]dosfilewarning option.
Christopher Faylor
2006-08-01 18:06:49 +0000
01bbb24d15* environ.cc (dos_file_warning): Declare. (parse_thing): Add "dosfilewarning". Alphabetize. * path.cc (normalize_posix_path): Return -1 when MS-DOS path detected. (warn_msdos): New function. (path_conv::check): Call if !PC_NOWARN and MS-DOS path detected. (cygwin_conv_to_win32_path): Set PC_NOWARN when calling path_conv. (cygwin_conv_to_full_win32_path): Ditto. * path.h (pathconv_arg::PC_NOWARN): Define. * shared_info.h (user_info::warned_msdos): New field. (CURR_USER_MAGIC): Reset.
Christopher Faylor
2006-08-01 18:00:44 +0000
0a85d87f032006-07-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-07-31 23:01:28 +0000
cc023a75572006-07-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-07-31 22:21:24 +0000
b23bc8c33c* fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem with poll(2) after shutdown(SHUT_RD) has been called on the local side. * poll.cc (poll): Use POSIX type nfds_t for second parameter. Drop special socket handling for POLLIN. Add comment to explain why. * include/sys/poll.h: Declare nfds_t. Use as type for second parameter in poll(2) declaration.
Corinna Vinschen
2006-07-31 14:27:56 +0000
1f7dbb011a* fhandler_socket.cc (fhandler_socket::evaluate_events): Circumvent potential race condition. (fhandler_socket::recv_internal): Fix MSG_PEEK bug on blocking sockets and simplify recv loop. (fhandler_socket::send_internal): Only lock when changing wsock_events.
Corinna Vinschen
2006-07-31 12:55:20 +0000
a947b6879f* autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 function is used anymore. Drop all unused ws2_32.dll functions.
Corinna Vinschen
2006-07-31 08:59:56 +0000
4838aa88d9Update more IMAGE relocation type indicators to PECOFF v8 (May, 2006) specs.
Danny Smith
2006-07-29 09:25:45 +0000
8f713b6b08* fhandler.h (struct wsa_event): Define here. (class fhandler_socket): Make wsock_evt private again. (fhandler_socket::wsock_event): New read accessor for wsock_evt. (fhandler_socket::serial_number): New read accessor to get the socket's serial number. (fhandler_socket::ready_for_read): Just return true. * fhandler_socket.cc (struct wsa_event): Move definition to fhandler.h. * select.cc (struct socketinf): Add serial number vector. (start_thread_socket): Identify duplicate sockets by their serial number, not (wrongly) by their wsock_evt.
Corinna Vinschen
2006-07-28 08:50:46 +0000
bc31293a0d* cygpath.c (get_long_name): Cover the case that GetLongPathName doesn't return valid information for non-existant files. Just return incoming filename in that case.
Corinna Vinschen
2006-07-27 21:07:33 +0000
fd5879c110* fhandler_socket.cc: Revert misguided attempt to handle FD_CLOSE error conditions in evaluate_events. (search_wsa_event_slot): Move wrongly placed memset in fhandler_socket::init_events here. (fhandler_socket::init_events): Initially set FD_WRITE event for connectionless sockets. * poll.cc (poll): Don't add sockets always to except_fds since select is now supposed to do it right. * select.cc (set_bits): Set connection state correctly for failed af_local_connect on local sockets. Remove socket special handling for except_selected descriptors. (peek_socket): Try to set the read/write/exception bits actually correctly.
Corinna Vinschen
2006-07-27 13:58:54 +0000
883861544a* fhandler_socket.cc (fhandler_socket::recvmsg): Remove unused tot argument. All callers changed. (fhandler_socket::sendmsg): Likewise. * net.cc (cygwin_recvmsg): Likewise. (cygwin_sendmsg): Likewise, and prevent calling sendmsg whith an invalid iovec. * fhandler.h (fhandler_socket::recvmsg): Adjust prototype. (fhandler_socket::sendmsg): Likewise.
Corinna Vinschen
2006-07-27 09:18:28 +0000
9869e006f3* fhandler.h (class fhandler_socket): Remove prot_info_ptr. (fhandler_socket::fixup_before_fork_exec): Remove. (fhandler_socket::fixup_after_exec): Remove. (fhandler_socket::need_fixup_before): Remove. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Drop initializing prot_info_ptr. Remove unused code. (fhandler_socket::~fhandler_socket): Drop free'ing prot_info_ptr. (struct wsa_event): Rename connect_errorcode to errorcode. (fhandler_socket::evaluate_events): Handle FD_CLOSE error condition as FD_CONNECT error condition, except, never reset an FD_CLOSE error condition. Always set FD_WRITE after successfully recorded FD_CONNECT. (fhandler_socket::fixup_before_fork_exec): Remove. (fhandler_socket::fixup_after_fork): Revert to using handle duplication. (fhandler_socket::fixup_after_exec): Remove. (fhandler_socket::dup): Revert to using handle duplication. (fhandler_socket::send_internal): Only call wait_for_events in case of WSAEWOULDBLOCK condition. (fhandler_socket::set_close_on_exec): Call fhandler_base::set_close_on_exec. * net.cc (fdsock): Just set socket to inheritable on non-NT. Don't call inc_need_fixup_before. * select.cc (peek_socket): Don't set except_ready on every FD_CLOSE, just on error.
Corinna Vinschen
2006-07-27 09:11:38 +0000
40f67ea198Update some IMAGE flags to PECOFF v8 (May, 2006) specs. * include/winnt.h (IMAGE_FILE_MACHINE_AM33, IMAGE_FILE_MACHINE_ARM, IMAGE_FILE_MACHINE_EBC, IMAGE_FILE_MACHINE_M32R, IMAGE_FILE_MACHINE_MIPS16, IMAGE_FILE_MACHINE_MIPSFPU, IMAGE_FILE_MACHINE_MIPSFPU16, IMAGE_FILE_MACHINE_POWERPCFP, IMAGE_FILE_MACHINE_R4000, IMAGE_FILE_MACHINE_SH3, IMAGE_FILE_MACHINE_SH3DSP, IMAGE_FILE_MACHINE_SH4, IMAGE_FILE_MACHINE_SH5, IMAGE_FILE_MACHINE_THUMB, IMAGE_FILE_MACHINE_WCEMIPSV2): Add defines.
Danny Smith
2006-07-27 08:30:33 +0000
5ecd1ea663* fhandler.cc (fhandler_base::read): Call get_readahead_into_buffer instead of duplicating it.
Christopher Faylor
2006-07-27 03:32:51 +0000
a0bb355ffe* shared.cc (offsets): Define as offsets relative to cygwin_hmodule instead of addresses. (off_addr): New macro. (open_shared): Use offsets array accordingly. Remove unused code. * shared_info.h (cygwin_shared_address): Remove.
Corinna Vinschen
2006-07-26 21:02:01 +0000
5faa48850f* cygheap.h (struct init_cygheap): Remove shared_h and mt_h members. * fhandler_tape.cc (mt): Define as DLL shared area in .cygwin_dll_common instead of as dynamically allocated area. Change referencing throughout. * mtinfo.h (mt_h): Remove entirely. (mt): Remove extern declaration. * shared.cc (cygwin_shared_area): New global cygwin_shared variable located in .cygwin_dll_common. (offsets): Define shared region addresses descending from cygwin_shared_address. (open_shared): Replace usage of SH_CYGWIN_SHARED by SH_USER_SHARED. (memory_init): Set cygwin_shared just by pointing to cygwin_shared_area. * shared_info.h (shared_locations): Remove SH_CYGWIN_SHARED and SH_MTINFO. (cygwin_shared_address): Define as DLL start address. * tty.h (tty_min::tty_min): Remove constructor.
Corinna Vinschen
2006-07-26 15:59:39 +0000
020a7b4711* include/cygwin/in6.h: Guard in_port_t typedef more restrictive to avoid compiler warning.
Corinna Vinschen
2006-07-25 20:01:38 +0000
724c4ed146* security.cc (get_logon_server): Remove nret and use dret for everything to avoid a g++ warning.
Christopher Faylor
2006-07-25 19:44:17 +0000