359e09e7fd
* mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
...
Use GCC __builtin's if available.
(INFINITY, INFINITYF, INFINITYL): Likewise.
2003-10-21 09:10:51 +00:00
672126d4f1
* mingwex/math/s_erf.c (erf): Set errno to ERANGE if
...
beyond approximation limit.
* mingwex/math/sf_erf.c (erff): Likewise.
2003-10-21 09:05:24 +00:00
4883801c0f
* configure.in (*-*-vxworks): Add target-libiberty to noconfdirs.
...
* configure: Regenerate.
2003-10-20 21:53:45 +00:00
76a7df5256
2003-10-20 Bob Wilson <bob.wilson@acm.org>
...
* libc/locale/locale.c: Use double quotes in code.
* libc/locale/locale.tex: Likewise.
* libc/libc.texinfo: Hyphenate "floating-point".
* libc/machine/necv70/necv70.tex: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/sscanf.c: Likewise.
* libc/stdlib/atof.c: Likewise.
* libc/stdlib/ldtoa.c: Fix comment typo.
* libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
* libc/stdlib/ldiv.c: Likewise.
* libm/common/s_expm1.c: Likewise.
* libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
* libm/common/s_infinity: Hyphenate "double- and single-precision".
* libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
* libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
and "floating-point".
* libm/common/s_scalbn.c: Correct the FUNCTION summary.
* libm/math/e_pow.c: Fix comment typo.
* libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
* libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
* libm/math/s_atan.c: Likewise.
* libm/math/s_frexp.c: Likewise. Also use "nonzero".
* libm/math/s_isnan.c: Hyphenate "single-precision" and
"floating-point". Use "nonzero".
* libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
* libm/math/w_acos.c: Likewise.
* libm/math/w_acosh.c: Likewise.
* libm/math/w_asin.c: Likewise.
* libm/math/w_atan2.c: Likewise.
* libm/math/w_atanh.c: Likewise.
* libm/math/w_cosh.c: Likewise.
* libm/math/w_exp.c: Likewise.
* libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
version of 2^x in the description.
* libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
* libm/math/w_gamma.c: Likewise.
* libm/math/w_hypot.c: Likewise.
* libm/math/w_j0.c: Likewise.
* libm/math/w_sinh.c: Likewise.
* libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
* libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
"floating-point".
* libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
* libm/mathfp/e_atanh.c: Likewise.
* libm/mathfp/e_hypot.c: Likewise.
* libm/mathfp/er_lgamma.c: Likewise.
* libm/mathfp/s_acos.c: Likewise.
* libm/mathfp/s_asine.c: Likewise.
* libm/mathfp/s_asinh.c: Likewise.
* libm/mathfp/s_atan.c: Likewise.
* libm/mathfp/s_atan2.c: Likewise.
* libm/mathfp/s_atangent.c: Likewise.
* libm/mathfp/s_cosh.c: Likewise.
* libm/mathfp/s_exp.c: Likewise.
* libm/mathfp/s_fmod.c: Likewise.
* libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
* libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
"floating-point". Use "nonzero".
* libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
* libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
* libm/mathfp/s_sineh.c: Likewise.
* libm/mathfp/w_jn.c: Likewise.
2003-10-20 18:46:38 +00:00
d775e6b7ae
* mmix.h (JMP_INSN_BYTE): Define.
2003-10-19 01:16:56 +00:00
9bf80322b4
* mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
...
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.
2003-10-18 15:46:35 +00:00
f25e45973d
* include/stdio.h (_filbuf): Add prototype.
...
(_flsbuf): Add prototype.
(getc): Add inline version.
(putc): Likewise.
(getchar): Likewise.
(putchar): Likewise.
2003-10-17 21:43:31 +00:00
ce17145aa8
revert accidental checkin
2003-10-17 17:20:06 +00:00
fa10472e4a
* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
2003-10-17 17:19:31 +00:00
5320b93f4e
Oooops...
2003-10-17 10:37:44 +00:00
30f515c54f
*** empty log message ***
2003-10-16 23:28:31 +00:00
9808b5c420
2003-10-16 Pierre Humblet <pierre.humblet@ieee.org>
...
* syscalls.cc (seteuid32): Always construct a default DACL including
the new sid, Admins and SYSTEM and copy it to the new thread token.
* security.cc (create_token): Use a NULL default DACL in NtCreateToken.
2003-10-16 23:20:41 +00:00
abfc9c412c
* dcrt0.cc: Remove local variable alternate_charset_active.
...
* fhandler.h: Add variable alternate_charset_active, functions
str_to_con, con_to_str to dev_console structure.
* fhandler_console.cc (con_to_str): Move function into dev_console
class.
(str_to_con): Ditto.
(fhandler_console::read): Call con_to_str on dev_state.
(fhandler_console::write_normal): Call str_to_con on dev_state.
(fhandler_console::char_command): Change active_charset_active
assignment to be on dev_state.
* winsup.h: Remove global external variable alternate_charset_active.
2003-10-16 14:08:28 +00:00
b4d51d01c8
2003-10-15 Bernardo Innocenti <bernie@develer.com>
...
* m68k/sim-funcs.c (_XOPEN_SOURCE): Define to get the pid_t
typedef from <unistd.h>.
2003-10-15 19:57:18 +00:00
b11926e717
2003-10-15 Alexandre Oliva <aoliva@redhat.com>
...
* Makefile.am: Add $(MAKE) comments to multido and multiclean
lines, to enable parallel make.
* Makefile.in: Rebuilt.
2003-10-15 17:33:32 +00:00
8cf2a4dcb2
nclude/gdb:
...
* callback.h (struct host_callback_struct): New members ftruncate
and truncate.
gdb:
sim/common:
* callback.c (os_ftruncate, os_truncate): New functions.
(default_callback): Initialize ftruncate and truncate members.
sim/sh:
* syscall.h (SYS_truncate, SYS_ftruncate): Define.
* interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
2003-10-15 12:28:50 +00:00
ce34c904cc
* fhandler_console.cc (char_command): Add escape sequence for codepage
...
ansi <-> oem switching for ncurses frame drawing capabilities.
* dcrt0.cc: Add local variable alternate_charset_active.
* winsup.h: Add global external variable alternate_charset_active.
2003-10-15 08:23:26 +00:00
0f8117bf42
bfd ChangeLog:
...
2003-10-14 Bob Wilson <bob.wilson@acm.org >
* elf32-xtensa.c (get_is_linkonce_section): Delete.
(xtensa_is_property_section, xtensa_is_littable_section): Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize
linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
(xtensa_get_property_section_name): Check section name instead of
calling get_is_linkonce_section. Remove unused bfd parameter. Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate
linkonce section names by appending ".xt.insn" or ".xt.lit".
(xtensa_read_table_entries): Remove bfd argument in call to
xtensa_get_property_section_name. Free section name when done.
(elf_xtensa_combine_prop_entries): Free leaking table.
gas ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org >
* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
argument in call to xtensa_get_property_section_name. Formatting.
include ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org >
* elf/xtensa.h: Formatting. Fix comments about property section
names for linkonce sections.
2003-10-14 22:28:28 +00:00
f08ed69cbd
* gettext.m4: Properly quote arguments to AC_DEFUN.
2003-10-14 21:40:44 +00:00
31271d5cb4
* libc/time/clock.c: Clarify documentation of return value when no measurement
...
is available.
2003-10-14 17:41:30 +00:00
db3137ccb5
* exceptions.cc (ctrl_c_handler): Don't send SIGHUP on
...
CTRL_LOGOFF_EVENT to processes running in invisible Windows Stations.
* window.cc (has_visible_window_station): New function.
* winsup.h: Add declaration for has_visible_window_station.
2003-10-14 09:21:55 +00:00
2286046e47
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
...
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
2003-10-13 21:45:29 +00:00
36ef425c19
* include/windows.h (CopyCursor): Although MSDN pretends this is
...
a function to be imported from user32.lib, it's actually a macro.
From the Delphi FAQ:
Question:
Where is the Windows API function CopyCursor defined in
32-Bit versions of Delphi and C++ Builder?
Answer:
While the call is documented in the Win32 help file, the
function is simply mapped to the Windows API function
CopyIcon(). Note that the 32 bit version of CopyIcon
does not take a hInstance parameter.
2003-10-13 06:02:06 +00:00
29598fc7e0
2003-10-13 Steven Edwards <Steven_Ed4153@yahoo.com>
...
* include/winnt.h (CONTAINING_RECORD): Add macro.
2003-10-13 05:22:30 +00:00
851217a605
* include/winnt.h: (FILE_SUPERSEDED, FILE_OPENED, FILE_CREATED,
...
FILE_OVERWRITTEN, FILE_EXISTS, FILE_DOES_NOT_EXIST): remove
defines.
2003-10-13 03:25:26 +00:00
64c0532eb5
2003-10-13 Filip Navara <xnavara@volny.cz>
...
* include/commctrl.h: (DSA_*):Add prototypes, typedefs and
defines for Dynamic Storage Arrays.
(DPA_*): Likewise, for Dynamic Pointer Arrays.
(FlatSB_*, InitializeFlatSB, InitializeFlatSB): Add prototypes
and defines for Flat ScrollBars.
(SetWindowSubclass, GetWindowSubclass, RemoveWindowSubclass,
DefSubclassProc): Add prototypes for subclassing.
(DrawShadowText) Add prototype.
` (COMCTL32_VERSION): Define.
2003-10-13 02:46:36 +00:00
fad2aa1aad
2003-10-13 Martin Fuchs <Martin-Fuchs@gmx.net>
...
* include/shlobj.h (CFSTR_FILENAME, CFSTR_FILEDESCRIPTOR,
CFSTR_FILENAMEMAP, CFSTR_SHELLURL): Correct UNICODE definitions.
2003-10-13 00:22:38 +00:00
0c7a57ebc0
2003-10-13 Pierre Humblet <pierre.humblet@ieee.org>
...
* include/winnt.h (SM_REMOTESESSION): Add define.
* include/winuser.h (SE_CREATE_GLOBAL_NAME): Ditto.
2003-10-12 23:38:57 +00:00
b3355c6592
* include/wincrypt (KP_IV, KP_SALT, KP_PADDING, KP_MODE,
...
KP_MODE_BITS, KP_PERMISSIONS, KP_ALGID, KP_BLOCKLEN): Remove
duplicate definitions.
(KP_X, KP_Y): Correct typos.
2003-10-12 23:34:13 +00:00
986ee16a0c
Dummy afxres header, richedit constants added
2003-10-11 08:00:38 +00:00
7cf29f96e0
* fhandler_tty.cc (fhandler_tty_slave::open): Don't create a new window station
...
if one already exists.
2003-10-10 19:11:21 +00:00
4a204f6625
* shared.cc (shared_info::initialize): Remove myself check since hMainProc
...
initialization will allow user initialization to work.
2003-10-10 19:07:08 +00:00
f3d0380417
* include/_mingw.h: Increment version to 3.2.
...
* Makefile.in: Ditto.
2003-10-10 18:25:10 +00:00
cca873af60
fix typo
2003-10-10 17:44:54 +00:00
79b931ee81
* include/sys/types.h: Revert last change.
2003-10-10 15:09:55 +00:00
92fda2d938
* include/sys/types.h (ssize_t): Correct the definition.
2003-10-10 11:49:36 +00:00
a8e5f8c6c2
* include/sys/mman.h (MAP_FAILED): Define as void *.
2003-10-09 11:40:16 +00:00
6ddad5e1dd
* include/errorep.h: New file.
...
* lib/faultrep.def: New file.
2003-10-09 05:52:12 +00:00
38f9123efd
* include/winbase.h (AddVectoredExceptionHandler): Define if
...
_WIN32_WINNT >= 0x0500.
* include/winnt.h (PVECTORED_EXCEPTION_HANDLER): Define if
_WIN32_WINNT >= 0x0500.
2003-10-09 05:28:25 +00:00
ea4980efe1
* dcrt0.cc (hMainProc): Initialize to useful value for use when dll is
...
dynamically loaded.
(shared_info::initialize): Don't initialize user stuff if myself doesn't exit.
2003-10-08 21:40:33 +00:00
e9ea9dec2c
2003-10-05 Mohan Embar <gnustuff@thisiscool.com>
...
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
* configure: Rebuilt
* Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure
* Makefile.in: Rebuilt
2003-10-08 21:29:04 +00:00
d1472f0ab5
Move ChangeLog entries for config/ subdir into config/ChangeLog, where
...
they belong. Thanks to Kelley Cook <kcook34@ford.com >.
2003-10-08 21:26:42 +00:00
e516dd9e34
2003-10-06 Dave Brolley <brolley@redhat.com>
...
* frv.h (EF_FRV_CPU_FR550): New macro.
2003-10-08 18:12:53 +00:00
5df75951a5
* include/winbase.h (AddVectoredExceptionHandler): Only define if
...
_WIN32_WINNT >= 0x0501.
2003-10-08 15:58:58 +00:00
99439385c6
* syscalls.cc (unlink): Don't even try DELETE_ON_CLOSE technique on
...
systems not supporting it.
2003-10-08 09:17:08 +00:00
56efe3a884
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
...
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 12:55:00 +00:00
2df2984b40
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
...
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 10:14:31 +00:00
f9a322ebf7
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
...
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 08:47:06 +00:00
d0ede583ee
* include/winbase.h [_WIN32_WINNT >= 0x0501]
...
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 07:14:53 +00:00
b2608a4378
* include/winbase.h (GetVolumePathNamesForVolumeName): Available
...
on Windows XP and later.
2003-10-07 05:54:53 +00:00