projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize so that stream can be wide oriented.
[kopensolaris-gnu/glibc.git]
/
libio
/
obprintf.c
diff --git
a/libio/obprintf.c
b/libio/obprintf.c
index
0e947b2
..
29e09d4
100644
(file)
--- a/
libio/obprintf.c
+++ b/
libio/obprintf.c
@@
-127,11
+127,11
@@
_IO_obstack_vprintf (struct obstack *obstack, const char *format, va_list args)
new_f.ofile.file.file._lock = &new_f.lock;
#endif
new_f.ofile.file.file._lock = &new_f.lock;
#endif
- _IO_
init (&new_f.ofile.file.file, 0
);
- _IO_JUMPS (&new_f.ofile.file
.file
) = &_IO_obstack_jumps;
+ _IO_
no_init (&new_f.ofile.file.file, 0, -1, NULL, NULL
);
+ _IO_JUMPS (&new_f.ofile.file) = &_IO_obstack_jumps;
_IO_str_init_static (&new_f.ofile.file.file, obstack_base (obstack),
_IO_str_init_static (&new_f.ofile.file.file, obstack_base (obstack),
- obstack_object_size (obstack) + obstack_room (obstack),
- obstack_next_free (obstack));
+ (obstack_object_size (obstack) +
+
obstack_room (obstack)),
obstack_next_free (obstack));
/* Now allocate the rest of the current chunk. */
obstack_blank_fast (obstack,
(new_f.ofile.file.file._IO_write_end
/* Now allocate the rest of the current chunk. */
obstack_blank_fast (obstack,
(new_f.ofile.file.file._IO_write_end