diff options
-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 |