aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-27 07:36:16 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-27 07:36:16 +0000
commit9202ffe33c1e7205868238ebd15247597d67015a (patch)
tree3dfc0f82eac98a5fb3d8ada6e719588ad3f68c33 /libio
parent30e0f9c39978e52aefbcc54ef69efb439ea20ff5 (diff)
downloadglibc-9202ffe33c1e7205868238ebd15247597d67015a.tar
glibc-9202ffe33c1e7205868238ebd15247597d67015a.tar.gz
glibc-9202ffe33c1e7205868238ebd15247597d67015a.tar.bz2
glibc-9202ffe33c1e7205868238ebd15247597d67015a.zip
Update.
* libio/genops.c (_IO_default_xsputn): Little optimization. Call _IO_OVERFLOW directly instead through __overflow.
Diffstat (limited to 'libio')
-rw-r--r--libio/genops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/genops.c b/libio/genops.c
index a8fce5fa77..c59518143f 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997-1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@ -420,7 +420,7 @@ _IO_default_xsputn (f, data, n)
}
more -= count;
}
- if (more == 0 || __overflow (f, (unsigned char) *s++) == EOF)
+ if (more == 0 || _IO_OVERFLOW (f, (unsigned char) *s++) == EOF)
break;
more--;
}