Earnie Boyd
10216d4395
* include/commctrl.h: Use _TEXT() instead of TEXT() throughout.
...
* include/lmalert.h: Ditto.
* include/lmcons.h: Ditto.
* include/lmsname.h: Ditto.
* include/lmsvc.h: Ditto.
* include/ntsecapi.h: Ditto.
* include/oledlg.h: Ditto.
* include/ras.h: Ditto.
* include/regstr.h: Ditto.
* include/richedit.h: Ditto.
* include/wininet.h: Ditto.
* include/w32api.h: New File.
2001-02-15 17:26:22 +00:00
Christopher Faylor
b24ee7499c
* libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2001-02-15 06:42:35 +00:00
Jeff Johnston
ab4745dcb2
2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
...
* libc/include/stdlib.h: Add declarations of rand48 functions and
their reentrant versions.
* libc/include/sys/reent.h: Move macros from rand48.h. Add
struct _rand48 for shared parameters of rand48 functions.
(struct _reent): Add a variable _r48 of struct _rand48.
(_REENT_INIT): Add _r48 initialization.
* libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
(CHEWOUT_FILES): Add rand48.def.
* libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
NetBSD C library.
* libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
* libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
* libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
* libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
* libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
* libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
* libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
* libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
* libc/stdlib/rand48.c (__dorand48): Ditto.
* libc/stdlib/rand48.h: Ditto, and modify declarations of global
parameters into macros referring them in the reentrant structure.
2001-02-15 02:04:55 +00:00
Christopher Faylor
ee2c7251d0
* dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when the
...
library is not found
2001-02-14 23:45:56 +00:00
Christopher Faylor
8f8e7442bb
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
...
rendition codes in \033[xx;yym control sequences
2001-02-14 22:00:09 +00:00
Corinna Vinschen
61ee24b56c
* include/shlobj.h: Add missing SLR_* flags.
2001-02-13 21:39:57 +00:00
DJ Delorie
6279373cae
* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
...
PEP64AOUTSZ to PEPAOUTSZ.
2001-02-13 21:01:44 +00:00
Earnie Boyd
5a4b4ab9cc
* lib/Makefile.in: (host_alias): Add variable.
...
(host_build): Ditto:
(xinstall): Removed
(xinstall-libraries): Ditto.
(xinstall-headers): Ditto.
(xuninstall): Ditto.
(xuninstall-libraries): Ditto.
(xuninstall-headers): Ditto.
* Makefile.in: (host_alias): Add variable.
(build_alias): Ditto.
2001-02-12 19:45:33 +00:00
Jeff Johnston
a34c461fbb
2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/stat.h: Add mknod for Cygwin now that
Cygwin definition has correct prototype.
2001-02-12 18:17:17 +00:00
Jan Hubicka
343329bac2
* i386.h (i386_optab): SSE integer converison instructions have
...
64bit versions on x86-64.
* i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
instructions.
(putop): Handle 'Y'
2001-02-12 16:42:49 +00:00
Nick Clifton
70bf79a017
Remove annoying entry....:-)
2001-02-10 22:30:07 +00:00
Nick Clifton
da2da20f20
Remove extraneous whitespace
2001-02-10 22:26:55 +00:00
Christopher Faylor
cde0c2fbca
* fork.cc (fork_parent): Return EAGAIN when can't record pid.
...
* pinfo.h (pinfo::remember): Return value of call to proc_subproc.
* sigproc.cc (proc_subproc): Return error if can't record pid.
2001-02-10 04:20:52 +00:00
Nick Clifton
1e667f61b7
Add s390 support
2001-02-10 00:58:38 +00:00
Christopher Faylor
c41482c7ee
* syscalls.cc (mknod): Add valid parameters.
2001-02-09 17:17:34 +00:00
Jeff Johnston
34f31ff211
2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/stat.h: Must revert change for mknod
for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
prototype.
2001-02-09 01:01:06 +00:00
Jeff Johnston
5336d6de84
2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/stdio.h: Revert putw prototype.
2001-02-09 00:32:43 +00:00
Jeff Johnston
8915d10a26
2001-02-08 Edward M. Lee <tailbert@yahoo.com>
...
* libc/include/grp.h: add prototype for initgroups.
* libc/include/stdio.h: fix prototype for putw.
* libc/include/sys/signal.h: add prototype for killpg.
* libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
* libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
vhangup and remove duplicate sysconf prototype.
2001-02-09 00:13:54 +00:00
Corinna Vinschen
889109ab1f
* mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED
...
and on MAP_PRIVATE|MAP_ANON in the special case of offset 0.
2001-02-08 21:10:45 +00:00
Corinna Vinschen
db49d0b530
* mmap.cc (class list): Add member `hash'.
...
(list::list): Initialize `hash'.
(list::get_list_by_fd): Use filepath hash value to get the correct
mapping list if it's not an anonymous mapping.
(map::add_list): Initialize `hash' with filepath hash value.
(mmap): Check for reusing a mapping only on MAP_SHARED.
2001-02-08 21:02:36 +00:00
DJ Delorie
df7e8957fd
* setup2.sgml: Add docs about domain accounts.
2001-02-08 04:12:48 +00:00
Christopher Faylor
91d385fed3
* signal.cc (killpg): Correct first argument.
2001-02-07 23:48:09 +00:00
Corinna Vinschen
9182099c10
* autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
...
Add LoadDLLfuncEx statements for GetIfTable@12 and GetIpAddrTable@12.
* fhandler_socket.cc (fhandler_socket::ioctl): Move variable
definitions to the beginning of the function to allow better debugging.
Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
* net.cc: Include iphlpapi.h.
(get_2k_ifconf): Rewritten. Uses IP Helper API now.
(get_nt_ifconf): Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC
and SIOCGIFMTU.
(get_95_ifconf): Ditto. Renamed from `get_9x_ifconf'.
(get_ifconf): Name loopback `lo' instead of `lo0' as in Linux.
Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
Call `get_95_ifconf' only on Windows 95, `get_nt_ifconf' only
on Windows NT < Service Pack 3, `get_2k_ifconf otherwise.
* include/asm/socket.h: Add defines for SIOCGIFHWADDR, SIOCGIFMETRIC
and SIOCGIFMTU.
* include/cygwin/if.h: Add `ifr_hwaddr', `ifr_metric' and `ifr_mtu'.
(struct ifreq): Add `ifru_hwaddr'.
2001-02-07 22:50:50 +00:00
Jeff Johnston
93ac448707
2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/rtems/sys/types.h: Removed.
2001-02-07 18:11:09 +00:00
DJ Delorie
d7e7986bca
* configure: Output host type to stdout, not stderr.
2001-02-07 01:06:43 +00:00
H.J. Lu
b1417ae1cc
2001-01-23 H.J. Lu <hjl@gnu.org>
...
* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
(struct external_PEI_IMAGE_hdr): New.
2001-02-06 19:35:48 +00:00
Jeff Johnston
ea8a3d42ab
2001-02-06 Will Cohen <wcohen@redhat.com>
...
* rs6000/sim-errno.c (__errno): Removed.
(_cerror): Use re-entrant version of errno.
2001-02-06 19:17:20 +00:00
Corinna Vinschen
d7ed877ba3
* syscalls.cc (stat_worker): Add a check for the special case when
...
a process creates a file using mode 000 using ntsec.
2001-02-06 14:07:02 +00:00
Jeff Johnston
31f5feea33
2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
...
* libc/include/locale.h: add LC_MESSAGES definition
2001-02-05 21:51:43 +00:00
Corinna Vinschen
ae9b22c69b
* fhandler.cc (fhandler_base::open): Always add GENERIC_READ access
...
when opening raw disk devices.
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Implement bytewise
access.
* fhandler_raw.cc (fhandler_dev_raw::open): Always open raw disk device
binary.
(fhandler_dev_raw::raw_write): Don't drop read buffer content when
writing after read.
2001-02-05 16:10:06 +00:00
Corinna Vinschen
cada03f92f
* mmap.cc (mmap_record::fixup_map): New method to duplicate
...
the memory protection in a just forked child.
(mmap): Realign gran_len to page boundary only on anonymous
mapping before saving in the mmap_record.
(munmap): Cleanup code.
(msync): Ditto.
(fixup_mmaps_after_fork): Ditto. Call mmap_record::fixup_map now.
2001-02-05 12:36:41 +00:00
Michael Sokolov
d4eaf28eb5
* config.guess: Import from subversions.gnu.org (revision 1.181).
...
* config.sub: Import from subversions.gnu.org (revision 1.199).
2001-02-04 18:17:30 +00:00
Patrick Macdonald
30da4f3d29
Binutils portion of fix for syntax array elements when max
...
operands is greater than 127.
2001-02-02 Patrick Macdonald <patrickm@redhat.com>
* cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short.
(CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES.
(CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS.
* fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
* m32r-desc.h: Regenerate.
2001-02-02 23:04:39 +00:00
DJ Delorie
6c9d74d3fe
merge from gcc
2001-02-02 18:58:10 +00:00
Earnie Boyd
7152ac2bb3
* include/winnt.h: (__TEXT): Add private macro.
...
(_TEXT): Modify definition to use __TEXT.
(_T): Ditto.
This change allows the passing of a MACRO as an argument and have that
MACRO resolved first.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-02-02 18:10:58 +00:00
Earnie Boyd
a562294385
Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
...
* include/tchar.h: (__TEXT): Add private macro.
(_TEXT): Modify definition to use __TEXT.
(_T): Ditto.
This change allows the passing of a MACRO as an argument and have that
MACRO resolved first.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-02-02 16:50:06 +00:00
Christopher Faylor
47f810920a
* cygheap.cc (creturn): Correctly calculate cygheap_max.
2001-02-02 04:32:02 +00:00
Alexandre Oliva
b5139f598b
* libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
...
SYS_get_argN):
* libc/sys/sh/syscalls.c (__setup_argv_for_main,
__setup_argv_and_call_main): New.
2001-02-01 21:25:56 +00:00
Earnie Boyd
67997034e8
* Makefile.in: Increment VERSION to 0.5
...
* include/winnt.h: Change TEXT to _TEXT throughout.
(SID_RELEASE): Define.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-01-31 22:41:22 +00:00
Earnie Boyd
4ea1be6d1f
* Makefile.in: Increment version to 0.5
...
* include/_mingw.h: Increment minor version
2001-01-31 22:17:17 +00:00
Jeff Johnston
e29d83550e
2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
if defined.
(FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
(L_tmpnam): Changed to use __L_tmpnam__ if defined.
* libc/include/sys/config.h: Changed to set __FILENAME_MAX__
appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2001-01-31 20:11:48 +00:00
Christopher Faylor
f8da150758
* shared.cc (shared_info::initialize): Reduce size of heap.
2001-01-31 15:06:06 +00:00
Corinna Vinschen
8344351113
* include/sys/resource.h: Fix typo.
2001-01-31 12:24:24 +00:00
Corinna Vinschen
44e6d951c7
* include/sys/resources.h: Add RLIMIT_NLIMITS and RLIM_NLIMITS.
2001-01-31 12:21:23 +00:00
Christopher Faylor
4f42df7bc4
* include/cygwin/version.h: Bump version to 1.3.0.
2001-01-30 23:19:19 +00:00
Earnie Boyd
535964b7a4
* include/assert.h: (assert): Remove ; from end of definition
...
Thanks to: AJ Reins <tbisp@qwest.net>
2001-01-30 18:03:23 +00:00
Earnie Boyd
9cf3d9cbb5
* Apply Phil Krylov patches.
...
2001-01-19 Phil Krylov <phil@mail.ru>
* include/commctrl.h: (HDI_IMAGE) New definition.
(HDI_DI_SETITEM) Ditto.
(HDI_ORDER) Ditto.
(HDI_FILTER) Ditto.
(HDF_BITMAP_ON_RIGHT) Ditto.
(HDF_IMAGE) Ditto.
(HDM_SETORDERARRAY) Ditto.
(Header_SetOrderArray) Ditto.
(ICC_BAR_CLASSES) Ditto.
(struct _HD_ITEMA) Change definition.
(struct _HD_ITEMW) Ditto.
(struct tagINITCOMMONCONTROLSEX) Enclose in _WIN32_IE braces.
(InitCommonControlsEx()) Ditto.
2001-01-23 Phil Krylov <phil@mail.ru>
* include/richedit.h: Many Richedit 2.0 definitions.
2001-01-30 15:47:41 +00:00
Earnie Boyd
aaee3363f6
* include/winuser.h: (IDC_HAND) New resource identifier.
...
Thanks to: Mark Jordon <mark_jordan@ieee.org>
2001-01-30 14:59:29 +00:00
Earnie Boyd
04f79a1ca8
* include/iptypes.h: Include <sys/types.h> for time_t declaration.
...
Fix typo's.
2001-01-30 14:37:54 +00:00
Earnie Boyd
bac9524c30
* objidl.h: (GetClassID): Argument needs to be a pointer.
...
(GetUnmarshalClass): CLSID argument needs to be a pointer.
Thanks To: <bge@users.sourceforge.net>
2001-01-30 13:34:50 +00:00