]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook [Wed, 19 Jan 2005 00:34:56 +0000 (00:34 +0000)]
2005-01-17  Kelley Cook  <kcook@gcc.gnu.org>

* install-sh, config.sub: Import from upstream.

19 years ago2005-01-13 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook [Wed, 19 Jan 2005 00:33:04 +0000 (00:33 +0000)]
2005-01-13  Kelley Cook  <kcook@gcc.gnu.org>

PR bootstrap/18222
* Makefile.def: Pass CPPFLAGS_FOR_TARGET.
* Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
* Makefile.in: Regenerate.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Tue, 18 Jan 2005 19:27:44 +0000 (19:27 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
        Prefix symbol in section name with __SYMBOL_PREFIX.  Do not use
        __make_section_unallocated.  Mark magic variable as used.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Tue, 18 Jan 2005 19:23:36 +0000 (19:23 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/configure.in (libc_cv_asm_previous_directive): Set
        cache-id variable.
        (libc_cv_asm_popsection_directive): Ditto.
        (libc_cv_section_attributes): Ditto.
        (libc_symbol_prefix): Rename from libc_dollar_prefix.  Check for
        "_" as well, and set __SYMBOL_PREFIX accordingly.
        * libnosys/configure: Regenerate.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Tue, 18 Jan 2005 19:00:26 +0000 (19:00 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/Makefile.in (LD, AS): Correct obsoleted suffix: Say
        as-new and ld-new, not as.new and ld.new.

19 years ago * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
Aldy Hernandez [Tue, 18 Jan 2005 17:08:55 +0000 (17:08 +0000)]
* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
_VFPRINTF_R.

19 years ago * autoload.cc (CoInitialize): Remove.
Corinna Vinschen [Tue, 18 Jan 2005 13:00:18 +0000 (13:00 +0000)]
* autoload.cc (CoInitialize): Remove.
(CoUninitialize): Remove.
(CoCreateInstance): Remove.
(CoTaskMemFree): Add.
(SHGetDesktopFolder): Add.
* path.cc (shortcut_header): Remove.
(shortcut_initalized): Remove.
(GUID_shortcut): New static GUID.
(struct win_shortcut_hdr): New struct describing Windows shortcut
header structure.
(symlink_worker): Rewrite creating Windows shortcuts.  Create
ITEMIDLIST if target exists.  Only write once.
(cmp_shortcut_header): Use win_shortcut_hdr structure for comparison.
(check_shortcut): Rewrite to read only once from file.  Allow skipping
an ITIMIDLIST in the file.

19 years ago * lib/user32.def (MonitorFromPoint}: Correct suffix.
Danny Smith [Tue, 18 Jan 2005 07:14:54 +0000 (07:14 +0000)]
* lib/user32.def (MonitorFromPoint}: Correct suffix.

19 years agoFix SH2A machine variants in order to correctly select instruction inheritance
Nick Clifton [Mon, 17 Jan 2005 14:08:16 +0000 (14:08 +0000)]
Fix SH2A machine variants in order to correctly select instruction inheritance

19 years ago * include/sys/stat.h (struct __stat64): Change st_size type to
Danny Smith [Mon, 17 Jan 2005 05:03:17 +0000 (05:03 +0000)]
* include/sys/stat.h (struct __stat64): Change st_size type to
 __int64.
* include/wchar.h (struct __stat64): Change st_size type to __int64.

19 years ago* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
Christopher Faylor [Mon, 17 Jan 2005 04:12:08 +0000 (04:12 +0000)]
* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
* pinfo.cc (pinfo::exit): Use renamed function.
(proc_waiter): Ditto.  Make a copy of input argument to avoid problems when
procs array is shuffled.  Flag when copy is made so that remove_proc knows when
it is safe to reshuffle.
* sigproc.cc (proc_terminate): Don't flag process_state as PID_EXITED.
(remove_proc): Wait for waiter to finish copying pinfo element before moving it
(an actual wait should be an extremely rare event).

19 years ago* ps.cc (main): Eliminate use of PID_ZOMBIE.
Christopher Faylor [Sun, 16 Jan 2005 17:13:51 +0000 (17:13 +0000)]
* ps.cc (main): Eliminate use of PID_ZOMBIE.
* strace.cc (main): Recognize new option for displaying hex value of strace
type.
(handle_output_debug_string): Prepend output with hex value of strace message
if -H is specified.

19 years ago* init.cc (dll_entry): Remove unused extern.
Christopher Faylor [Sun, 16 Jan 2005 17:00:27 +0000 (17:00 +0000)]
* init.cc (dll_entry): Remove unused extern.
* include/sys/cygwin.h: Remove PID_ZOMBIE.
* pinfo.h: Rename EXITCODE_* defines.
(pinfo::set_exit_state): Remove parameter.
* pinfo.cc (set_exit_state): Remove parameter.  Reverse sense of test so that
exitcode is checked for having been set rather than not having been set.  Set
flag when exitcode has been established.  Don't set PID_STATE here.
(pinfo::init): Remove exitcode initialization.
(pinfo::exit): Reflect change in EXITCODE_* naming.  Set flag when exitcode has
been established.  Reflect change in arguments to set_process_state.
(proc_waiter): Reflect change in arguments to set_process_state.  Set
process_state here and only here.
* fhandler_process.cc (fhandler_process::fill_filebuf): Reflect removal of
PID_ZOMBIE define.
(format_process_stat): Ditto.
(format_process_status): Ditto.
* sigproc.cc (pid_exists): Ditto.
(stopped_or_terminated): Ditto.  Make sure that only low-order 16 bits of
exitcode are used.
* spawn.cc (spawn_guts): Reflect change in EXITCODE_* naming.

19 years ago* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
Christopher Faylor [Sat, 15 Jan 2005 23:43:42 +0000 (23:43 +0000)]
* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
fails after I've "execed".

19 years ago2005-01-14 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Sat, 15 Jan 2005 00:17:51 +0000 (00:17 +0000)]
2005-01-14  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/warning.h (__make_section_unallocated)
        [HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
        instead of ";" to delimit assembly lines.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::facl): Pretend successful
Corinna Vinschen [Fri, 14 Jan 2005 22:03:40 +0000 (22:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): Pretend successful
SETACL if no acls are available.
* fhandler.cc (fhandler_base::facl): Implement to return sensible
values on GETACL and GETACLCNT.  Pretend successful SETACL.
* fhandler_virtual.cc (fhandler_virtual::facl): Ditto.

19 years ago * fhandler.h (fhandler_disk_file::touch_ctime): Declare.
Corinna Vinschen [Thu, 13 Jan 2005 22:56:20 +0000 (22:56 +0000)]
* fhandler.h (fhandler_disk_file::touch_ctime): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): New method
to set file's ctime.
(fhandler_disk_file::fchmod): Try opening file for writing first.
Set file's ctime on success.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Ditto.

19 years ago * pinfo.cc (pinfo::exit): Don't access self after releasing it.
Corinna Vinschen [Thu, 13 Jan 2005 22:18:57 +0000 (22:18 +0000)]
* pinfo.cc (pinfo::exit): Don't access self after releasing it.
* path.h (path_conv::path_conv): Fill path with native device
name in case of device argument.

19 years ago * fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup
Corinna Vinschen [Thu, 13 Jan 2005 20:10:04 +0000 (20:10 +0000)]
* fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup
for child, not for parent.

19 years ago * include/_mingw.h: Increment version to 3.7.
Earnie Boyd [Thu, 13 Jan 2005 19:51:02 +0000 (19:51 +0000)]
* include/_mingw.h: Increment version to 3.7.
* Makefile.in: Ditto.

19 years ago* init.cc (dll_entry): Nuke attempt to set exit code since parent will use
Christopher Faylor [Thu, 13 Jan 2005 16:38:35 +0000 (16:38 +0000)]
* init.cc (dll_entry): Nuke attempt to set exit code since parent will use
windows exit code if needed.
* pinfo.cc (pinfo::exit): Move release() here to minimize pid creation race
(suggested by Pierre Humblet).

19 years ago * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
Earnie Boyd [Thu, 13 Jan 2005 12:40:37 +0000 (12:40 +0000)]
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Remove.
* include/errno.h (ELOOP): Ditto.

19 years ago2005-01-13 Benoit Blanchon <bblanchon@users.sourceforge.net>
Danny Smith [Thu, 13 Jan 2005 09:14:42 +0000 (09:14 +0000)]
2005-01-13  Benoit Blanchon  <bblanchon@users.sourceforge.net>

* include/wininet.h (InternetCheckConnectionA,
InternetCheckConnectionW) Add prototypes.
(INTERNET_RAS_INSTALLED, INTERNET_CONNECTION_OFFLINE,
INTERNET_CONNECTION_CONFIGURED): Add defines.

19 years agoReorganize header file inclusion throughout so that cygerrno.h comes first.
Christopher Faylor [Wed, 12 Jan 2005 22:40:46 +0000 (22:40 +0000)]
Reorganize header file inclusion throughout so that cygerrno.h comes first.
* fhandler.h (select_record::thread_errno): Save any encountered errno here.
(select_record::set_select_errno): New function.
(select_record::saw_error): New function.
(select_record::select_record): Initialize thread_errno to zero.
* select.cc (set_handle_or_return_if_not_open): Set thread_errno on failure.
(select_stuff::wait): Record errno for later resurrection in calling thread.
(peek_serial): Ditto.

19 years agoAdd missing changelog entry.
Christopher Faylor [Wed, 12 Jan 2005 20:06:17 +0000 (20:06 +0000)]
Add missing changelog entry.

19 years ago* pinfo.cc (pinfo::exit): Don't assume that this == myself.
Christopher Faylor [Wed, 12 Jan 2005 18:05:07 +0000 (18:05 +0000)]
* pinfo.cc (pinfo::exit): Don't assume that this == myself.

19 years agoinclude/elf/
Alan Modra [Wed, 12 Jan 2005 11:28:23 +0000 (11:28 +0000)]
include/elf/
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
(R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries.
(ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for
reaching PLT.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and
R_PPC_RELAX32PC_PLT.

19 years ago * include/tchar.h (_tfreopen): Add UNICODE mappings.
Danny Smith [Wed, 12 Jan 2005 09:08:12 +0000 (09:08 +0000)]
* include/tchar.h (_tfreopen): Add UNICODE mappings.

19 years ago2005-01-11 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Tue, 11 Jan 2005 23:03:24 +0000 (23:03 +0000)]
2005-01-11  Pierre Humblet <pierre.humblet@ieee.org>

        * mkpasswd.c (print_win_error): Transform into macro.
        (_print_win_error): Upgrade former print_win_error by
        printing the line.
        (current_user): Call _print_win_error.
        (enum_users): Print name in case of lookup failure.
        (enum_local_groups): Ditto.

19 years ago* pinfo.cc (pinfo::init): Don't close input handle on temporary (?) failure.
Christopher Faylor [Tue, 11 Jan 2005 16:58:31 +0000 (16:58 +0000)]
* pinfo.cc (pinfo::init): Don't close input handle on temporary (?) failure.

19 years agorevert previous erroneous checkin.
Christopher Faylor [Tue, 11 Jan 2005 15:49:17 +0000 (15:49 +0000)]
revert previous erroneous checkin.

19 years ago* pinfo.h (_pinfo::set_exit_state): Declare new function.
Christopher Faylor [Tue, 11 Jan 2005 15:31:04 +0000 (15:31 +0000)]
* pinfo.h (_pinfo::set_exit_state): Declare new function.
(pinfo::exit): Move here from _pinfo::exit.
* sigproc.cc (child_info::sync): Use new function to set exitcode and
process_state.
* pinfo.cc (_pinfo::exit): Ditto.
(proc_waiter): Ditto.
(_pinfo::set_exit_state): Define new function.
(_pinfo::dup_proc_pipe): Close handle when there is no parent process around to
care about the exit value.
* dcrt0.cc (dll_crt0_0): Move subproc_ready synchronization later to make sure
that myself is still mapped in parent.
(do_exit): Reflect movement to pinfo::exit.
(__api_fatal): Ditto.
* exceptions.cc (signal_exit): Ditto.
* errno.cc (errmap): Map PROC_NOT_FOUND.
* init.cc (dll_entry): Release myself before exiting.
* sigproc.cc (proc_can_be_signalled): Set errno appropriately.
(sig_send): Ditto.  Also remove ill-advised test for !myself->sendsig since
this is an indication of a process which is still initializating -- it is not
an error.
(child_info::sync): Don't set exitcode here.  Assume that will happen in
proc_waiter, if necessary.
* spawn.cc (spawn_guts): Delay "wait_for_myself" logic until later.  Don't wait
at all if the process has already exited.  Reflect movement to pinfo::exit.

19 years ago * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
Earnie Boyd [Tue, 11 Jan 2005 13:34:42 +0000 (13:34 +0000)]
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Conditionalize defines for __STRICT_ANSI__.

19 years ago * ChangeLog: Split and create ChangeLog-2004.
Corinna Vinschen [Tue, 11 Jan 2005 12:48:34 +0000 (12:48 +0000)]
* ChangeLog:  Split and create ChangeLog-2004.

19 years ago * environ.cc: Yes, yes, the copyright date, as usual.
Corinna Vinschen [Tue, 11 Jan 2005 12:45:08 +0000 (12:45 +0000)]
* environ.cc: Yes, yes, the copyright date, as usual.

19 years ago * environ.cc (build_env): Disallow empty strings and strings starting
Corinna Vinschen [Tue, 11 Jan 2005 12:42:35 +0000 (12:42 +0000)]
* environ.cc (build_env): Disallow empty strings and strings starting
with '=' in Win32 environment.

19 years ago * include/errno.h (ELOOP): Add definition.
Earnie Boyd [Mon, 10 Jan 2005 21:15:40 +0000 (21:15 +0000)]
* include/errno.h (ELOOP): Add definition.

19 years agoAdd support for maxq10 and maxq20 machine values
Nick Clifton [Mon, 10 Jan 2005 16:33:51 +0000 (16:33 +0000)]
Add support for maxq10 and maxq20 machine values

19 years agoFix typo.
Jeff Johnston [Mon, 10 Jan 2005 16:24:12 +0000 (16:24 +0000)]
Fix typo.

19 years ago * fhandler_disk_file.cc: Fix copyright date.
Corinna Vinschen [Mon, 10 Jan 2005 13:09:56 +0000 (13:09 +0000)]
* fhandler_disk_file.cc: Fix copyright date.

19 years ago2005-01-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Mon, 10 Jan 2005 11:59:25 +0000 (11:59 +0000)]
2005-01-07  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

* include/commctrl.h (ComboBox_SetMinVisible,
ComboBox_GetMinVisible): Added Macros.
* include/winuser.h (CB_SETMINVISIBLE, CB_GETMINVISIBLE):
Added definitions.

19 years agobinutils/:
Andreas Schwab [Mon, 10 Jan 2005 09:54:50 +0000 (09:54 +0000)]
binutils/:
* configure.in: Don't define SKIP_ZEROES.
* configure: Regenerate.
* objdump.c (disassemble_data): Set skip_zeroes and
skip_zeroes_at_end in disasm_info to defaults.
(DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
(DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
always define.
(disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
objdump_disasm_info.

include/:
* dis-asm.h (struct disassemble_info): Add skip_zeroes and
skip_zeroes_at_end.

opcodes/:
* disassemble.c (disassemble_init_for_target) <case
bfd_arch_ia64>: Set skip_zeroes to 16.
<case bfd_arch_tic4x>: Set skip_zeroes to 32.

19 years ago * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
Danny Smith [Mon, 10 Jan 2005 05:03:55 +0000 (05:03 +0000)]
* mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
ctanl.c ctanhl.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS): Adjust.
* include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
Declare.

19 years ago* cygrun.c (main): Fix exit code so that it reflects UNIX style.
Christopher Faylor [Mon, 10 Jan 2005 04:13:39 +0000 (04:13 +0000)]
* cygrun.c (main): Fix exit code so that it reflects UNIX style.
* winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.

19 years ago2005-01-08 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sat, 8 Jan 2005 18:33:07 +0000 (18:33 +0000)]
2005-01-08  Pierre Humblet <pierre.humblet@ieee.org>

* syscalls.cc (seteuid32): Only change the default dacl when
seteuid succeeds. Do not close HKCU.

19 years agoFix typo.
Jeff Johnston [Fri, 7 Jan 2005 18:09:07 +0000 (18:09 +0000)]
Fix typo.

19 years ago2005-01-07 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Fri, 7 Jan 2005 18:04:39 +0000 (18:04 +0000)]
2005-01-07  Paul Brook  <paul@codesourcery.com>

        * configure.in: Add test for .init_array.
        * configure: Regenerate.
        * newlib.hin: Add HAVE_INITFINI_ARRAY.
        * libc/misc/Makefile.am: Add init.c
        * libc/misc/Makefile.in: Regenerate.
        * libc/misc/init.c: New file.
        * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
        _init/_fini if they exist.

19 years ago2005-01-07 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Fri, 7 Jan 2005 18:01:26 +0000 (18:01 +0000)]
2005-01-07  Paul Brook  <paul@codesourcery.com>

        * arm/crt0.S: Call __libc_{init,fini}_array instead of
        _init/_fini if they exist.

19 years ago * fhandler_process.cc: Fix copyright date.
Corinna Vinschen [Fri, 7 Jan 2005 11:39:52 +0000 (11:39 +0000)]
* fhandler_process.cc: Fix copyright date.

19 years ago2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 6 Jan 2005 23:31:56 +0000 (23:31 +0000)]
2005-01-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
        * (strtof): Ditto.
        * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
        functions for use by strtod and strtof.
        * Makefile.in: Regenerated.

