* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding

an archive doesn't work the way we want it to.
This commit is contained in:
Christopher Faylor 2001-11-26 20:20:42 +00:00
parent c74b8922ae
commit 94c0e197f0
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-11-26 Christopher Faylor <cgf@redhat.com>
* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since
adding an archive doesn't work the way we want it to.
2001-11-24 Christopher Faylor <cgf@redhat.com>
* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reporting

View File

@ -198,7 +198,7 @@ new-$(DLL_NAME): $(LDSCRIPT) $(DLL_OFILES) $(DEF_FILE) $(DLL_IMPORTS) $(LIBC) $(
@rm -f stamp-cygwin-lib
$(LIB_NAME): new-$(DLL_NAME) $(LIBCOS) stamp-cygwin-lib
$(AR) rcv $(LIB_NAME) $(LIBCOS) cygdll.a
(echo create $(LIB_NAME); echo addlib cygdll.a; echo addmod $(LIBCOS); echo save) | $(AR) -M
stamp-cygwin-lib:
@touch stamp-cygwin-lib

View File

@ -585,6 +585,11 @@ fhandler_console::open (path_conv *, int flags, mode_t)
cflags |= ENABLE_PROCESSED_INPUT;
SetConsoleMode (get_io_handle (), ENABLE_WINDOW_INPUT | ENABLE_MOUSE_INPUT | cflags);
}
if (GetConsoleMode (get_output_handle (), &cflags))
{
cflags |= ENABLE_PROCESSED_OUTPUT;
SetConsoleMode (get_io_handle (), cflags);
}
TTYCLEARF (RSTCONS);
set_open_status ();