It sounded like a good idea at the time. The previous change breaks
FILE *buffer = stdout; so back it out for now.
This commit is contained in:
parent
2786342687
commit
56f98998e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72394
@ -132,9 +132,6 @@ typedef struct __sFILE {
|
||||
|
||||
__BEGIN_DECLS
|
||||
extern FILE __sF[];
|
||||
extern FILE *__stdin;
|
||||
extern FILE *__stdout;
|
||||
extern FILE *__stderr;
|
||||
__END_DECLS
|
||||
|
||||
#define __SLBF 0x0001 /* line buffered */
|
||||
@ -197,9 +194,9 @@ __END_DECLS
|
||||
#define SEEK_END 2 /* set file offset to EOF plus offset */
|
||||
#endif
|
||||
|
||||
#define stdin (__stdin)
|
||||
#define stdout (__stdout)
|
||||
#define stderr (__stderr)
|
||||
#define stdin (&__sF[0])
|
||||
#define stdout (&__sF[1])
|
||||
#define stderr (&__sF[2])
|
||||
|
||||
/*
|
||||
* Functions defined in ANSI C standard.
|
||||
|
@ -75,10 +75,6 @@ FILE __sF[3] = {
|
||||
struct glue __sglue = { &uglue, 3, __sF };
|
||||
static struct glue *lastglue = &uglue;
|
||||
|
||||
FILE *__stdin = &__sF[0];
|
||||
FILE *__stdout = &__sF[1];
|
||||
FILE *__stderr = &__sF[2];
|
||||
|
||||
static struct glue * moreglue __P((int));
|
||||
|
||||
static spinlock_t thread_lock = _SPINLOCK_INITIALIZER;
|
||||
|
Loading…
Reference in New Issue
Block a user