fixed bug
This commit is contained in:
parent
1e5688a10e
commit
02044d1d3f
1 changed files with 1 additions and 1 deletions
|
@ -8,11 +8,11 @@ FILE *freopen(name,mode,fp)
|
|||
char *name , *mode;
|
||||
FILE *fp;
|
||||
{
|
||||
FILE *fp;
|
||||
char *malloc();
|
||||
int fd,
|
||||
flags = 0;
|
||||
|
||||
fflush(fp);
|
||||
close(fileno(fp));
|
||||
if (io_testflag(fp, IO_MYBUF) && fp->_buf) free(fp->_buf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue