Commit Graph

15277 Commits

Author SHA1 Message Date
Corinna Vinschen 0ac91154fc * mkpasswd.c (main): Use GetDCName instead of GetAnyDCName.
Don't create extra passwd entry for administrators group
        if local_groups is set.
        (usage): Change usage text slightly.
        (enum_users): Loop while ERROR_MORE_DATA is returned.
        (enum_local_groups): Ditto.
        * mkgroup.c (enum_local_groups): Ditto.
        (enum_groups) Ditto.
        (usage): Change usage text slightly.
2000-04-15 22:30:49 +00:00
Christopher Faylor eed11cf2bb * fhandler_console.cc (keytable): Add support for keypad 5 key, which MS seems
to think is equivalent to VK_CLEAR.
* debug.cc (thread_stub): Eliminate initialization of reent stuff.
* init.cc (dll_entry): Move it here.
2000-04-15 03:52:24 +00:00
H.J. Lu 405713cfb3 2000-04-14 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.
2000-04-14 19:32:44 +00:00
H.J. Lu f234d21a3c 2000-04-14 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_NETBSD): Defined.
	(ELFOSABI_HURD): Likewise.
	(ELFOSABI_SOLARIS): Likewise.
	(ELFOSABI_MONTEREY): Likewise.
	(ELFOSABI_IRIX): Likewise.
	(ELFOSABI_FREEBSD): Likewise.
	(ELFOSABI_TRUE64): Likewise.
2000-04-14 19:14:15 +00:00
Christopher Faylor 2cf9359a8a * dcrt0.cc (insert_file): Avoid freeing previously allocated argument list.
* path.cc (symlink_info::check): Rename from symlink_check_one.  Use new
symlink_info struct for communication.
(path_conv::path_conv): Use symlink_info structure for communication with
symlink_info::check.  Fix typo which resulted in symbolic links always being
resolved.
(readlink): Use stat_suffixes array when resolving a link.
* syscalls.cc (stat_suffixes): Make global.
2000-04-13 22:43:48 +00:00
Corinna Vinschen 8a06963c1c * include/cygwin/version.h: Bump minor api to reflect export change. 2000-04-13 18:52:12 +00:00
Corinna Vinschen b53881fd27 * cygwin.din: Add symbol for `lacl'.
* security.cc (ReadSD): Add debug output.
	(acl_worker):  New static function.
	(acl): Call acl_worker now.
	(lacl): New function.
	(facl): Call acl_worker now.
	* include/cygwin/acl.h: Add prototype for `lacl'.
