Commit Graph

  • aa3ca30ba2 Fix typo. Christopher Faylor 2000-07-28 22:37:23 +0000
  • 959e1bac13 * utils/mount.cc (main): Add --show-cygdrive-prefixes option. (show_cygdrive_prefixes): New function. * utils/umount.cc (main): Add --remove-cygdrive-prefix option. (error): Change signature from 'char *' to 'const char *'. (remove_cygdrive_prefix): New function. Christopher Faylor 2000-07-28 22:34:24 +0000
  • 637f5ce0fe * dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA. * external.cc (get_cygdrive_prefixes): New function. (cygwin_internal): Add CW_GET_CYGDRIVE_PREFIXES case. * path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive prefix if user one is undefined. (mount_info::write_cygdrive_info_to_registry): Write cygdrive prefix to the appropriate registry hive. Overwrite in-memory copy of cygdrive, if appropriate. (mount_info::remove_cygdrive_info_from_registry): New method. (mount_info::get_cygdrive_prefixes): New method. (cygwin_umount): Remove cygdrive prefix, if appropriate. * registry.cc (reg_key::killvalue): New method. * shared.h (class reg_key): Add killvalue, remove_cygdrive_info_to_registry, and get_cygdrive_prefixes declarations. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_PREFIXES. Christopher Faylor 2000-07-28 22:33:43 +0000
  • c84b63e961 2000-07-22 Jason Eckhardt <jle@cygnus.com> Jason Eckhardt 2000-07-28 21:16:11 +0000
  • 4f34f5c30e 2000-07-22 Jason Eckhardt <jle@cygnus.com> Jason Eckhardt 2000-07-28 21:10:20 +0000
  • 7c110b172c Declare __infinity as an array to work around problems with small data support Michael Meissner 2000-07-28 16:27:55 +0000
  • b7d9755e16 * s/sourceware.cygnus.com/sources.redhat.com/ throughout * added cgen/ Frank Ch. Eigler 2000-07-28 10:09:30 +0000
  • 403a661709 * include/cygwin/version.h: Bump DLL minor version number to 4. Christopher Faylor 2000-07-28 03:35:52 +0000
  • 0ec91c685c * Makefile.in (FLAGS_FOR_TARGET): New macro. (GCC_FOR_TARGET): Use it. (CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined... * configure.in: ... here. (FLAGS_FOR_TARGET): Define. Add ld build dir to -L path. (libstdcxx_flags): Define and append to CXX_FOR_TARGET. Alexandre Oliva 2000-07-28 02:10:36 +0000
  • a010a6e732 Remove obsolete entries: - 'Why is gcc failing' - 'Why can't bison find bison.simple or bison.hairy?' Remove disclaimer from up-to-date entries (possibly with some minor changes): - 'How is fork() implemented?' - 'How do symbolic links work?' - 'How do I compile a Win32 executable that doesn't use Cygwin?' - 'How do I make the console window go away?' - 'Why does make complain about a "missing separator"?' - 'Why can't we redistribute Microsoft's Win32 headers?' - 'How can I debug what's going on?' - 'Can I use a system trace mechanism instead?' - 'Can I use the gdb debugger to debug programs built by VC++?' - 'Where can I find info on x86 assembly?' - 'Why not use DJGPP?' David Starks-Browning 2000-07-27 22:06:27 +0000
  • 7d91a669e8 Entry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging when unpacking tar.gz archives. David Starks-Browning 2000-07-27 21:29:19 +0000
  • f11319a8f7 Entry 'How should I set my PATH?': Don't omit Windows system directories. David Starks-Browning 2000-07-27 21:13:16 +0000
  • b1b8c65b31 Added missing ChangeLog entry. Corinna Vinschen 2000-07-27 18:30:57 +0000
  • d0b178fe3a * testsuite/winsup.api/winsup.exp: ignore stdout by default * testsuite/winsup.api/crlf.c: non-verbose by default DJ Delorie 2000-07-27 17:30:51 +0000
  • bf7be721b8 * libc/include/math.h: Use appropriate dll import linkage for Cygwin. Christopher Faylor 2000-07-27 14:49:09 +0000
  • 6864e5d7b4 * fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeed for files >= 2GB and <= 4GB. Christopher Faylor 2000-07-27 14:26:03 +0000
  • f90b3fcd98 Clarify texinfo/ Andrew Cagney 2000-07-27 07:12:00 +0000
  • 020a861340 fix typo. Christopher Faylor 2000-07-27 03:05:38 +0000
  • b58a443464 2000-07-26 Dave Brolley <brolley@redhat.com> Dave Brolley 2000-07-26 22:44:42 +0000
  • e06f58136b Give signal_exit noreturn attribute. Christopher Faylor 2000-07-26 20:36:19 +0000
  • 866c04e9cf * exceptions.cc (signal_exit): Renamed from "really+exit". Always sets EXIT_SIGNAL bit and reorganizes exit value for backwards cygwin handling. (handle_exceptions): Call signal_exit. Set "core dumped" bit. (sig_handle): Call signal_exit. Set "core dumped" bit appropriately. Christopher Faylor 2000-07-26 20:13:27 +0000
  • 0d4c5950ff * environ.cc (posify): Revert previous patch. (_addenv): Remove check_null_empty_path from here. (putenv): Call check_nullempty_path. (setenv): Call check_nullempty_path for name as well here. Don't report an error if value is empty string. (environ_init): Revert usage of newp. Corinna Vinschen 2000-07-26 18:51:14 +0000
  • f489e86b8f * syscalls.cc (stat_worker): Make stat return correct st_blocks for files with size bigger than 2Gb and less than 4Gb Christopher Faylor 2000-07-26 17:48:49 +0000
  • a246b47b67 * security.cc (lookup_name): Search on local machine first if myself->domain is not empty. Corinna Vinschen 2000-07-26 15:44:58 +0000
  • 6e76b010c3 * fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make it visible while waiting in WaitForMultipleObjects. Christopher Faylor 2000-07-26 13:59:23 +0000
  • f653e4ddc1 Add missing ChangeLog entry. Christopher Faylor 2000-07-26 13:42:01 +0000
  • 1d8fc847ee * passwd.cc: Change name of passwd_in_memory_p to passwd_state. Change type to enum. Change storage class to static. Adjust comments. (read_etc_passwd): Set passwd_state to different values when loaded from file in contrast to being emulated. (search_for): Return default passwd entry if passwd is emulated or it's a request for the current user. Otherwise return NULL. Corinna Vinschen 2000-07-26 11:48:38 +0000
  • 00edcbb0cb * syscalls.cc (statfs): Use path_conv method to convert input path. Christopher Faylor 2000-07-26 01:56:48 +0000
  • 2a1a9785eb * syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path. Christopher Faylor 2000-07-26 01:44:16 +0000
  • 738c2431e5 New entry (Programming Questions): 'Why doesn't gdb handle signals?' David Starks-Browning 2000-07-25 21:35:08 +0000
  • 53d1fe2a5c Entry 'Is the Cygwin library multi-thread-safe?': Update for latest release. David Starks-Browning 2000-07-25 21:16:44 +0000
  • 3637f333ed Entry 'Are mixed-case filenames possible with Cygwin?': Expand slightly, add reference to coolview. David Starks-Browning 2000-07-25 20:49:59 +0000
  • 74b29f02d9 New entry (Cygwin API Questions): 'Is there a mouse interface?' -- No. David Starks-Browning 2000-07-25 20:13:38 +0000
  • 717a3d7b37 Entry 'Can I use my own malloc?': Add warning about _malloc_r from newlib. David Starks-Browning 2000-07-25 19:50:31 +0000
  • 7e0482eecd Entry 'Is it OK to have multiple copies of the DLL?': Emphasise that no, it's not OK. David Starks-Browning 2000-07-25 19:17:31 +0000
  • 3cf421356f Changed 'sourceware.cygnus.com' to 'sources.redhat.com' in the FAQ, where appropriate. David Starks-Browning 2000-07-25 19:00:29 +0000
  • 8b6ebe8fd5 * syscalls.cc (_link): Corrected previous patch. Corinna Vinschen 2000-07-24 19:14:38 +0000
  • 9602ffc30b * fhandler.h (class fhandler_dev_random): Add members for managing pseudo randomness. * fhandler_random.cc: Rearrange. Use pseudo random number generator as entropy source if system entropy isn't available and if device is used as /dev/urandom. Allow initializing device by calling write(). Corinna Vinschen 2000-07-24 11:33:02 +0000
  • 5b7d5241fe * Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC). (configure-target-libchill, configure-target-libobjc): Likewise. Alexandre Oliva 2000-07-24 04:34:56 +0000
  • 5115ba4beb * configure.in: Use the same cache file for all target libs. * config-ml.in: But different cache files per multilib variant. Alexandre Oliva 2000-07-24 04:34:08 +0000
  • bb7f93f898 * fhandler.h: Add comment. Corinna Vinschen 2000-07-23 21:13:05 +0000
  • c49b9c439c * fhandler.h (class fhandler_dev_raw): Add private member `varblkop' to be set when variable blocksize mode is on. * fhandler_raw.cc: Eliminate `\n' from trace output. (clear): Set `varblkop' to 0. (dup): Copy varblkop as well. (writebuf): Care for variable blocksize. (open): Ditto. (raw_read): Ditto. (raw_write): Ditto. * fhandler_tape.cc (open): Ditto. (ioctl): Ditto. Some cleanups. Corinna Vinschen 2000-07-23 19:33:44 +0000
  • 20b9d598ea * configure (topsrcdir): Don't use dirname. Jeff Law 2000-07-23 17:42:34 +0000
  • 9fb628fc57 Patch suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>. * winsup.h: Add new macros sys_wcstombs and sys_mbstowcs. * syscalls.cc (_link): Replace calls to mbstowcs by call to sys_mbstowcs. * uinfo.cc (internal_getlogin): Replace calls to wcstombs and mbstowcs by calls to sys_wcstombs and sys_mbstowcs. Replace usage of constants by meaningful defines. Use result of GetSystemDirectory for HOMEPATH and HOMEDRIVE as a last resort. Corinna Vinschen 2000-07-22 16:43:54 +0000
  • 2ff6d12fa2 merge with gcc Jason Merrill 2000-07-22 08:20:10 +0000
  • ede1fee4ca * spawn.cc (span_guts): Retrieve security attributes before setting psid to NULL. Corinna Vinschen 2000-07-21 19:34:35 +0000
  • 4c02a6ab9c * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and LPTOKEN_SOURCE. Corinna Vinschen 2000-07-21 10:11:57 +0000
  • 6780333e20 * security.cc (acl_worker): Use stat_suffixes in call to path_conv just as in `stat_worker'. Corinna Vinschen 2000-07-21 10:06:13 +0000
  • c32f82c82a merge with gcc Jason Merrill 2000-07-21 05:45:22 +0000
  • 938346bd95 2000-07-20 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-07-20 21:19:33 +0000
  • d1071b1511 merge with gcc Jason Merrill 2000-07-20 18:55:35 +0000
  • de8834970b * config.sub: Update to subversions version 2000-07-06. Hans-Peter Nilsson 2000-07-20 18:03:17 +0000
  • 61d26b5e46 common.h (EM_CRIS): New machine number. cris.h: New file. Hans-Peter Nilsson 2000-07-20 15:44:56 +0000
  • 43d25e8350 cris.h: New file. Hans-Peter Nilsson 2000-07-20 15:39:41 +0000
  • 1c9e429840 * dis-asm.h (print_insn_cris): Declare. Hans-Peter Nilsson 2000-07-20 15:36:12 +0000
  • 99fd83eb67 * ntsec.sgml: Add description for the new setuid ability of Cygwin since release 1.1.3. * overview2.sgml: Add description for new chroot functionality. * calls.texinfo: Add missing calls. Change comments for setuid, setgid, seteuid, setegid, chroot. Corinna Vinschen 2000-07-20 11:04:33 +0000
  • 5356bdcb9e 2000-07-19 H.J. Lu (hjl@gnu.org) H.J. Lu 2000-07-20 03:23:03 +0000
  • c4b881eb44 * spawn.cc (spawn_guts): Don't restore impersonation in case of _P_OVERLAY. Clean up slightly. Accomodate comments. Corinna Vinschen 2000-07-19 20:27:27 +0000
  • a67f4165ae * shared.h (class pinfo): New members `root' and `rootlen'. * syscalls.cc (chroot): Set new root for process. * path.cc (getcwd_inner): Add parameter to force use of new root from chroot() call. (ischrootpath): New macro. (normalize_posix_path): Care for changed root dir. (normalize_win32_path): Ditto. (getcwd_inner): Ditto. (chdir): Eliminate trailing path component consisting entirely of dots. * fork.cc (fork): Copy pinfo members regarding chroot(). * spawn.cc (_spawnve): Ditto. * dir.cc (opendir): Don't use computed win32 path if chroot() took place. Corinna Vinschen 2000-07-19 20:14:24 +0000
  • 7a2fc2a415 2000-07-19 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-07-19 18:43:35 +0000
  • cfb9dcfb27 2000-07-19 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-07-19 18:22:41 +0000
  • 9438945221 2000-07-19 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-07-19 18:02:31 +0000
  • 45b5257519 Update copyright info. Christopher Faylor 2000-07-19 17:42:16 +0000
  • f60e754f60 2000-07-18 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-07-19 00:33:45 +0000
  • 49a1613414 * dll_init.cc (dll_list::alloc): Fix debugging output. Christopher Faylor 2000-07-18 02:26:46 +0000
  • b7be354a26 Update ChangeLog. Christopher Faylor 2000-07-18 00:12:10 +0000
  • 5bc584ba65 Throughout, eliminate third argument to path_conv and use new PC_* constants for second argument. * path.h: Generalize SYMLINK_* constants to PC_*. (path_conv): Create a new method. Fold third argument into second. * dll_init.cc (dll_list::alloc): Try harder to find space to allocate dll struct. (dll_dllcrt0): Don't check sanity if we've already called dll_crt0. * path.cc (path_conv::check): Don't check for a null or empty path unless specifically told with a flag setting. (check_null_empty_path): New function, adapted from macro. * syscalls.cc (_rename): Use already-determined file attributes rather than checking again. * lib/cygwin/cygwin_attach.dll.c (cygwin_attach_dll): Use a static per_process structure since this is apparently supposed to be zeroed. * lib/cygwin_crt0.c (cygwin_crt0): Zero per_process structure sent to older DLLs. Christopher Faylor 2000-07-17 19:18:21 +0000
  • 17811f7bbe Patch suggested by Eric Fifer <EFifer@sanwaint.com> * poll.cc (poll): Fix erroneous negations. Corinna Vinschen 2000-07-17 17:42:00 +0000
  • b0d5cd02dc * environ.cc (setenv): Use __cygwin_environ instead of environ after reallocating environment space. Corinna Vinschen 2000-07-17 15:59:27 +0000
  • c609f9dcec * _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error. Christopher Faylor 2000-07-17 00:24:56 +0000
  • 0763ee9d83 * environ.cc: Use new definition of "environ" throughout. (environ_init): Explicitly initialize __cygwin_environ. (cur_environ): New function. Detects when user has updated their environment. * exec.cc: Use 'environ' define throughout rather than __cygwin_environ. * spawn.cc: Ditto. * winsup.h: Declare cur_environ, main_environ, environ. Christopher Faylor 2000-07-16 20:06:11 +0000
  • b4e59f5f14 * acconfig.h: Add support for NEWVFORK. * config.h.in: Ditto. * configure.in: Add --enable-vfork option. * configure: Regenerate. * dcrt0.cc (quoted): Detect and fix up quoted backslashes. * sigproc.cc (proc_subproc): Correctly name handle of newly added child process to avoid erroneous debugging messages about closing the wrong handle. Christopher Faylor 2000-07-16 17:38:41 +0000
  • 8e382d8049 * spawn.cc (spawn_guts): Use \ for quoting '"'. * dcrt0.cc (quoted): Understand \ quoting for '"'. Christopher Faylor 2000-07-16 06:31:06 +0000
  • 2768430b64 Slightly more efficient version of previous change. Christopher Faylor 2000-07-16 04:37:43 +0000
  • 01e6597b1c * dcrt0.cc (build_argv): Strip quotes from argv[0] since it should never be globified. Christopher Faylor 2000-07-16 04:34:05 +0000
  • c77c441991 Update comments. Christopher Faylor 2000-07-16 04:10:33 +0000
  • 92e30b7535 * dll_init.cc (dll_list::alloc): Round correctly. Use VirtualAlloc since shared file mapping is unnecessary. (dll_list::detach): Release memory via VirtualFree since there we no longer use shared file mapping. Christopher Faylor 2000-07-15 04:36:10 +0000
  • 2eb392bd77 * hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can detect when there are no fds to pass. * dcrt0.cc (host_dependent_constants::init): Revert Sat Mar 18 01:32:04 2000 change. (dll_crt0_1): Set "cygwin_finished_initializing" flag. (dll_crt0): Don't perform memcpy if uptr is already set to internal structure. (_dll_crt0): Remember location of programs envptr. * dll_init.h (per_module, dll, dll_list): Revamp. * dll_init.cc: Revamp. Use new classes. * fork.cc (fork): Use new revamped dll, dll_list, and per_module stuff. * environ.cc: Use __cygwin_environ throughout rather than the user_data->envptr. * exec.cc: Ditto. * spawn.cc: Ditto. * winsup.h: Declare update_envptrs, cygwin_finished_initializing. * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Revert previous change. * lib/cygwin_attach_dll.cc (cygwin_attach_dll): Always pass in own per_process structure or we end up overwriting information from the main program. Christopher Faylor 2000-07-15 02:48:11 +0000
  • 44d2afed74 * mount.cc (mount_already_exists): Slightly rearrange. Change message texts. Corinna Vinschen 2000-07-13 21:49:36 +0000
  • 91a8d90bab * libc/stdio/vfprintf.c: pad 0.0 correctly with %e DJ Delorie 2000-07-13 18:51:11 +0000
  • d9028f52ae * mount.cc (mount_already_exists): Additional warning message if mount point exists with another mount type. Corinna Vinschen 2000-07-13 11:09:53 +0000
  • a8602abba3 Update comment. Alan Modra 2000-07-12 11:54:35 +0000
  • 5f9316981a * debug.cc (thread_stub): Use impure_ptr in place of reent_data. * dll_init.cc (dll_dllcrt0): Replace erroneous use of local symbol with correct __cygwin_user_data->impure_ptr. Christopher Faylor 2000-07-12 04:49:07 +0000
  • a0f7b496ad * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Don't reset environ if already set. Christopher Faylor 2000-07-12 04:02:45 +0000
  • 1ff7263eb9 * include/shlobj.h: add CSIDL_COMMON_* DJ Delorie 2000-07-11 17:33:48 +0000
  • 69859e8697 * fhandler_console.cc (fhandler_console::read): Unicode interface to ReadConsoleInput only exists on W2K, so use workaround from Kazuhiro Fujieda <fujieda@jaist.ac.jp>. Christopher Faylor 2000-07-10 23:08:45 +0000
  • 79644761c7 Comment the relocs. Alan Modra 2000-07-10 15:34:31 +0000
  • 5814b26cc7 Add missing text. Christopher Faylor 2000-07-10 15:31:46 +0000
  • 356d1c6ab0 * Makefile.in (install): Install textmode.o as well as binmode.o. Christopher Faylor 2000-07-10 15:30:04 +0000
  • d501c6adee * spawn.cc (spawn_guts): Close handle `hToken' only if it's not copied from myself->token. * syscalls.cc (seteuid): Replace CopySid by memcpy which is foolproof here. Corinna Vinschen 2000-07-09 21:02:44 +0000
  • 5fc3f2d40a Slight optimization. Christopher Faylor 2000-07-09 16:21:55 +0000
  • bd4ec49671 * cygwin.din: Export _getmode and getmode to allow querying of binary state of an fd. * external.cc (cygwin_internal): Add handling of perfile_table setting. * fhandler.cc (perfile_table): New global. (fhandler_base::get_default_fmode): New method to return a file's default mode based on its name. (fhandler_base::open): Use get_default_mode method to determine a file's mode. Record file mode in file flags. * fhandler.h (fhandler_base): Declare get_default_fmode * syscalls.cc (getmode): New function. * sys/cygwin.h (__cygwin_perfile): New structure. (cygwin_getinfo_types): Move outside of WINVER conditional. (per_process): Move inside of WINVER conditional. Christopher Faylor 2000-07-09 05:29:51 +0000
  • 85219b356e * external.cc (cygwin_internal): Export __cygwin_user_data. * include/sys/cygwin.h: Allow definition of per_process even when not compiling with C++. (cygwin_getinfo_types): Add CW_USER_DATA. * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Get __cygwin_user_data pointer from cygwin_internal. If it doesn't exist, return failure. Use either this pointer or passed in pointer throughout. Clear forkee. * lib/crt0.h: Accomodate argument changes to _cygwin_crt0_common. * lib/cygwin_attach_dll.c (cygwin_attach_dll): Reorganize to allow use of newer binaries with older DLLs. Detect older DLLs when _cygwin_crt0_common returns 0 and allocate space for a per_process structure on the stack. * lib/cygwin_crt0.c (cygwin_crt0): Ditto. Christopher Faylor 2000-07-08 04:36:27 +0000
  • 77fcb25859 * symlink-tree: Check number of arguments. Jeff Law 2000-07-07 13:21:39 +0000
  • 52cec10c67 * include/sys/cygwin.h: Hide internal data types in per_process when not __INSIDE_CYGWIN__. Corinna Vinschen 2000-07-07 08:35:31 +0000
  • f7bbb29948 Update texinfo.tex to version 2000-05-28.15. Andrew Cagney 2000-07-06 05:39:36 +0000
  • 737a86d32f * dcrt0.cc (__cygwin_user_data): Initialize. (dll_crt0_1): Eliminate user_data initialization. (dll_crt0): Set up impure_ptr_ptr for older executables. (cygwin_dll_init): Eliminate user_data initializations. (__api_fatal): Don't check for user_data initialization. * dll_init.cc (struct dll): Store entire contents of per_process rather than just a pointer. (add): Ditto. (initOneDll): Don't check for user_data initialization. (DllList::recordDll): Store contents of per_process argument. (DllList::detachDll): Pass address of per_process field. (DllList::initAll): Ditto. (DllList::doGlobalDestructorsOfDlls): Ditto. (DllListIterator::operator *): Ditto. (dll_dllcrt0): Default to __cygwin_user_data if arg is NULL. * include/sys/cygwin.h: Reorganize per_process to eliminate obsolete fields and accomodate new way of initializing. * lib/_cygwin_crt0_common: Initialize _impure_ptr from __cygwin_user_data.impure_ptr. Christopher Faylor 2000-07-05 23:46:44 +0000
  • 4e734b208b add MAINTAINERS files DJ Delorie 2000-07-05 19:28:05 +0000
  • 1d613351e5 * exceptions.cc (try_to_debug): Prevent recursive spawning of JIT debugger. Treat special event from debugger as command to continue. Christopher Faylor 2000-07-04 19:07:35 +0000
  • 0106a9b755 * poll.cc (poll): Zero out `open_fds' as well. Corinna Vinschen 2000-07-04 17:36:44 +0000