]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years ago* no need to inform sid@sourceware about dejagnu patches.
Frank Ch. Eigler [Tue, 17 Jul 2001 15:20:21 +0000 (15:20 +0000)]
* no need to inform sid@sourceware about dejagnu patches.

23 years ago * delqueue.h: Remove obsolete file.
Corinna Vinschen [Tue, 17 Jul 2001 08:28:27 +0000 (08:28 +0000)]
* delqueue.h: Remove obsolete file.

23 years ago* child_info.h: Bump magic number.
Christopher Faylor [Tue, 17 Jul 2001 03:41:52 +0000 (03:41 +0000)]
* child_info.h: Bump magic number.
(class child_info): Add an element.
* cygheap.cc (init_cheap): Allocate cygwin heap in shared memory area.
(cygheap_fixup_in_child): Map cygwin heap, passed from parent via shared memory
into correct address.
(cygheap_setup_for_child): New function.
* cygheap.h: Declare new functions.
* dcrt0.cc (dll_crt0_1): Accomodate new cygheap_fixup_in_child arguments.
Avoid protecting subproc_ready unless it is spawn/nowait.
* fork.cc (fork_parent): Use new cygheap_setup_for_child function to setup
cygwin heap info.  Close passed cygheap shared memory handle.
* spawn.cc (spawn_guts): Ditto.  Also, reorganize to avoid synchronization
between parent and child in non-P_OVERLAY case.
* sigproc.cc (wait_sig): Only signal subproc_ready when execing.

23 years agoUpdate local local copies of config.sub and config.guess.
Andrew Cagney [Tue, 17 Jul 2001 00:30:00 +0000 (00:30 +0000)]
Update local local copies of config.sub and config.guess.
Mention those files in MAINTAINERS.

23 years ago * grp.cc: Add missing Copyright date 2001.
Corinna Vinschen [Mon, 16 Jul 2001 13:22:29 +0000 (13:22 +0000)]
    * grp.cc: Add missing Copyright date 2001.

23 years ago Change well_known_admin_sid to well_known_admins_sid throughout.
Corinna Vinschen [Sun, 15 Jul 2001 22:40:07 +0000 (22:40 +0000)]
    Change well_known_admin_sid to well_known_admins_sid throughout.
        * sec_acl.cc (setacl): Never set DELETE permission. Set
        FILE_DELETE_CHILD only on readable and executable directories.
        * sec_helper.cc: Add constructor for `well_known_null_sid'.
        * security.cc (get_nt_attribute): Set S_ISVTX for directories if
        FILE_WRITE_DATA and FILE_EXECUTE but not FILE_DELETE_CHILD is set.
        Add evaluation of S_ISVTX, S_ISGID and S_ISUID from NULL ACE.
        (alloc_sd): Never set DELETE permission. Set FILE_DELETE_CHILD
        only on readable and executable directories.
        Add creation of NULL ACE for S_ISVTX, S_ISGID and S_ISUID permissions.
        * security.h: Add extern declaration for `well_known_null_sid'.

23 years ago * regtool.cc (find_key): Handle keys with only one subkey.
Corinna Vinschen [Sun, 15 Jul 2001 11:27:23 +0000 (11:27 +0000)]
    * regtool.cc (find_key): Handle keys with only one subkey.

23 years ago* syscalls.cc (stat_worker): Simplify previous change.
Christopher Faylor [Sat, 14 Jul 2001 00:09:33 +0000 (00:09 +0000)]
* syscalls.cc (stat_worker): Simplify previous change.

23 years ago* syscalls.cc (_unlink): Correct (?) logic which determines when to report an
Christopher Faylor [Fri, 13 Jul 2001 17:22:15 +0000 (17:22 +0000)]
* syscalls.cc (_unlink): Correct (?) logic which determines when to report an
access violation and when to queue file for eventual deletion.
(stat_worker): Check for invalid buf argument.

