Commit graph

546 commits

Author SHA1 Message Date
Corinna Vinschen e46892585a * pinfo.cc (pinfo_init): Revert previous patch. 2000-06-17 17:53:08 +00:00
Christopher Faylor 2e6d8441fa * configure.in: Detect "cross-hosting" situation and add a subset of
directories to SUBDIRS.
* configure: Regenerate.
2000-06-17 17:51:31 +00:00
Christopher Faylor 0fa0f12294 Add additional info. 2000-06-17 17:50:04 +00:00
Christopher Faylor 63d4033c06 * Makefile.in: Avoid installing dll if we're cross building and the cross-host
system isn't a Windows system.
2000-06-17 17:48:36 +00:00
H.J. Lu c2a2b38e1f 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
* ansidecl.h: #define __extension__ to nothing if
 	GCC_VERSION < 2008.
2000-06-17 15:51:55 +00:00
Corinna Vinschen 9bbb81a443 * pinfo.cc (pinfo_init): Add missing initializers.
* uinfo.cc (internal_getlogin): Request domain infos only
        when ntsec is ON.
2000-06-17 11:34:33 +00:00
Christopher Faylor e962f3c5f7 * Makefile.in: Just use library files from this tree when building cygrun.exe.
* path.cc (chdir): Don't set cache to offending chdir.  Change comment to
reflect current reality.
2000-06-16 23:39:02 +00:00
Corinna Vinschen b585720b59 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
`setegid' provided by Cygwin.
2000-06-16 21:04:37 +00:00
Corinna Vinschen 64b3062937 * cygwin.din: Define symbols for `cygwin_logon_user' and
`cygwin_set_impersonation_token'.
        * dcrt0.cc (dll_crt0_1): Eliminate superfluous conditional
        statements.
        Add load statements for `ImpersonateLoggedOnUser', `LogonUserA'
        and `RevertToSelf'.
        * fork.cc (fork): Care for correct impersonation of parent
        and child process.
        * security.cc (cygwin_set_impersonation_token): New function.
        (cygwin_logon_user): Ditto.
        shared.h (class pinfo): New members `orig_uid', `orig_gid',
        `real_uid' nad `real_gid'.
        spawn.cc (spawn_guts): Care for impersonation when starting
        child process in a different user context.
        * syscalls.cc (setgid): Call `setegid' now. Set real_gid.
        (setuid): Call `seteuid' now. Set real_uid.
        (seteuid): Functionality moved from setuid to here. Care for
        correct impersonation.
        (setegid): Functionality moved from setgid to here.
        * uinfo.cc (uinfo_init): Initialization of additional pinfo
        members.
        (getuid): Return real uid.
        (getgid): Return real gid.
        (geteuid): Return effective uid.
        (getegid): Return effective gid.
        include/sys/cygwin.h: Add prototypes for `cygwin_logon_user' and
        `cygwin_set_impersonation_token'.
        include/cygwin/version.h: Bumb API minor version to 22.
2000-06-16 19:36:07 +00:00
Christopher Faylor 3875d9e652 * path.cc (chdir): Don't set cache to offending chdir. Change comment to
reflect current reality.
2000-06-15 22:14:14 +00:00
H.J. Lu a9706abaff Fix some typos. 2000-06-15 21:09:01 +00:00
Christopher Faylor 26cfd048e3 Fix typo. 2000-06-15 20:52:57 +00:00
H.J. Lu f055d446ff Remove entries from gcc. They don't make much senses here since
ChangeLogs in gcc and binutils are quite different.
2000-06-15 20:50:48 +00:00
H.J. Lu 06ac6369e1 2000-06-15 H.J. Lu <hjl@gnu.org>
* sort.h: New file. Impored from gcc.

	* hashtab.h: Updated from from gcc.

2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* demangle.h (demangling_styles): Remove trailing comma in enum.

	* dyn-string.h (dyn_string_append_char): Change parameter from
	char to int.

