]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
24 years ago* s/sourceware.cygnus.com/sources.redhat.com/ throughout
Frank Ch. Eigler [Fri, 28 Jul 2000 10:09:30 +0000 (10:09 +0000)]
* s/sourceware.cygnus.com/sources.redhat.com/ throughout
* added cgen/

24 years ago* include/cygwin/version.h: Bump DLL minor version number to 4.
Christopher Faylor [Fri, 28 Jul 2000 03:35:52 +0000 (03:35 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 4.

24 years ago* Makefile.in (FLAGS_FOR_TARGET): New macro.
Alexandre Oliva [Fri, 28 Jul 2000 02:10:36 +0000 (02:10 +0000)]
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define.  Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.

24 years agoRemove obsolete entries:
David Starks-Browning [Thu, 27 Jul 2000 22:06:27 +0000 (22:06 +0000)]
Remove obsolete entries:
 - 'Why is gcc failing'
 - 'Why can't bison find bison.simple or bison.hairy?'
Remove disclaimer from up-to-date entries (possibly with some minor changes):
 - 'How is fork() implemented?'
 - 'How do symbolic links work?'
 - 'How do I compile a Win32 executable that doesn't use Cygwin?'
 - 'How do I make the console window go away?'
 - 'Why does make complain about a "missing separator"?'
 - 'Why can't we redistribute Microsoft's Win32 headers?'
 - 'How can I debug what's going on?'
 - 'Can I use a system trace mechanism instead?'
 - 'Can I use the gdb debugger to debug programs built by VC++?'
 - 'Where can I find info on x86 assembly?'
 - 'Why not use DJGPP?'

24 years agoEntry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
David Starks-Browning [Thu, 27 Jul 2000 21:29:19 +0000 (21:29 +0000)]
Entry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
when unpacking tar.gz archives.

24 years agoEntry 'How should I set my PATH?': Don't omit Windows system directories.
David Starks-Browning [Thu, 27 Jul 2000 21:13:16 +0000 (21:13 +0000)]
Entry 'How should I set my PATH?':  Don't omit Windows system directories.

24 years agoAdded missing ChangeLog entry.
Corinna Vinschen [Thu, 27 Jul 2000 18:30:57 +0000 (18:30 +0000)]
Added missing ChangeLog entry.

24 years ago* testsuite/winsup.api/winsup.exp: ignore stdout by default
DJ Delorie [Thu, 27 Jul 2000 17:30:51 +0000 (17:30 +0000)]
* testsuite/winsup.api/winsup.exp: ignore stdout by default
* testsuite/winsup.api/crlf.c: non-verbose by default

* winsup.h: prune out windows headers we don't normally need
* assert.cc: add wingdi.h and winuser.h
* fhandler_console.cc: ditto
* fhandler_windows.cc: ditto
* select.cc: ditto
* spawn.cc: ditto
* strace.cc: ditto
* tty.cc: ditto
* window.cc: ditto
* hinfo.cc: add winsock.h
* syscalls.cc: add winnls.h
* uinfo.cc: ditto

* include/windows.h: optimize non-inclusion of repeat headers

24 years ago* libc/include/math.h: Use appropriate dll import linkage for Cygwin.
Christopher Faylor [Thu, 27 Jul 2000 14:49:09 +0000 (14:49 +0000)]
* libc/include/math.h: Use appropriate dll import linkage for Cygwin.

24 years ago* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeed
Christopher Faylor [Thu, 27 Jul 2000 14:26:03 +0000 (14:26 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeed
for files >= 2GB and <= 4GB.

24 years agoClarify texinfo/
Andrew Cagney [Thu, 27 Jul 2000 07:12:00 +0000 (07:12 +0000)]
Clarify texinfo/

24 years agofix typo.
Christopher Faylor [Thu, 27 Jul 2000 03:05:38 +0000 (03:05 +0000)]
fix typo.

24 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 26 Jul 2000 22:44:42 +0000 (22:44 +0000)]
2000-07-26  Dave Brolley  <brolley@redhat.com>

* cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned.

24 years agoGive signal_exit noreturn attribute.
Christopher Faylor [Wed, 26 Jul 2000 20:36:19 +0000 (20:36 +0000)]
Give signal_exit noreturn attribute.

24 years ago* exceptions.cc (signal_exit): Renamed from "really+exit". Always sets
Christopher Faylor [Wed, 26 Jul 2000 20:13:27 +0000 (20:13 +0000)]
* exceptions.cc (signal_exit): Renamed from "really+exit".  Always sets
EXIT_SIGNAL bit and reorganizes exit value for backwards cygwin handling.
(handle_exceptions): Call signal_exit.  Set "core dumped" bit.
(sig_handle): Call signal_exit.  Set "core dumped" bit appropriately.

24 years ago * environ.cc (posify): Revert previous patch.
Corinna Vinschen [Wed, 26 Jul 2000 18:51:14 +0000 (18:51 +0000)]
    * environ.cc (posify): Revert previous patch.
        (_addenv): Remove check_null_empty_path from here.
        (putenv): Call check_nullempty_path.
        (setenv): Call check_nullempty_path for name as well here.
        Don't report an error if value is empty string.
        (environ_init): Revert usage of newp.

24 years ago* syscalls.cc (stat_worker): Make stat return correct st_blocks for files with
Christopher Faylor [Wed, 26 Jul 2000 17:48:49 +0000 (17:48 +0000)]
* syscalls.cc (stat_worker): Make stat return correct st_blocks for files with
size bigger than 2Gb and less than 4Gb

24 years ago * security.cc (lookup_name): Search on local machine first if
Corinna Vinschen [Wed, 26 Jul 2000 15:44:58 +0000 (15:44 +0000)]
    * security.cc (lookup_name): Search on local machine first if
        myself->domain is not empty.

24 years ago* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
Christopher Faylor [Wed, 26 Jul 2000 13:59:23 +0000 (13:59 +0000)]
* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
it visible while waiting in WaitForMultipleObjects.

24 years agoAdd missing ChangeLog entry.
Christopher Faylor [Wed, 26 Jul 2000 13:42:01 +0000 (13:42 +0000)]
Add missing ChangeLog entry.

24 years ago * passwd.cc: Change name of passwd_in_memory_p to passwd_state.
Corinna Vinschen [Wed, 26 Jul 2000 11:48:38 +0000 (11:48 +0000)]
    * passwd.cc: Change name of passwd_in_memory_p to passwd_state.
        Change type to enum. Change storage class to static. Adjust comments.
        (read_etc_passwd): Set passwd_state to different values when loaded
        from file in contrast to being emulated.
        (search_for): Return default passwd entry if passwd is emulated or
        it's a request for the current user. Otherwise return NULL.

24 years ago* syscalls.cc (statfs): Use path_conv method to convert input path.
Christopher Faylor [Wed, 26 Jul 2000 01:56:48 +0000 (01:56 +0000)]
* syscalls.cc (statfs): Use path_conv method to convert input path.

24 years ago* syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path.
Christopher Faylor [Wed, 26 Jul 2000 01:44:16 +0000 (01:44 +0000)]
* syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path.

24 years agoNew entry (Programming Questions): 'Why doesn't gdb handle signals?'
David Starks-Browning [Tue, 25 Jul 2000 21:35:08 +0000 (21:35 +0000)]
New entry (Programming Questions):  'Why doesn't gdb handle signals?'

24 years agoEntry 'Is the Cygwin library multi-thread-safe?': Update for latest release.
David Starks-Browning [Tue, 25 Jul 2000 21:16:44 +0000 (21:16 +0000)]
Entry 'Is the Cygwin library multi-thread-safe?':  Update for latest release.

24 years agoEntry 'Are mixed-case filenames possible with Cygwin?': Expand slightly,
David Starks-Browning [Tue, 25 Jul 2000 20:49:59 +0000 (20:49 +0000)]
Entry 'Are mixed-case filenames possible with Cygwin?':  Expand slightly,
add reference to coolview.

24 years agoNew entry (Cygwin API Questions): 'Is there a mouse interface?' -- No.
David Starks-Browning [Tue, 25 Jul 2000 20:13:38 +0000 (20:13 +0000)]
New entry (Cygwin API Questions): 'Is there a mouse interface?' -- No.

24 years agoEntry 'Can I use my own malloc?': Add warning about _malloc_r from newlib.
David Starks-Browning [Tue, 25 Jul 2000 19:50:31 +0000 (19:50 +0000)]
Entry 'Can I use my own malloc?':  Add warning about _malloc_r from newlib.

24 years agoEntry 'Is it OK to have multiple copies of the DLL?':
David Starks-Browning [Tue, 25 Jul 2000 19:17:31 +0000 (19:17 +0000)]
Entry 'Is it OK to have multiple copies of the DLL?':
Emphasise that no, it's not OK.

24 years agoChanged 'sourceware.cygnus.com' to 'sources.redhat.com' in the FAQ, where appropriate.
David Starks-Browning [Tue, 25 Jul 2000 19:00:29 +0000 (19:00 +0000)]
Changed 'sourceware.cygnus.com' to 'sources.redhat.com' in the FAQ, where appropriate.

24 years ago * syscalls.cc (_link): Corrected previous patch.
Corinna Vinschen [Mon, 24 Jul 2000 19:14:38 +0000 (19:14 +0000)]
    * syscalls.cc (_link): Corrected previous patch.

24 years ago * fhandler.h (class fhandler_dev_random): Add members for managing
Corinna Vinschen [Mon, 24 Jul 2000 11:33:02 +0000 (11:33 +0000)]
    * fhandler.h (class fhandler_dev_random): Add members for managing
        pseudo randomness.
        * fhandler_random.cc: Rearrange. Use pseudo random number generator
        as entropy source if system entropy isn't available and if device is
        used as /dev/urandom. Allow initializing device by calling write().

24 years ago* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
Alexandre Oliva [Mon, 24 Jul 2000 04:34:56 +0000 (04:34 +0000)]
* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
(configure-target-libchill, configure-target-libobjc): Likewise.

24 years ago* configure.in: Use the same cache file for all target libs.
Alexandre Oliva [Mon, 24 Jul 2000 04:34:08 +0000 (04:34 +0000)]
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.

24 years ago * fhandler.h: Add comment.
Corinna Vinschen [Sun, 23 Jul 2000 21:13:05 +0000 (21:13 +0000)]
    * fhandler.h: Add comment.

24 years ago * fhandler.h (class fhandler_dev_raw): Add private member `varblkop'
Corinna Vinschen [Sun, 23 Jul 2000 19:33:44 +0000 (19:33 +0000)]
    * fhandler.h (class fhandler_dev_raw): Add private member `varblkop'
        to be set when variable blocksize mode is on.
        * fhandler_raw.cc: Eliminate `\n' from trace output.
        (clear): Set `varblkop' to 0.
        (dup): Copy varblkop as well.
        (writebuf): Care for variable blocksize.
        (open): Ditto.
        (raw_read): Ditto.
        (raw_write): Ditto.
        * fhandler_tape.cc (open): Ditto.
        (ioctl): Ditto. Some cleanups.

24 years ago * configure (topsrcdir): Don't use dirname.
Jeff Law [Sun, 23 Jul 2000 17:42:34 +0000 (17:42 +0000)]
* configure (topsrcdir): Don't use dirname.

24 years ago Patch suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.
Corinna Vinschen [Sat, 22 Jul 2000 16:43:54 +0000 (16:43 +0000)]
    Patch suggested by Kazuhiro Fujieda  <fujieda@jaist.ac.jp>.
        * winsup.h: Add new macros sys_wcstombs and sys_mbstowcs.
        * syscalls.cc (_link): Replace calls to mbstowcs by call to
        sys_mbstowcs.
        * uinfo.cc (internal_getlogin): Replace calls to wcstombs and
        mbstowcs by calls to sys_wcstombs and sys_mbstowcs. Replace
        usage of constants by meaningful defines. Use result of
        GetSystemDirectory for HOMEPATH and HOMEDRIVE as a last resort.

24 years agomerge with gcc
Jason Merrill [Sat, 22 Jul 2000 08:20:10 +0000 (08:20 +0000)]
merge with gcc

24 years ago * spawn.cc (span_guts): Retrieve security attributes before setting
Corinna Vinschen [Fri, 21 Jul 2000 19:34:35 +0000 (19:34 +0000)]
    * spawn.cc (span_guts): Retrieve security attributes before setting
        psid to NULL.

24 years ago * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and
Corinna Vinschen [Fri, 21 Jul 2000 10:11:57 +0000 (10:11 +0000)]
    * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and
        LPTOKEN_SOURCE.

24 years ago * security.cc (acl_worker): Use stat_suffixes in call to path_conv
Corinna Vinschen [Fri, 21 Jul 2000 10:06:13 +0000 (10:06 +0000)]
    * security.cc (acl_worker): Use stat_suffixes in call to path_conv
        just as in `stat_worker'.

24 years agomerge with gcc
Jason Merrill [Fri, 21 Jul 2000 05:45:22 +0000 (05:45 +0000)]
merge with gcc

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 21:19:33 +0000 (21:19 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* bfdlink.h (bfd_link_info): Add new_dtags.

24 years agomerge with gcc
Jason Merrill [Thu, 20 Jul 2000 18:55:35 +0000 (18:55 +0000)]
merge with gcc

24 years ago * config.sub: Update to subversions version 2000-07-06.
Hans-Peter Nilsson [Thu, 20 Jul 2000 18:03:17 +0000 (18:03 +0000)]
* config.sub: Update to subversions version 2000-07-06.

24 years ago common.h (EM_CRIS): New machine number.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:44:56 +0000 (15:44 +0000)]
common.h (EM_CRIS): New machine number.
cris.h: New file.

24 years ago cris.h: New file.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:39:41 +0000 (15:39 +0000)]
cris.h: New file.

24 years ago * dis-asm.h (print_insn_cris): Declare.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:36:12 +0000 (15:36 +0000)]
* dis-asm.h (print_insn_cris): Declare.

24 years ago * ntsec.sgml: Add description for the new setuid ability
Corinna Vinschen [Thu, 20 Jul 2000 11:04:33 +0000 (11:04 +0000)]
    * ntsec.sgml: Add description for the new setuid ability
        of Cygwin since release 1.1.3.
        * overview2.sgml: Add description for new chroot functionality.
        * calls.texinfo: Add missing calls. Change comments for
        setuid, setgid, seteuid, setegid, chroot.

24 years ago2000-07-19 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 20 Jul 2000 03:23:03 +0000 (03:23 +0000)]
2000-07-19  H.J. Lu  (hjl@gnu.org)

* bfdlink.h (bfd_link_info): Add flags and flags_1.

24 years ago * spawn.cc (spawn_guts): Don't restore impersonation in case
Corinna Vinschen [Wed, 19 Jul 2000 20:27:27 +0000 (20:27 +0000)]
    * spawn.cc (spawn_guts): Don't restore impersonation in case
        of _P_OVERLAY. Clean up slightly. Accomodate comments.

24 years ago * shared.h (class pinfo): New members `root' and `rootlen'.
Corinna Vinschen [Wed, 19 Jul 2000 20:14:24 +0000 (20:14 +0000)]
    * shared.h (class pinfo): New members `root' and `rootlen'.
        * syscalls.cc (chroot): Set new root for process.
        * path.cc (getcwd_inner): Add parameter to force use of
        new root from chroot() call.
        (ischrootpath): New macro.
        (normalize_posix_path): Care for changed root dir.
        (normalize_win32_path): Ditto.
        (getcwd_inner): Ditto.
        (chdir): Eliminate trailing path component consisting
        entirely of dots.
        * fork.cc (fork): Copy pinfo members regarding chroot().
        * spawn.cc (_spawnve): Ditto.
        * dir.cc (opendir): Don't use computed win32 path if
        chroot() took place.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:43:35 +0000 (18:43 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:22:41 +0000 (18:22 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DT_CHECKSUM): Set to 0x6ffffdf8.
(DTF_1_CONFEXP): It is 0x00000002 as suspected.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:02:31 +0000 (18:02 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DT_FEATURE): Renamed from DT_FEATURE_1.
(DT_CONFIG): New. From Solaris 8.
(DT_DEPAUDIT): Likewise.
(DT_AUDIT): Likewise.
(DT_PLTPAD): Likewise.
(DT_MOVETAB): Likewise.
(DF_1_NODEPLIB): Likewise.
(DF_1_NODUMP): Likewise.
(DF_1_CONLFAT): Likewise.
(DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8.
(DTF_1_CONFEXP): Likewise.

24 years agoUpdate copyright info.
Christopher Faylor [Wed, 19 Jul 2000 17:42:16 +0000 (17:42 +0000)]
Update copyright info.

24 years ago2000-07-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 00:33:45 +0000 (00:33 +0000)]
2000-07-18  H.J. Lu  <hjl@gnu.org>

* common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS.

24 years ago* dll_init.cc (dll_list::alloc): Fix debugging output.
Christopher Faylor [Tue, 18 Jul 2000 02:26:46 +0000 (02:26 +0000)]
* dll_init.cc (dll_list::alloc): Fix debugging output.

24 years agoUpdate ChangeLog.
Christopher Faylor [Tue, 18 Jul 2000 00:12:10 +0000 (00:12 +0000)]
Update ChangeLog.

24 years agoThroughout, eliminate third argument to path_conv and use new PC_* constants
Christopher Faylor [Mon, 17 Jul 2000 19:18:21 +0000 (19:18 +0000)]
Throughout, eliminate third argument to path_conv and use new PC_* constants
for second argument.
* path.h: Generalize SYMLINK_* constants to PC_*.
(path_conv): Create a new method.  Fold third argument into second.
* dll_init.cc (dll_list::alloc): Try harder to find space to allocate dll
struct.
(dll_dllcrt0): Don't check sanity if we've already called dll_crt0.
* path.cc (path_conv::check): Don't check for a null or empty path unless
specifically told with a flag setting.
(check_null_empty_path): New function, adapted from macro.
* syscalls.cc (_rename): Use already-determined file attributes rather than
checking again.
* lib/cygwin/cygwin_attach.dll.c (cygwin_attach_dll): Use a static per_process
structure since this is apparently supposed to be zeroed.
* lib/cygwin_crt0.c (cygwin_crt0): Zero per_process structure sent to older
DLLs.

24 years ago Patch suggested by Eric Fifer <EFifer@sanwaint.com>
Corinna Vinschen [Mon, 17 Jul 2000 17:42:00 +0000 (17:42 +0000)]
    Patch suggested by Eric Fifer <EFifer@sanwaint.com>
        * poll.cc (poll): Fix erroneous negations.

24 years ago * environ.cc (setenv): Use __cygwin_environ instead of
Corinna Vinschen [Mon, 17 Jul 2000 15:59:27 +0000 (15:59 +0000)]
    * environ.cc (setenv): Use __cygwin_environ instead of
        environ after reallocating environment space.

24 years ago* _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.
Christopher Faylor [Mon, 17 Jul 2000 00:24:56 +0000 (00:24 +0000)]
* _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.

24 years ago* environ.cc: Use new definition of "environ" throughout.
Christopher Faylor [Sun, 16 Jul 2000 20:06:11 +0000 (20:06 +0000)]
* environ.cc: Use new definition of "environ" throughout.
(environ_init): Explicitly initialize __cygwin_environ.
(cur_environ): New function.  Detects when user has updated their environment.
* exec.cc: Use 'environ' define throughout rather than __cygwin_environ.
* spawn.cc: Ditto.
* winsup.h: Declare cur_environ, main_environ, environ.

24 years ago* acconfig.h: Add support for NEWVFORK.
Christopher Faylor [Sun, 16 Jul 2000 17:38:41 +0000 (17:38 +0000)]
* acconfig.h: Add support for NEWVFORK.
* config.h.in: Ditto.
* configure.in: Add --enable-vfork option.
* configure: Regenerate.
* dcrt0.cc (quoted): Detect and fix up quoted backslashes.
* sigproc.cc (proc_subproc): Correctly name handle of newly added child process
to avoid erroneous debugging messages about closing the wrong handle.

24 years ago* spawn.cc (spawn_guts): Use \ for quoting '"'.
Christopher Faylor [Sun, 16 Jul 2000 06:31:06 +0000 (06:31 +0000)]
* spawn.cc (spawn_guts): Use \ for quoting '"'.
* dcrt0.cc (quoted): Understand \ quoting for '"'.

24 years agoSlightly more efficient version of previous change.
Christopher Faylor [Sun, 16 Jul 2000 04:37:43 +0000 (04:37 +0000)]
Slightly more efficient version of previous change.

24 years ago* dcrt0.cc (build_argv): Strip quotes from argv[0] since it should never be
Christopher Faylor [Sun, 16 Jul 2000 04:34:05 +0000 (04:34 +0000)]
* dcrt0.cc (build_argv): Strip quotes from argv[0] since it should never be
globified.

24 years agoUpdate comments.
Christopher Faylor [Sun, 16 Jul 2000 04:10:33 +0000 (04:10 +0000)]
Update comments.

24 years ago* dll_init.cc (dll_list::alloc): Round correctly. Use VirtualAlloc since
Christopher Faylor [Sat, 15 Jul 2000 04:36:10 +0000 (04:36 +0000)]
* dll_init.cc (dll_list::alloc): Round correctly.  Use VirtualAlloc since
shared file mapping is unnecessary.
(dll_list::detach): Release memory via VirtualFree since there we no longer use
shared file mapping.

24 years ago* hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can
Christopher Faylor [Sat, 15 Jul 2000 02:48:11 +0000 (02:48 +0000)]
* hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can
detect when there are no fds to pass.
* dcrt0.cc (host_dependent_constants::init): Revert Sat Mar 18 01:32:04 2000
change.
(dll_crt0_1): Set "cygwin_finished_initializing" flag.
(dll_crt0): Don't perform memcpy if uptr is already set to internal structure.
(_dll_crt0): Remember location of programs envptr.
* dll_init.h (per_module, dll, dll_list): Revamp.
* dll_init.cc: Revamp.  Use new classes.
* fork.cc (fork): Use new revamped dll, dll_list, and per_module stuff.
* environ.cc: Use __cygwin_environ throughout rather than the
user_data->envptr.
* exec.cc: Ditto.
* spawn.cc: Ditto.
* winsup.h: Declare update_envptrs, cygwin_finished_initializing.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Revert previous change.
* lib/cygwin_attach_dll.cc (cygwin_attach_dll): Always pass in own per_process
structure or we end up overwriting information from the main program.

24 years ago * mount.cc (mount_already_exists): Slightly rearrange.
Corinna Vinschen [Thu, 13 Jul 2000 21:49:36 +0000 (21:49 +0000)]
    * mount.cc (mount_already_exists): Slightly rearrange.
        Change message texts.

24 years ago* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
DJ Delorie [Thu, 13 Jul 2000 18:51:11 +0000 (18:51 +0000)]
* libc/stdio/vfprintf.c: pad 0.0 correctly with %e

24 years ago * mount.cc (mount_already_exists): Additional warning message
Corinna Vinschen [Thu, 13 Jul 2000 11:09:53 +0000 (11:09 +0000)]
    * mount.cc (mount_already_exists): Additional warning message
        if mount point exists with another mount type.

24 years agoUpdate comment.
Alan Modra [Wed, 12 Jul 2000 11:54:35 +0000 (11:54 +0000)]
Update comment.

24 years ago* debug.cc (thread_stub): Use impure_ptr in place of reent_data.
Christopher Faylor [Wed, 12 Jul 2000 04:49:07 +0000 (04:49 +0000)]
* debug.cc (thread_stub): Use impure_ptr in place of reent_data.
* dll_init.cc (dll_dllcrt0): Replace erroneous use of local symbol with correct
__cygwin_user_data->impure_ptr.

24 years ago* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Don't reset environ if
Christopher Faylor [Wed, 12 Jul 2000 04:02:45 +0000 (04:02 +0000)]
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Don't reset environ if
already set.

24 years ago* include/shlobj.h: add CSIDL_COMMON_*
DJ Delorie [Tue, 11 Jul 2000 17:33:48 +0000 (17:33 +0000)]
* include/shlobj.h: add CSIDL_COMMON_*

24 years ago* fhandler_console.cc (fhandler_console::read): Unicode interface to
Christopher Faylor [Mon, 10 Jul 2000 23:08:45 +0000 (23:08 +0000)]
* fhandler_console.cc (fhandler_console::read): Unicode interface to
ReadConsoleInput only exists on W2K, so use workaround from Kazuhiro Fujieda
<fujieda@jaist.ac.jp>.

24 years agoComment the relocs.
Alan Modra [Mon, 10 Jul 2000 15:34:31 +0000 (15:34 +0000)]
Comment the relocs.

24 years agoAdd missing text.
Christopher Faylor [Mon, 10 Jul 2000 15:31:46 +0000 (15:31 +0000)]
Add missing text.

24 years ago* Makefile.in (install): Install textmode.o as well as binmode.o.
Christopher Faylor [Mon, 10 Jul 2000 15:30:04 +0000 (15:30 +0000)]
* Makefile.in (install): Install textmode.o as well as binmode.o.

24 years ago * spawn.cc (spawn_guts): Close handle `hToken' only if it's not
Corinna Vinschen [Sun, 9 Jul 2000 21:02:44 +0000 (21:02 +0000)]
    * spawn.cc (spawn_guts): Close handle `hToken' only if it's not
        copied from myself->token.
        * syscalls.cc (seteuid): Replace CopySid by memcpy which is foolproof
        here.

24 years agoSlight optimization.
Christopher Faylor [Sun, 9 Jul 2000 16:21:55 +0000 (16:21 +0000)]
Slight optimization.

24 years ago* cygwin.din: Export _getmode and getmode to allow querying of binary state of
Christopher Faylor [Sun, 9 Jul 2000 05:29:51 +0000 (05:29 +0000)]
* cygwin.din: Export _getmode and getmode to allow querying of binary state of
an fd.
* external.cc (cygwin_internal): Add handling of perfile_table setting.
* fhandler.cc (perfile_table): New global.
(fhandler_base::get_default_fmode): New method to return a file's default mode
based on its name.
(fhandler_base::open): Use get_default_mode method to determine a file's mode.
Record file mode in file flags.
* fhandler.h (fhandler_base): Declare get_default_fmode
* syscalls.cc (getmode): New function.
* sys/cygwin.h (__cygwin_perfile): New structure.
(cygwin_getinfo_types): Move outside of WINVER conditional.
(per_process): Move inside of WINVER conditional.

24 years ago* external.cc (cygwin_internal): Export __cygwin_user_data.
Christopher Faylor [Sat, 8 Jul 2000 04:36:27 +0000 (04:36 +0000)]
* external.cc (cygwin_internal): Export __cygwin_user_data.
* include/sys/cygwin.h: Allow definition of per_process even when not compiling
with C++.
(cygwin_getinfo_types): Add CW_USER_DATA.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Get __cygwin_user_data
pointer from cygwin_internal.  If it doesn't exist, return failure.  Use either
this pointer or passed in pointer throughout.  Clear forkee.
* lib/crt0.h: Accomodate argument changes to _cygwin_crt0_common.
* lib/cygwin_attach_dll.c (cygwin_attach_dll): Reorganize to allow use of newer
binaries with older DLLs.  Detect older DLLs when _cygwin_crt0_common returns 0
and allocate space for a per_process structure on the stack.
* lib/cygwin_crt0.c (cygwin_crt0): Ditto.

24 years ago * symlink-tree: Check number of arguments.
Jeff Law [Fri, 7 Jul 2000 13:21:39 +0000 (13:21 +0000)]
    * symlink-tree:  Check number of arguments.

24 years ago * include/sys/cygwin.h: Hide internal data types in per_process
Corinna Vinschen [Fri, 7 Jul 2000 08:35:31 +0000 (08:35 +0000)]
    * include/sys/cygwin.h: Hide internal data types in per_process
        when not __INSIDE_CYGWIN__.

24 years agoUpdate texinfo.tex to version 2000-05-28.15.
Andrew Cagney [Thu, 6 Jul 2000 05:39:36 +0000 (05:39 +0000)]
Update texinfo.tex to version 2000-05-28.15.

24 years ago* dcrt0.cc (__cygwin_user_data): Initialize.
Christopher Faylor [Wed, 5 Jul 2000 23:46:44 +0000 (23:46 +0000)]
* dcrt0.cc (__cygwin_user_data): Initialize.
(dll_crt0_1): Eliminate user_data initialization.
(dll_crt0): Set up impure_ptr_ptr for older executables.
(cygwin_dll_init): Eliminate user_data initializations.
(__api_fatal): Don't check for user_data initialization.
* dll_init.cc (struct dll): Store entire contents of per_process rather than
just a pointer.
(add): Ditto.
(initOneDll): Don't check for user_data initialization.
(DllList::recordDll): Store contents of per_process argument.
(DllList::detachDll): Pass address of per_process field.
(DllList::initAll): Ditto.
(DllList::doGlobalDestructorsOfDlls): Ditto.
(DllListIterator::operator *): Ditto.
(dll_dllcrt0): Default to __cygwin_user_data if arg is NULL.
* include/sys/cygwin.h: Reorganize per_process to eliminate obsolete fields and
accomodate new way of initializing.
* lib/_cygwin_crt0_common: Initialize _impure_ptr from
__cygwin_user_data.impure_ptr.

24 years agoadd MAINTAINERS files
DJ Delorie [Wed, 5 Jul 2000 19:28:05 +0000 (19:28 +0000)]
add MAINTAINERS files

24 years ago* exceptions.cc (try_to_debug): Prevent recursive spawning of JIT debugger.
Christopher Faylor [Tue, 4 Jul 2000 19:07:35 +0000 (19:07 +0000)]
* exceptions.cc (try_to_debug): Prevent recursive spawning of JIT debugger.
Treat special event from debugger as command to continue.

24 years ago * poll.cc (poll): Zero out `open_fds' as well.
Corinna Vinschen [Tue, 4 Jul 2000 17:36:44 +0000 (17:36 +0000)]
    * poll.cc (poll): Zero out `open_fds' as well.

24 years ago * include/cygwin/version.h: Bump API minor version to 24.
Corinna Vinschen [Tue, 4 Jul 2000 17:25:11 +0000 (17:25 +0000)]
    * include/cygwin/version.h: Bump API minor version to 24.

24 years ago * security.cc (read_sd): Eliminate OemToChar.
Corinna Vinschen [Tue, 4 Jul 2000 17:03:52 +0000 (17:03 +0000)]
    * security.cc (read_sd): Eliminate OemToChar.

24 years ago * poll.cc: New file. Implement `poll' system call.
Corinna Vinschen [Tue, 4 Jul 2000 16:58:49 +0000 (16:58 +0000)]
    * poll.cc: New file. Implement `poll' system call.
        * include/poll.h: Ditto.
        * include/sys/poll.h: Ditto.
        * Makefile.in: Add poll.o as dependency.
        * cygwin.din: Add poll and _poll symbols.

24 years ago"Posting Guidelines": New name for old entry.
David Starks-Browning [Tue, 4 Jul 2000 16:17:57 +0000 (16:17 +0000)]
"Posting Guidelines":  New name for old entry.
"Multiple copies of DLL":  shared region corrupt error message.
"Why the weird directory structure": re-wrote for latest.
"Symlinks on Samba": fix typo.
"Where is glibc": new entry.
"HT build relocatable dll": (interim update) link to Carl Thompson's message in cygwin list.
"Can I mix msvc++ and gcc objects": remove disclaimer.

24 years ago"Contents": Add package opengl.
David Starks-Browning [Tue, 4 Jul 2000 16:10:32 +0000 (16:10 +0000)]
"Contents":  Add package opengl.

24 years ago* dcrt0.cc (dll_crt0_1): Eliminate SetFileApisToOEM and CharToOem.
Christopher Faylor [Tue, 4 Jul 2000 02:26:20 +0000 (02:26 +0000)]
* dcrt0.cc (dll_crt0_1): Eliminate SetFileApisToOEM and CharToOem.
* (dummy_autoload): Add functions used in fhandler_console.
* fhandler_console.cc (fhandler_console::read): Use ENCHANCED_KEY flag to
distinguish extended keys.  Translate an input character from the OEM code page
to the ANSI code page.
* (fhandler_console::write_normal): Translate output characters from the ANSI
code page to the OEM code page.
* syscalls.cc (_link): Use MultiByteToWideChar instead of OemToCharW.

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