*** empty log message ***

This commit is contained in:
hyung-hwan 2007-01-28 12:45:14 +00:00
parent c41fc93e6a
commit a550d49d2a

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.c,v 1.156 2007-01-28 11:28:27 bacon Exp $
* $Id: awk.c,v 1.157 2007-01-28 12:45:14 bacon Exp $
*/
#include <ase/awk/awk.h>
@ -274,13 +274,13 @@ static ase_ssize_t process_extio_pipe (
case ASE_AWK_IO_WRITE:
{
int n;
/*
/*
ase_size_t i;
for (i = 0; i < size; i++)
{
if (awk_fputc (data[i], (FILE*)epa->handle) == ASE_CHAR_EOF) return -1;
}
*/
*/
#if defined(_WIN32)
n = _ftprintf ((FILE*)epa->handle, ASE_T("%.*s"), size, data);
#else
@ -926,6 +926,18 @@ int ase_main (int argc, ase_char_t* argv[])
_CrtSetDbgFlag (_CRTDBG_LEAK_CHECK_DF | _CRTDBG_ALLOC_MEM_DF | _CRTDBG_CHECK_ALWAYS_DF);
#endif*/
{
setlocale (LC_ALL, NULL);
FILE* fp = popen ("cat", "w");
if (fp != NULL)
{
wprintf (L"askdjflsajfldsakjfdsalkjflsakjfdsalkjfdsalkjfdsalkjfsalkjfdsafdsafdsaf\n");
fwprintf (fp, L"askdjflsajfldsakjfdsalkjflsakjfdsalkjfdsalkjfdsalkjfsalkjfdsafdsafdsaf\n");
fclose (fp);
}
return -1;
}
n = __main (argc, argv);
#if defined(__linux) && defined(_DEBUG)