19 years ago * fhandler_process.cc: Use strcasematch instead of strcasecmp
Corinna Vinschen [Thu, 6 Jan 2005 23:00:08 +0000 (23:00 +0000)]
* fhandler_process.cc: Use strcasematch instead of strcasecmp
throughout.

19 years ago * syscalls.cc (rename): Fix behaviour in case of renaming directories
Corinna Vinschen [Thu, 6 Jan 2005 22:10:08 +0000 (22:10 +0000)]
* syscalls.cc (rename): Fix behaviour in case of renaming directories
according to SUSv3.

19 years ago2005-01-06 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 6 Jan 2005 20:10:56 +0000 (20:10 +0000)]
2005-01-06  Hans-Peter Nilsson  <hp@axis.com>

        * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
        bit-test in combination with NULL test.

19 years agoAdd missing ChangeLog entry for 1.13.0 release.
Jeff Johnston [Thu, 6 Jan 2005 20:05:37 +0000 (20:05 +0000)]
Add missing ChangeLog entry for 1.13.0 release.

2004-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.13.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.13.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.13.

19 years ago2005-01-06 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 6 Jan 2005 19:38:30 +0000 (19:38 +0000)]
2005-01-06  Hans-Peter Nilsson  <hp@axis.com>

        * README: Fix typo of LGPL.  Change "license" to "copyright".

