diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-04 09:58:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-04 09:58:57 +0000 |
commit | 7ea113633e51579f6bbd3f03ab350fc8f8d0424f (patch) | |
tree | 881e2afc1e7446847ff83c9c25d119c384cf688d /libio/libioP.h | |
parent | f0c76a28fd77c5045fe3d7c15bf4ecaae0273945 (diff) | |
download | glibc-7ea113633e51579f6bbd3f03ab350fc8f8d0424f.zip glibc-7ea113633e51579f6bbd3f03ab350fc8f8d0424f.tar.gz glibc-7ea113633e51579f6bbd3f03ab350fc8f8d0424f.tar.bz2 |
Update.
2003-10-27 Daniel Jacobowitz <drow@mvista.com>
* libio/libioP.h [_IO_USE_OLD_IO_FILE]
(struct _IO_FILE_complete_plus): New type.
* libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise.
Call _IO_old_init instead of _IO_init.
Diffstat (limited to 'libio/libioP.h')
-rw-r--r-- | libio/libioP.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libio/libioP.h b/libio/libioP.h index 1e66fea..3973b03 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -348,6 +348,17 @@ struct _IO_FILE_plus const struct _IO_jump_t *vtable; }; +#ifdef _IO_USE_OLD_IO_FILE +/* This structure is used by the compatibility code as if it were an + _IO_FILE_plus, but has enough space to initialize the _mode argument + of an _IO_FILE_complete. */ +struct _IO_FILE_complete_plus +{ + struct _IO_FILE_complete file; + const struct _IO_jump_t *vtable; +}; +#endif + /* Special file type for fopencookie function. */ struct _IO_cookie_file { |