summaryrefslogtreecommitdiffstats
path: root/net/gtic/files/patch-ae
blob: 5681ad8946fc268bef3556f4ded1e96a4b3b50bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/users.c.orig	Sun Oct 24 20:19:46 1999
+++ src/users.c	Sun Oct 24 20:20:10 1999
@@ -125,9 +125,6 @@
   
   /* make a backup copy of users_file */
   strcpy(new_path,users_file);
-  if(strchr(new_path,'.'))
-    strcpy(strrchr(new_path,'.'),".bak");
-  else
     strcat(new_path,".bak");
   if(rename(users_file,new_path))
     l_printf("Warning: unable to move %s to %s",users_file,new_path);
OpenPOWER on IntegriCloud