19 years ago * fhandler_disk_file.cc (fhandler_base::open_fs): Don't allow
Corinna Vinschen [Thu, 6 Jan 2005 17:43:55 +0000 (17:43 +0000)]
* fhandler_disk_file.cc (fhandler_base::open_fs): Don't allow
opening directories for writing.

19 years agoupdate copyright
Christopher Faylor [Thu, 6 Jan 2005 16:36:40 +0000 (16:36 +0000)]
update copyright

19 years ago* timer.cc (timer_thread): Pass sigev pointer value as per SuSv3 rather than
Christopher Faylor [Thu, 6 Jan 2005 14:09:14 +0000 (14:09 +0000)]
* timer.cc (timer_thread): Pass sigev pointer value as per SuSv3 rather than
pointer to sigev.

19 years ago * include/_mingw.h (__int16): Define as short.
Danny Smith [Thu, 6 Jan 2005 11:20:51 +0000 (11:20 +0000)]
* include/_mingw.h (__int16): Define as short.

19 years ago * include/stdio.h (P_tmpdir): Add define.
Danny Smith [Thu, 6 Jan 2005 11:10:58 +0000 (11:10 +0000)]
* include/stdio.h (P_tmpdir): Add define.

19 years ago* dcrt0.cc (multiple_cygwin_problem): Reorganize error message to not always
Christopher Faylor [Wed, 5 Jan 2005 21:40:08 +0000 (21:40 +0000)]
* dcrt0.cc (multiple_cygwin_problem): Reorganize error message to not always
talk about a "version" when it's not a version.
(dll_crt0_0): Change info passed to multiple_cygwin_problem to be a little more
precise.
* shared.cc (user_shared_initialize): Ditto.
(shared_info::initialize): Ditto.

