version 1.26, 2000/06/10 01:32:22 |
version 1.27, 2000/06/10 01:41:05 |
|
|
static GNode *curTarg = NULL; |
static GNode *curTarg = NULL; |
static GNode *ENDNode; |
static GNode *ENDNode; |
static void CompatInterrupt __P((int)); |
static void CompatInterrupt __P((int)); |
static int CompatRunCommand __P((ClientData, ClientData)); |
static int CompatRunCommand __P((void *, void *)); |
static void CompatMake __P((ClientData, ClientData)); |
static void CompatMake __P((void *, void *)); |
static int shellneed __P((char **av)); |
static int shellneed __P((char **av)); |
|
|
/*- |
/*- |
|
|
*/ |
*/ |
static int |
static int |
CompatRunCommand (cmdp, gnp) |
CompatRunCommand (cmdp, gnp) |
ClientData cmdp; /* Command to execute */ |
void *cmdp; /* Command to execute */ |
ClientData gnp; /* Node from which the command came */ |
void *gnp; /* Node from which the command came */ |
{ |
{ |
char *cmdStart; /* Start of expanded command */ |
char *cmdStart; /* Start of expanded command */ |
char *cp, *bp = NULL; |
char *cp, *bp = NULL; |
|
|
*/ |
*/ |
static void |
static void |
CompatMake(gnp, pgnp) |
CompatMake(gnp, pgnp) |
ClientData gnp; /* The node to make */ |
void *gnp; /* The node to make */ |
ClientData pgnp; /* Parent to abort if necessary */ |
void *pgnp; /* Parent to abort if necessary */ |
{ |
{ |
GNode *gn = (GNode *) gnp; |
GNode *gn = (GNode *) gnp; |
GNode *pgn = (GNode *) pgnp; |
GNode *pgn = (GNode *) pgnp; |