Commit Graph

484 Commits

Author SHA1 Message Date
Andrew Cagney 1b13cadb43 * config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000.
* config.guess: Import CVS version 1.148 Tue May 30 09:00:06 2000
2000-05-30 09:08:59 +00:00
Christopher Faylor 75858e8a03 * Makefile.in: Remove libadvapi32.a.
* autoload.h: Add additional field to autoload block for handling unimplemented
functions.
(LoadDLLfuncEx): New function which accepts additional parameter for
controlling unimplemented function behavior.
(LoadDLLfunc): Use LoadDLLfuncEx.
* dcrt0.cc: Use new arguments for LoadDLLfunc.  Add advapi32 routines.
(noload): Rewrite in assembler.  Handle new unimplemented function type.
* exceptions.cc: Eliminate another vestige of StackWalk stuff.
* net.cc: Use new arguments for LoadDLLfunc.
* uinfo.cc: Ditto.

* config.h.in: Remove obsolete define.
* path.h (isdrive): New macro.
* dcrt0.cc (globify): Use new macro to determine if a string refers to an
MS-DOS drive.
* environ.cc (winenv): Ditto.
* spawn.cc (find_exec): Ditto.
* path.cc (get_raw_device_number): Ditto.
(mount_info::conv_to_posix_path): Ditto.
(chdir): Ditto.
(cygwin_posix_path_list_p): Ditto.
(cygwin_split_path): Ditto.
(path_conv::check): Move tmp_buf to beginning of function since it can be used
earlier in the loop.  Use tmp_buf rather than 'root' to hold root information.
(mount_info::conv_to_win32_path): Add trailing slash to end of mount path when
it translates to a drive.  Add defensive code to avoid writing beyond the end
of 'dst'.
2000-05-30 00:38:51 +00:00
Nick Clifton fc1df4b6c6 Include year 2000 in copyright message 2000-05-28 19:25:07 +00:00
Nick Clifton 4a8d11f396 Fix capitialisation of setnaces in comment. 2000-05-28 19:22:12 +00:00
Corinna Vinschen cbaa7e69b7 * fhandler_random.cc (read): Use CRYPT_MACHINE_KEYSET in
call to CryptAcquireContext() to serve users that did not
        log in interactively.
2000-05-27 14:00:20 +00:00
Corinna Vinschen 3a26e0cbed * include/wincrypt.h: Add missing CRYPT_MACHINE_KEYSET define. 2000-05-27 13:59:33 +00:00
Jeff Johnston 8887021868 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
* libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
        * libm/common/s_log1p.c (log1p): Likewise.
        * libm/common/s_scalbn.c (scalbn): Likewise.
        * libm/math/e_log.c: Likewise.
        * libm/math/e_asin.c: Likewise.
        * libm/math/ef_asin.c: Likewise.
        * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
        * libm/math/e_j1.c (pone, qone): Likewise.
        * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
        * libm/math/ef_j1.c (ponef, qonef): Likewise.
        * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
        * libm/mathfp/e_j1.c (pone, qone): Likewise.
        * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
        * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2000-05-26 22:42:39 +00:00
Alan Modra e8844e5d9f Eli Zaretskii's DOSish file name patches. 2000-05-26 13:11:57 +00:00
Corinna Vinschen 92918f6e4f * errno.cc (errmap): Map ERROR_BAD_NET_NAME to errno ENOSHARE. 2000-05-26 09:17:08 +00:00
Christopher Faylor e1e61b9ae5 * sigproc.h (sigframe::set): Accept a default frame pointer.
* sigproc.cc (sig_send): Use passed in frame pointer, if appropriate.
2000-05-26 06:24:58 +00:00
Christopher Faylor 6880ecefaa * configure.in: Don't assume that cinstall directory exists. 2000-05-25 22:39:48 +00:00
Christopher Faylor 0f7e52d7b2 * configure.in: Don't assume that cinstall directory exists. 2000-05-25 22:28:43 +00:00
Donald Lindsay 83d485ca0c Define the ALONE flag bit, for use in the opcode table. 2000-05-25 22:23:45 +00:00
Christopher Faylor 4b62cff84c * dir.cc (rmdir): Use file attributes that have already been discovered by
path_conv.
2000-05-25 21:45:04 +00:00
Christopher Faylor 7e06494e35 * dir.cc (rmdir): Use file attributes that have already been discovered
by path_conv.
2000-05-25 21:02:28 +00:00
Christopher Faylor e3df22607a * dir.cc (rmdir): Use file attributes that have already been discovered by
path_conv.
2000-05-25 19:48:45 +00:00
Corinna Vinschen 382541f2f2 Patch by Kazuhiro Fujieda <fujieda@jaist.ac.jp>:
* dir.cc (rmdir): Correct the manner in checking the target directory.
2000-05-25 10:27:36 +00:00
Corinna Vinschen 154110f5d3 * dir.cc (writable_directory): Comment out previous code,
return always 1 for now.
        (mkdir): Call set_file_attribute explicitely with S_IFDIR mode bit.
        * syscalls.cc (chown_worker): Ditto.
        (chmod): Ditto.
        * security.cc (get_nt_attribute): Fix error in debug output.
        Never set FILE_DELETE_CHILD for files.
        Construct appropriate inherit attribute according to file type.
2000-05-24 20:09:43 +00:00
Alexandre Oliva e6dfde6f82 * mn10300/time.c (time): Set *tloc, since the sim doesn't. 2000-05-24 19:49:44 +00:00
DJ Delorie 4b9f883e84 * Makefile.common (%.o): further simplify, add "..." to make it
obvious it's an abbreviated command line.
2000-05-24 18:54:10 +00:00
DJ Delorie 56cd25ee02 * syscalls.cc (_cygwin_istext_for_stdio): New, for newlib
* include/cygwin/version.h: Bump API number for detect old
programs using old getc/putc macros
2000-05-23 23:52:50 +00:00
DJ Delorie c4e1aa0115 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
(__sread): always read in binary mode
(__swrite): always write in binary mode
* libc/include/stdio.h: no getc/putc macros for cygwin; causes
compatibility issues with different dll versions
* libc/stdio/fopen.c: use __stextmode
* libc/stdio/fdopen.c: ditto
* libc/stdio/freopen.c: ditto
* libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
* libc/stdio/local.h: declare __stextmode
2000-05-23 23:51:54 +00:00
DJ Delorie 98c6450eaa * dir.cc (writable_directory): handle root directories 2000-05-23 19:25:18 +00:00
Christopher Faylor 6eb63adf97 * uname.cc (uname): Use a "s" to denote a snapshot to avoid confusion with the
number "5".
2000-05-23 14:10:31 +00:00
Christopher Faylor 2dd78662b7 * path.cc (mount_info::conv_to_posix_path): Avoid putting a trailing slash on a
directory name when the ms-dos path spec is a root directory of a device.
* registry.cc (reg_key::build_reg): Set 'key_is_invalid' flag rather than using
an INVALID_HANDLE_KEY.
(reg_key::get_int): Test for key validity before performing registry
operations.
(reg_key::set_int): Ditto.
(reg_key::get_string): Ditto.
(reg_key::set_string): Ditto.
(reg_key::kill): Ditto.
(reg_key::~reg_key): Ditto.
2000-05-23 14:08:52 +00:00
Christopher Faylor 8a06cd1b87 * mkvers.sh: Use snapshot date as build date since it is more interesting.
* uname.cc (uname): Detect if this is a snapshot build and add an "S" to the
version number.  Report the snapshot date as the release date.
2000-05-23 05:18:48 +00:00
Richard Henderson d4d0896b7d * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
(R_IA64_PCREL22, R_IA64_PCREL64I): New.
2000-05-23 01:30:56 +00:00
Alan Modra 6458314f0d Allow d suffix on iret 2000-05-23 00:36:39 +00:00
Christopher Faylor 9e1ab0ca55 * environ.cc (regopt): Scan HKLM if HKCU scan fails. 2000-05-22 21:19:36 +00:00
Corinna Vinschen 6892216822 * dir.cc (rmdir): Care for misleading error messages
when trying to remove a directory on a samba share.
        Eliminate superfluous else branch.
        * syscalls.cc (_rename): Additional check for ERROR_FILE_EXISTS
        if MoveFile fails.
2000-05-22 17:15:47 +00:00
Christopher Faylor 7054be8b55 * dcrt0.cc (dll_crt0_1): Move uinfo_init call to before sigproc_init to avoid a
race.
(noload): Add an extra argument for debugging.
* uinfo.cc (uinfo_init): Eliminate test for multiple calls.
(getlogin): Assume that uinfo_init has already been called.
2000-05-22 00:54:22 +00:00
H.J. Lu c9ae5a27b3 20000-05-21 H.J. Lu (hjl@gnu.org)
* configure: Revert changes made on May 18 and May 19.

        * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
        directory are used if they exist. Make sure
        $(build_tooldir)/include is searched for header files,
        $(build_tooldir)/lib/ for library files.
        (GCC_FOR_TARGET): Likewise.
        (CXX_FOR_TARGET): Likewise.
