]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
Christopher Faylor [Sun, 9 Mar 2003 00:10:29 +0000 (00:10 +0000)]
* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
delete files since this allows us to preserve the protection of hard linked
files.
(link): Generate full path for potentially recalculated .lnk target.

21 years agomissed in last checkin
Christopher Faylor [Sat, 8 Mar 2003 19:22:08 +0000 (19:22 +0000)]
missed in last checkin

21 years agoRevert below changes regarding _pinfo::cmdline.
Christopher Faylor [Sat, 8 Mar 2003 17:56:13 +0000 (17:56 +0000)]
Revert below changes regarding _pinfo::cmdline.

21 years ago * external.cc (cygwin_internal): Change n to __off64_t to match change
Corinna Vinschen [Sat, 8 Mar 2003 16:44:25 +0000 (16:44 +0000)]
* external.cc (cygwin_internal): Change n to __off64_t to match change
of _pinfo::cmdline.
* fhandler.h (class fhandler_virtual): Change filesize member to
__off64_t.
* fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t.
(format_proc_stat): Ditto.
(format_proc_uptime): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
(format_process_status): Ditto.
(format_process_statm): Ditto.
* pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter.
* pinfo.h (class _pinfo): Change declaration of cmdline accordingly.

21 years ago* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
Christopher Faylor [Sat, 8 Mar 2003 04:57:41 +0000 (04:57 +0000)]
* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
getopt and avoid getopt_long declaration.
* libc/sys/cygwin/include/unistd.h: Remove.

21 years ago* path.h (PATH_LNK): New enum val.
Christopher Faylor [Sat, 8 Mar 2003 03:36:39 +0000 (03:36 +0000)]
* path.h (PATH_LNK): New enum val.
(path_conv::is_lnk_symlink): New function.  True if path represents .lnk style
symlink.
* path.cc (check_shortcut): Set PATH_LNK in pflags when appropriate.
(symlink_info::check): Ditto.  Remove PATH_LNK from pflags initially.
* syscalls.cc (unlink): Always remove readonly attribute from a symlink
regardless of type.
(link): (from Corinna Vinschen) Allow links to symlinks.  Reset attributes on a
symlink after successful link creation.
(chmod): Use is_lnk_symlink where appropriate.
(rename): Ditto.
* tty.cc (create_tty_master): Call GetComputerName instead of
cygwin_gethostname.  Set ut_id.
* syscalls.cc (login): Call endutent.
(setutent): Do not seek after a fresh open.

21 years ago * configure.host: Define stdio64_dir for Cygwin.
Corinna Vinschen [Fri, 7 Mar 2003 20:41:49 +0000 (20:41 +0000)]
* configure.host: Define stdio64_dir for Cygwin.
* libc/include/stdio.h: Change definition of fpos_t to fulfill
Cygwin 64bit file access requirements.
Drop definition of f*64() functions when compiled for Cygwin.
* libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
* libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
* libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.

21 years ago * syscalls.cc (seteuid32): Fix formatting.
Corinna Vinschen [Fri, 7 Mar 2003 16:35:56 +0000 (16:35 +0000)]
* syscalls.cc (seteuid32): Fix formatting.

21 years ago * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
Corinna Vinschen [Fri, 7 Mar 2003 15:59:58 +0000 (15:59 +0000)]
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
from list of known bugs.

21 years ago2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Mar 2003 15:56:49 +0000 (15:56 +0000)]
2003-03-07   Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h: Remove extraneous _sig_func
        declaration.

21 years ago2003-03-06 Christopher January <chris@atomice.net>
Danny Smith [Fri, 7 Mar 2003 00:51:19 +0000 (00:51 +0000)]
2003-03-06  Christopher January  <chris@atomice.net>

* include/winbase.h (FindFirstVolume): Add declaration.
(FindNextVolume): Add declaration.
(FindVolumeClose): Add declaration.
(GetSystemTimes): Add declaration.
* include/winnt.h: Add define for PF_XMMI64_INSTRUCTIONS_AVAILABLE.

2003-03-06  Danny Smith  <dannysmith@users.sourceforge.net>

*lib/kernel32.def (GetSystemTimes): Add stub.

21 years ago2003-03-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 6 Mar 2003 20:50:01 +0000 (20:50 +0000)]
2003-03-06  Andrew Cagney  <cagney@redhat.com>

* texinfo/texinfo.tex: Import version 2003-02-03.16.

21 years agoRemove redundant defintions of BYTES_IN_WORD and add conditional defintion in
Nick Clifton [Thu, 6 Mar 2003 16:45:42 +0000 (16:45 +0000)]
Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in
aout64.h.

