The SNPRINTF implementation in used if the machine doesn´t have
"HAVE_SNPRINTF" hasn't floating point support.
--
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/
_/_/ _/_/ _/_/_/_/_/
PGP Key Available at KeyServ _/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
--- Begin Message ---
- From: Jesus Cea Avion - STAFF <jcea>
- Date: Wed, 5 Jan 2000 20:29:26 +0100 (MET)
- Index: expire.c
===================================================================
RCS file: /opt/src/cvsroot/nntpcache/src/expire.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -c -r1.6 -r1.7
*** expire.c 2000/01/05 17:27:41 1.6
--- expire.c 2000/01/05 19:23:44 1.7
***************
*** 208,215 ****
expire_arts (NULL, 0);
getFreeFS(&ffree, &files, &bavail, &blocks);
}
! logen (("usedblocks = %2.1f%%, usedinodes = %2.1f%%, maxArtAge = %ds, expire ended",
! BU, IU, (int)maxArtAge));
retire_vm_proc (0);
}
else
--- 208,226 ----
expire_arts (NULL, 0);
getFreeFS(&ffree, &files, &bavail, &blocks);
}
! /*
! ** Si no tenemos HAVE_SNPRINTF
! ** la libreria que tenemos no soporta coma flotante
! */
!
! #ifdef _0
! logen (("usedblocks = %2.1f%%, usedinodes = %2.1f%%, maxArtAge = %ds, expire ended",
! BU, IU, maxArtAge));
! #else
! logen (("usedblocks = %d.%d%%, usedinodes = %d.%d%%, maxArtAge = %ds, expire ended",
! (int)BU,(int)(BU*10)%10,
! (int)IU,(int)(IU*10)%10, maxArtAge));
! #endif
retire_vm_proc (0);
}
else
--- End Message ---