Hi, I was compiling ifhp-3.3.21 on Solaris 2.5.1 machine, it needed
some tweaking... here's a fix:

diff -u errormsg.c~ errormsg.c

--- errormsg.c~ Sat Aug 19 22:34:48 2000
+++ errormsg.c  Mon Aug 28 17:00:29 2000
@@ -524,7 +524,7 @@
                        Write_fd_str( 2, b );
                        */
                        Status_fd = open( Statusfile, O_RDWR );
-                       snprintf(path,sizeof(path),"%s.x", Statusfile );
+                       SNPRINTF(path,sizeof(path),"%s.x", Statusfile );
                        unlink( path );
                        temp_fd = open( path, O_RDWR );
                        if( Status_fd >= 0 && temp_fd >=0 ){

-- 
Mikko Paananen                          <[EMAIL PROTECTED]>
Administrator @ cs.tut.fi               Phone: +358 3 365 3813
Tampere University of Technology        Room: Hermitec/HC222

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to