21 years ago2003-03-04 Daniel Jacobowitz <drow@mvista.com>
Nathanael Nerode [Wed, 5 Mar 2003 01:50:53 +0000 (01:50 +0000)]
2003-03-04  Daniel Jacobowitz  <drow@mvista.com>

* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.

2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Reindent.
* Makefile.in: Regenerate.
* configure.in: Reindent.  Don't set unused variables.
* configure: Regenerate.

21 years ago* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
Thomas Pfaff [Tue, 4 Mar 2003 20:16:49 +0000 (20:16 +0000)]
* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
prior to pthread objects.

21 years ago * fhandler_socket.cc (fhandler_socket::dup): Initialize type.
Corinna Vinschen [Tue, 4 Mar 2003 16:35:00 +0000 (16:35 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Initialize type.

21 years agoReally commit it... dunno what happened last time.
Nathanael Nerode [Tue, 4 Mar 2003 08:36:40 +0000 (08:36 +0000)]
Really commit it... dunno what happened last time.

21 years ago * mh-dgux: Delete.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:49 +0000 (07:48 +0000)]
* mh-dgux: Delete.

21 years ago * Makefile.tpl: Always pass down RANLIB.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:06 +0000 (07:48 +0000)]
* Makefile.tpl: Always pass down RANLIB.
* Makefile.in: Regenerate.

* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.in: Regenerate.
* configure.in: Remove unused logic relating to --enable-shared
and --enable-threads.  Remove bogus comments.  Remove redundant
noconfigdirs.
* configure: Regenerate.

* configure.in: Replace ${libstdcxx_version} by its value.
Remove reference to mh-dgux.
* configure: Regenerate.

21 years agorevert erroneous entry
Christopher Faylor [Tue, 4 Mar 2003 05:30:51 +0000 (05:30 +0000)]
revert erroneous entry

21 years ago* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
Christopher Faylor [Tue, 4 Mar 2003 05:30:50 +0000 (05:30 +0000)]
* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
* cygcheck.cc (print_version): Update copyright.
* strace.cc (print_version): Ditto.
(main): Allow cygwin paths for -o option.
(create_child): Allow cygwin path as argv[0].
* path.cc (path.cc): Allow UNC paths.

21 years ago* fhandler.h (fhandler_tty_slave::close): Declare new function.
Christopher Faylor [Tue, 4 Mar 2003 04:07:34 +0000 (04:07 +0000)]
* fhandler.h (fhandler_tty_slave::close): Declare new function.
(fhandler_tty_slave::dup): Declare new function.
(fhandler_tty_slave::fixup_after_function): Declare new function.
* fhandler_tty.cc (fhandler_tty_slave_open): Only increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::close): Define new function.  Decrement
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::dup): Define new function.  Increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::fixup_after_fork): Define new function.  Increment
fhandler_console::open_fhs when associated with a pty.

21 years ago2003-03-04 Heiko Gerdau <hg@technosis.de>
Danny Smith [Tue, 4 Mar 2003 00:36:06 +0000 (00:36 +0000)]
2003-03-04  Heiko Gerdau  <hg@technosis.de>

* oleidl.h (IOleObject): Correct GetUserType prototype.
(IViewObject2): Correct GetExtent prototype.
* olectl.h (DISPIP_): Add new defines
* ocidl.h (IOleInPlaceSiteWindowless): Add new interface.

21 years agoFix sh-elf linker relaxation:
Joern Rennecke [Mon, 3 Mar 2003 21:03:58 +0000 (21:03 +0000)]
Fix sh-elf linker relaxation:

