*** empty log message ***
This commit is contained in:
parent
6dd18f6e07
commit
c99641b932
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: awk.c,v 1.20 2006-04-14 11:13:06 bacon Exp $
|
||||
* $Id: awk.c,v 1.21 2006-04-14 11:14:58 bacon Exp $
|
||||
*/
|
||||
|
||||
#include <xp/awk/awk.h>
|
||||
@ -47,7 +47,7 @@ static xp_ssize_t process_source (int cmd, void* arg, xp_char_t* data, xp_size_t
|
||||
#include <mcheck.h>
|
||||
#endif
|
||||
|
||||
#if defined(_SCO_DS)
|
||||
#if defined(vms) || defined(__vms) || defined(_SCO_DS)
|
||||
int main (int argc, char* argv[])
|
||||
#else
|
||||
int xp_main (int argc, xp_char_t* argv[])
|
||||
@ -59,13 +59,6 @@ int xp_main (int argc, xp_char_t* argv[])
|
||||
mtrace ();
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
if (argc != 2) {
|
||||
xp_printf (XP_TEXT("Usage: %s file\n"), argv[0]);
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
if ((awk = xp_awk_open()) == XP_NULL)
|
||||
{
|
||||
xp_printf (XP_TEXT("Error: cannot open awk\n"));
|
||||
@ -85,7 +78,7 @@ int xp_main (int argc, xp_char_t* argv[])
|
||||
|
||||
if (argc == 2)
|
||||
{
|
||||
#if defined(_SCO_DS)
|
||||
#if defined(vms) || defined(__vms) || defined(_SCO_DS)
|
||||
if (strcmp(argv[1], "-m") == 0)
|
||||
#else
|
||||
if (xp_strcmp(argv[1], XP_TEXT("-m")) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user