e7c89b27e5
- update PKGREVISION to 1.
22 lines
794 B
Text
22 lines
794 B
Text
$NetBSD: patch-an,v 1.1 2002/05/04 05:59:05 taca Exp $
|
|
|
|
--- popper/pop_bull.c.orig Wed Feb 21 10:15:17 2001
|
|
+++ popper/pop_bull.c
|
|
@@ -702,7 +702,7 @@
|
|
int msg_num;
|
|
int msg_vis_num = 0;
|
|
int msg_ends_in_nl = 0;
|
|
- char bullName [ 256 ];
|
|
+ char bullName [ MAXLINELEN ];
|
|
MsgInfoList *mp; /* Pointer to message info list */
|
|
|
|
|
|
@@ -716,7 +716,7 @@
|
|
msg_num = p->msg_count;
|
|
p->msg_count = ( ( ( p->msg_count - 1 ) / ALLOC_MSGS ) + 1 ) * ALLOC_MSGS;
|
|
|
|
- sprintf ( bullName, "%s/%s", p->bulldir, name );
|
|
+ Qsnprintf ( bullName, sizeof bullName, "%s/%s", p->bulldir, name );
|
|
bull = fopen ( bullName, "r" );
|
|
if ( bull == NULL ) {
|
|
pop_log ( p, POP_PRIORITY, HERE,
|