gcc:
* config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
subtarget_asm_isa_spec.
(SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
(ASM_SPEC): Define as SH_ASM_SPEC.
(SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
* config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
(SUBTARGET_ASM_ISA_SPEC): Undef / define.
gcc/testsuite:
gcc.dg/sh-relax.c: New test.

include/elf:
* sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E,
and SH2E & SH4 merge to SH4, not SH2E.

gas:
* config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
(md_begin): Use preset_target_arch.
(md_longopts): Make isa option unconditional.
(md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
set preset_target_arch.
(md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
by -S_GET_VALUE  (fixP->fx_subsy).
(tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
and the addend is 0.
Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.

bfd:
elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary
relocation (no special function), and make it non-partial_inplace.
(sh_elf_relax_section): When creating a bsr, use a consistent value
no matter if the symbol is extern or not;  set addend to -4.
Don't swap load / non-load instructions for SH4.
(sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset
rather than if the symbol is external to determine if adjusting the
offset makes sense.  Adjust the addend too if appropriate.
(sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the
relocation.

21 years ago* fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly increment
Christopher Faylor [Mon, 3 Mar 2003 15:15:49 +0000 (15:15 +0000)]
* fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly increment
fhandler_console::open_fhs here.
(fhandler_pty_slave::close): Ditto for close.

21 years ago2003-03-03 Christopher Faylor <cgf@redhat.com>
Danny Smith [Mon, 3 Mar 2003 10:27:57 +0000 (10:27 +0000)]
2003-03-03  Christopher Faylor  <cgf@redhat.com>

* mingwex/getopt.c: Refresh from NetBSD sources.

21 years ago* lib/getopt.c: Refresh from NetBSD sources.
Christopher Faylor [Mon, 3 Mar 2003 04:30:09 +0000 (04:30 +0000)]
* lib/getopt.c: Refresh from NetBSD sources.

21 years ago* fhandler_console.cc (fhandler_console::close): Don't decrement in use counter
Christopher Faylor [Mon, 3 Mar 2003 03:58:10 +0000 (03:58 +0000)]
* fhandler_console.cc (fhandler_console::close): Don't decrement in use counter
if in vfork fixup stage.

21 years ago * mingwex/getopt.c: New file, copied from cygwin srcs.
Danny Smith [Mon, 3 Mar 2003 01:19:42 +0000 (01:19 +0000)]
* mingwex/getopt.c: New file, copied from cygwin srcs.
* include/getopt.h: New file, copied from cygwin srcs.
* include/unistd.h: Include getopt.h.
* mingwex/Makefile.in ((DISTFILES): Add getopt.c.
(POSIX_OBJS): Add getopt.o.

21 years ago* lib/getopt.c: Nuke use of unneeded BSDisms.
Christopher Faylor [Sun, 2 Mar 2003 22:52:18 +0000 (22:52 +0000)]
* lib/getopt.c: Nuke use of unneeded BSDisms.

21 years ago* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if
Christopher Faylor [Sun, 2 Mar 2003 18:37:17 +0000 (18:37 +0000)]
* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if
LoadLibraryEx fails.
* dtable.cc (dtable::dec_console_fds): Eliminate.
(dtable::release): Don't treat console specially.
(dtable::build_fhandler): Ditto.
* dtable.h (console_fds): Eliminate.
(dtable::dec_console_fds): Eliminate.
(dtable::inc_console_fds): Eliminate.
* fhandler.h (fhandler_console::open_fhs): New static element.
* fhandler_console.cc (fhandler_console::open): Increment open_fs.
(fhandler_console::close): Call FreeConsole if no more open consoles and ctty
is not associated with the console.
* syscalls.cc (setsid): Simplify check for when to call FreeConsole.
(check_pty_fds): Eliminate definition.
* winsup.h (check_pty_fds): Eliminate declaration.

21 years ago* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary
Christopher Faylor [Sun, 2 Mar 2003 17:29:47 +0000 (17:29 +0000)]
* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary
was ignored.

21 years ago2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Sun, 2 Mar 2003 07:00:48 +0000 (07:00 +0000)]
2003-03-02  Danny Smith  <dannysmith@users.sourceforge.net>

* include/stdio.h (vscanf): Add prototype.
(vfscanf): Ditto.
(vsscanf): Ditto.
(vwscanf): Ditto.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* include/wchar.h (vwscanf): Add prototype.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* mingwex/snprintf.c: Move to mingwex/stdio.
  * mingwex/vsnprintf.c: Ditto.
* mingwex/snwprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
* mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
(STDIO_DISTFILES): Add.
(DISTFILES): Adjust.
(STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
(LIB_OBJS): Adjust.
(dist): Adjust.

2003-03-02  Aaron W  LaFramboise   <AWLaFramboise@aol.com>

* mingwex/stdio: New directory
* mingwex/stdio/vfscanf.c: New file.
* mingwex/stdio/vfwscanf.c:  New file.
* mingwex/stdio/vscanf.c:  New file.
* mingwex/stdio/vsscanf.c:  New file.
* mingwex/stdio/vswscanf.c:  New file.
* mingwex/stdio/vwscanf.c:  New file.

21 years agofix typo
Christopher Faylor [Sun, 2 Mar 2003 06:50:27 +0000 (06:50 +0000)]
fix typo

21 years agoDocument new mkgroup,mkpasswd options
Joshua Daniel Franklin [Sat, 1 Mar 2003 17:29:51 +0000 (17:29 +0000)]
Document new mkgroup,mkpasswd options

21 years ago2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sat, 1 Mar 2003 16:38:26 +0000 (16:38 +0000)]
2003-03-01  Pierre Humblet  <pierre.humblet@ieee.org>

       * mkpasswd.cc (main): On Win95, output both a default line and a
       line for the current user (if known) with a pseudorandom uid. If
       the -u switch is given, produce a line for the specified user.
       * mkgroup.cc (main): On Win95 change the group name from "unknown" to
       "all".

21 years ago * fhandler_socket.cc (fhandler_socket::bind): Open and write socket
Corinna Vinschen [Sat, 1 Mar 2003 16:17:55 +0000 (16:17 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Open and write socket
file using Win32 calls.

21 years ago * fhandler_socket.cc (get_inet_addr): Open and read socket file using
Corinna Vinschen [Sat, 1 Mar 2003 15:28:24 +0000 (15:28 +0000)]
* fhandler_socket.cc (get_inet_addr): Open and read socket file using
Win32 calls.

21 years ago * include/olectl.h (OleLoadPictureEx) Add prototype.
Danny Smith [Sat, 1 Mar 2003 09:34:12 +0000 (09:34 +0000)]
* include/olectl.h (OleLoadPictureEx) Add prototype.
(OleLoadPictureFile): Ditto.
(OleLoadPictureFileEx): Ditto.
(OleLoadPicturePath): Ditto.
(OleSavePictureFile): Ditto.

21 years ago * include/objbase.h (CoAddRefServerProcess): Add prototype.
Danny Smith [Sat, 1 Mar 2003 07:19:36 +0000 (07:19 +0000)]
* include/objbase.h (CoAddRefServerProcess): Add prototype.
(CoAddReleaseServerProcess): Ditto.
(CoResumeClassObjects): Ditto.
(CoSuspendClassObjects): Ditto.
* include/oleauto.h (V_I1): Define.
Thanks to: "Timofei"  <mmttmm@users.sourceforge.net>

21 years ago2003-03-01 Heiko Gerdau <hg@technosis.de>
Danny Smith [Sat, 1 Mar 2003 06:51:51 +0000 (06:51 +0000)]
2003-03-01  Heiko Gerdau  <hg@technosis.de>

* include/oleidl.h (USERCLASSTYPE): Add enum.
* include/ocidl.h (IObjectWithSite): Add interface.

21 years ago* Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.
Christopher Faylor [Sat, 1 Mar 2003 03:38:19 +0000 (03:38 +0000)]
* Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.
* cygcheck.cc (find_on_path): Translate from cygwin path when qualified path
name found.
(pretty_id): New function.  Dump output of id command.
(dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.

21 years ago* cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions.
Christopher Faylor [Sat, 1 Mar 2003 02:02:42 +0000 (02:02 +0000)]
* cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions.
* dcrt0.cc (cygwin_atexit): New function.
(cygwin_exit): Ditto.

21 years ago2003-02-28 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Fri, 28 Feb 2003 23:52:48 +0000 (23:52 +0000)]
2003-02-28  Pierre Humblet  <pierre.humblet@ieee.org>

* syscalls.cc (fstat64): Pass get_name () to pc.
(access): Pass fn to stat_worker.

21 years ago * Makefile.tpl: Rearrange.
Nathanael Nerode [Fri, 28 Feb 2003 18:03:31 +0000 (18:03 +0000)]
* Makefile.tpl: Rearrange.
* Makefile.in: Regenerate.

21 years ago2003-02-28 Roland Schwingel <roland.schwingel@onevision.de>
Danny Smith [Fri, 28 Feb 2003 08:03:13 +0000 (08:03 +0000)]
2003-02-28  Roland Schwingel <roland.schwingel@onevision.de>

Fixup UNICODE thinko in 2003-02-22 patch.
* include/wingdi.h (AddFontMemResourceEx): Add.
(RemoveFontMemResourceEx): Ditto.
(AddFontMemResourceEx[AW]): Remove.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def: (AddFontResourceEx): Add.
(RemoveFontMemResourceEx): Ditto.
(AddFontMemResourceEx[AW]): Remove.
(RemoveFontResourceEx[AW]): Ditto.

21 years ago2003-02-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 27 Feb 2003 23:13:32 +0000 (23:13 +0000)]
2003-02-27  Andrew Cagney  <cagney@redhat.com>

* remote-sim.h (sim_open, sim_load, sim_create_inferior): Rename
_bfd to bfd.

21 years ago2003-03-27 Corinna Vinschen <corinna@vinschen.de>
Corinna Vinschen [Thu, 27 Feb 2003 21:41:28 +0000 (21:41 +0000)]
2003-03-27  Corinna Vinschen  <corinna@vinschen.de>

* fhandler_socket.cc (class sock_event): New class managing Winsock
events for interruptible socket calls.
(fhandler_socket::connect): Move support for interruptible call to
class sock_event.  Use class object instead.
(fhandler_socket::accept): Ditto.  Remove useless casts.

2003-03-27  Thomas Pfaff  <tpfaff@gmx.net>

* fhandler_socket.cc (fhandler_socket::connect): Add support for
an interruptable connect.

21 years agomerge from gcc
DJ Delorie [Thu, 27 Feb 2003 21:01:01 +0000 (21:01 +0000)]
merge from gcc

21 years ago * uinfo.cc (internal_getlogin): Only update user.groups.pgsid
Corinna Vinschen [Thu, 27 Feb 2003 17:41:15 +0000 (17:41 +0000)]
* uinfo.cc (internal_getlogin): Only update user.groups.pgsid
if the call to set the primary group succeeds.

21 years ago* cygthread::detach: Improve error message.
Christopher Faylor [Thu, 27 Feb 2003 15:09:31 +0000 (15:09 +0000)]
* cygthread::detach: Improve error message.

21 years ago * sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.
Corinna Vinschen [Wed, 26 Feb 2003 08:34:34 +0000 (08:34 +0000)]
* sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.

21 years ago2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
Jeff Johnston [Tue, 25 Feb 2003 20:36:29 +0000 (20:36 +0000)]
2002-02-25   D.Venkatasubramanian <dvenkat@noida.hcltech.com>

        * libc/sys/h8300hms/Makefile.am: Add support for new files.
        * libc/sys/h8300hms/Makefile.in: Regenerated.
        * libc/sys/h8300hms/close.S: New file.
        * libc/sys/h8300hms/fstat.S: Ditto.
        * libc/sys/h8300hms/lseek.S: Ditto.
        * libc/sys/h8300hms/open.S: Ditto.
        * libc/sys/h8300hms/stat.S: Ditto.
        * libc/sys/h8300hms/read.S: New file to replace read.c.
        * libc/sys/h8300hms/read.c: Removed.
        * libc/sys/h8300hms/syscalls.c: Removed functions _open,
        _lseek, _close, _stat, _fstat.
        * libc/sys/h8300hms/write.S: New file to replace write.c.
        * libc/sys/h8300hms/write.c: Removed.

21 years ago * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
Earnie Boyd [Tue, 25 Feb 2003 13:07:46 +0000 (13:07 +0000)]
* Makefile.in (libmsvcrt20.a): Remove target and dependencies.
(libmsvcrt40.a): Ditto.

21 years ago * mmap.cc (mmap64): Fix returned address by taking the granularity
Corinna Vinschen [Tue, 25 Feb 2003 12:46:39 +0000 (12:46 +0000)]
* mmap.cc (mmap64): Fix returned address by taking the granularity
into account.

21 years agoRemove site-file support - it is obsolete.
Nick Clifton [Tue, 25 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Remove site-file support - it is obsolete.

21 years agoAdd support for kaOS as cross build target system.
Nick Clifton [Mon, 24 Feb 2003 16:47:04 +0000 (16:47 +0000)]
Add support for kaOS as cross build target system.

21 years ago 2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sun, 23 Feb 2003 19:12:55 +0000 (19:12 +0000)]
 2003-02-23  Pierre Humblet  <pierre.humblet@ieee.org>

       * syslog.cc (syslog): Do not unlock the file before closing it
       and remove debug_printf about stream errors.

21 years ago2003-02-23 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Sun, 23 Feb 2003 08:31:37 +0000 (08:31 +0000)]
2003-02-23  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winbase.h (EVENTLOG_SUCCESS): Add define.
Thanks to: Thomas Weber  <thomasweber@sourceforge.net>

21 years agowhitespace
Christopher Faylor [Sat, 22 Feb 2003 23:03:26 +0000 (23:03 +0000)]
whitespace

21 years ago* cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din:
Christopher Faylor [Sat, 22 Feb 2003 23:02:15 +0000 (23:02 +0000)]
* cygmalloc.h: Remove MORECORE_CANNOT_TRIM.  It's not true.  # cygwin.din:
Export mallinfo.  # malloc_wrapper.cc (mallinfo): New function.

21 years ago* syslog.cc (syslog): Do not print the Windows pid. Print the Cygwin pid as an
Christopher Faylor [Sat, 22 Feb 2003 19:35:03 +0000 (19:35 +0000)]
* syslog.cc (syslog): Do not print the Windows pid.  Print the Cygwin pid as an
unsigned decimal.  On Win95 print a timestamp and attempt to lock the file up
to four times in 3 ms.

21 years ago2003-02-22 Roland Schwingel <roland.schwingel@onevision.de>
Danny Smith [Sat, 22 Feb 2003 11:32:30 +0000 (11:32 +0000)]
2003-02-22  Roland Schwingel  <roland.schwingel@onevision.de>

* include/wingdi.h (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto.

21 years ago2003-02-22 Bang Jun-Young <junyoung@netbsd.org>
Danny Smith [Sat, 22 Feb 2003 10:43:46 +0000 (10:43 +0000)]
2003-02-22  Bang Jun-Young  <junyoung@netbsd.org>

* lib/ntdll.def (NT*, RTL*, ZW*): Add missing exports.
(NtCurrentTeb): Remove.

21 years ago * include/wsahelp.h: Remove ';' after closing
Danny Smith [Sat, 22 Feb 2003 10:21:39 +0000 (10:21 +0000)]
* include/wsahelp.h: Remove ';' after closing
#ifdef __cplusplus brace.
* include/ws2spi.h: Likewise.

21 years ago * include/winbase.h (MEMORYSTATUSEX): Add structure.
Danny Smith [Sat, 22 Feb 2003 10:16:22 +0000 (10:16 +0000)]
* include/winbase.h (MEMORYSTATUSEX): Add structure.
(GlobalMemoryStatusEx): Add prototype.
* lib/kernel32.def (GlobalMemoryStatusEx): Add stub.

21 years ago Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
Earnie Boyd [Fri, 21 Feb 2003 21:12:29 +0000 (21:12 +0000)]
Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
this patch.
* Makefile.in (libmsvcrtd.a): Add target library.
(libmoldnamed.a): Ditto.
(msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
template to create.
($(srcdir)): Remove explicit reference for depencies of object targets.
* moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
msvcrt20.def, msvcrt40.def: Remove.
* msvcrt.def.in: New file (Copy of previous msvcrt.def).

21 years agovarious updates to setup entries. Stronger emphasis to use setup, and only setup.
David Starks-Browning [Fri, 21 Feb 2003 20:37:47 +0000 (20:37 +0000)]
various updates to setup entries.  Stronger emphasis to use setup, and only setup.
(no more "work in progres ... ")

21 years agonew link to "How To Ask Questions The Smart Way" by Eric S. Raymond, added to Posting...
David Starks-Browning [Fri, 21 Feb 2003 20:13:55 +0000 (20:13 +0000)]
new link to "How To Ask Questions The Smart Way" by Eric S. Raymond, added to Posting Guidelines entry

21 years agoremove tired subtitle "(Not completely updated for the latest net release, but still...
David Starks-Browning [Fri, 21 Feb 2003 20:00:54 +0000 (20:00 +0000)]
remove tired subtitle "(Not completely updated for the latest net release, but still useful!)"

21 years ago * fhandler_socket.cc (fhandler_socket::fhandler_socket): Fix compiler
Corinna Vinschen [Fri, 21 Feb 2003 14:59:35 +0000 (14:59 +0000)]
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Fix compiler
warning.
(fhandler_socket::fstat): Simplify.  Set st_uid/st_gid to effective
uid/gid of current process in case of open sockets.

21 years ago * dtable.cc (dtable::build_fhandler_from_name): Set some fhandler
Corinna Vinschen [Fri, 21 Feb 2003 14:29:18 +0000 (14:29 +0000)]
* dtable.cc (dtable::build_fhandler_from_name): Set some fhandler
data on sockets to evaluate AF_LOCAL sockets correctly.
(dtable::build_fhandler): Set unit number on sockets.
* fhandler.h (fhandler_socket): Add unit number.
(fhandler_socket::get_unit): New method.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Set unit
number.
(fhandler_socket::fstat): Reorganize to return more Linux-like
values.
* net.cc: include ctype.h.
(fdsock): Set unit number when building fhandler.
* path.cc (path_conv::check): Set device type to FH_SOCKET if file
is a AF_UNIX socket.
(get_devn): Evaluate unit for virtual socket devices.
(win32_device_name): Set windows path for sockets to unix_path with
just backslashes to keep the different names.
* syscalls.cc (fstat64): Don't override st_ino, st_dev and st_rdev
for sockets.
(stat_worker): Ditto.

From Pierre Humblet:

* autoload.cc (AccessCheck): Add.
(DuplicateToken): Add.
* security.h (check_file_access): Declare.
* syscalls.cc (access): Convert path to Windows, check existence
and readonly attribute. Call check_file_access instead of acl_access.
* security.cc (check_file_access): Create.
* sec_acl (acl_access): Delete.

21 years agoAdd SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
Nick Clifton [Fri, 21 Feb 2003 12:17:51 +0000 (12:17 +0000)]
Add SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
Add code to display these values in readelf.

21 years ago(ldmac, stmac): Replace MACREG with MS32 and MD32.
Nick Clifton [Fri, 21 Feb 2003 11:36:59 +0000 (11:36 +0000)]
(ldmac, stmac): Replace MACREG with MS32 and MD32.

21 years ago* fhandler.cc (fhandler_base::open): Move some filesystem specific stuff.
Christopher Faylor [Fri, 21 Feb 2003 04:33:53 +0000 (04:33 +0000)]
* fhandler.cc (fhandler_base::open): Move some filesystem specific stuff.
(fhandler_disk_file::open): Accept some filesystem specific stuff.
* sigproc.cc (wait_for_sigthread): Become slightly more thread safe.
(sig_send): Don't assume that signal thread is ready.

21 years ago* Makefile.tpl: Add definition of CPPFLAGS to pass into
DJ Delorie [Fri, 21 Feb 2003 01:55:12 +0000 (01:55 +0000)]
* Makefile.tpl: Add definition of CPPFLAGS to pass into
configure-target-* as some target builds may require additional
flags for preprocessor tests.
* Makefile.in: Regenerated.

21 years agomerge from gcc
DJ Delorie [Fri, 21 Feb 2003 01:35:25 +0000 (01:35 +0000)]
merge from gcc

21 years ago * libiberty.h (lrealpath): Add declaration.
Daniel Jacobowitz [Thu, 20 Feb 2003 22:13:09 +0000 (22:13 +0000)]
* libiberty.h (lrealpath): Add declaration.

21 years agoAdd support for Cirrus Maverick ARM co-processor
Nick Clifton [Thu, 20 Feb 2003 19:14:12 +0000 (19:14 +0000)]
Add support for Cirrus Maverick ARM co-processor

21 years ago * wincap.h (wincap): Remove unnecessary definition of
Corinna Vinschen [Thu, 20 Feb 2003 15:58:55 +0000 (15:58 +0000)]
* wincap.h (wincap): Remove unnecessary definition of
supports_sparse_files.
* wincap.cc: Ditto.

21 years agoIndex: include/gdb/ChangeLog
Andrew Cagney [Thu, 20 Feb 2003 14:37:58 +0000 (14:37 +0000)]
Index: include/gdb/ChangeLog
2003-02-20  Andrew Cagney  <ac131313@redhat.com>

* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
code.

Index: include/gdb/ChangeLog
2003-02-20  Andrew Cagney  <ac131313@redhat.com>

* remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT,
SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT.
(sim_set_breakpoint, sim_clear_breakpoint): Delete declarations.
(sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto.
(sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto.
(sim_disable_all_breakpoints): Ditto.

Index: sim/common/ChangeLog
2003-02-20  Andrew Cagney  <ac131313@redhat.com>

* Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
(sim-break_h): Delete macro.
(sim-break.o): Delete rule.
* sim-break.c: Delete file.
* sim-break.h: Delete file.
* sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
(STATE_BREAKPOINTS): Delete macro.
(sim_state_base): Delete field breakpoints.
* sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
sim_break_install to array.

21 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptor
Corinna Vinschen [Thu, 20 Feb 2003 14:14:37 +0000 (14:14 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptor
created by cygheap_fdnew constructor.
* fhandler_virtual.cc (fhandler_virtual::opendir): Ditto.
* fhandler_socket.cc (fhandler_socket::accept): Ditto and move
creation of file descriptor behind blocking OS call.
* net.cc (cygwin_socket): Ditto.
(cygwin_rcmd): Ditto.
(cygwin_rresvport): Ditto.
(cygwin_rexec): Ditto.
(socketpair): Ditto.

21 years ago * winsup.api/crlf.c: Fix C signed/unsigned compare warning.
Corinna Vinschen [Thu, 20 Feb 2003 11:22:17 +0000 (11:22 +0000)]
* winsup.api/crlf.c: Fix C signed/unsigned compare warning.
* winsup.api/mmaptest01.c: Ditto.
* winsup.api/ltp/chmod01.c: Ditto.
* winsup.api/ltp/fork04.c: Ditto.
* winsup.api/ltp/lseek03.c: Ditto.
* winsup.api/ltp/lseek06.c: Ditto.
* winsup.api/ltp/lseek07.c: Ditto.
* winsup.api/ltp/lseek08.c: Ditto.
* winsup.api/ltp/mmap001.c: Ditto.
* winsup.api/ltp/mmap02.c: Ditto.
* winsup.api/ltp/mmap03.c: Ditto.
* winsup.api/ltp/mmap04.c: Ditto.
* winsup.api/ltp/mmap05.c: Ditto.
* winsup.api/ltp/mmap06.c: Ditto.
* winsup.api/ltp/mmap07.c: Ditto.
* winsup.api/ltp/mmap08.c: Ditto.
* winsup.api/ltp/pipe11.c: Ditto.
* winsup.api/ltp/poll01.c: Ditto.
* winsup.api/ltp/sync02.c: Ditto.
* winsup.api/ltp/times03.c: Ditto.
* winsup.api/ltp/umask03.c: Ditto.
* winsup.api/ltp/getpgid01.c: Remove unused obsolete include.
* winsup.api/ltp/getpgid02.c: Ditto.

21 years ago * autoload.cc (GetCompressedFileSize): Add.
Corinna Vinschen [Thu, 20 Feb 2003 11:12:44 +0000 (11:12 +0000)]
* autoload.cc (GetCompressedFileSize): Add.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Compute
st_blocks value from GetCompressedFileSize() if available.

21 years agow32api:
Corinna Vinschen [Thu, 20 Feb 2003 10:14:53 +0000 (10:14 +0000)]
w32api:

        * include/winioctl.h (FSCTL_SET_SPARSE): Define.

cygwin:

        * wincap.h (wincaps::supports_sparse_files): New flag.
        (wincapc::supports_sparse_files): New method.
        * wincap.cc (wincap_unknown): Define value for the new flag.
        (wincap_95): Ditto.
        (wincap_95osr2): Ditto.
        (wincap_98): Ditto.
        (wincap_98se): Ditto.
        (wincap_me): Ditto.
        (wincap_nt3): Ditto.
        (wincap_nt4): Ditto.
        (wincap_nt4sp4): Ditto.
        (wincap_2000): Ditto.
        (wincap_xp): Ditto.
        * path.h (path_conv::fs_flags): New method.
        * fhandler_disk_file.cc: Include winioctl.h for DeviceIoControl.
        (fhandler_disk_file::open): Set newly created and truncated files as
        sparse on platforms that support it.

21 years ago * Makefile.in: Make sure libmingwex.a from current build tree is used.
Corinna Vinschen [Thu, 20 Feb 2003 10:12:15 +0000 (10:12 +0000)]
* Makefile.in: Make sure libmingwex.a from current build tree is used.

21 years ago* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
Alexandre Oliva [Thu, 20 Feb 2003 02:09:58 +0000 (02:09 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.

21 years ago* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
Alexandre Oliva [Thu, 20 Feb 2003 01:12:28 +0000 (01:12 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.

21 years ago* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
Alexandre Oliva [Wed, 19 Feb 2003 23:51:28 +0000 (23:51 +0000)]
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC.
* ltcf-gcj.sh: Likewise.

21 years ago* configure.in: Introduce --enable-maintainer-mode.
Alexandre Oliva [Wed, 19 Feb 2003 23:51:03 +0000 (23:51 +0000)]
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.

21 years ago* configure.in: Introduce --enable-maintainer-mode.
Alexandre Oliva [Wed, 19 Feb 2003 23:40:12 +0000 (23:40 +0000)]
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.

21 years ago2003-02-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 19 Feb 2003 23:32:19 +0000 (23:32 +0000)]
2003-02-19  Andrew Cagney <ac131313@redhat.com>

* configure: Regenerate using autoconf 2.13.

21 years ago2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Feb 2003 19:00:11 +0000 (19:00 +0000)]
2003-02-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.

21 years agoimport latest versions
Alan Modra [Wed, 19 Feb 2003 07:47:34 +0000 (07:47 +0000)]
import latest versions

21 years ago2003-02-18 Christian Groessler <chris@groessler.org>
Jeff Johnston [Tue, 18 Feb 2003 22:41:16 +0000 (22:41 +0000)]
2003-02-18  Christian Groessler  <chris@groessler.org>

        * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
        support z8001 segmented mode.

21 years ago2003-02-18 Earnie Boyd <earnie@users.sf.net>
Jeff Johnston [Tue, 18 Feb 2003 22:34:02 +0000 (22:34 +0000)]
2003-02-18  Earnie Boyd  <earnie@users.sf.net>

        * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
        with a NULL value.

21 years ago * Makefile.tpl (check-c++): Allow parallelism.
Jason Merrill [Tue, 18 Feb 2003 20:12:50 +0000 (20:12 +0000)]
    * Makefile.tpl (check-c++): Allow parallelism.

21 years ago * mips/nullmon.c (_ftext, _end): Adjust declaration.
Richard Sandiford [Tue, 18 Feb 2003 19:37:04 +0000 (19:37 +0000)]
* mips/nullmon.c (_ftext, _end): Adjust declaration.
(get_mem_info): Rework.

21 years ago * mips/crt0.S (zerobss): Reload __memsize after call.
Richard Sandiford [Tue, 18 Feb 2003 19:32:24 +0000 (19:32 +0000)]
* mips/crt0.S (zerobss): Reload __memsize after call.

21 years ago * ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC.
Alan Modra [Tue, 18 Feb 2003 12:52:55 +0000 (12:52 +0000)]
* ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC.

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