From 69ea23ed7175d5c34a21bba1ef9262f311c69284 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 01:59:16 +0000 Subject: Rename net/ patch-xy patches to reflect the files they modify. Approve by: portmgr (not really, but one of these is modifying an unstaged port) --- net/gtic/files/patch-src_users.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/gtic/files/patch-src_users.c (limited to 'net/gtic/files/patch-src_users.c') diff --git a/net/gtic/files/patch-src_users.c b/net/gtic/files/patch-src_users.c new file mode 100644 index 000000000000..5681ad8946fc --- /dev/null +++ b/net/gtic/files/patch-src_users.c @@ -0,0 +1,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); -- cgit v1.2.3