Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-07-31 19:19:18 +0400
committerChristopher Faylor <me@cgf.cx>2013-07-31 19:19:18 +0400
commit5213ca6f1c0696bcf6f719e424167525ae319b99 (patch)
treeca778f465e501b17fdb6d2d1e5e98e5cb33dcf4d
parent24557e9caaf23db2a642c7637f3c0df7c8bc9106 (diff)
* fhandler_tty.cc: Revert accidental checkin.
* update-copyright: Ditto.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_tty.cc5
-rwxr-xr-xwinsup/cygwin/update-copyright4
3 files changed, 8 insertions, 6 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 273861a58..f7a365514 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2013-07-31 Christopher Faylor <me.cygwin2013@cgf.cx>
+ * fhandler_tty.cc: Revert accidental checkin.
+ * update-copyright: Ditto.
+
+2013-07-31 Christopher Faylor <me.cygwin2013@cgf.cx>
+
* cygheap.cc (cmalloc): Use size_t for size field.
(cmalloc_abort): Ditto.
(crealloc): Ditto.
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index 5efbf4328..34c879503 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -96,7 +96,7 @@ fhandler_pty_common::__acquire_output_mutex (const char *fn, int ln,
{
if (strace.active ())
strace.prntf (_STRACE_TERMIOS, fn, "(%d): pty output_mutex (%p): waiting %d ms", ln, output_mutex, ms);
- if (0 && ms == INFINITE)
+ if (ms == INFINITE)
ms = 100;
DWORD res = WaitForSingleObject (output_mutex, ms);
if (res == WAIT_OBJECT_0)
@@ -145,9 +145,6 @@ fhandler_pty_common::__release_output_mutex (const char *fn, int ln)
void
fhandler_pty_master::doecho (const void *str, DWORD len)
{
- static char buf[128 * 1024];
- int buflen = process_slave_output (buf, sizeof (buf), false);
- puts_readahead (buf, buflen);
acquire_output_mutex (INFINITE);
if (!WriteFile (to_master, str, len, &len, NULL))
termios_printf ("Write to %p failed, %E", to_master);
diff --git a/winsup/cygwin/update-copyright b/winsup/cygwin/update-copyright
index 3677c6156..ad5eb2310 100755
--- a/winsup/cygwin/update-copyright
+++ b/winsup/cygwin/update-copyright
@@ -54,10 +54,10 @@ sub update_maybe($%) {
while (<>) {
if ($copyright) {
push @file, $_;
- } elsif (/^(?:dnl\s|.*"|[#\s]*)Copyright/o) {
+ } elsif (/^(?:dnl\s|[#\s]*)Copyright/o) {
$copyright = $_;
$copyright .= scalar <> while $copyright =~ /,\s*$/o;
- if ($copyright !~ /Red Hat, Inc\.(?: 1996\s*-\s*.*)?\n/so) {
+ if ($copyright !~ /Red Hat, Inc\.\n/o) {
push @file, $copyright;
next;
}