summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * syscalls.cc (_link): Corrected previous patch.Corinna Vinschen2000-07-242-1/+5
|
* * fhandler.h (class fhandler_dev_random): Add members for managingCorinna Vinschen2000-07-243-11/+95
| | | | | | | 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().
* * Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).Alexandre Oliva2000-07-242-0/+6
| | | | (configure-target-libchill, configure-target-libobjc): Likewise.
* * configure.in: Use the same cache file for all target libs.Alexandre Oliva2000-07-243-2/+7
| | | | * config-ml.in: But different cache files per multilib variant.
* * fhandler.h: Add comment.Corinna Vinschen2000-07-232-0/+7
|
* * fhandler.h (class fhandler_dev_raw): Add private member `varblkop'Corinna Vinschen2000-07-234-64/+97
| | | | | | | | | | | | | 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.
* * configure (topsrcdir): Don't use dirname.Jeff Law2000-07-232-1/+6
|
* Patch suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.Corinna Vinschen2000-07-224-17/+38
| | | | | | | | | | * 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.
* merge with gccJason Merrill2000-07-228-188/+605
|
* * spawn.cc (span_guts): Retrieve security attributes before settingCorinna Vinschen2000-07-212-6/+13
| | | | psid to NULL.
* * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE andCorinna Vinschen2000-07-211-1/+1
| | | | LPTOKEN_SOURCE.
* * security.cc (acl_worker): Use stat_suffixes in call to path_convCorinna Vinschen2000-07-212-1/+7
| | | | just as in `stat_worker'.
* merge with gccJason Merrill2000-07-215-6/+17
|
* 2000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-202-0/+7
| | | | * bfdlink.h (bfd_link_info): Add new_dtags.
* merge with gccJason Merrill2000-07-202-24/+123
|
* * config.sub: Update to subversions version 2000-07-06.Hans-Peter Nilsson2000-07-202-13/+28
|
* common.h (EM_CRIS): New machine number.Hans-Peter Nilsson2000-07-203-0/+50
| | | | cris.h: New file.
* cris.h: New file.Hans-Peter Nilsson2000-07-202-0/+302
|
* * dis-asm.h (print_insn_cris): Declare.Hans-Peter Nilsson2000-07-202-0/+5
|
* * ntsec.sgml: Add description for the new setuid abilityCorinna Vinschen2000-07-204-13/+190
| | | | | | | 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.
* 2000-07-19 H.J. Lu (hjl@gnu.org)H.J. Lu2000-07-202-0/+10
| | | | * bfdlink.h (bfd_link_info): Add flags and flags_1.
* * spawn.cc (spawn_guts): Don't restore impersonation in caseCorinna Vinschen2000-07-192-6/+11
| | | | of _P_OVERLAY. Clean up slightly. Accomodate comments.
* * shared.h (class pinfo): New members `root' and `rootlen'.Corinna Vinschen2000-07-197-16/+148
| | | | | | | | | | | | | | | | * 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.
* 2000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-192-1/+5
| | | | * common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.
* 2000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-192-11/+9
| | | | | * common.h (DT_CHECKSUM): Set to 0x6ffffdf8. (DTF_1_CONFEXP): It is 0x00000002 as suspected.
* 2000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-192-2/+40
| | | | | | | | | | | | | | * common.h (DT_FEATURE): Renamed from DT_FEATURE_1. (DT_CONFIG): New. From Solaris 8. (DT_DEPAUDIT): Likewise. (DT_AUDIT): Likewise. (DT_PLTPAD): Likewise. (DT_MOVETAB): Likewise. (DF_1_NODEPLIB): Likewise. (DF_1_NODUMP): Likewise. (DF_1_CONLFAT): Likewise. (DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8. (DTF_1_CONFEXP): Likewise.
* Update copyright info.Christopher Faylor2000-07-191-2/+2
|
* 2000-07-18 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-192-1/+5
| | | | * common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS.
* * dll_init.cc (dll_list::alloc): Fix debugging output.Christopher Faylor2000-07-182-1/+5
|
* Update ChangeLog.Christopher Faylor2000-07-181-0/+2
|
* Throughout, eliminate third argument to path_conv and use new PC_* constantsChristopher Faylor2000-07-1715-99/+147
| | | | | | | | | | | | | | | | | | 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.
* Patch suggested by Eric Fifer <EFifer@sanwaint.com>Corinna Vinschen2000-07-172-3/+8
| | | | * poll.cc (poll): Fix erroneous negations.
* * environ.cc (setenv): Use __cygwin_environ instead ofCorinna Vinschen2000-07-172-2/+7
| | | | environ after reallocating environment space.
* * _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.Christopher Faylor2000-07-172-0/+6
|
* * environ.cc: Use new definition of "environ" throughout.Christopher Faylor2000-07-165-17/+42
| | | | | | | | (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.
* * acconfig.h: Add support for NEWVFORK.Christopher Faylor2000-07-167-52/+98
| | | | | | | | | * 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.
* * spawn.cc (spawn_guts): Use \ for quoting '"'.Christopher Faylor2000-07-163-17/+29
| | | | * dcrt0.cc (quoted): Understand \ quoting for '"'.
* Slightly more efficient version of previous change.Christopher Faylor2000-07-161-1/+1
|
* * dcrt0.cc (build_argv): Strip quotes from argv[0] since it should never beChristopher Faylor2000-07-163-52/+41
| | | | globified.
* Update comments.Christopher Faylor2000-07-161-15/+14
|
* * dll_init.cc (dll_list::alloc): Round correctly. Use VirtualAlloc sinceChristopher Faylor2000-07-152-7/+23
| | | | | | shared file mapping is unnecessary. (dll_list::detach): Release memory via VirtualFree since there we no longer use shared file mapping.
* * hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we canChristopher Faylor2000-07-1513-477/+408
| | | | | | | | | | | | | | | | | | | | 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.
* * mount.cc (mount_already_exists): Slightly rearrange.Corinna Vinschen2000-07-132-13/+24
| | | | Change message texts.
* * libc/stdio/vfprintf.c: pad 0.0 correctly with %eDJ Delorie2000-07-132-1/+5
|
* * mount.cc (mount_already_exists): Additional warning messageCorinna Vinschen2000-07-132-0/+11
| | | | if mount point exists with another mount type.
* Update comment.Alan Modra2000-07-122-2/+7
|
* * debug.cc (thread_stub): Use impure_ptr in place of reent_data.Christopher Faylor2000-07-123-18/+9
| | | | | * dll_init.cc (dll_dllcrt0): Replace erroneous use of local symbol with correct __cygwin_user_data->impure_ptr.
* * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Don't reset environ ifChristopher Faylor2000-07-123-2/+10
| | | | already set.
* * include/shlobj.h: add CSIDL_COMMON_*DJ Delorie2000-07-112-0/+10
|
* * fhandler_console.cc (fhandler_console::read): Unicode interface toChristopher Faylor2000-07-102-2/+12
| | | | | ReadConsoleInput only exists on W2K, so use workaround from Kazuhiro Fujieda <fujieda@jaist.ac.jp>.