4572d687ae
Take maintainership [2]. [1] PR: ports/56006 Submitted by: eik [2] Approved by: des
11 lines
327 B
C
11 lines
327 B
C
--- gnats/internal.c.orig Wed Mar 3 09:18:53 1999
|
|
+++ gnats/internal.c Sat Jun 14 14:09:45 2003
|
|
@@ -238,7 +238,7 @@
|
|
struct stat buf;
|
|
int count;
|
|
|
|
- sprintf (path, "%s/gnats-adm/gnats.lock", gnats_root);
|
|
+ snprintf (path, PATH_MAX-1, "%s/gnats-adm/gnats.lock", gnats_root);
|
|
|
|
#define MAXWAIT 10
|
|
#define GRANULARITY 1
|