- Completely rewrite most of stdio functions by merging Wine's msvcrt code adapted for ReactOS.

- Leave and refactor existing underlying linux-code based sprintf implementation into lnx_ prefixed functions.
- Misc source code and headers cleanup.
- Fixes bugs 2910, 2803.
See issue #2803 for more details.

svn path=/trunk/; revision=33927
This commit is contained in:
Aleksey Bragin 2008-06-11 08:54:46 +00:00
parent 553e9f4821
commit 7b57917c46
137 changed files with 1918 additions and 6187 deletions

View file

@ -18,6 +18,10 @@
#endif
#define MK_STR(s) #s
int alloc_fd(HANDLE hand, int flag); //FIXME: Remove
unsigned split_oflags(unsigned oflags); //FIXME: Remove
/*
* @implemented
*/
@ -128,8 +132,8 @@ int _pclose (FILE *pp)
TRACE("_pclose(%x)",pp);
fclose(pp);
if (!TerminateProcess(pp->_tmpfname ,0))
return( -1 );
//if (!TerminateProcess(pp->_tmpfname ,0))
// return( -1 );
return( 0 );
}