2000-05-21 16:57:14 +00:00
Christopher Faylor 6cb613a428 * exceptions.cc (interruptible): Add an argument to control whether function
just checks for validity.  Flag module handle == 0 as noninterrupible.
(call_handler): Always acquire and release ebp lock.  Loop for only a fixed
amount of time attempting to grab mutos and find an interruptible PC.
2000-05-20 05:52:33 +00:00
Corinna Vinschen a4bc548973 * regtool.cc (find_key): Add parameter `access'.
Call `RegOpenKeyEx' with that desired access.
        (cmd_add, cmd_remove, cmd_set, cmd_unset): Call
        `find_key' with KEY_ALL_ACCESS access.
        (cmd_list, cmd_check, cmd_get): Call `find_key'
        with KEY_READ access.
2000-05-19 22:02:23 +00:00
H.J. Lu abd9f14c3b 20000-05-19 H.J. Lu (hjl@gnu.org)
* configure: Provide --disable-target-dir-sanity-checking to
	disable the gcc directory checking for cross compiling.
2000-05-19 18:14:18 +00:00
DJ Delorie ed8387fb4f * syscalls.cc (setmode): change mode of any matching FILE* also. 2000-05-19 17:15:02 +00:00
DJ Delorie f00c1d2ccd * cygpath.cc: add --windir/--sysdir options
* utils.sgml: and document them
2000-05-19 17:06:28 +00:00
Christopher Faylor f343a326d3 * Makefile.in: Remove external.h dependency.
* dcrt0.cc (sigthread::init): Move here from sigproc.h.
* sigproc.h (sigthread): Move init to dcrt0.cc.
2000-05-18 21:30:30 +00:00
DJ Delorie f43932615d * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE 2000-05-18 19:03:10 +00:00
Christopher Faylor e73a56e982 * Makefile.in: Eliminate WINSUP_DEPS.
* cygpath.cc: Reorganize includes to accomodate sys/cygwin.h changes.
* mkgroup.c: Ditto.
* mkpasswd.c: Ditto.
* mount.cc: Ditto.  Eliminate use of cygwin source specific includes.
* ps.cc: Ditto.
* cygwin.cc: Eliminate obsolete file.
2000-05-18 18:39:11 +00:00
Christopher Faylor 8126b13644 * MAINTAINERS: Add Corinna to general list. 2000-05-18 18:34:02 +00:00
Christopher Faylor 5ea32366a6 Eliminate. 2000-05-18 18:32:26 +00:00
Christopher Faylor 2a6a56c227 * select.cc (thread_pipe): Add paranoid check to ensure thread termination.
* external.cc: Eliminate obsolete include.
* getopt.c (getopt_long): Fix compiler warning.
* shared.h: Moved PID_ definitions to include/sys/cygwin so that they can be
used by external programs.
* include/sys/cygwin.h: Move external definitions here.  Include sys/resource.h
to avoid having to do this everywhere.
2000-05-18 18:32:05 +00:00
H.J. Lu 6c7395bfce 20000-05-18 H.J. Lu (hjl@gnu.org)
* configure: Ask to create the gcc directory for cross
	compiling if necessary.
2000-05-18 17:11:17 +00:00
Jeff Law 52a3d41377 * configure.in (hppa*64*-*-*): Do build ld for this configuration. 2000-05-18 16:58:06 +00:00
David Edelsohn f5619b809e * configure.in: Special case powerpc*-*-aix* target_makefile_frag. 2000-05-18 14:28:32 +00:00
Corinna Vinschen f55f400b2d * include/winnt.h: Add some missing TAPE_DRIVE_* defines. 2000-05-18 09:39:33 +00:00
Christopher Faylor 77303e2d83 * sigproc.h (sigframe): Don't set frame info unless tid matches this thread id. 2000-05-18 05:05:58 +00:00
Christopher Faylor 12e659efa8 * dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before anything needs
it.
* sigproc.cc (sigproc_init): Move mainthread initialization out of here.
* sigproc.h (sigthread): Add init() method.
(sigframe): Don't try to initialize muto.
* sync.cc: Undef WaitForSingleObject to avoid recursion.
2000-05-18 03:20:01 +00:00
Andrew Cagney 2dc173fe91 Typo. bfd@sourceware -> binutils@sourceware. 2000-05-18 00:29:13 +00:00