Project

General

Profile

Bug #1272 » vsnfprintf.patch

cfis (Charlie Savage), 03/12/2009 12:56 PM

View differences:

missing/vsnprintf.c (working copy)
register size_t len;
register const char *p;
register struct __siov *iov;
register int w;
register size_t w;
if ((len = uio->uio_resid) == 0)
return (0);
......
*/
#define to_digit(c) ((c) - '0')
#define is_digit(c) ((unsigned)to_digit(c) <= 9)
#define to_char(n) ((n) + '0')
#define to_char(n) ((char)((n) + '0'))
#ifdef _HAVE_SANE_QUAD_
/*
(1-1/6)