Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/libexec/talkd Pull up revision 1.12 (requested by itojun):



details:   https://anonhg.NetBSD.org/src/rev/fed85c196270
branches:  netbsd-1-4
changeset: 471004:fed85c196270
user:      he <he%NetBSD.org@localhost>
date:      Wed Oct 11 18:45:16 2000 +0000

description:
Pull up revision 1.12 (requested by itojun):
  Make sure big_buf is big enough to hold output.

diffstat:

 libexec/talkd/announce.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 29cb421ee1e6 -r fed85c196270 libexec/talkd/announce.c
--- a/libexec/talkd/announce.c  Wed Oct 11 18:41:27 2000 +0000
+++ b/libexec/talkd/announce.c  Wed Oct 11 18:45:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: announce.c,v 1.11 1998/07/04 19:31:05 mrg Exp $        */
+/*     $NetBSD: announce.c,v 1.11.2.1 2000/10/11 18:45:16 he Exp $     */
 
 /*
  * Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)announce.c 8.3 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: announce.c,v 1.11 1998/07/04 19:31:05 mrg Exp $");
+__RCSID("$NetBSD: announce.c,v 1.11.2.1 2000/10/11 18:45:16 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -109,7 +109,7 @@
        struct iovec iovec;
        char line_buf[N_LINES][N_CHARS];
        int sizes[N_LINES];
-       char big_buf[N_LINES*N_CHARS];
+       char big_buf[(N_LINES + 1) *N_CHARS];
        char *bptr, *lptr, *vis_user;
        int i, j, max_size;
 



Home | Main Index | Thread Index | Old Index