diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-02-21 06:14:00 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-02-21 06:14:00 +0200 |
commit | 47fc30bb2837ee79aea535d2c34cbea6ba01643b (patch) | |
tree | b3827194384205be8fcb192710d6b42f140167d1 | |
parent | 81d1407331ba872f18d47f16de8339c510ed1008 (diff) | |
parent | 5db38f775d9ba239e125d81dff2010a2ddacb48e (diff) | |
download | egawk-47fc30bb2837ee79aea535d2c34cbea6ba01643b.tar.gz egawk-47fc30bb2837ee79aea535d2c34cbea6ba01643b.tar.bz2 egawk-47fc30bb2837ee79aea535d2c34cbea6ba01643b.zip |
Merge branch 'master' into feature/api-mpfr
-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 |