about summary refs log tree commit diff stats
path: root/src/LYrcFile.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-10-14 12:32:07 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-10-14 12:32:07 -0400
commit64c4d93e6c1d2751c8517e10192e585db0cbce82 (patch)
treee2d8a765b19927ff7cb92bd171073dc86fe11f40 /src/LYrcFile.c
parent043745f9329c2bc33b8e6282b57970bbc550355e (diff)
downloadlynx-snapshots-64c4d93e6c1d2751c8517e10192e585db0cbce82.tar.gz
snapshot of project "lynx", label v2-8-1pre_10
Diffstat (limited to 'src/LYrcFile.c')
-rw-r--r--src/LYrcFile.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/LYrcFile.c b/src/LYrcFile.c
index 8c4faa3f..f2b4a2a7 100644
--- a/src/LYrcFile.c
+++ b/src/LYrcFile.c
@@ -1005,16 +1005,7 @@ PUBLIC int save_rc NOPARAMS
      */
     fclose(fp);
 
-#ifdef VMS
-    /*
-     *  Get rid of any copies of the .lynxrc file that VMS creates.
-     */
-    while (remove("sys$login:.lynxrc;-1") == 0) ;
-	/*
-	 *  Reset version number.
-	 */
-	rename("sys$login:.lynxrc", "sys$login:.lynxrc;1");
-#endif /* VMS */
+    HTSYS_purge(rcfile);
 
-   return TRUE;
+    return TRUE;
 }