1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net/gtic/files/patch-src_areas.c
Adam Weinberger 69ea23ed71 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)
2014-07-29 01:59:16 +00:00

13 lines
398 B
C

--- src/areas.c.orig Sun Oct 24 20:16:14 1999
+++ src/areas.c Sun Oct 24 20:19:15 1999
@@ -305,9 +305,6 @@
/* make a backup copy of areas_file */
strcpy(new_path,areas_file);
- if(strchr(new_path,'.'))
- strcpy(strrchr(new_path,'.'),".bak");
- else
strcat(new_path,".bak");
if(rename(areas_file,new_path))
l_printf("Warning: unable to move %s to %s",areas_file,new_path);