diff options
Diffstat (limited to 'xts5/XtC/XtPeekEvent.m')
-rw-r--r-- | xts5/XtC/XtPeekEvent.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xts5/XtC/XtPeekEvent.m b/xts5/XtC/XtPeekEvent.m index ec39a655..a5464b2d 100644 --- a/xts5/XtC/XtPeekEvent.m +++ b/xts5/XtC/XtPeekEvent.m @@ -131,10 +131,10 @@ void XtTMO4_Proc(client_data, id) XtPointer client_data; XtIntervalId *id; { -char *data; +const char *data; avs_set_event(1, 1); - data = "data1"; + data = outfile("data1"); sprintf(ebuf, "PREP: Open file %s for read", data); tet_infoline(ebuf); if ((fid = (FILE *)fopen(data, "w+")) == NULL) { @@ -337,4 +337,4 @@ int pstatus; else { tet_result(TET_PASS); } - unlink("data1"); + unlink(outfile("data1")); |