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:
Diffstat (limited to 'newlib/libc/stdio/puts.c')
-rw-r--r--newlib/libc/stdio/puts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/stdio/puts.c b/newlib/libc/stdio/puts.c
index 20d889b81..d24022b4b 100644
--- a/newlib/libc/stdio/puts.c
+++ b/newlib/libc/stdio/puts.c
@@ -102,8 +102,6 @@ _puts_r (struct _reent *ptr,
fp = _stdout_r (ptr);
CHECK_INIT (ptr, fp);
_newlib_flockfile_start (fp);
- if (ORIENT (fp, -1) != -1)
- goto err;
/* Make sure we can write. */
if (cantwrite (ptr, fp))
goto err;