diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 01:59:16 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 01:59:16 +0000 |
commit | 69ea23ed7175d5c34a21bba1ef9262f311c69284 (patch) | |
tree | e2e604e83659be7f58596e80b3cf18e9d7d06dae /net/gtic/files/patch-src_users.c | |
parent | Stage net-mgmt/routers2 and cleanup (diff) |
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)
Notes
Notes:
svn path=/head/; revision=363285
Diffstat (limited to 'net/gtic/files/patch-src_users.c')
-rw-r--r-- | net/gtic/files/patch-src_users.c | 12 |
1 files changed, 12 insertions, 0 deletions
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); |