mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove use of INTDEF/INTUSE in libio
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
/* Copyright (C) 1995, 1997-2000, 2001, 2002, 2003, 2006, 2008, 2010
|
||||
Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -40,13 +39,13 @@ __vdprintf_chk (int d, int flags, const char *format, va_list arg)
|
||||
#endif
|
||||
_IO_no_init (&tmpfil.file, _IO_USER_LOCK, 0, &wd, &_IO_wfile_jumps);
|
||||
_IO_JUMPS (&tmpfil) = &_IO_file_jumps;
|
||||
INTUSE(_IO_file_init) (&tmpfil);
|
||||
_IO_file_init (&tmpfil);
|
||||
#if !_IO_UNIFIED_JUMPTABLES
|
||||
tmpfil.vtable = NULL;
|
||||
#endif
|
||||
if (INTUSE(_IO_file_attach) (&tmpfil.file, d) == NULL)
|
||||
if (_IO_file_attach (&tmpfil.file, d) == NULL)
|
||||
{
|
||||
INTUSE(_IO_un_link) (&tmpfil);
|
||||
_IO_un_link (&tmpfil);
|
||||
return EOF;
|
||||
}
|
||||
tmpfil.file._flags |= _IO_DELETE_DONT_CLOSE;
|
||||
@ -59,7 +58,7 @@ __vdprintf_chk (int d, int flags, const char *format, va_list arg)
|
||||
if (flags > 0)
|
||||
tmpfil.file._flags2 |= _IO_FLAGS2_FORTIFY;
|
||||
|
||||
done = INTUSE(_IO_vfprintf) (&tmpfil.file, format, arg);
|
||||
done = _IO_vfprintf (&tmpfil.file, format, arg);
|
||||
|
||||
_IO_FINISH (&tmpfil.file);
|
||||
|
||||
|
Reference in New Issue
Block a user