*** empty log message ***

This commit is contained in:
2006-10-11 03:19:08 +00:00
parent 2797fb2d36
commit 79beb0e531
4 changed files with 77 additions and 23 deletions

View File

@ -1,3 +1,7 @@
BEGIN {
print "ARGC=", ARGC;
for (i in ARGV)
{
print "ARGV[" i "]", ARGV[i];
}
}

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.c,v 1.93 2006-10-10 14:09:23 bacon Exp $
* $Id: awk.c,v 1.94 2006-10-11 03:19:08 bacon Exp $
*/
#include <xp/awk/awk.h>
@ -741,8 +741,10 @@ static int __main (int argc, xp_char_t* argv[])
runarg[0].ptr = XP_T("argument 0");
runarg[0].len = xp_awk_strlen(runarg[0].ptr);
runarg[1].ptr = XP_NULL;
runarg[1].len = 0;
runarg[1].ptr = XP_T("argumetn 1");
runarg[1].len = xp_awk_strlen(runarg[1].ptr);
runarg[2].ptr = XP_NULL;
runarg[2].len = 0;
if (xp_awk_run (awk, &runios, &runcbs, runarg) == -1)
{