19 years ago* pinfo.cc (_pinfo::dup_proc_pipe): Can't close proc pipe when execing or we
Christopher Faylor [Tue, 4 Jan 2005 14:57:42 +0000 (14:57 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): Can't close proc pipe when execing or we
will suffer an exit code race.

19 years agoUpdate copyrights.
Christopher Faylor [Mon, 3 Jan 2005 18:16:46 +0000 (18:16 +0000)]
Update copyrights.

19 years ago * signal.cc: Fix copyright date.
Corinna Vinschen [Mon, 3 Jan 2005 18:11:00 +0000 (18:11 +0000)]
* signal.cc: Fix copyright date.

19 years ago * signal.cc (abort): Call _GLOBAL_REENT's __cleanup.
Corinna Vinschen [Mon, 3 Jan 2005 18:06:26 +0000 (18:06 +0000)]
* signal.cc (abort): Call _GLOBAL_REENT's __cleanup.

19 years ago * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
Earnie Boyd [Mon, 3 Jan 2005 16:32:25 +0000 (16:32 +0000)]
* Makefile.in (inst_docdir): For Cygwin target set to share/doc/.

19 years ago2005-01-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 3 Jan 2005 14:02:25 +0000 (14:02 +0000)]
2005-01-03  Paolo Bonzini  <bonzini@gnu.org>

