mirror of git://sourceware.org/git/glibc.git
Update.
* libio/genops.c (_IO_default_xsputn): Little optimization. Call _IO_OVERFLOW directly instead through __overflow.
This commit is contained in:
parent
30e0f9c399
commit
9202ffe33c
|
|
@ -1,5 +1,8 @@
|
||||||
2000-03-26 Ulrich Drepper <drepper@redhat.com>
|
2000-03-26 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* libio/genops.c (_IO_default_xsputn): Little optimization. Call
|
||||||
|
_IO_OVERFLOW directly instead through __overflow.
|
||||||
|
|
||||||
* locale/programs/localedef.c (construct_output_path): If path
|
* locale/programs/localedef.c (construct_output_path): If path
|
||||||
contains a / compute the end of the directory name correctly.
|
contains a / compute the end of the directory name correctly.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 file is part of the GNU IO Library.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
|
|
@ -420,7 +420,7 @@ _IO_default_xsputn (f, data, n)
|
||||||
}
|
}
|
||||||
more -= count;
|
more -= count;
|
||||||
}
|
}
|
||||||
if (more == 0 || __overflow (f, (unsigned char) *s++) == EOF)
|
if (more == 0 || _IO_OVERFLOW (f, (unsigned char) *s++) == EOF)
|
||||||
break;
|
break;
|
||||||
more--;
|
more--;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue