Commit Graph

  • a6b29e7d72 Optimize execvp, considering we already know the lengths of the strings we want to concatenate. master MSYS-1_0_19 Cesar Strauss 2016-02-09 16:04:24 +0000
  • 74075ea863 Fix execvp to check pathname size before writing it into the buffer. Cesar Strauss 2016-02-08 17:52:50 +0000
  • 4f63b40378 Increment version to 1.0.19. Cesar Strauss 2014-07-13 18:01:38 +0000
  • 96f67347bc Import a Cygwin fix for the incorrect use of a pipe capability flag. Cesar Strauss 2014-06-14 19:27:03 +0000
  • 129f1c67a6 Don't pull user32.dll & friends just to detect whether right alt should be used as meta Kirill Smelkov 2013-07-11 22:48:51 -0300
  • 77f2469b25 Increment version to 1.0.18. MSYS-1_0_18 Cesar Strauss 2012-11-21 22:11:13 -0200
  • 7c538eb2c0 Enable quoting of globbing characters on the command-line of native applications. Cesar Strauss 2012-11-07 22:18:02 -0200
  • f26ab6d1df In case of an absent /etc directory, keep on trying to monitor the root directory for its creation instead of silently failing. Cesar Strauss 2011-10-12 18:35:00 +0000
  • f7a2ac51a9 Fix getpwnam to return NULL for unknown user names, and be more robust when HOME is not set. Cesar Strauss 2011-10-12 14:49:20 +0000
  • 82c6fdfd08 Import Cygwin 1.3.4 and port modern wincap functionality Charles Wilson 2011-09-04 23:46:54 +0000
  • 6fa6311e36 Increment version to 1.0.17. MSYS-1_0_17 Cesar Strauss 2011-04-19 00:46:34 +0000
  • 631f5773d2 Allow overriding the error mode for Windows exceptions like GPF. Cesar Strauss 2011-04-19 00:43:38 +0000
  • 83e57673ad Avoid calling fsync on closed fd Charles Wilson 2011-03-31 13:28:07 +0000
  • 20b4589c90 Increment version to 1.0.16. MSYS-1_0_16 Cesar Strauss 2010-09-28 22:50:32 +0000
  • ff513e9032 Be more robust when dealing with ambiguous paths and mount points Cesar Strauss 2010-09-16 22:53:14 +0000
  • 35fb23c897 Add CW_SYNC_WINENV cygwin_internal system call Charles Wilson 2010-09-07 03:52:30 +0000
  • 4f56a625cd Support conversion of response file (@file) cmdline args Charles Wilson 2010-09-07 03:51:04 +0000
  • 34a5b23be3 Align msys_symlink argument order with POSIX and fix a memory leak Cesar Strauss 2010-08-24 00:17:09 +0000
  • 404191fcd6 Fix a race condition when determining if a pid is valid. Cesar Strauss 2010-08-13 02:43:21 +0000
  • 5eb121862c Increment version to 1.0.15 and change the base address to 0x60800000. Cesar Strauss 2010-07-06 22:37:12 +0000
  • 7b2398f0b6 Avoid a dependency of strace on the MinGW GCC shared runtimes. Cesar Strauss 2010-07-06 22:19:39 +0000
  • 41e320f688 Don't apply pseudo-relocs again in child after fork() Charles Wilson 2010-05-19 03:51:25 +0000
  • 2410c97616 Align getdomainname() signature with include/netdb.h Charles Wilson 2010-05-19 03:38:15 +0000
  • fa1e1fda70 * libc/include/sys/unistd.h: Declare fchdir and getdomainname. Charles Wilson 2010-03-31 02:17:16 +0000
  • c962e5c5e5 * include/netdb.h: Declare rcmd, rexec, and rresvport. Charles Wilson 2010-03-31 02:16:13 +0000
  • e1c2e4bde7 Fix path translation in presence of components with dots. MSYS-1_0_14 Cesar Strauss 2010-03-18 01:16:35 +0000
  • 1091ed1741 Avoid reading a string past its end. Cesar Strauss 2010-01-15 21:24:33 +0000
  • 8ebd10afb1 Improve documentation. Cesar Strauss 2010-01-15 18:45:20 +0000
  • f8ca06f080 Add sanity checks to avoid possible crash. Cesar Strauss 2010-01-15 16:28:10 +0000
  • 98fd9bf9ab Increment version to 1.0.13 Cesar Strauss 2010-01-15 16:14:54 +0000
  • ab33fefe74 Add pseudo-reloc support; implement CW_EXIT_PROCESS. Charles Wilson 2010-01-14 04:16:37 +0000
  • eff0d50740 gcc3 transition: various changes ported from cygwin Charles Wilson 2010-01-14 04:12:52 +0000
  • 2dc0e30fa6 Merge gcc-3 improvements from cygwin. Cesar Strauss 2010-01-13 21:51:33 +0000
  • 2f1c02971b * include/cygwin/version.h: Increment version to 1.0.12. MSYS-1_0_12 Cesar Strauss 2010-01-05 20:14:33 +0000
  • b962a9ed32 Improve symlink emulation. Cesar Strauss 2010-01-05 20:07:20 +0000
  • 637c0e4842 * msys_symlink.cc (msys_symlink): Return correct value on failure (-1). Cesar Strauss 2009-12-28 23:35:35 +0000
  • ca807c70f2 Fix Win9x permission issues, resolves bug . Cesar Strauss 2009-12-28 22:07:32 +0000
  • 81246a6732 * errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG. MSYS-1_0_11-stable Cesar Strauss 2009-01-29 01:17:12 +0000
  • c82ec1022c Fix crash caused by NULL pointer dereferencing in _reent_clib. Cesar Strauss 2009-01-20 20:36:35 +0000
  • 32decfd65e Fix for inconsistent inode numbers. Cesar Strauss 2008-08-27 01:52:48 +0000
  • 252ce7bcf8 2008.08.07 Cesar Strauss <cestrauss@gmail.com> Cesar Strauss 2008-07-11 01:24:59 +0000
  • 5ce96c7f56 2008.05.11 Cesar Strauss <cestrauss@gmail.com> Cesar Strauss 2008-07-11 01:20:20 +0000
  • 0c4daa2ab8 2007.11.01 Cesar Strauss <cestrauss@gmail.com> Cesar Strauss 2008-07-11 01:16:10 +0000
  • db233e5bbe 2007.07.28 Cesar Strauss <cestrauss@gmail.com> Cesar Strauss 2008-07-11 01:10:15 +0000
  • c80e309e4f 2007.01.12 Earnie Boyd <earnie@users.sf.net> Earnie Boyd 2007-01-12 21:48:33 +0000
  • 5cba053adf Merge in MSYS-1_0_11 branch change Earnie Boyd 2007-01-09 18:44:46 +0000
  • 5078109ed3 2007.01.09 Earnie Boyd <earnie@users.sf.net> Earnie Boyd 2007-01-09 13:46:04 +0000
  • 9f2f85180b 2006.12.29 Howard Chu <highlandsun@users.sf.net> Howard Chu 2006-12-29 18:48:31 +0000
  • 1c6cfbc888 2006.08.07 Earnie Boyd <earnie@users.sf.net> Earnie Boyd 2006-08-07 17:18:59 +0000
  • a6fc2c3506 2006.07.26 Earnie Boyd <earnie@users.sf.net> Earnie Boyd 2006-07-26 15:01:37 +0000
  • 11f96eb3c6 2006.04.27 Earnie Boyd <earnie@users.sf.net> Earnie Boyd 2006-04-27 15:40:27 +0000
  • 2b632dcb3d 2006.04.23 Earnie Boyd <earnie@users.sf.net> Earnie Boyd 2006-04-23 13:01:56 +0000
  • fb7a81921b * fork.cc (fork_parent): Add GENERIC_READ and FILE_SHARE_READ attributes for stdout. Earnie Boyd 2005-10-03 19:14:58 +0000
  • 8e66dd5ebb 2005.07.05 Max T. Woodbury <mtew@users.sf.net> Earnie Boyd 2005-07-06 02:33:48 +0000
  • d83320e3e1 2005.07.02 Max T. Woodbury <mtew@users.sf.net> Earnie Boyd 2005-07-02 23:52:42 +0000
  • 5f596d3282 * spawn.cc (spawn_guts): Avoid setting up for a MSYS dependent child when it isn't. Earnie Boyd 2005-05-13 15:05:45 +0000
  • 7075a9f0d7 * winsup.h: Define TRACETTY. * fhander_tty.cc: Use TRACETTY instead of TRACE_IN throughout. (fhandler_tty_master::init): Comment out an unneeded(?) function. (fhandler_pty_master::hit_eof): Remove TRACETTY as hit_eof is constantly called making the trace data useless. (fhandler_pty_master::process_slave_output): Dynamicly allocate output buffer based on size of request. Restructure code for easier reading. (fhandler_tty_slave::read): Removed peek_buf. Renamed variable n to CharsRead. Renamed bytes_in_pipe to CharsInPipe for consistency. * tty.cc: Use TRACETTY instead of TRACE_IN throughout. (create_tty_master): Remove call to tty_master->init. (tty_list::allocate_tty): Remove call to create_tty_master. (tty::slave_alive): Remove. (tty::master_alive): Remove. (tty::alive): Removed TRACETTY as alive is constantly called making the trace data useless. (tty::make_pipes): Added SetConsoleMode calls for from_slave and to_slave handles. * tty.h (tty::slave_alive): Removed. (tty::master_alive): Ditto. (tty::exists): Use alive instead of slave_alive. Earnie Boyd 2005-05-13 11:55:04 +0000
  • 0f9dd1bf4a * include/wchar.h (size_t): Define. (FILE): Ditto. Earnie Boyd 2005-05-11 12:53:16 +0000
  • 02f316e974 * cygheap.cc (init_cheap): Add TRACE_IN. * fhandler_console.cc (set_console_state_for_spawn): Try to make good use of it for PTY. Renamed variable h to hconin. * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Reformat code for easier reading. (fhandler_tty_slave::read): Ditto. * select.cc (fhandler_tty_common::ready_for_read): Remove unused code. Add debug info. Earnie Boyd 2005-05-07 00:47:47 +0000
  • 2d4eb2be0c * fhandler_tty (fhandler_pty_master::process_slave_output): Clean up. (fhandler_tty_slave::read): Use common variable CharsInPipe. Remove variable peek_buf. Remove unnecessary reading and peeking of the pipe. Earnie Boyd 2005-05-04 00:44:30 +0000
  • bc0e1bf0a0 * cygheap.cc (init_cheap): Add system_printf to capture true Win32 error. Thanks to Scott Michel (pingbak @ sf . net). Earnie Boyd 2005-05-03 22:57:31 +0000
  • cbbfc136dc * syscalls.cc (_open): Add O_BINARY flag. Earnie Boyd 2005-05-03 22:30:50 +0000
  • 209b379cb5 * environ.cc (_addenv): Look for variable name prefix and set value to win32 path. (environ_init): Ditto. Earnie Boyd 2005-03-30 00:45:38 +0000
  • a92cb7e228 * fhandler_console.cc: Add TRACE_IN throughout. * fhandler_termios.cc: Ditto. * fhandler_tty.cc (process_slave_output): Rename variable n to CharsInPipe. * spawn.cc (spawn_guts): Add a FIXME and remove a FIXME. * winsup.h (TRACE_IN): Recode so that it could live without DEBUGGING set. * fhandler_console.cc (set_console_state_for_spawn): Always return 0. Add a FIXME item. Earnie Boyd 2004-09-05 18:59:09 +0000
  • ef4906065c 2004-09-05 Andres Rand <lothar@hot.ee> Earnie Boyd 2004-09-05 16:13:21 +0000
  • afe37558db * path.cc (msys_p2w): Add recognition of path after comma in switch. Earnie Boyd 2004-04-30 22:42:33 +0000
  • de85209fbf * Makefile.in (new-$(DLL_NAME)): Add -luser32 to link command. * window.cc: Add TRACE_IN throughout. (Winmain): Revert the changes from 04-22. Add a FIXME MessageBox. Earnie Boyd 2004-04-30 12:42:49 +0000
  • 01c023bc3c * window.cc (Winmain): Add typical Windows messaging API. Earnie Boyd 2004-04-23 02:11:57 +0000
  • 3ff1eebb00 * fhandler.cc (fhandler_base::lseek): Remove filtered out code. * syscalls.cc: Add TRACE_IN throughout. * winsup.h (TRACE_IN): Modify so that -DTRACING can be defined without -DDEBUGGING to limit the amount of data. NOTE: ../utils/strace.cc needs to be modified to recognize TRACE_IN as acceptable string for display. Earnie Boyd 2004-04-06 12:13:25 +0000
  • 5315265f46 * fhandler.cc (fhandler_base::open): Correct issue for setting file attributes. * path.cc (mount_info::read_mounts2): Remove hard mount points for /bin and /usr/bin; resolves FIXME-1.0. * path.h (iscygexec): Remove use of path_flags and PATH_CYGWIN_EXEC; resolves FIXME-1.0. Earnie Boyd 2004-03-30 12:31:56 +0000
  • 95a477d4b6 * winsup.h (stat_worker): Remove "int nofollow" argument from declaration. * fhandler.cc: Ensure that PC_SYM_NOFOLLOW attribute is used throughout. * sec_acl.cc: Ditto. * path.cc: Ditto. (NEW_PATH_METHOD): Remove define and relative old code. (NO_SYMLINK): Ditto. (suffix_scan::next): Remove. (suffix_scan::add): Readd. (Suffix_scan::del): Ditto. * path.h (suffix_scan::next): Remove. (suffix_scan::add): Readd. (suffix_scan::del): Ditto. * spawn.cc (std_suffixes[]): Remove suffix_info for "". (perhaps_suffix): Revert to previous method. * syscalls.cc: Ensure that PC_SYM_NOFOLLOW attribute is used throughout. (stat_suffixes): Remove suffix_info for "". (stat_worker): Remove "int nofollow" argument. Earnie Boyd 2004-03-30 02:29:20 +0000
  • 82cf84e188 * path.cc (msys_p2w): Modify debug messages. * spawn.cc (perhaps_suffix): Recode. * winsup.h: Include "cygwin/version.h". * include/cygwin/version.h (DLL_VERSION_MAJOR): New constant name. Will be used to replace CYGWIN_VERSION_DLL_MAJOR. (DLL_VERSION_MINOR): Ditto. Earnie Boyd 2004-03-18 20:48:12 +0000
  • 16a3ae2a0d * include/cygwin/version.h: Increment version to 1.0.11. (CYGWIN_VERSION_DLL_IDENTIFIER): Change value to "msys-1.0". Earnie Boyd 2004-03-17 13:25:15 +0000
  • 8f7a36fb82 * dcrt0.cc (build_argv): Revert previous change due to sf.net/tracker/?func=detail&aid=915874&group_id=2435&atid=102435. MSYS-1_0_10 Earnie Boyd 2004-03-15 11:51:36 +0000
  • c1f701b79a 2004-03-10 Wayne Scott <wscott@bitmover.com> Earnie Boyd 2004-03-10 23:40:29 +0000
  • 7d0073201a * cygerrno.h: Include errno.h. * cygheap.c (_cygheap_start): Move definition from here. * cygheap.h (_cygheap_start): To here. * debug.cc (add_handle): Add parameter. * debug.h (add_handle): Ditto. (ProtectHandleINH, ProtectHandle1INH, ProtectHandle2INH): New definitions. * dtable.cc: Add TRACE_IN throughout. * miscfuncs.cc: Include winnls.h. (get_cp): New function. * include/cygwin/socket.h (SOMAXCONN): Modify value from 5 to 0x7fffffff. (MSG_WINMASK): New constant. (MSG_NOSIGNAL): Ditto. (IPTOS_LOWDELAY, IPTOS_THROUGHPUT, IPTOS_RELIABILITY): Filter definition based on IPTOS_LOWDELAY being defined or not. (TCP_NODELAY, TCP_MAXSEG): Filter definition based on TCP_NODELAY being defined or not. Earnie Boyd 2004-02-24 18:17:29 +0000
  • 79e68769bc * environ.cc (winenv): Use msys_p2w() for win32 path translation. * heap.cc: Remove unused declaration of getpagesize(). * spawn.cc (spawn_guts): Remove win32 path translation (now in winenv). Earnie Boyd 2003-10-11 14:35:26 +0000
  • 067ca00f67 * include/cygwin/version.h: Bump MINOR version to 10. Earnie Boyd 2003-07-29 11:44:38 +0000
  • 9622671567 * libc/stdlib/mallocr.c (DEFAULT_TOP_PAD): Assign a new value. Earnie Boyd 2003-07-29 11:44:09 +0000
  • 570f8d68ae * path.cc (msys_p2w): Correction for ``foo=c:/bar'' constructs. MSYS-1_0_9 Earnie Boyd 2003-07-08 00:32:55 +0000
  • ea6e7904aa * syscalls.cc (check_posix_perm): Off by one allocation of memory for char *root. Earnie Boyd 2003-07-01 17:27:15 +0000
  • 2950e95b3a * environ.cc: Add debug_printf throughout. (winenv): Add a FIXME workaround that reverses the value of keep_posix. Add a stab in the dark pad of (MAX_PATH * 256) to the malloc of the envblock pointer (Note: this is likely to be removed). * malloc.cc: Add malloc_printf throughout. Add TRACE_IN throughout. * msys.h (debugnow): New macro intended for more immediate debugging and not meant to be left in the source (Note: must -Ddebugger to make the macro useful). * msys_symlink.cc: Add include of winsup.h. (msys_symlink): Add a FIXME to identify a resource leak. * path.cc (check_sysfile): Deleted. (symlink_info::check): Add initialization of HANDLE h to stop warning. (IsAbsWin32Path): Recode. (ScrubRetpath): New static function used by msys_p2w. (msys_p2w): Streamline the code and use ScrubRetpath if the path has changed else just retpath. Also, protect the argument values from changing. * path.h (path_conv::iscygexec): Add recognition of an msys dependent executable via use of IsMsys function. * spawn.cc: Move char *envblockarg to global space and make static. (spawn_guts): Remove use of IsMsys() function. Streamline newargv population. Streamline envblock and envblockarg population. Use envblockarg in the CreateProcess function instead of envblock. Remove child->copysigs (myself) call. * sync.cc (muto::~muto): Comment out. * sync.h (~muto): Ditto. * syscalls.cc (check_posix_perm): Use alloca instead of new operator. * winsup.h (TRACE_IN): Add a TRACING filter to make it work. (IsMsys): Change the declaration. * include/sys/cygwin.h (msys_p2w): Ditto. Earnie Boyd 2003-06-30 14:17:25 +0000
  • 3b1d2f5192 * libc/stdlib/mallocr.c: Update with new version from newlib. Earnie Boyd 2003-06-30 13:24:38 +0000
  • c80708729e * path.cc (cygwin_conv_to_win32_path): Copy data to win32_path, don't change the pointer value. * spawn.cc (spawn_guts): Free tmpbuf if needed. Ditto for wpath. Set envblockarg to contain 0 for it's length. Earnie Boyd 2003-06-16 16:37:22 +0000
  • 0c7c25e5de I meant to make this change before the earlier commit Earnie Boyd 2003-06-13 18:38:42 +0000
  • 7f006c9070 * environ.cc: Remove DO_CPP_NEW filters througout. * exceptions.cc (exception): Output version and build date info to the stackdump file. * msys_symlink.cc (msys_symlink): Use msys_p2w() instead of cygwin_conv_to_win32_path(). * spawn.cc (spawn_guts): Ditto. * path.cc (msys_p2w): New function (copy previous cygwin_conv_to_win32_path and heavily modify). (cygwin_conv_to_win32_path): Remove contents and use msys_p2w. include/sys/cygwin.h (msys_p2w): Add declaration. Earnie Boyd 2003-06-13 18:34:09 +0000
  • 9a406d351f * libc/stdlib/mallocr.c: Remove needless filter check for ! __MSYS__. Make sure _WIN32 and WIN32 are undefined for __MSYS__. Earnie Boyd 2003-06-13 18:22:30 +0000
  • f85e48d789 * spawn.cc (spawn_guts): Use malloc instead of cmalloc for envblock. Earnie Boyd 2003-06-11 14:20:31 +0000
  • 24fdfca82f * spawn.cc: Correct malloc size algorithm and insure that pointers are set before freeing. Earnie Boyd 2003-06-03 22:08:23 +0000
  • b5c9792ef2 * spawn.cc: Use cmalloc and friends instead of the c++ new operator and friends. * path.cc: Use std::min instead of min for GCC >= 3.0. Earnie Boyd 2003-06-03 12:24:30 +0000
  • fbca8e1cf4 * ismsys.cc: Remove include of windows.h since winsup.h includes it. Earnie Boyd 2003-05-16 13:00:12 +0000
  • 85756e7380 * MSYS_TODO: Remove. Earnie Boyd 2003-04-19 01:09:00 +0000
  • 6a5eb26efd Upgrade to be able to use gcc-3.2.2 Earnie Boyd 2003-04-19 01:03:48 +0000
  • 6a378b8ece * path.cc (cygwin_conv_to_win32_path): Properly handle /foo/../bar path. Earnie Boyd 2003-04-18 15:03:38 +0000
  • 7fcaad2456 * autoload.cc (NetServerEnum): Add load. * debug.h (being_debugged()): Define. * msys.h: Add Copyright and multiple inclusion protection. (auto_lock): Define class. Thanks to Luke Dunstan. * path.cc (mount_info::init): Use auto_lock class to control thread. (mount_info::read_mounts): Initialize thread lock and do initial build of mount table. (mount_info::add_item): Protect with auto_lock. (mount_info::del_item): Ditto. (conv_path_list_buf_size): Move global class to mount_info class. (cygwin_win32_to_posix_path_list_buf_size): Must now use object name to call conv_path_list_buf_size function. (cygwin_posix_to_win32_path_list_buf_size): Ditto. shared.cc (shared_name): Use different algorithm for ulModuleHash value. shared_info.h (mount_info nmounts): Move from public to private. (mount_info mount[]): Ditto. (conv_path_list_buf_size()): Add as public member. Earnie Boyd 2003-04-18 12:16:51 +0000
  • 36e39ef302 Nice idea but isn't necessary and time is precious Earnie Boyd 2003-04-15 16:35:42 +0000
  • 497ebc3162 * cygthread.cc: Copy new file from Cygwin. * cygthread.h: Ditto. * winbase.h: Ditto. * Makefile.in (DLL_OFILES): Add cygthread.o and reformat. * path.cc (CHECK_MOUNT_EVENT): New macro, currently unused. (mount_info::read_mounts_thread): New static function, thread to watch for changes to /etc/fstab. (mount_info::read_mounts): Renamed original read_mounts and created a new read_mounts to call read_mounts_thread. (mount_info::read_mounts2): Renamed original read_mounts to be called from read_mounts_thread. shared_info.h (mount_info): Add new elements. spawn.cc (spawn_guts): Add a proposed Cygwin change. winsup.h: Following changes copied from recent versions of Cygwin. (iovec): New struct. (check_iovec_for_read): New function. (check_iovec_for_write): Ditto. (__check_invalid_read_ptr_errno): Ditto. (stat_worker): Ditto. (low_priority_sleep): Ditto. Earnie Boyd 2003-03-28 21:04:12 +0000
  • 47a587dc39 * Makefile.in: Add -lnetapi32 to the DLL build command. * autoload.cc: Copy verbatum from current Cygwin CVS. * fhandler_socket.cc: Move include of unistd.h after winsock2.h for protection of gethostname declaration. * net.cc: Ditto. * heap.cc: Move a FIXME declaration into the procedure instead of global space. * pinfo.cc: Use NtQuerySystemInformation instead of the Zw version. * shared.cc (shared_name): Use hash_path_name for uniqueness. * tty.cc: Incorporate current Cygwin CVS changes. Earnie Boyd 2003-03-23 22:58:23 +0000
  • 41f5d48bb3 * libc/sys/cygwin/sys/utmp.h (UT_IDLEN): Add. Earnie Boyd 2003-03-23 22:57:43 +0000
  • 90f787141b * uinfo.cc (internal_getlogin): Move check for USERNAME variable to global space instead of iswinnt filter. Earnie Boyd 2003-03-23 17:22:46 +0000