Revert 2004-12-28 Makefile changes, a better fix will be
applied to mainline and src after GCC 4.0 branches.

19 years ago * syscalls.cc (setmode): Call _fwalk with _GLOBAL_REENT.
Corinna Vinschen [Mon, 3 Jan 2005 10:59:09 +0000 (10:59 +0000)]
* syscalls.cc (setmode): Call _fwalk with _GLOBAL_REENT.

19 years ago2005-01-02 Jiri Malak <Jiri.Malak@geac.cz>
Danny Smith [Sun, 2 Jan 2005 21:46:06 +0000 (21:46 +0000)]
2005-01-02  Jiri Malak  <Jiri.Malak@geac.cz>

* include/winnt.h (GetCurrentFiber, GetFiberData): Make inline
assembly code conditional on _X86_.

19 years ago * include/_mingw.h: Increment version to 3.6
Earnie Boyd [Sun, 2 Jan 2005 17:17:17 +0000 (17:17 +0000)]
* include/_mingw.h: Increment version to 3.6
* Makefile.in: Ditto

19 years ago * lib/uxtheme.def: Really remove the \r.
Earnie Boyd [Sun, 2 Jan 2005 14:15:16 +0000 (14:15 +0000)]
* lib/uxtheme.def: Really remove the \r.