23 years ago2001-07-12 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Fri, 13 Jul 2001 15:41:39 +0000 (15:41 +0000)]
2001-07-12  Aldy Hernandez  <aldyh@redhat.com>

        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Jul 2001 21:20:59 +0000 (21:20 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * opcode/cgen.h (CGEN_INSN): Add regex support.
        (build_insn_regex): Declare.

23 years ago* some support for funny-endian 16/32-bit insn sets
Frank Ch. Eigler [Thu, 12 Jul 2001 02:32:25 +0000 (02:32 +0000)]
* some support for funny-endian 16/32-bit insn sets

[cgen/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the
        mach->cpu insn-chunk-bitsize.
        (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new
        field toward CGEN_CPU_TABLE->insn_chunk_bitsize.
        * mach.scm (<cpu>): New field insn-chunk-bitsize.
        (-cpu-parse, -cpu-read): Parse/initialize it.
        * doc/rtl.texi (define-cpu): Document it.

[opcodes/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
        bfd_get_bits.
        * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
        non-zero CGEN_CPU_DESC->insn_chunk_bitsize.

[include/opcode/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field.
        (cgen_cpu_desc): Ditto.

23 years agomerge from gcc
DJ Delorie [Wed, 11 Jul 2001 00:15:17 +0000 (00:15 +0000)]
merge from gcc

23 years ago * mmap.cc (fhandler_disk_file::mmap): Try to open file mappings
Corinna Vinschen [Tue, 10 Jul 2001 21:04:14 +0000 (21:04 +0000)]
    * mmap.cc (fhandler_disk_file::mmap): Try to open file mappings
        by a unified name when running under 9x/ME. If that failes, create
        the file mapping using the unified name.

23 years ago * uinfo.cc (internal_getlogin): Add pointer check.
Corinna Vinschen [Mon, 9 Jul 2001 09:05:17 +0000 (09:05 +0000)]
    * uinfo.cc (internal_getlogin): Add pointer check.

23 years ago * security.cc (alloc_sd): Don't set inheritance attribute for
Corinna Vinschen [Mon, 9 Jul 2001 09:02:41 +0000 (09:02 +0000)]
    * security.cc (alloc_sd): Don't set inheritance attribute for
        permissions given to directories.

23 years ago2001-07-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 6 Jul 2001 22:14:07 +0000 (22:14 +0000)]
2001-07-07  Ben Elliston  <bje@redhat.com>

* m88k.h: Clean up and reformat. Remove unused code.

23 years agoWinME also affected by missing pipe key
David Starks-Browning [Fri, 6 Jul 2001 00:57:52 +0000 (00:57 +0000)]
WinME also affected by missing pipe key

23 years agoNew entry "Why doesn't Cygwin tcl/tk understand Cygwin paths?"
David Starks-Browning [Fri, 6 Jul 2001 00:40:38 +0000 (00:40 +0000)]
New entry "Why doesn't Cygwin tcl/tk understand Cygwin paths?"

23 years agoNew entry: "Why don't international (8-bit) characters work?"
David Starks-Browning [Fri, 6 Jul 2001 00:30:23 +0000 (00:30 +0000)]
New entry: "Why don't international (8-bit) characters work?"

23 years agoNew "Known Problems" entry: Pipe key doesn't work on non-US kbds on Win9x.
David Starks-Browning [Fri, 6 Jul 2001 00:16:13 +0000 (00:16 +0000)]
New "Known Problems" entry: Pipe key doesn't work on non-US kbds on Win9x.
Some cosmetic changes.

23 years agobetter instructions for installing cygwin snapshots
David Starks-Browning [Thu, 5 Jul 2001 23:58:34 +0000 (23:58 +0000)]
better instructions for installing cygwin snapshots

23 years agoNew entry "Where is the su command?"
David Starks-Browning [Thu, 5 Jul 2001 23:29:43 +0000 (23:29 +0000)]
New entry "Where is the su command?"

23 years agoforce
Christopher Faylor [Thu, 5 Jul 2001 00:38:10 +0000 (00:38 +0000)]
force

23 years ago"How do I rebuild the tools on my NT box?": texi2html now provided.
David Starks-Browning [Wed, 4 Jul 2001 23:36:16 +0000 (23:36 +0000)]
"How do I rebuild the tools on my NT box?":  texi2html now provided.

23 years ago"Why the weird directory structure?": new mount output format.
David Starks-Browning [Wed, 4 Jul 2001 23:30:17 +0000 (23:30 +0000)]
"Why the weird directory structure?": new mount output format.
"Why can't I run bash as a shell under NT Emacs?": new title.

23 years agoUpdate "Can I use setup to install snapshots?" (now 'no') with new instructions.
David Starks-Browning [Wed, 4 Jul 2001 23:21:49 +0000 (23:21 +0000)]
Update "Can I use setup to install snapshots?" (now 'no') with new instructions.

23 years agoAdd caveat that contents list is always out of date.
David Starks-Browning [Wed, 4 Jul 2001 23:00:31 +0000 (23:00 +0000)]
Add caveat that contents list is always out of date.
Remove entry "Setup screwed up my mounts!"

23 years agojust a bit more...
David Starks-Browning [Wed, 4 Jul 2001 22:54:16 +0000 (22:54 +0000)]
just a bit more...

23 years agoAdd more to entry "How do I print under Cygwin"?
David Starks-Browning [Wed, 4 Jul 2001 22:52:58 +0000 (22:52 +0000)]
Add more to entry "How do I print under Cygwin"?

23 years agoAdd apropos and /usr/sbin/makewhatis to "Why doesn't man work?" entry.
David Starks-Browning [Wed, 4 Jul 2001 21:14:41 +0000 (21:14 +0000)]
Add apropos and /usr/sbin/makewhatis to "Why doesn't man work?" entry.

23 years agoRemerge with gcc
Nick Clifton [Sat, 30 Jun 2001 08:58:10 +0000 (08:58 +0000)]
Remerge with gcc

23 years agoAdd DWARF 2.1 attributes
Nick Clifton [Fri, 29 Jun 2001 14:17:31 +0000 (14:17 +0000)]
Add DWARF 2.1 attributes

23 years ago* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Return 0 for success.
Christopher Faylor [Fri, 29 Jun 2001 02:20:01 +0000 (02:20 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Return 0 for success.

23 years agoHandle ARMs with big endian IEEE words but little endian IEEE bytes
Nick Clifton [Thu, 28 Jun 2001 10:40:09 +0000 (10:40 +0000)]
Handle ARMs with big endian IEEE words but little endian IEEE bytes

23 years ago* regtool.cc (find_key): Revert previous change.
Christopher Faylor [Thu, 28 Jun 2001 02:46:11 +0000 (02:46 +0000)]
* regtool.cc (find_key): Revert previous change.

23 years agoChange check_null_empty_path* to check_null_empty_str* throughout.
Christopher Faylor [Thu, 28 Jun 2001 02:19:57 +0000 (02:19 +0000)]
Change check_null_empty_path* to check_null_empty_str* throughout.
* path.cc (path_conv::check): Add signal protection here since retrieving info
about remote shares can take some time.
* path.h (check_null_empty_str_errno): Convert to a function prototype.
* path.cc (check_null_empty_str): Move to miscfuncs.cc.
* miscfuncs.cc (check_null_empty_str_errno): New function.
(__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(check_null_empty_str): Change from VirtualQuery to IsBadWritePtr.
* thread.cc (check_valid_pointer): Ditto.
* resource.cc (getrlimit): Use check_null_invalid_struct macro for checking
validity of pointer.
(setrlimit): Ditto.

23 years ago* regtool.cc (find_key): Allow '/' as a synonym for '\\'.
Christopher Faylor [Wed, 27 Jun 2001 17:38:40 +0000 (17:38 +0000)]
* regtool.cc (find_key): Allow '/' as a synonym for '\\'.

23 years ago* fhandler.cc (fhandler_disk_file::fstat): Don't rely on exactly 3 characters
Christopher Faylor [Tue, 26 Jun 2001 21:03:08 +0000 (21:03 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Don't rely on exactly 3 characters
being read for executable test since we could be checking for less than that.
* syscalls.cc (stat_worker): Try opening the file the "correct" way first so
that #! processing can potentially happen.  If that fails, then use "query
open" method.
* spawn.cc (spawn_guts): Delay processing of signal until after we've notified
parent about reparenting.

23 years agoRemove trailing tabs.
Christopher Faylor [Tue, 26 Jun 2001 14:57:33 +0000 (14:57 +0000)]
Remove trailing tabs.

23 years ago* mmap.cc: Clean up *ResourceLock calls throughout.
Christopher Faylor [Tue, 26 Jun 2001 14:47:48 +0000 (14:47 +0000)]
* mmap.cc: Clean up *ResourceLock calls throughout.
* thread.cc (pthread_cond::TimedWait): Check for WAIT_TIMEOUT as well as
WAIT_ABANDONED.
(__pthread_cond_timedwait): Calculate a relative wait from the abstime
parameter.

23 years agoforced commit
Christopher Faylor [Sun, 24 Jun 2001 22:26:53 +0000 (22:26 +0000)]
forced commit

23 years agoFix typo
Christopher Faylor [Sun, 24 Jun 2001 22:00:04 +0000 (22:00 +0000)]
Fix typo

23 years ago* exceptions.cc (interrupt_setup): Move actions from setup_handler to here.
Christopher Faylor [Sun, 24 Jun 2001 21:57:50 +0000 (21:57 +0000)]
* exceptions.cc (interrupt_setup): Move actions from setup_handler to here.
(setup_handler): Move actions after a successful interrupt to interrupt_setup.
* fork.cc (vfork): Augment debugging output.
* sigproc.cc (proc_subproc): Ditto.
* spawn.cc (spawn_guts): Ditto.  Correctly fill out progname when spawn
NO_WAIT.  Call signal handler when a signal arrives.
* sigproc.h: Declare a function.

23 years ago * fhandler.h class fhandler_socket): Declare new method
Corinna Vinschen [Fri, 22 Jun 2001 20:53:45 +0000 (20:53 +0000)]
    * fhandler.h class fhandler_socket): Declare new method
        `set_close_on_exec'.
        * fhandler_socket.cc (fhandler_socket::set_close_on_exec):
        New method.

23 years ago * fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size
Corinna Vinschen [Fri, 22 Jun 2001 20:13:00 +0000 (20:13 +0000)]
    * fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size
        parameter to value expected by GetTapeParameters().

23 years ago * fhandler_console.cc (fhandler_console::read): Detect AltGr more
Corinna Vinschen [Fri, 22 Jun 2001 20:08:06 +0000 (20:08 +0000)]
    * fhandler_console.cc (fhandler_console::read): Detect AltGr more
        robustly on WinNT.

23 years ago2001-06-22 Robert Collins rbtcollins@hotmail.com
Robert Collins [Thu, 21 Jun 2001 22:27:20 +0000 (22:27 +0000)]
2001-06-22  Robert Collins  rbtcollins@hotmail.com

* thread.cc (__pthread_cond_timedwait): Lock the waiting mutex before
the condition protect mutex to avoid deadlocking. (Found by Greg Smith).
(__pthread_cond_wait): Ditto.

23 years ago* fhandler.cc (fhandler_base::open): Work around windows bug when
Egor Duda [Wed, 20 Jun 2001 07:44:33 +0000 (07:44 +0000)]
* fhandler.cc (fhandler_base::open): Work around windows bug when
CreateFile() with dwDesiredAccess == 0 called on remote share returns
valid handle even if file doesn't exist.

23 years ago* fhandler_socket.cc (fhandler_socket::signal_secret_event): New
Egor Duda [Wed, 20 Jun 2001 06:50:13 +0000 (06:50 +0000)]
* fhandler_socket.cc (fhandler_socket::signal_secret_event): New
function.
* fhandler.h: Declare it.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Don't
signal secret event immediately.
(fhandler_socket::check_peer_secret_event): Do it after peer event
was opened.
* net.cc (cygwin_connect): Or if socket is non-blocking.
(cygwin_accept): Ditto.

23 years ago * lib/kernel32.def: Add LanguageGroup and UILanguage symbols.
Earnie Boyd [Tue, 19 Jun 2001 13:49:40 +0000 (13:49 +0000)]
* lib/kernel32.def: Add LanguageGroup and UILanguage symbols.
Thanks to Kevin Chase <kevincha99@hotmail.com>.

23 years ago * Makefile.in: Revert 2001-06-17.
Alan Modra [Tue, 19 Jun 2001 09:21:33 +0000 (09:21 +0000)]
* Makefile.in: Revert 2001-06-17.
(VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get version from bfd/.

23 years ago* fhandler_tty.cc (fhandler_tty_slave::init): Revert 2001-06-16 change.
Christopher Faylor [Mon, 18 Jun 2001 21:18:59 +0000 (21:18 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::init): Revert 2001-06-16 change.
* fork.cc (fork_copy): Print more debugging info.
(fork_parent): Change order of arguments to accomdate buggy gcc.
(fork): Ditto.
* syscalls.cc (_unlink): Reorganize to try harder to delete file with
DeleteFile and to recover more gracefully if FILE_FLAG_DELETE_ON_CLOSE doesn't
work properly.

23 years agoRemove blank line.
Christopher Faylor [Mon, 18 Jun 2001 01:41:08 +0000 (01:41 +0000)]
Remove blank line.

23 years ago2001-06-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 17 Jun 2001 18:40:29 +0000 (18:40 +0000)]
2001-06-17  H.J. Lu <hjl@gnu.org>

* Makefile.in (gas.tar.bz2): Pass TOOL=bfd PACKAGE=gas to make.
(gas+binutils.tar.bz2): Likewise.
(binutils.tar.bz2): Pass TOOL=bfd PACKAGE=binutils to make.

23 years ago* exceptions.cc (sig_handle_tty_stop): Reset PID_STOPPED if not actually
Christopher Faylor [Sat, 16 Jun 2001 17:09:19 +0000 (17:09 +0000)]
* exceptions.cc (sig_handle_tty_stop): Reset PID_STOPPED if not actually
stopping.
* fhandler_console.cc (fhandler_console::fixup_after_fork): Don't set
controlling terminal if just inheriting a handle.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::init): Ditto.
* signal.cc (kill_worker): Set appropriate errno if proc_exists determines that
process does not really exist.

23 years ago* path.cc (path_conv::check): Deal more robustly with foo/ behavior.
Christopher Faylor [Fri, 15 Jun 2001 20:35:51 +0000 (20:35 +0000)]
* path.cc (path_conv::check): Deal more robustly with foo/ behavior.

23 years ago * dwarf2.h: Partial merge with gcc version.
Per Bothner [Fri, 15 Jun 2001 19:53:18 +0000 (19:53 +0000)]
* dwarf2.h:  Partial merge with gcc version.
(enum dwarf_descrim_list):  Fix typo -> dwarf_discrim_list.
(DW_LANG_Java):  Use value from dwarf 2.1 draft (also used in gcc).

23 years ago * bfdlink.h (struct bfd_link_info): New member export_dynamic.
Hans-Peter Nilsson [Fri, 15 Jun 2001 12:57:02 +0000 (12:57 +0000)]
* bfdlink.h (struct bfd_link_info): New member export_dynamic.

23 years ago * fhandler_tape.cc (fhandler_dev_tape::tape_status): Set size
Corinna Vinschen [Fri, 15 Jun 2001 09:17:10 +0000 (09:17 +0000)]
    * fhandler_tape.cc (fhandler_dev_tape::tape_status): Set size
        parameter to value expected by GetTapeParameters().

23 years ago* mkpasswd.c (main): Output passwd file in binary mode so that there are no CRs
Christopher Faylor [Fri, 15 Jun 2001 04:50:57 +0000 (04:50 +0000)]
* mkpasswd.c (main): Output passwd file in binary mode so that there are no CRs
in the file.
* umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive mounts.

23 years ago* fhandler.cc (fhandler_disk_file::fstat): Properly set executable bits for
Christopher Faylor [Fri, 15 Jun 2001 00:21:06 +0000 (00:21 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Properly set executable bits for
directory when !ntsec && !ntea.  Also move common code prior to call to
get_attributes.

23 years ago* thread.cc (pthread_cond::Signal): Release the condition access variable
Christopher Faylor [Thu, 14 Jun 2001 23:53:27 +0000 (23:53 +0000)]
* thread.cc (pthread_cond::Signal): Release the condition access variable
correctly.

23 years agoIndex: opcodes/ChangeLog
Geoffrey Keating [Thu, 14 Jun 2001 20:38:42 +0000 (20:38 +0000)]
Index: opcodes/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen-asm.c (cgen_parse_keyword): When looking for the
boundaries of a keyword, allow any special characters
that are actually in one of the allowed keyword.
* cgen-opc.c (cgen_keyword_add): Add any special characters
to the nonalpha_chars field.

Index: cgen/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* desc.scm (<keyword> 'gen-defn): Add extra zero into
CGEN_KEYWORD_ENTRY initializers.

Index: include/opcode/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen.h (cgen_keyword): Add nonalpha_chars field.

23 years ago* fhandler.cc (fhandler_base::open): Set win32 access flags
Egor Duda [Thu, 14 Jun 2001 18:21:17 +0000 (18:21 +0000)]
* fhandler.cc (fhandler_base::open): Set win32 access flags
to 0, when requested.
* fhandler.h: New status flag FH_QUERYOPEN.
(fhandler::get_query_open): New function.
(fhandler::set_query_open): Ditto.
* syscalls.cc (stat_worker): Request query-only open mode.

23 years agoRemove reference to Cygnus.
David Starks-Browning [Thu, 14 Jun 2001 08:43:42 +0000 (08:43 +0000)]
Remove reference to Cygnus.

23 years agoteeny tiny typo
David Starks-Browning [Thu, 14 Jun 2001 08:38:24 +0000 (08:38 +0000)]
teeny tiny typo

23 years agoHandle GDB's gdb/version.in.
Andrew Cagney [Wed, 13 Jun 2001 19:00:22 +0000 (19:00 +0000)]
Handle GDB's gdb/version.in.

23 years ago* who.texinfo: Oops. Add a couple of important folk.
Christopher Faylor [Wed, 13 Jun 2001 17:54:55 +0000 (17:54 +0000)]
* who.texinfo: Oops.  Add a couple of important folk.

23 years ago* who.texinfo: Remove email addresses. Modernize.
Christopher Faylor [Wed, 13 Jun 2001 17:50:25 +0000 (17:50 +0000)]
* who.texinfo: Remove email addresses.  Modernize.

23 years ago* environ.cc (set_file_api_mode): New function. Move setting
Egor Duda [Tue, 12 Jun 2001 11:31:05 +0000 (11:31 +0000)]
* environ.cc (set_file_api_mode): New function. Move setting
of file APIs mode (OEM/ANSI) here.
(codepage_init): From here.
* winsup.h (set_file_api_mode): Declare it.
* fork.cc (fork_child): Set file APIs mode in forkee.

23 years ago2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
Jeff Johnston [Mon, 11 Jun 2001 21:51:41 +0000 (21:51 +0000)]
2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>

        * /libc/include/ctype.h (is* and to* macros): Do not define if C++.

23 years ago * objidl.h (IMalloc::ReAlloc()): Correct declaration.
Earnie Boyd [Mon, 11 Jun 2001 20:06:54 +0000 (20:06 +0000)]
* objidl.h (IMalloc::ReAlloc()): Correct declaration.
(IMalloc::Free()): Ditto.

23 years ago2001-06-11 Egor Duda <deo@logos-m.ru>
Jeff Johnston [Mon, 11 Jun 2001 19:25:59 +0000 (19:25 +0000)]
2001-06-11  Egor Duda  <deo@logos-m.ru>

        * libc/ctype/ctype_.c: When compiled with gcc on platforms
        with signed char, make _ctype_[-128] ... _ctype[-1] refer to
        initialized memory region. Platform can define COMPACT_CTYPE
        to avoid allocation of the additional 128 bytes of data.
        Add pointer to _ctype_ array. Always initialize all _ctype_
        array elements.

23 years ago * include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.
Earnie Boyd [Mon, 11 Jun 2001 19:18:52 +0000 (19:18 +0000)]
* include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.
(REGSTR_PATH_SPECIAL_FOLDERS): Ditto.
* include/regstr.h (REGSTR_PATH_EXPLORER): Add #ifndef guard.

23 years ago * profile/configure.in: Make msvcrt.dll version default.
Earnie Boyd [Mon, 11 Jun 2001 18:57:39 +0000 (18:57 +0000)]
* profile/configure.in: Make msvcrt.dll version default.
* profile/makefile.in: Build both gcrt1.o and gcrt2.o.
* provile/configure: Regenerate.

23 years ago * include/shlobj.h (struct _browseinfo): UNICODE it.
Earnie Boyd [Mon, 11 Jun 2001 18:28:19 +0000 (18:28 +0000)]
* include/shlobj.h (struct _browseinfo): UNICODE it.
(SHBrowseForFolder): Ditto.
(SHGetPathFromIDList): Ditto.

23 years agoAdd missing entry.
Christopher Faylor [Mon, 11 Jun 2001 18:20:53 +0000 (18:20 +0000)]
Add missing entry.

23 years ago * include/stdio.h (swscanf): Make first arugument const.
Earnie Boyd [Mon, 11 Jun 2001 18:13:15 +0000 (18:13 +0000)]
* include/stdio.h (swscanf): Make first arugument const.
* include/wchar.h (swscanf): Ditto.
* include/tchar.h (_tfopen): New _UNICODE define.
(_tgetenv): Ditto.
(_tsetlocale): Ditto.

23 years ago* pinfo.cc: Use autoloaded ToolHelp functions throughout for Win9x.
Christopher Faylor [Mon, 11 Jun 2001 17:57:10 +0000 (17:57 +0000)]
* pinfo.cc: Use autoloaded ToolHelp functions throughout for Win9x.
* autoload.cc: Autoload ToolHelp functions.

23 years ago * include/basetsd.h: RC_INVOKED protection and realignment.
Earnie Boyd [Mon, 11 Jun 2001 17:29:54 +0000 (17:29 +0000)]
* include/basetsd.h: RC_INVOKED protection and realignment.
Thanks to: Colin Peters <colinpeters@users.sourceforge.net>

23 years ago * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
Jonathan Larmour [Mon, 11 Jun 2001 17:21:18 +0000 (17:21 +0000)]
* libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
NULL pointer.

23 years ago* path.cc (chdir): Fix call to path_conv constructor so that it REALLY doesn't
Christopher Faylor [Mon, 11 Jun 2001 15:20:49 +0000 (15:20 +0000)]
* path.cc (chdir): Fix call to path_conv constructor so that it REALLY doesn't
check for the null/non-empty path.

23 years ago* path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.
Christopher Faylor [Mon, 11 Jun 2001 03:38:32 +0000 (03:38 +0000)]
* path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.
Set root_dir before invoking GetDriveType (from Kazuhiro Fujieda
<fujieda@jaist.ac.jp>).  Eliminate extra checks for rootdir.

23 years ago* path.cc (chdir): Pre-check path for validity before eating trailing space.
Christopher Faylor [Mon, 11 Jun 2001 00:24:28 +0000 (00:24 +0000)]
* path.cc (chdir): Pre-check path for validity before eating trailing space.
Then, ensure that path_conv doesn't check the path for validity again.

23 years ago* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last
Christopher Faylor [Sun, 10 Jun 2001 16:00:23 +0000 (16:00 +0000)]
* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last
operation or suffer races.
* sigproc.cc (proc_subproc): Deal with zombie array overflow.

23 years ago * cygwin.din: Add fchdir symbols.
Corinna Vinschen [Sun, 10 Jun 2001 10:00:21 +0000 (10:00 +0000)]
     * cygwin.din: Add fchdir symbols.
         * path.cc (chdir): Guard against invalid parameter.
         (fchdir): New function.
         * include/cygwin/version.h: Bump API minor version to 40.
         * uinfo.cc (internal_getlogin): Remove unused variable.

23 years ago * syscalls.cc (seteuid): Set environment variables USERNAME and
Corinna Vinschen [Sat, 9 Jun 2001 21:25:55 +0000 (21:25 +0000)]
    * syscalls.cc (seteuid): Set environment variables USERNAME and
        USERDOMAIN before impersonation to workaround a LookupAccountSid()
        misbehaviour.
        * uinfo.cc (internal_getlogin): Revert most of the previous change.
        Don't set environment variables USERNAME and USERDOMAIN. That's
        the job of seteuid() now. Try to get logon server from Lsa
        only if logon server isn't already known.

23 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
Alexandre Oliva [Fri, 8 Jun 2001 03:24:41 +0000 (03:24 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.

23 years ago* thread.cc (pthread_cond::Broadcast): Don't print error messages on invalid
Christopher Faylor [Thu, 7 Jun 2001 19:55:06 +0000 (19:55 +0000)]
* thread.cc (pthread_cond::Broadcast): Don't print error messages on invalid
mutexs - user programs are allowed to call pthread_cond_broadcast like that.
(__pthread_cond_timedwait): Initialise themutex properly.
(__pthread_cond_wait): Initialise themutex properly.

23 years ago * Makefile.in (bindist): Reassign value of exec_prefix on make command
Earnie Boyd [Wed, 6 Jun 2001 19:02:59 +0000 (19:02 +0000)]
* Makefile.in (bindist): Reassign value of exec_prefix on make command
line.

23 years ago * fhandler_console.cc (fhandler_console::dup): Allocate space for
Corinna Vinschen [Tue, 5 Jun 2001 17:59:46 +0000 (17:59 +0000)]
    * fhandler_console.cc (fhandler_console::dup): Allocate space for
        savebuf on Cygwin heap.
        (fhandler_console::char_command): Ditto. Use correct values for size.

23 years ago* security.h (NTWriteEA): Change prototype.
Egor Duda [Tue, 5 Jun 2001 10:45:52 +0000 (10:45 +0000)]
* security.h (NTWriteEA): Change prototype.
* ntea.cc (NTReadEA): Don't check for global ntea setting, now
it's caller responsibility.
(NTWriteEA): Ditto.
* security.cc (get_file_attribute): Read attribute from EA only
if 'ntea' is enabled.
(set_file_attribute): Ditto.
* path.h: (class path_conv): Add members to store file system
information.
(path_conv::get_drive_type): New function.
* syscalls.cc (stat_worker): Use it.
* path.cc (path_conv::update_fs_info): New functions.
(path_conv::check): Get file system information from device where
file resides. On NTFS, try to read symlink contents from EA.
(get_symlink_ea): New function.
(set_symlink_ea): Ditto.
(symlink): Store symlink in extended attribute, if possible.

23 years ago * fhandler.cc (fhandler_disk_file::fstat): Always reset file position
Corinna Vinschen [Tue, 5 Jun 2001 09:21:39 +0000 (09:21 +0000)]
    * fhandler.cc (fhandler_disk_file::fstat): Always reset file position
        to original value after checking for executable magic.

23 years ago * profile/Makefile.in (mkinstalldirs): Correct relative path.
Earnie Boyd [Mon, 4 Jun 2001 20:45:30 +0000 (20:45 +0000)]
* profile/Makefile.in (mkinstalldirs): Correct relative path.

23 years ago * include/_mingw.h: Change version to 1.0.
Earnie Boyd [Mon, 4 Jun 2001 20:01:10 +0000 (20:01 +0000)]
* include/_mingw.h: Change version to 1.0.
Makefile.in: Ditto.

23 years ago* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
Alexandre Oliva [Mon, 4 Jun 2001 19:33:12 +0000 (19:33 +0000)]
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.

23 years ago* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
Alexandre Oliva [Mon, 4 Jun 2001 19:25:10 +0000 (19:25 +0000)]
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.

23 years ago * cygheap.h (cygheap_user::cygheap_user): Initialize token to
Corinna Vinschen [Mon, 4 Jun 2001 14:29:54 +0000 (14:29 +0000)]
    * cygheap.h (cygheap_user::cygheap_user): Initialize token to
        INVALID_HANDLE_VALUE.
        * uinfo.cc (uinfo_init): Close token handle if needed.

23 years ago* path.cc (normalize_posix_path): Revert .. check removed by previous changes.
Christopher Faylor [Mon, 4 Jun 2001 01:28:09 +0000 (01:28 +0000)]
* path.cc (normalize_posix_path): Revert ..  check removed by previous changes.
* cygheap.h: Temporarily declare path_prefix_p here.

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