67763c0ca2* ssp.c (help_desk): Fix compiler warning. Christopher Faylor <cgf@redhat.com> Change appropriate globals to statics throughout. * cygcheck.cc (usage): Simplify usage output. Generalize to allow use for help. (longopts): Add version option. (opts): Add 'V" version option. (print_version): New function. (main): Accommodate new version option. Accommodate usage parameter changes. Use usage to output help message. * Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is defined. (libbfd): Use -B rather than -L so that bfd from build directory is correctly found. (libintl): Ditto.
Christopher Faylor
2002-02-27 16:10:17 +0000
e3c6baed8a* standards.texi: Import February 14, 2002 version. * make-stds.texi: Import 2001 version. * Makefile.in (install): Depend on install-info.
Andrew Cagney
2002-02-27 02:13:36 +0000
c1010a63d82002-02-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-02-25 23:51:10 +0000
acb5617538* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
Corinna Vinschen
2002-02-25 17:47:51 +0000
5a909729b1update copyright
Christopher Faylor
2002-02-25 05:27:18 +0000
45bdd82244missdit
Alan Modra
2002-02-25 04:13:42 +0000
925770f3a6* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
Alan Modra
2002-02-25 03:42:59 +0000
ef575dad602002-02-23 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz
2002-02-24 00:04:00 +0000
59ee2e2013* libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead of off_t.
Corinna Vinschen
2002-02-23 14:37:29 +0000
f981596fcb* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just because its Makefile is there; test for the executable instead.
Alexandre Oliva
2002-02-23 10:08:09 +0000
083abe5428* sync.h (new_muto): Just accept an argument which denotes the name of the muto. Use this argument to construct static storage. * cygheap.cc (cygheap_init): Reflect above change. * exceptions.cc (events_init): Ditto. * malloc.cc (malloc_init): Ditto. * path.cc (cwdstuff::init): Ditto. * cygheap.h (cwdstuff): Change name of lock element to make it less generic. * path.cc (cwdstuff::get_hash): Ditto. (cwdstuff::get_initial): Ditto. (cwdstuff::set): Ditto. (cwdstuff::get): Ditto. * sigproc.cc (proc_subproc): Ditto. * debug.cc (lock_debug): Change to method. Use method rather than macro throughout. * tty.h (tty_min::kill_pgrp): Declare new method. * fhandler_termios.cc (tty_min::kill_pgrp): New method. (fhandler_termios::line_edit): Use new method for killing process. * dcrt0.cc (do_exit): Ditto. * dtable.cc (dtable::get_debugger_info): New method for inheriting dtable info from a debugger. * tty.cc (tty_init): Attempt to grab file handle info from parent debugger, if appropriate. # dtable.cc (dtable::stdio_init): Make this a method. (dtable::init_std_file_from_handle): Don't set fd unless it's not open. (dtable::build_fhandler_from_name): Move name setting to dtable::build_fhandler. (dtable::build_fhandler): Add win32 name parameter. * dcrt0.cc (dll_crt0_1): Change to use dtable stdio_init. * dtable.h (dtable): Reflect build_fhandler parameter change. * mmap.cc (mmap_record::alloc_fh): Don't set name parameter in build_fhandler. * net.cc (fdsock): Remove set_name call since it is now handled by build_fhandler. * sigproc.cc (proc_subproc): Release muto as early as possible.
Christopher Faylor
2002-02-22 19:33:41 +0000
a6790c5f11* smallprint.c (rn): Allow long long values. (__small_vsprintf): Add 'D', 'U' and 'X' formats for long long parameters.
Corinna Vinschen
2002-02-22 18:22:24 +0000
76135eab62include:
Jim Blandy
2002-02-21 22:19:14 +0000
2dd68dc2ffAdd missing clobbered register.
Nick Clifton
2002-02-20 14:42:03 +0000
55500bf14f* configure.host (newlib_cflags): When host is in m68* add -DCOMPACT_CTYPE.
Thomas Fitzsimmons
2002-02-20 00:47:07 +0000
7416292611* configure.in: Avoid building w32api or mingw if they don't exist. * configure: Regenerate.
Christopher Faylor
2002-02-19 21:59:19 +0000
cecb74ae47* fork.cc (fork_parent): Use sec_user_nih to control process/thread inheritance/permission. * spawn.cc (spawn_guts): Ditto. * security.cc (create_token): Initialize token so that it is not tested for bogus value later. Use sec_user to control process/thread creation. * security.h (__sec_user): Rename declaration from sec_user. (sec_user_nih): Declare here as inline function wrapper for __sec_user. (sec_user): Ditto. * sigproc.cc (czombies): Allocate a character array for zombies to avoid constructor overhead (extremely hackish, I know). (cpchildren): Ditto. (pchildren): New define. (zombies): Ditto. (getsem): Use sec_user_nih to control semaphore inheritance/permission.
Christopher Faylor
2002-02-19 05:58:44 +0000
dda54ada03* i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.
Jan Hubicka
2002-02-18 16:32:25 +0000
4c761646ccreformat
Christopher Faylor
2002-02-17 22:00:28 +0000
2bd22312df* times.cc (hires::prime): Restore thread priority on failure condition. * uinfo.cc (uinfo_init): Use more robust method for determining if process was invoked from a non-cygwin process. * sync.h (muto::init): Eliminate "inheritance" parameter. (new_muto): Reflect removal of parameter. * sync.cc (muto::init): Ditto. * cygheap.cc (cygheap_init): Ditto. * debug.cc (threadname_init): Ditto. * exceptions.cc (events_init): Ditto. * malloc.cc (malloc_init): Ditto. * path.cc (cwdstuff::init): Ditto. * sigproc.cc (sigproc_init): Ditto. * grp.cc (group_lock): Use different method for locking with static member. (read_etc_group): REALLY ensure that read lock mutex is released. * passwd.cc (passwd_lock): Use different method for locking with static member. (read_etc_passwd): REALLY ensure that read lock mutex is released. * shared.cc (sec_user): Correct reversed inheritance test.
Christopher Faylor
2002-02-17 04:59:55 +0000
9490dffa7bwhitespace cleanup
Christopher Faylor
2002-02-16 17:47:48 +0000
cf75300efa* mount.cc (usage): Fix typo in output.
Christopher Faylor
2002-02-15 23:03:14 +0000
ba0173f0f92002-02-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-02-15 21:19:40 +0000
60b68f0d39* hires.h (hires::usecs): Rename from utime. Accept an argument. * strace.cc (strace::microseconds): Use hires class for calculating times. * sync.h (new_muto): Use NO_COPY explicitly in declaration. * times.cc (gettimeofday): Reflect change in usecs argument. (hires::usecs): Ditto. Changed name from utime. * winsup.h (NO_COPY): Add nocommon attribute to force setting aside space for variable. * regcomp.c (REQUIRE): Add a void cast to bypass a warning.
Christopher Faylor
2002-02-15 17:06:40 +0000
dce87b21e1* hires.h: New file. * times.cc (gettimeofday): Use hires class for calculating current time. (hires::prime): New method. (hires::utime): Ditto.
Christopher Faylor
2002-02-15 07:05:05 +0000
de4e0d3001* (child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h, fhandler_clipboard.cc, fhandler_disk_file.cc, fhandler_dsp.cc, fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc, fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc, pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc, security.h, spawn.cc, syscalls.cc, thread.h, uinfo.cc, winsup.h): Change usage of uid_t to __uid16_t, gid_t to __gid16_t and off_t to __off32_t throughout. Use INVALID_UID, INVALID_GID and INVALID_SEEK instead casting -1 to the appropriate type. * winsup.h: Define INVALID_UID, INVALID_GID and INVALID_SEEK. * include/cygwin/acl.h: Define internal __aclent16_t and __aclent32_t types. Don't declare acl functions when compiling Cygwin. * include/cygwin/grp.h: Declare getgrgid() and getgrnam() with correct types for internal usage.
Corinna Vinschen
2002-02-10 13:38:51 +0000
a505db6554* libc/include/grp.h: Don't declare group functions when compiling Cygwin.
Corinna Vinschen
2002-02-10 13:26:29 +0000
39b553b8f0* uinfo.cc (internal_getlogin): Try evaluating user by SID even if ntsec is off. (uinfo_init): Set primary group even if ntsec is off.
Corinna Vinschen
2002-02-10 11:15:56 +0000
ba2ca6ae2b* alpha.h (R_ALPHA_BRSGP): New.
Richard Henderson
2002-02-09 22:54:16 +0000
f3b39c459b* libc/include/grp.h: Include Cygwin specific header. * libc/include/sys/stat.h: Ditto. Don't define `struct stat' when compiling for Cygwin. * libc/include/sys/types.h: Don't define off_t, uid_t and gid_t when compiling for Cygwin.
Corinna Vinschen
2002-02-09 20:40:37 +0000
52296b850c* include/cygwin/grp.h: New file. * include/cygwin/stat.h: Ditto. * include/cygwin/types.h: Add definitions for __off32_t, __off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t, __gid32_t and gid_t. * include/sys/cygwin.h: Use correct uid and gid types.
Corinna Vinschen
2002-02-09 20:39:55 +0000
82b3ac561c* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate _REENT_EMERGENCY_SIZE, not sizeof(char *).
Matthew Green
2002-02-09 13:01:46 +0000
7a149da931* opcodes disassembler extension
Frank Ch. Eigler
2002-02-05 19:40:42 +0000
fb3b3429a4*** empty log message ***
Mark Salter
2002-02-05 18:13:21 +0000
2dc2c168c5Add eh stuff and .jcr.
Mark Salter
2002-02-05 18:12:23 +0000
61bc57ac89Add crti to startfile.
Mark Salter
2002-02-05 18:11:13 +0000
4fa60ba901Add init/fini support.
Mark Salter
2002-02-05 18:09:18 +0000
bf317e4b79merge from gcc
DJ Delorie
2002-02-05 17:53:03 +0000
994fa212eaFix typo.
Jeff Johnston
2002-02-05 17:17:28 +0000
27478365a22002-02-05 Manik Raina <manik@cisco.com>
Jeff Johnston
2002-02-05 17:14:35 +0000
1c4bd587702002-02-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-02-05 00:29:31 +0000
815a37f78a2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-02-04 18:38:44 +0000
cef36985faRemove redundant entry.
DJ Delorie
2002-02-03 13:16:18 +0000
c6e163358dmerge from gcc
DJ Delorie
2002-02-03 13:12:31 +0000
a4139c1259* libc/reent/signgam.c (__signgam): Fix error in previous.
Matthew Green
2002-02-03 12:53:04 +0000
8195aff714* implement a new `struct _reent' that is significantly smaller. use this if _REENT_SMALL is defined in config.h. define this for xstormy16.
Matthew Green
2002-02-03 09:24:18 +0000
ad67ada2fcRevert sh64 changes. Accidently committed.
Andrew Cagney
2002-02-02 04:48:29 +0000
f1eca01afe* Makefile.in: Add all-tix to deps for all-snavigator so that tix is built when building snavigator.
Mo DeJong
2002-02-02 01:42:53 +0000
9c2e764253In ld/ChangeLog: * scripttempl/xstormy16.sc: Don't allocate extra space for the stack. In libgloss/ChangeLog: * xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add sim_malloc_start.o. * xstormy16/eva_app.ld: Add __malloc_start. * xstormy16/sbrk.c: Remove. * xstormy16/sim_malloc_start.s: New file. * xstormy16/sim_high.ld: Make the stack start immediately at the end of the program. In newlib/ChangeLog: * configure.host (xstormy16): Don't use the generic malloc. * libc/machine/xstormy16/Makefile.am: Build tiny-malloc. * libc/machine/xstormy16/Makefile.in: Regenerate. * libc/machine/xstormy16/mallocr.c: New file. * libc/machine/xstormy16/tiny-malloc.c: New file.
Geoffrey Keating
2002-02-01 18:00:41 +0000
2c8d73598cAllow mips user to override memory size
Michael Meissner
2002-02-01 17:22:59 +0000
d49d4a33daSynchronize dates with FSF version of the ChangeLog. Remove spurious entry.
Nick Clifton
2002-02-01 12:27:55 +0000
c59ac44df4* sim-sh64.h: New file.
Ben Elliston
2002-02-01 12:04:27 +0000
9d1376ced2* config.guess: Import from master sources, rev 1.229. * config.sub: Import from master sources, rev 1.240.
Ben Elliston
2002-02-01 11:49:27 +0000
f93591afedSupport small archive for pre AIX 4.3
Tom Rix
2002-02-01 05:47:14 +0000
b045f89c22merge from gcc
DJ Delorie
2002-01-31 19:01:07 +0000
5d4ac1011eAdd support for OpenRISC 32-bit embedded processor
Nick Clifton
2002-01-31 17:33:03 +0000
29a1ad942e* mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home isn't given.
Corinna Vinschen
2002-01-31 12:43:29 +0000
ae334f668d* include/mapi.h: New file. * lib/mapi.def: Add missing function stubs. * lib/test.c: Include mapi.h.
Danny Smith
2002-01-30 17:33:27 +0000
9783296270* passwd.cc (ChangePW): Add parameter to differ between called for checking old password and called for changing password. If called for checking old password, return non-zero only if password is surely incorrect. (main): Call ChangePW() with additional parameter.
Corinna Vinschen
2002-01-30 11:57:16 +0000
8e2deb48d6add more words
Christopher Faylor
2002-01-30 02:44:21 +0000
1c2b9fe563* dump_setup.cc (parse_filename): Don't consider '_' part of the version.
Christopher Faylor
2002-01-29 18:37:00 +0000
94ee02fa05* net.cc (getdomainname): Fix registry key for NT systems.
Corinna Vinschen
2002-01-29 13:23:09 +0000
012858ecdc* cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in sys/cygwin.h instead. * getfacl.c: Add include to remove warning. * mkgroup.c (main): Assign variables outside of parameter passing. This seems to eliminate some compiler warnings.
Christopher Faylor
2002-01-29 03:08:42 +0000
4239e5ecf4* cygcheck.cc: Use specific cygwin includes, as required.
Christopher Faylor
2002-01-29 02:28:44 +0000
de6f83626a* Makefile.in (MINGW_INCLUDES): Change cygwin include. * strace.cc: Use specific cygwin includes, as required. (load_cygwin): New function. Loads cygwin DLL, if necessary. (attach_process): Attaches strace to a running process. (dostrace): Accept pid argument. Attach to pid if supplied. (usage): Describe -p option. Correct system description. (longopts): Alphabetize. (opts): Ditto. (main): Ditto. Handle -p option. * Makefile.in (CXXFLAGS): Ensure that important settings are preserved even when overriden by command line.
Christopher Faylor
2002-01-29 02:03:32 +0000
494a66d9c5* external.cc (cygwin_internal): Initialize various internal settings if required to allow use of some things from user loaded DLL. (CW_STRACE_ON): Add new feature. (CW_CYGWIN_PID_TO_WINPID): Ditto. * pinfo.cc (set_myself): Call "strace.hello" to initiate possible strace session. (pinfo::init): Guard against dereferencing uninitialized myself. * sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal" received. * strace.cc (strace::hello): New method. * wincap.cc (wincapc::init): Avoid initializing if already initialized. * wincap.h (wincapc::wincapc): New method. * include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of {g,u}id_t if required. * strace.h (strace::hello): Declare new method.
Christopher Faylor
2002-01-29 02:02:03 +0000