version 1.5, 1999/12/16 06:58:01 |
version 1.6, 1999/12/22 11:26:37 |
|
|
/* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/ox.c,v 1.4 1999/12/15 05:57:35 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/ox.c,v 1.5 1999/12/16 06:58:01 ohara Exp $ */ |
|
|
/* |
/* |
関数の名前付け規約(その2): |
関数の名前付け規約(その2): |
Line 825 ox_file_t ox_start(char* host, char* ctl_prog, char* d |
|
Line 825 ox_file_t ox_start(char* host, char* ctl_prog, char* d |
|
"-host", host, NULL); |
"-host", host, NULL); |
}else { |
}else { |
dup2(2, 1); |
dup2(2, 1); |
dup2(open(mkstemp(LOGFILE), O_RDWR|O_CREAT|O_TRUNC, 0644), 2); |
dup2(open(tempnam("/tmp", "ox."), O_RDWR|O_CREAT|O_TRUNC, 0644), 2); |
execl(ctl_prog, ctl_prog, "-reverse", "-ox", dat_prog, |
execl(ctl_prog, ctl_prog, "-reverse", "-ox", dat_prog, |
"-data", dat, "-control", ctl, "-pass", pass, |
"-data", dat, "-control", ctl, "-pass", pass, |
"-host", host, NULL); |
"-host", host, NULL); |
Line 1333 static cmo_list* make_list_of_id(int ver, char* ver_s, |
|
Line 1333 static cmo_list* make_list_of_id(int ver, char* ver_s, |
|
cmo_list *cap; |
cmo_list *cap; |
char buff[512]; |
char buff[512]; |
|
|
setgetc(mygetc); |
|
sprintf(buff, ID_TEMP, ver, sysname, ver_s, getenv("HOSTTYPE")); |
sprintf(buff, ID_TEMP, ver, sysname, ver_s, getenv("HOSTTYPE")); |
setmode_mygetc(buff, 512); |
init_parser(buff); |
cap = (cmo_list *)parse(); |
cap = (cmo_list *)parse(); |
resetgetc(); |
|
|
|
return cap; |
return cap; |
} |
} |