diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-02-20 22:01:46 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-02-20 22:01:46 +0200 |
commit | 5db38f775d9ba239e125d81dff2010a2ddacb48e (patch) | |
tree | ee821ef45dcfb228be40512bc871d48452232bfe | |
parent | 4ce031ad3c3d157a425f721688a09a7dde018619 (diff) | |
download | egawk-5db38f775d9ba239e125d81dff2010a2ddacb48e.tar.gz egawk-5db38f775d9ba239e125d81dff2010a2ddacb48e.tar.bz2 egawk-5db38f775d9ba239e125d81dff2010a2ddacb48e.zip |
Update posix/gawkmisc.c - remove cygwin code.
-rw-r--r-- | posix/ChangeLog | 5 | ||||
-rw-r--r-- | posix/gawkmisc.c | 19 |
2 files changed, 5 insertions, 19 deletions
diff --git a/posix/ChangeLog b/posix/ChangeLog index cd1a2f68..ec37e1fb 100644 --- a/posix/ChangeLog +++ b/posix/ChangeLog @@ -1,3 +1,8 @@ +2017-02-20 Corinna Vinschen <vinschen@redhat.com> + + * gawkmisc.c (cygwin_premain0, cygwin_premain2): Remove. + No longer needed. + 2016-10-23 Arnold D. Robbins <arnold@skeeve.com> * General: Remove trailing whitespace from all relevant files. diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c index 40950826..ecf5aff9 100644 --- a/posix/gawkmisc.c +++ b/posix/gawkmisc.c @@ -289,22 +289,3 @@ void init_sockets(void) { } - -#ifdef __CYGWIN__ -void -cygwin_premain0(int argc, char **argv, struct per_process *myself) -{ - static struct __cygwin_perfile pf[] = { - { "", O_RDONLY | O_TEXT }, - /*{ "", O_WRONLY | O_BINARY },*/ - { NULL, 0 } - }; - cygwin_internal(CW_PERFILE, pf); -} - -void -cygwin_premain2(int argc, char **argv, struct per_process *myself) -{ - setmode(fileno (stdin), O_TEXT); -} -#endif |