2000-06-04  Alex Samuel  <samuel@codesourcery.com>

	* dyn-string.h: Move here from gcc/dyn-string.h.  Add new functions.

	* demangle.h (DMGL_GNU_NEW_ABI): New macro.
	(DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI.
	(current_demangling_style): Add gnu_new_abi_demangling.
	(GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro.
	(GNU_NEW_ABI_DEMANGLING): Likewise.
	(cplus_demangle_new_abi): New declaration.
2000-06-15 20:47:02 +00:00
Ranjith Kumaran d67b540418 New file. A brief list of who maintains newlib. 2000-06-15 20:17:40 +00:00
Christopher Faylor 54ee424711 * path.cc (normalize_posix_path): Convert path to POSIX if it seems to be a
Windows path.
2000-06-15 19:44:50 +00:00
Christopher Faylor 48b1381da1 * environ.cc (conv_envvars): Detect and convert all environment variables used
by libiberty's choose-temp.c
2000-06-15 03:50:03 +00:00
Corinna Vinschen 01c327ba27 * libc/stdio/fdopen.c (_fdopen_r): Take explicit given
bin/textmode into account for Cygwin.
2000-06-14 22:25:46 +00:00
David Starks-Browning fe905b6259 Rewrote "Adding or updating packages",
plus a few other minor changes.
2000-06-14 20:56:56 +00:00
Christopher Faylor df031c83f4 * include/winnt.h: Add some missing defines related to locale identifiers.
Translate values of LANG_* and SUBLANG_* into hexadecimal.
2000-06-14 20:33:31 +00:00
David Starks-Browning a9ba336498 Tidied up formatting a bit.
New entries:
	How do I convert between Windows and UNIX paths?
	Why are compiled executables so huge?!?
2000-06-14 16:34:57 +00:00
David Starks-Browning 3092135d8c Minor changes, also add note about deleting temp dir after setup. 2000-06-14 16:08:03 +00:00
David Starks-Browning 1edefdeb85 Fix simple @-error. 2000-06-13 19:52:51 +00:00
Christopher Faylor 024afd70d6 * path.cc (mount_info::add_item): The previous patch can't handle the case of
overwriting a mount entry.
2000-06-13 16:48:37 +00:00
David Starks-Browning fe871355b5 New entry: "How should I set my PATH?" 2000-06-13 16:30:58 +00:00
David Starks-Browning a15ada7034 Removed a couple of "not yet updated" disclaimers.
New entry: "info error "dir: No such file or directory""
2000-06-13 16:12:44 +00:00
David Starks-Browning 20fe2a85bc "Installation using the setup.exe program": minor note not to mess with
default mounts.
"Adding or updating packages": full instructions now, not just links to ml.
New:
subsection "Problems running setup.exe"
subsubsection "Error message: "Unable to retrieve the list of cygwin mirrors...""
subsubsection "System hangs when unpacking tar archives"
2000-06-13 14:58:35 +00:00
Christopher Faylor 00660f0110 * thread.h: Shorten "current_directory" variables to "cwd_*" throughout.
* path.cc: Ditto.
(normalize_posix_path): Add some extra debugging info.
(chdir): Ditto.  Store chdir'ed posix and MS-DOS directory names in "cache"
here rather than trying to derive them later.
2000-06-13 04:40:36 +00:00
David Starks-Browning a50b13da06 Merge "Installation and Setup" and "Using Cygwin Releases" to simply
"Using Cygwin".  Significant update to "How can I access other drives?".
2000-06-12 21:46:19 +00:00
Corinna Vinschen 7f4b6412be * fhandler_random.cc (read): Call CryptAquireContext with
CRYPT_VERIFYCONTEXT.
2000-06-11 14:01:18 +00:00
Jeff Johnston 46a43a99c6 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/include/sys/reent.h (_rand_next): Changed to
        unsigned long long and moved to end of _reent struct in _new union.
        (_REENT_INIT): Changed to move _rand_next initialization.
        * libc/stdlib/rand.c (rand): Changed to use unsigned long long
        linear congruential algorithm that is used by DJGPP.
2000-06-09 18:50:05 +00:00
Denis Chertykov b6c40e83e9 * avr.h: clr,lsl,rol, ... moved after add,adc, ... 2000-06-09 18:02:05 +00:00
Ranjith Kumaran a68078cbb8 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
* libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
	* libc/include/sys/config.h: Define __RAND_MAX.
2000-06-09 01:13:36 +00:00
Jeff Johnston 518882f3a2 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/stdlib/rand_r.c: New algorithm that meets minimal
        standard.
2000-06-08 21:56:18 +00:00
Corinna Vinschen af76c2eed1 * path.cc (path_conv::check): Erase two lines checked in
by mistake.
2000-06-08 20:51:11 +00:00
Corinna Vinschen b8a7c23a2a * fhandler.cc (fhandler_disk_file::open): Check for directory
to set O_DIROPEN on directories anyway.
2000-06-08 13:56:28 +00:00
Corinna Vinschen 95bdb4966f path.cc (mount_info::init): Eliminate the mount_slash feature.
(mount_slash): Eliminated.
        (mount_info::read_mounts): Eliminate looking up existing entries. The
        loop for deleting cygpath entries is done only when such entries exist.
        (mount_info::from_registry): Eliminate sorting.
        (mount_info::add_item): Call add_reg_mount if necessary. Check nmounts
        more precisely. Use strcasematch in looking up existing entries.
        (mount_info::del_item): Call del_reg_mount if necessary. Use
        strcasematch. Use memmove instead of memcpy.
        (mount_info::import_v1_registry): Everything is done in this method.
        (mount_info::to_registry): Eliminated.
        (mount_info::from_v1_registry): Eliminated.
        (cygwin_umount): Simply call del_item.
        shared.h: Modify the declaration of add_item and del_item. Remove the
        declaration of from_v1_registry.
2000-06-08 13:24:52 +00:00
Corinna Vinschen 9500a3db90 mount.cc (error): New function to report an error and exit.
umount.cc (error): Ditto.
        (remove_all_automounts): Check return status of cygwin_umount.
        (remove_all_user_mounts): Ditto.
        (remove_all_system_mounts): Ditto.
2000-06-08 12:54:12 +00:00
Christopher Faylor fe73870ce5 * include/cygwin/version.h: Bump DLL minor version number to 3. 2000-06-08 03:58:51 +00:00
DJ Delorie 48b8705360 * cygwin.din: add cygwin_dll_init
* dcrt0.cc (cygwin_dll_init): new
(dll_crt0_1): short circuit if manually loaded
* path.cc (mount_info::init): don't init if manually loaded
2000-06-08 00:55:27 +00:00
Nick Clifton 6b878fd051 new file - notes about using --enable-maintainer-mode 2000-06-07 21:31:48 +00:00
Denis Chertykov 987dd6a80f * avr.h: New file with AVR opcodes. 2000-06-07 17:48:35 +00:00
Corinna Vinschen a93c19ddcf * include/netinet/in_systm.h: New file.
* include/cygwin/in_systm.h: Ditto.
2000-06-07 11:48:03 +00:00
David Starks-Browning c533072f51 Major update to "Where can I get more information?" section. Now includes:
- Posting guidelines
	- Pointers to User's Guide, API Reference, USENIX paper
	- Pointer to alternate searchable mail archive (www.delorie.com)
	- Addresses for commercial & CD-ROM inquiries
2000-06-07 10:38:47 +00:00
David Starks-Browning 3e4ea2bf5e minor typo correction: GNU not Gnu 2000-06-07 10:28:36 +00:00
Alan Modra 2b8f61c24e Update copyright dates for last patch.
Scanning ChangeLog showed others were lazy/forgetful too :-)
2000-06-07 04:08:13 +00:00
Alan Modra 47d87b8a65 Get rid of the -1 dummy valued enum in START_RELOC_NUMBERS.
Remove duplicate reloc enums in elf32-d[13]0v.c
Remove EMPTY_HOWTOs in elf32-i386.c
2000-06-07 03:43:33 +00:00
DJ Delorie b6e259b12f * mount.cc: add stdlib.h for exit
* umount.cc: ditto
* strace.cc: add #define for alloca
2000-06-05 18:43:54 +00:00
Christopher Faylor d51d968a80 * libc/include/string.h: Work around problem with strsignal and gdb. 2000-06-03 03:03:03 +00:00
Alan Modra 8b7d491c25 Fix name clash 2000-06-03 01:57:29 +00:00