Displaying 3 results from an estimated 3 matches for "zpadding".
Did you mean:
padding
2000 Jan 06
1
bsd-snprintf.c and NeXT.
I'm wonder if anyone happens to have a simplier (slower) version of
bsd-snprintf.c. It seems NeXT 3.3 (unsure about 4.2) is missing
mprotect().
If I could get something to replace that for a while and fix some of
theses utmp in login.c issues I may have a rough port NeXT to black
hardware.=)
Thanks
1999 Dec 10
0
snprintf from postgresql
/*
* Copyright (c) 1983, 1995, 1996 Eric P. Allman
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of
2003 Mar 15
1
BUG: snprintf() with floating point numbers
Hello,
I used the snprintf.{c,h} in rsync for my code, and found a bug in it:
snprintf(s,16,"%f",0.025) results "0.250000".
The problem is in snprintf.c, in fmtfp(), around line 732. I didn't try
the solution (I do not need it anymore), but the zpadding number of
'0'-s should be placed before fconvert.
I am not in the list, so please cc the answer for the address above,
too.
Regards,
Circum