summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 10:51:53 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-24 10:55:43 -0800
commit7a9fa61950200eb13600cdb57830e58a53bf78fa (patch)
tree2bba1bd11b0bb286dfd308775521d633058221d4 /util.c
parent981dfdb23272bc02977c5bb9bc18d0d3fb618fa3 (diff)
unifdef __UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/util.c b/util.c
index 5471129..40b7834 100644
--- a/util.c
+++ b/util.c
@@ -490,15 +490,12 @@ SwitchTextSource(xedit_flist_item *item)
char *
ResolveName(char *filename)
{
-#ifndef __UNIXOS2__
static char *name;
char *result, *tmp = name;
-#endif
if (filename == NULL)
filename = GetString(filenamewindow);
-#ifndef __UNIXOS2__
/* Ensure not passing the same pointer again to realpath */
name = XtMalloc(BUFSIZ);
XtFree(tmp);
@@ -531,9 +528,6 @@ ResolveName(char *filename)
}
return (result);
-#else
- return filename;
-#endif
}
static void