diff options
Diffstat (limited to 'src/LYBookmark.c')
-rw-r--r-- | src/LYBookmark.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/LYBookmark.c b/src/LYBookmark.c index 7e8f7276..dc635da3 100644 --- a/src/LYBookmark.c +++ b/src/LYBookmark.c @@ -12,7 +12,6 @@ #include <GridText.h> #ifdef VMS -#include <HTVMSUtils.h> #include <nam.h> extern BOOLEAN HadVMSInterrupt; /* Flag from cleanup_sig() AST */ #endif /* VMS */ @@ -521,22 +520,9 @@ PUBLIC void remove_bookmark_link ARGS2( return; } } -#else /* UNIX */ +#else /* !UNIX */ if (rename(newfile, filename_buffer) != -1) { -#ifdef VMS - char VMSfilename[256]; - /* - * Purge lower version of file. - */ - sprintf(VMSfilename, "%s;-1", filename_buffer); - while (remove(VMSfilename) == 0) - ; - /* - * Reset version number. - */ - sprintf(VMSfilename, "%s;1", filename_buffer); - rename(filename_buffer, VMSfilename); -#endif /* VMS */ + HTSYS_purge(filename_buffer); return; } else { #ifndef VMS |