235f653a53* mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint. * mingwex/math/truncf.c (truncf): Likewise. * mingwex/math/truncl.c (truncl): Likewise. * mingwex/math/modff.c (modff): Likewise. * mingwex/math/modfl.c (modfl): Likewise.
Danny Smith
2003-07-03 11:24:18 +0000
78b8a13965* include/search.h: New file. * include/stdlib.h: Add comment about qsort, bsearch in search.h. * test_headers.c: Include search.h. * moldname.def.in (lfind, lsearch): Add.
Danny Smith
2003-07-03 07:50:53 +0000
b1868c88bc* include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around macro arguments. Thanks to Tom Bishop <tombishop@users.sf.net>. * include/winuser.h (MONITOR_DEFAULTTONULL, MONITOR_DEFAULTTOPRIMARY, MONITOR_DEFAULTTONEAREST, MONITORINFOF_PRIMARY): Add defines. (TPM_RECURSE): Add guard for Win98/Win2K. Thanks to Magnus Olsen <greatlord@users.sf.net>.
Luke Dunstan
2003-07-03 02:19:01 +0000
e298efab0a* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve, _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp, execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
Danny Smith
2003-07-02 22:09:25 +0000
282eff9a6a2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2003-07-02 20:32:07 +0000
4e989b11f32003-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2003-07-02 17:34:20 +0000
f3ff0ca9ed* thread.cc: Remove _MT_SAFE conditional.
Christopher Faylor
2003-07-02 03:50:05 +0000
6a59d15696fix typo
Christopher Faylor
2003-07-02 03:32:04 +0000
8fb2df196d* configure.in: Fix --enable-server option.
Christopher Faylor
2003-07-02 03:29:40 +0000
3872e9a419* Makefile.in: Remove cygserver stuff. * acconfig.h: Add USE_CYGSERVER define. * config.h.in: Regenerate. * configure.in: Add --enable-server setting. * configure: Regenerate. * fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of cygserver stuff. * fork.cc (fork_child): Ditto. * shm.cc: Ditto. * tty.cc (tty::common_init): Ditto. * dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable definitions. * environ.cc: Ditto. * ntea.cc: Ditto. * security.cc: Ditto. * security.h: Ditto. * syscalls.cc (check_posix_perm): Remove externs that were already declared in a header. * winsup.h: Ditto. Declare _MT_SAFE here. Delete it someday since cygwin should always be _MT_SAFE.
Christopher Faylor
2003-07-02 03:16:00 +0000
4d8d80b8a7* Makefile.in (OBJS): Move some more files from cygwin directory. * woutsup.h: Define _MT_SAFE.
Christopher Faylor
2003-07-02 02:31:32 +0000
1847a1637d* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on newer versions of gcc.
Christopher Faylor
2003-07-02 02:30:16 +0000
f7ba12a587* include/basetyps.h (small, hyper): Change to __small and __hyper to avoid user namespace conflicts.
Earnie Boyd
2003-07-01 23:37:00 +0000
acd2330e32* include/_mingw.h (small, hyper): Change to __small and __hyper to avoid user space name conflicts.
Earnie Boyd
2003-07-01 23:34:36 +0000
d1ba63e143merge from gcc
DJ Delorie
2003-07-01 21:17:41 +0000
345ee543e0first checkin
Christopher Faylor
2003-07-01 21:09:39 +0000
c57452c817First checkins.
Christopher Faylor
2003-07-01 21:09:30 +0000
5ed85bb96e* s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.
Martin Schwidefsky
2003-07-01 14:46:57 +0000
591a16af6e* s390.h (elf_s390_reloc_type): Add long displacement relocations R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
Martin Schwidefsky
2003-07-01 14:46:26 +0000
e21a622054* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small): Rename to Small (case difference).
Earnie Boyd
2003-07-01 13:55:47 +0000
6dbe0697a7Change existing guards to use the above macro names as appropriate. * include/basetyps.h (__int32, __int16, __int8, small, hyper): Define. Note: Also added to mingw/include/_mingw.h.
Earnie Boyd
2003-07-01 13:01:41 +0000
fecdb8380e* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define. Note: Also added to w32api/include/basetyps.h.
Earnie Boyd
2003-07-01 12:57:53 +0000
b8582a99b5* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003, _IE3, _IE4, _IE5, _IE6): Add definitions. * include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or >= Win98. Change existing guards to use the above macro names as appropriate.
Earnie Boyd
2003-07-01 12:01:05 +0000
88112d1d65merge from gcc
DJ Delorie
2003-07-01 01:12:46 +0000
dcc3c258a9* xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define.
Bob Wilson
2003-06-30 21:56:32 +0000
70249d5687* cygheap.h (enum impersonation): New enum. (cygheap_user::token): Delete. (cygheap_user::impersonated): Delete. (cygheap_user::external_token): New member. (cygheap_user::internal_token): New member. (cygheap_user::impersonation_state): New member. (cygheap_user::issetuid): Modify. (cygheap_user::token): New method. (cygheap_user::deimpersonate): New method. (cygheap_user::reimpersonate): New method. (cygheap_user::has_impersonation_tokens): New method. (cygheap_user::close_impersonation_tokens): New method. * dtable.cc (dtable::vfork_child_dup): Use new cygheap_user methods. * fhandler_socket.cc (fhandler_socket::dup): Ditto. * fork.cc (fork_child): Ditto. (fork_parent): Ditto. * grp.cc (internal_getgroups): Ditto. * security.cc (verify_token): Ditto. (check_file_access): Ditto. (cygwin_set_impersonation_token): Detect conflicts. Set user.external_token. * spawn.cc (spawn_guts): Use new cygheap_user methods. * syscalls.cc (seteuid32): Rearrange to use the two tokens in cygheap_user. (setegid32): Use new cygheap_user methods. * uinfo.cc: (internal_getlogin): Ditto.
Corinna Vinschen
2003-06-30 13:07:36 +0000
3fbdb70ec6* xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.
Andreas Jaeger
2003-06-29 13:52:02 +0000
0c03b46350* mmix.h: Convert to ISO C90 prototypes. * mips.h: Likewise.
Andreas Jaeger
2003-06-29 13:51:25 +0000
a52e274d122003-06-28 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith
2003-06-28 05:34:47 +0000
07b40cf8492003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
Jeff Johnston
2003-06-27 21:25:19 +0000
7daa7891072003-06-27 Joe Vornehm <joev@mitre.org>
Jeff Johnston
2003-06-27 20:12:01 +0000
8a7cd7e5f9* configure.in: Clean up config-lang.in handling. Delete useless assignment to "subdirs". * configure: Regenerate.
Nathanael Nerode
2003-06-27 17:34:33 +0000
51fa7562e22003-06-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2003-06-27 00:00:48 +0000
5283b6437d* configure.in: Rename 'target_libs' to 'target_libraries'. Remove useless reference to 'target_libs'. * configure: Regenerate.
Nathanael Nerode
2003-06-26 20:19:41 +0000
b08e1ec95a2003-06-26 Mattia Barbon <mbarbon@dsi.unive.it>
Danny Smith
2003-06-26 01:49:11 +0000
b06d4a0881* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.
Christopher Faylor
2003-06-25 19:12:01 +0000
a7a57ebcafinclude/opcode/ * h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove. (IMM8U, IMM8U_NS): Define. (h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy.
Richard Sandiford
2003-06-25 15:31:57 +0000
7eabbf53ff* include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd and mov.l ERs,@(dd:32,ERd) entries.
Richard Sandiford
2003-06-25 15:19:40 +0000
3d1ebe9b19Correct spelling of "relocatable".
Alan Modra
2003-06-25 06:40:17 +0000
e1e196a225* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork. (pthread::threads): Instantiate. (pthread::pthread): Initialize running and suspendend. Initialize next with NULL. Add thread to thread list if it is not the null_pthread. (pthread::~pthread): Remove thread from thread list if it is not the null_pthread. (pthread::postcreate): Set running flag. (pthread::exit): Reset running flag. (pthread::cancel): Try to cancel thread only if still running. (pthread::_fixup_after_fork): Implement. (pthread::detach): Check if thread is still running before detach. * thread.h (pthread::running): New member. (pthread::next): Ditto. (pthread::fixup_after_fork): New static method. (pthread::threads): New static method. (pthread::_fixup_after_fork): New method.
Thomas Pfaff
2003-06-24 20:14:01 +0000
b8f7ea5ccb2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
Jeff Johnston
2003-06-24 19:43:58 +0000
6d7ea52a26* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call to atexit().
Richard Sandiford
2003-06-24 18:13:35 +0000
c72bff5073* Makefile.tpl: Add maybe-configure-itcl to configure-gdb. * Makefile.in: Regenerate.
Keith Seitz
2003-06-23 21:30:43 +0000
47cd8327a5* Makefile.def: Introduce flags_to_pass. * Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it. * Makefile.in: Regenerate.
Nathanael Nerode
2003-06-23 20:36:40 +0000
0f51128880merge from gcc
DJ Delorie
2003-06-22 16:35:51 +0000
0543b9a2c7merge from gcc
DJ Delorie
2003-06-22 00:06:06 +0000
5a74f2aaf12003-06-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2003-06-21 00:11:40 +0000
6c6f70947d* pinfo.cc (_pinfo::commune_send): Don't attempt to communicate with a pure windows process.
Christopher Faylor
2003-06-21 00:08:02 +0000
8266e478d62003-06-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2003-06-20 23:57:48 +0000
a49a74108cFix typo.
Michael Snyder
2003-06-19 02:56:24 +0000
e7f4ab4d51Oops, Forgot to submit the change log
Earnie Boyd
2003-06-19 02:06:04 +0000
c9a5cfa0d32003-06-18 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet
2003-06-19 00:57:26 +0000
2302957c53* include/dirent.h (dirent): Make d_name and array instead of a pointer. * mingwex/dirent.c: Modifications througout to fill d_name array. * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and libmsvcr71, including debug versions. (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
Earnie Boyd
2003-06-18 13:54:47 +0000
1c906df21f2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith
2003-06-18 10:04:09 +0000
5a8ad0f5772003-06-18 Steven Edwards <Steven_Ed4153@yahoo.com>
Luke Dunstan
2003-06-18 09:46:09 +0000
8ae9ab67f6* configure.in: Update testsuite_flags to new location. * configure. Regenerate.
DJ Delorie
2003-06-18 02:25:31 +0000
0d7e4ab2ba* msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle, __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias): Mark as DATA.
Danny Smith
2003-06-17 23:08:26 +0000
0d58ef9dac* path.cc (mount): Do more strict checking on posix path arguments.
Christopher Faylor
2003-06-17 16:52:18 +0000
c89701c687merge from gcc
DJ Delorie
2003-06-17 16:31:07 +0000
c433f4617fThroughout, remove "include <errno.h>" from files which already include cygerrno.h. * include/cygwin/config.h (__DYNAMIC_REENT__): Define. * include/cygwin/version.h: Bump API minor version. * cygwin.din: Export __getreent * cygerrno.h: Include errno.h. Fix places where _impure_ptr is used directly to store the errno value. * debug.cc (__set_errno): Ditto. * errno.cc: Remove _RRENT_ONLY define to get errno.cc compiled. * signal.cc: Rename _reent_clib to _REENT throughout. * thread.h (reent_clib): Remove prototype. * thread.cc (reent_clib): Rename reent_clib to __getreent. Return _impure_ptr until MTinterface is initialized. (reent_winsup): Fix a possible SEGV when _r == NULL. Return NULL instead. * MTinterface::fixup_after_fork: Switch reent back to _impure_ptr to keep signal handling running when fork is called from a thread other than the mainthread.
Christopher Faylor
2003-06-16 03:24:13 +0000
753d031f1f2003-06-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu
2003-06-14 14:07:21 +0000
024e36bd8b(GNU_ABI_TAG_NETBSD): New tag. (GNU_ABI_TAG_FREEBSD): New tag.
Nick Clifton
2003-06-13 13:07:51 +0000
6806f4f6e2* cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
Christopher Faylor
2003-06-13 02:36:12 +0000
8d60a6029cclarify
Christopher Faylor
2003-06-13 02:21:18 +0000
cc3ce0bb5fThroughout, always return error when GetShortPathName returns 0.
Christopher Faylor
2003-06-12 20:40:58 +0000
1c80421cb4* thread.cc (pthread_attr_init): Revert change from 2003-06-11 to return 0 if attribute is already initialized back to EBUSY. (pthread_condattr_init): Ditto. (pthread_rwlockattr_init): Ditto. (pthread_mutexattr_init): Ditto.
Thomas Pfaff
2003-06-12 18:15:34 +0000
02112c73442003-06-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu
2003-06-12 14:41:29 +0000
5bdb56f061* exceptions.cc (ctrl_c_handler): Don't send a signal on CTRL_SHUTDOWN_EVENT. Add a comment to rationalize the patch.
Corinna Vinschen
2003-06-12 12:36:07 +0000
00e6660b0d* thread.cc (pthread_attr_init): Return 0 if attribute is already initialized. Fix return code if out of memory. (pthread_condattr_init): Ditto. (pthread_rwlockattr_init): Ditto. (pthread_mutexattr_init): Return 0 if attribute is already initialized.
Thomas Pfaff
2003-06-11 19:08:42 +0000
0efe117b5cFix typo
Nick Clifton
2003-06-11 08:44:40 +0000
d9e4104b31* libc/sys/h8300hms/setarch.h: New file. * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S, libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S, libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S, libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
Richard Sandiford
2003-06-10 07:44:30 +0000
68afda5334Add "attn", "lq" and "stq" power4 insns.
Alan Modra
2003-06-10 07:44:11 +0000
531297a749include/opcode/ * h8300.h (IMM4_NS, IMM8_NS): New. (h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries. Likewise IMM8 for mov.w and mov.l. Likewise IMM16U for mov.l.
Richard Sandiford
2003-06-10 07:33:46 +0000
8e0c2ab200include/elf/ * h8.h (E_H8_MACH_H8300SXN): New flag.
Richard Sandiford
2003-06-10 07:09:28 +0000
271c1935b3* spawn.cc (spawn_guts): Call CreateProcess while impersonated, when the real {u,g}ids and the groups are original. Move RevertToSelf and ImpersonateLoggedOnUser to the main line. * uinfo.cc (uinfo_init): Reorganize. If CreateProcess was called while impersonated, preserve the uids and gids and call ImpersonateLoggedOnUser. Preserve the uids and gids on Win9X.
Corinna Vinschen
2003-06-09 13:29:12 +0000
32173f7ec4fix typo
Christopher Faylor
2003-06-07 15:37:35 +0000
42a737d0a4* poll.cc: Define FD_SETSIZE to ridiculously large number so that there will be no artificially large limits.
Christopher Faylor
2003-06-07 15:36:47 +0000
9501a0a1c7* fhandler_tty.cc (fhandler_tty_slave::close): Free the console when last tty closes.
Christopher Faylor
2003-06-07 15:12:23 +0000
f496071c40* fhandler_socket.cc (fhandler_socket::connect): Change error handling for nonblocking connects to return EALREADY when connect is called more than once for the same socket.
Thomas Pfaff
2003-06-07 11:05:35 +0000
729d1ff9d82003-06-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2003-06-06 19:57:51 +0000
045e4d2e08iq2000 port.
Anthony Green
2003-06-06 16:07:57 +0000
75d7d17700New structure containing fields used by the on_exit() function. (struct _atexit): Include struct _on_exit_args. For _REENT_SMALL do his via a pointer that is initialised when needed.
Nick Clifton
2003-06-06 15:36:31 +0000
54152c7e7e* cygwin.din: Add vsyslog. * fhandler.cc (fhandler_base::write): Only make file sparse if the seeked area is >= 128K. * syslog.cc (vsyslog): New function, overtaking functionality from syslog. (syslog): Just call vsyslog. * include/cygwin/version.h: Bump API minor. * include/sys/syslog.h: Add vsyslog declaration.
Corinna Vinschen
2003-06-06 08:11:19 +0000
b0ad6f2ba52003-06-06 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith
2003-06-06 00:24:34 +0000
979233a51a* cygthread.cc (cygthread::terminate_thread): Change system_printf to debug_printf.
Christopher Faylor
2003-06-05 19:18:33 +0000
2ec27e11802003-06-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder
2003-06-05 18:47:12 +0000