19 years ago * include/afxres.h: Remove the \r from the line ending.
Earnie Boyd [Sun, 2 Jan 2005 14:11:28 +0000 (14:11 +0000)]
* include/afxres.h: Remove the \r from the line ending.
* include/errorrep.h: Ditto.
* include/shldisp.h: Ditto.
* include/tschema.h: Ditto.
* lib/dhcpcsvc.def: Ditto.
* lib/uxtheme.def: Ditto.
* lib/wldap32.def: Ditto.

19 years ago * include/w32api.h: Increment version.
Earnie Boyd [Sun, 2 Jan 2005 13:48:13 +0000 (13:48 +0000)]
* include/w32api.h: Increment version.
* Makefile.in: Ditto.

19 years ago* cygthread.cc (cygthread::stub): Set inuse to false when exiting.
Christopher Faylor [Sun, 2 Jan 2005 02:22:25 +0000 (02:22 +0000)]
* cygthread.cc (cygthread::stub): Set inuse to false when exiting.
(cygthread::cygthread): Actually pass name as argument to debugging output to
avoid SEGV when strace'ing.
(cygthread::release): Don't set stack_ptr to NULL, since it is only set once on
first entry to a stub not on each stub iteration.
(cygthead::exit_thread): Remove obsolete function.
* cygthread.h (cygthread::exit_thread): Ditto.

19 years ago* shared.cc (open_shared): Don't attempt VirtualAlloc magic if first attempt to
Christopher Faylor [Sun, 2 Jan 2005 00:34:55 +0000 (00:34 +0000)]
* shared.cc (open_shared): Don't attempt VirtualAlloc magic if first attempt to
map memory fails.

19 years ago * include/winerror.h (ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY):
Danny Smith [Sat, 1 Jan 2005 08:57:31 +0000 (08:57 +0000)]
* include/winerror.h (ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY):
Correct typo.

19 years ago* path.sgml: Encode programming example with CDATA.
Joshua Daniel Franklin [Fri, 31 Dec 2004 01:13:28 +0000 (01:13 +0000)]
* path.sgml: Encode programming example with CDATA.

19 years ago* devices.cc (device::isfs): Return true for the logical case of devn == FH_FS.
Christopher Faylor [Thu, 30 Dec 2004 16:21:59 +0000 (16:21 +0000)]
* devices.cc (device::isfs): Return true for the logical case of devn == FH_FS.

19 years ago * bsd_mutex.cc: Include limits.h.
Corinna Vinschen [Thu, 30 Dec 2004 15:58:27 +0000 (15:58 +0000)]
* bsd_mutex.cc: Include limits.h.
(MSLEEP_MUTEX): New define for third parameter to msleep_event_name.
(MSLEEP_SEM): Ditto.
(MSLEEP_EVENT): Ditto.
(msleep_event_name): Add third parameter to allow multiple
synchronization objects per ident.
(_msleep): Implement new synchronization technique to make sure
that all threads have been woken up by a corresponding wakeup call.
(wakeup): Ditto.

19 years ago2004-12-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 29 Dec 2004 12:15:19 +0000 (12:15 +0000)]
2004-12-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

*include/winuser.h (MNS_*, WM_MENUCOMMAND,
WM_MENUGETOBJECT, WM_MENUDRAG, WM_NCMOUSEHOVER,
WM_NCMOUSELEAVE, WM_UNINITMENUPOPUP,
SPI_GETFOREGROUNDLOCKTIMEOUT,
SPI_SETFOREGROUNDLOCKTIMEOUT): Added definitions.
*include/imm.h (WM_IME_REQUEST): Added definition.
*include/shlobj.h (SLGP_RAWPATH,
SLGP_UNCPRIORITY): Added definition.

19 years agoAdded HSHELL_FLASH definition
Chris Sutcliffe [Wed, 29 Dec 2004 00:31:31 +0000 (00:31 +0000)]
Added HSHELL_FLASH definition

19 years ago2004-12-28 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 28 Dec 2004 17:39:43 +0000 (17:39 +0000)]
2004-12-28  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383

