aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/stat
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-29 16:15:06 +0800
committersteve <steve@FreeBSD.org>1999-12-29 16:15:06 +0800
commit4ee03d43e07900c83d046bb80ef5ba1ff2433001 (patch)
tree60e572d270a1090ea236c565abaa3561fc50d69f /sysutils/stat
parentced305eaa60ea87323f2c4398f74081125ee5929 (diff)
downloadfreebsd-ports-gnome-4ee03d43e07900c83d046bb80ef5ba1ff2433001.tar.gz
freebsd-ports-gnome-4ee03d43e07900c83d046bb80ef5ba1ff2433001.tar.zst
freebsd-ports-gnome-4ee03d43e07900c83d046bb80ef5ba1ff2433001.zip
Terminate buffer so we don't print garbage.
PR: 12761 Submitted by: Aaron Smith <arron@mutex.org>
Diffstat (limited to 'sysutils/stat')
-rw-r--r--sysutils/stat/files/patch-aa6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/stat/files/patch-aa b/sysutils/stat/files/patch-aa
new file mode 100644
index 000000000000..9d00b5b326a5
--- /dev/null
+++ b/sysutils/stat/files/patch-aa
@@ -0,0 +1,6 @@
+--- stat.fmt.c.orig Tue Dec 28 12:14:24 1999
++++ stat.fmt.c Tue Dec 28 12:15:20 1999
+@@ -502,2 +502,3 @@
+ }
++ *bufp++ = '\0';
+ }