2000-04-13 06:53:24 +00:00
Corinna Vinschen a4bf66dd75 * path.cc (conv_to_win32_path): Detect a win32 path
if path contains backslashes.
2000-04-13 06:48:14 +00:00
Christopher Faylor 418068d4b0 * cygpath.cc (main): Add -a -o and -c options.
(doit): Ditto.
2000-04-13 05:23:30 +00:00
Andrew Cagney ac5ec41ef6 * Makefile.in (gdb-taz): New target. GDB specific archive.
(do-md5sum): New target.
(MD5PROG): Define.
(PACKAGE): Default to TOOL.
(VER): Default to a shell script.
(taz): Rewrite target.  Move real work to do-proto-toplev.  Include
md5 checksum generation.
(do-proto-toplev): New target. Create $(PACKAGE)-$(VER) link.
(do-tar-bz2): Delete creation of $(PACKAGE)-$(VER) link.
(gdb.tar.bz2, dejagnu.tar.bz2, gdb+dejagnu.tar.bz2,
insight.tar.bz2): Use gdb-taz to create archive.
2000-04-13 02:17:35 +00:00
Alan Modra 88adca8b0e Remove U suffix from constants for K&R compilers.
Fix a couple of 64 bit nits.
2000-04-13 01:08:05 +00:00
Christopher Faylor 7ef25eb606 Fix typo. 2000-04-13 01:00:59 +00:00
Christopher Faylor 0d60da2632 * path.cc (path_conv::path_conv): Ensure that suffix is correctly copied to
path when we've found a symlink but aren't following symlinks.
2000-04-12 22:50:08 +00:00
Christopher Faylor d13dac7f30 Add a debugging line. 2000-04-11 21:22:53 +00:00
Christopher Faylor caa8b1ca9b * include/winbase.h: Change first argument of ENUMRES* types to coincide with
Microsoft usage.
2000-04-11 12:51:58 +00:00
Tim Wall 2c3b166657 Mods to allow compilation of BFD all targets. 2000-04-11 04:11:03 +00:00
Christopher Faylor 138d4f510e * cygpath.cc (main): Add -f option for processing a group of paths from a file.
(doit): New function.
2000-04-11 02:57:25 +00:00
Christopher Faylor 23ee7c4463 * include/string.h: Use proper prototype for _strerror. 2000-04-10 23:00:27 +00:00
Christopher Faylor ba87a619ef * Makefile.common: Resolve srcdir to absolute path or it will confuse usages
when passed to submakes.  Eliminate vestigal use of MAKEOVERRIDES.
2000-04-10 03:51:39 +00:00
Andrew Cagney da7185af44 Remove ``-W -Wall'' from top-level Makefile/configure.
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and
opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to
set it.  Add configure option --enable-build-warnings.
Re-generate all and sundry using auto*-000227.
2000-04-09 12:17:36 +00:00
Christopher Faylor 7f363152c5 * Makefile.in: Work around MAKEOVERRIDES problem with older versions of make.
* Makefile.common: Ditto.
2000-04-09 06:15:43 +00:00
Tim Wall d5337b4c13 Fix copyright comments and file comments. 2000-04-08 17:26:16 +00:00
Christopher Faylor 0ccdde4c26 Remove erroneous entry. 2000-04-08 05:03:01 +00:00
Christopher Faylor af3e5ed279 * fhandler.cc (fhandler_disk_file::fstat): Allocate enough space for root dir
determination or overflow an array.
2000-04-08 04:47:15 +00:00
Christopher Faylor 0cda2f4609 * exceptions.cc (sigsave): Copy on fork so that we can restore correct behavior
in forked process.
(interruptible): Flag as interruptible when running in main process module.
(interrupt_setup): Save return address and address of return address.
(signal_fixup_after_fork): New function.  Uses above two values to restore
proper behavior to forked process.
(interrupt_on_return): Pass return address address to interupt_setup.
(interrupt_now): Pass NULL for return address address to interrupt_setup.
* fork.cc (fork): Call signal_fixup_after_fork.
* shared.h: Lint cleanups.
* winsup.h: Ditto.
2000-04-08 04:13:12 +00:00
Nick Clifton 65c0e6e68c Merge arm-oabi.h into arm.h 2000-04-08 00:09:26 +00:00
Ron Parker 61e196e361 Updated to build cinstall with mingw. See Changelog for numerous setup.c changes. 2000-04-07 22:12:41 +00:00
Tim Wall 2cf1695b81 BFD and include/coff support for tic54x target. 2000-04-07 17:06:58 +00:00
Christopher Faylor 25a99cabd3 Bump minor version. 2000-04-07 00:09:27 +00:00
Nick Clifton 2b6af862fe Add definitions of flags in e_flags field from version A-08 of ARM ELF spec. 2000-04-06 23:18:18 +00:00
Richard Henderson 9e276d99e9 * splay-tree.h (splay_tree_remove): Declare. 2000-04-06 00:15:35 +00:00
Joern Rennecke 66d2d2638e sh-dsp REPEAT support:
opcodes:

        * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (sh_arg_type): Add A_PC.
        (sh_table): Update entries using immediates.  Add repeat.
        * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.