* Makefile.def (target_modules): Remove stage parameter,
it is always true now.
* Makefile.tpl (configure-build-[+module+],
configure-target-[+module+]): Always build symlink tree
for the directory and for include.  BUILD_SUBDIR and
TARGET_SUBDIR cannot be . anymore.
* Makefile.in: Regenerate.

19 years ago* pinfo.cc (_pinfo::dup_proc_pipe): DUPLICATE_CLOSE_SOURCE closes the handle
Christopher Faylor [Tue, 28 Dec 2004 06:07:45 +0000 (06:07 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): DUPLICATE_CLOSE_SOURCE closes the handle
regardless, so revert previous change.

19 years ago* cygthread.cc (cygthread::stub): Add better debug output.
Christopher Faylor [Tue, 28 Dec 2004 01:27:26 +0000 (01:27 +0000)]
* cygthread.cc (cygthread::stub): Add better debug output.
(cygthread::cygthread): Ditto.
(cygthread::terminate_thread): Ditto.  Move inuse test earlier or suffer
infinite loop.
* pinfo.cc (_pinfo::dup_proc_pipe): Close handle if DuplicateHandle fails and
process no longer exists.
* spawn.cc (spawn_guts): Create process in suspended state if OS demands it.
* wincap.cc: Add "start_proc_suspended" throughout.
* wincap.h (wincaps): Ditto.
(wincapc): Ditto.

19 years agoRevert 2004-12-08 Makefile changes.
DJ Delorie [Mon, 27 Dec 2004 21:41:05 +0000 (21:41 +0000)]
Revert 2004-12-08 Makefile changes.

19 years agoUpdate Makefile to use xmlto
Joshua Daniel Franklin [Mon, 27 Dec 2004 19:03:56 +0000 (19:03 +0000)]
Update Makefile to use xmlto

19 years ago* pinfo.cc (_pinfo::exit): Beef up debugging output.
Christopher Faylor [Mon, 27 Dec 2004 17:19:25 +0000 (17:19 +0000)]
* pinfo.cc (_pinfo::exit): Beef up debugging output.
* sigproc.cc (proc_subproc): Detached children apparently need a ppid of 1.

19 years ago* init.cc (dll_entry): Previous code reversion was ill-advised. Revert it.
Christopher Faylor [Mon, 27 Dec 2004 02:13:30 +0000 (02:13 +0000)]
* init.cc (dll_entry): Previous code reversion was ill-advised.  Revert it.
* sigproc.cc (child_info::sync): Ditto.
* pinfo.cc (_pinfo::exit): Don't set myself.procinfo to NULL since it is no
longer required.

19 years ago* init.cc (dll_entry): Remove exit code setting.
Christopher Faylor [Mon, 27 Dec 2004 00:35:19 +0000 (00:35 +0000)]
* init.cc (dll_entry): Remove exit code setting.
* pinfo.cc (pinfo::init): Initialize exitcode to unset state rather than
SIGTERM.
(proc_waiter): Detect if exit code is unset and use status from
GetExitCodeProcess.
* sigproc.cc (child_info::sync): Remove exit code detection here since
proc_waiter now (again) detects it.

19 years ago* fhandler.cc (fhandler_base::fchmod): Do the right thing when changing an "on
Christopher Faylor [Sun, 26 Dec 2004 02:10:30 +0000 (02:10 +0000)]
* fhandler.cc (fhandler_base::fchmod): Do the right thing when changing an "on
disk" device or fifo.
(fhandler_base::fchown): Ditto for changing ownership.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Accommodate device files
on ntfs partitions.
* path.cc (path_conv::check): Use isfs function to figure out if a path exists
on a filesystem to make sure that device files are caught.

19 years ago * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
Danny Smith [Sat, 25 Dec 2004 23:56:19 +0000 (23:56 +0000)]
* mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
ctanf.c ctanhf.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS(: Adjust.
* include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
Declare.

19 years ago * .sgml: Cleanup markup for XML validity.
Joshua Daniel Franklin [Fri, 24 Dec 2004 21:58:38 +0000 (21:58 +0000)]
* .sgml: Cleanup markup for XML validity.

19 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
Christopher Faylor [Fri, 24 Dec 2004 18:31:23 +0000 (18:31 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
(child_info::parent_wr_proc_pipe): Eliminate.
* pinfo.h (_pinfo::alert_parent): Move here from pinfo class.
(_pinfo::dup_proc_pipe): New method.
(_pinfo::sync_proc_pipe): Ditto.
* exceptions.cc (sig_handle_tty_stop): Reflect move of alert_parent.
* init.cc (dll_entry): Exit with status one if main process called ExitProcess.
* pinfo.cc (set_myself): Remove handling of parent_wr_proc_pipe.
(_pinfo::exit): Reflect move of alert_parent.  Set procinfo to NULL to flag
that we are exiting normally.  Always use exitcode when exiting
(although this could be a little racy).
(pinfo::init): Set default exit to SIGTERM.  This will be the exit code
reported if process is terminated.
(_pinfo::dup_proc_pipe): New function.
(pinfo::wait): Duplicate wr_proc_pipe to the right place.  Use dup_proc_pipe to
move the pipe to the child.
(_pinfo::sync_proc_pipe): New function.
(_pinfo::alert_parent): Move to _pinfo.  Make sure that wr_proc_pipe is ours
before using it.
* sigproc.cc (child_info::child_info): Remove handling of parent_wr_proc_pipe.
* spawn.cc (spawn_guts): Pass our wr_proc_pipe to the child when execing.
Ensure that exit code of cygwin process started from windows is correctly set.

19 years ago2004-12-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Danny Smith [Fri, 24 Dec 2004 11:14:35 +0000 (11:14 +0000)]
2004-12-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

* include/shldisp.h: New file.
* include/shlobj.h (IObjMgr): Added interface definiton.
* lib/shell32.c (CLSID_AutoComplete, IID_AutoComplete,
IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr,
CLSID_ACListISF, IID_IACList): Added GUIDs.
* include/shlguid.h (CLSID_AutoComplete, IID_AutoComplete,
IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr,
CLSID_ACListISF, IID_IACList): Added GUIDs.

19 years ago* path.h (path_conv::set_normalized_path): Add second argument and fill it in
Christopher Faylor [Thu, 23 Dec 2004 21:37:44 +0000 (21:37 +0000)]
* path.h (path_conv::set_normalized_path): Add second argument and fill it in
throughout.
* path.cc (path_conv::check): Declare, set and use "strip_tail".
(path_conv::set_normalized_path): Add and use second argument, replacing all
tail stripping tests.

19 years ago* cygthread.cc (cygthread::cygthread): Guard debugging variable with "ifdef
Christopher Faylor [Thu, 23 Dec 2004 15:36:59 +0000 (15:36 +0000)]
* cygthread.cc (cygthread::cygthread): Guard debugging variable with "ifdef
DEBUGGING".
(cygthread::release): Ditto.

19 years ago* path.cc (path_conv::check): Don't strip the trailing slash from a path
Christopher Faylor [Thu, 23 Dec 2004 15:26:38 +0000 (15:26 +0000)]
* path.cc (path_conv::check): Don't strip the trailing slash from a path
consisting only of two slashes.

19 years ago* cygthread.cc (cygthread::stub): Detect if thread function wants to release
Christopher Faylor [Thu, 23 Dec 2004 14:57:08 +0000 (14:57 +0000)]
* cygthread.cc (cygthread::stub): Detect if thread function wants to release
itself here, to avoid a race.
(cygthread::release): Clear more stuff.  Add a diagnostic for an internal
error.
* cygthread.h (auto_release): New function.
* pinfo.h (pinfo::remember): Add an argument to denote whether child is
detached.
* fork.cc (fork_parent): Reflect change in arguments to pinfo::remember.
* pinfo.cc (_pinfo::exit): Signal exit more forcibly.
(proc_waiter): Use cygthread::auto_release to signify that cygthread::stub
should release the thread.  This should avoid a race.
(pinfo::alert_parent): Don't signify an error when wr_proc_pipe == NULL.
* sigproc.cc (proc_subproc): Add support for PROC_DETACHED_CHILD.
* sigproc.h: Ditto.
* spawn.cc (spawn_guts): Specify whether child is detached or not when calling
pinfo::remember.

19 years ago * include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.
Danny Smith [Thu, 23 Dec 2004 08:13:51 +0000 (08:13 +0000)]
* include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.
Thanks to: Chris Sutcliffe  <ironhead@walled.net>
(CDRF_*): Use hex notation for constants.

19 years ago* cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failing
Christopher Faylor [Wed, 22 Dec 2004 18:12:30 +0000 (18:12 +0000)]
* cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failing
MapViewOfFileEx.
* cygthread.cc (cygthread::stub): Previous change to make diagnostic output
more informative was really a bust.  Try again.  Capture previous name in a new
field in cygthread for diagnostic purposes.
(cygthread::cygthread): Ditto.
(cygthread::release): Add an argument to control whether h should be cleared or
not.
(cygthread::terminate_thread): Use 'inuse' for tests rather than 'h'.
(cygthread): Add some diagnostic fields.
(cygthread::release): Add an argument.
* pinfo.cc (proc_waiter): Accommodate change to cygthread::release.

This page took 0.071082 seconds and 5 git commands to generate.