Re: Solaris 9 bug with string variable

Robert-Andre Croteau <[email protected]> Wed, 29 Jun 2005 23:02:27 -0400
Newsgroups gmane.network.bb4.devel
Message-ID <[email protected]>
Al Rankin wrote:
> nothing came after ... and thus there was no email ... ??

if you have the following line in bbpage.c,

sprintf(pginfo.pagemsgfile,"%s/pagemsg.%d",sizeof(bbtmpdir)-1,bbtmpdir,getpid());

change for

sprintf(pginfo.pagemsgfile,"%.*s/pagemsg.%d",sizeof(bbtmpdir)-1,bbtmpdir,getpid());

looks like the .* is missing.

bye
-- 
Robert-Andre Croteau    BSD,MOTU
Quest Software, Inc.            Big Brother, Product Architect
http://www.quest.com/                          http://bb4.com/
+1 (514) 238-9374
         Si le bonheur ne s'achete pas alors louez le.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list send e-mail to mailto:[email protected]
with unsubscribe bbd in the BODY of the message.