gas:

        * config/tc-sh.c (immediate): Delete.
        (sh_operand_info): Add immediate member.
        (parse_reg): Use A_PC for pc.
        (parse_exp): Add second argument 'op'.  All callers changed.
        (parse_at): Expect pc to be coded as A_PC.
        Use immediate field in *op.
        (insert): Add fourth argument 'op'.  All callers changed.
        (build_relax): Add second argument 'op'.  All callers changed.
        (insert_loop_bounds): New function.
        (build_Mytes): Remove DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (assemble_ppi): Use immediate field in *operand.
        (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
        (md_apply_fix): Likewise.
        (tc_gen_reloc): Likewise.  Check for a pcrel BFD_RELOC_SH_LABEL.

include/coff:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define.

include/elf:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.

bfd:

        * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
        BFD_RELOC_SH_LOOP_END.
        * elf32-sh.c (sh_elf_howto_tab): Change special_func to
        sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
        Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
        (sh_elf_reloc_loop): New function.
        (sh_elf_reloc): No need to test for always-to-be-ignored relocs
        any more.
        (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
        (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
        * bfd-in2.h, libbfd.h: Regenerate.
2000-04-05 21:23:03 +00:00
Alan Modra c6e4c778eb Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.
2000-04-04 14:32:32 +00:00
Christopher Faylor aefbf3885d * fhandler.h (select_stuff): Eliminate use of 'total'.
* select.cc (cygwin_select): Ditto.
(select_stuff::wait): Use maximum size for w4 rather than calculating what will
fit.
2000-04-03 18:15:01 +00:00
Corinna Vinschen 476839eb03 * grp.cc (parse_grp): Save empty array instead of
NULL in gr_mem if no supplementary group is given.
2000-04-03 18:08:13 +00:00
Alan Modra cf11ab4e66 Move bug report string to one place. 2000-04-03 14:10:04 +00:00
Hans-Peter Nilsson 9115ada8ce * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
	(RELOC_EXT_BITS_TYPE_BIG): Ditto.
	(RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
	(RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
	(RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
2000-04-03 11:29:28 +00:00
Christopher Faylor 6c8ef0489b update copyright. 2000-04-03 01:29:06 +00:00
Christopher Faylor 4734b3a29d Update winsup stuff. 2000-04-03 01:26:01 +00:00
Christopher Faylor 31258a61eb * Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L
library search.
(CXX_FOR_TARGET): Ditto.
2000-04-03 01:24:45 +00:00
Andrew Cagney 17a1f20e13 For want of something better. List where to go to when wanting to
make a toplevel change.
2000-04-03 01:14:00 +00:00
Corinna Vinschen 796e3b20bc * newlib/libc/include/sys/unistd.h: Add prototypes for
fchmod, fchown, lchown.
        * winsup/cygwin/syscalls.cc (chown_worker): Use previous
        uid/gid if new uid/gid is -1.
        New static function with chown functionality.
        (chown): Call chown_worker with SYMLINK_FOLLOW.
        (fchown): New function. Call chown_worker with SYMLINK_FOLLOW.
        (lchown): New function. Call chown_worker with SYMLINK_IGNORE.
        * cygwin.din: Add symbols for fchown, lchown.
        * path.cc (symlink): Call `set_file_attribute()' and
        `SetFileAttributeA()' instead of `chmod()' to set
        uid/gid correct.
2000-04-02 20:42:42 +00:00
Christopher Faylor c90d7012d3 * include/wininet.h: Add three more "INTERNET_OPTIONS". 2000-04-02 01:52:38 +00:00
Christopher Faylor fd5afe2066 * MAINTAINERS: Add Ron Parker as maintainer of cinstall stuff.
Add ChangeLog to doc directory.
2000-03-31 04:46:47 +00:00
Mumit Khan ab81a36772 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in (subdirs): Workaround for broken shells.
2000-03-31 04:43:46 +00:00
Mumit Khan 152e16e798 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* include/winbase.h (CreateHardLink{A,W}): Add prototypes.
	* include/winerror.h (ERROR_TOO_MANY_LINKS): Add macro.
	* include/winnt.h (SEC_*): Add macros.
	* lib/th32.def: Use Kernel32.dll instead of TH32.DLL.
2000-03-30 06:10:11 +00:00
Mumit Khan f36f4868d1 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* include/ole.h: Workaround for C++ parser bug.
	* include/rpcdcep.h: Likewise.
	* include/winsock.h: Likewise.
2000-03-30 06:08:58 +00:00
Christopher Faylor b0ddfa70a5 Simplify constructors and initializers for select_record. 2000-03-30 04:23:11 +00:00
Christopher Faylor e3be633dd8 * fhandler.h (select_record): Explicitly zero elements of this class.
(select_stuff): Ditto.
* select.cc (cygwin_select): Eliminate memset zero of sel.
2000-03-30 03:51:30 +00:00
Jason Merrill 5f4d6baaf2 * configure.in: -linux-gnu*, not -linux-gnu.
* configure (gcc_version): When setting, narrow search to
        lines containing `version_string'.
2000-03-30 02:19:55 +00:00