The patch is mangled so it doesn't apply, but ok nicm
On Thu, Oct 22, 2015 at 08:53:48PM -0400, Michael McConville wrote: > Beat me to it. ok mmcc@ > > Ilya Kaliman wrote: > > =================================================================== > > RCS file: /cvs/src/bin/ksh/shf.c,v > > retrieving revision 1.25 > > diff -u -p -r1.25 shf.c > > --- shf.c 19 Oct 2015 14:42:16 -0000 1.25 > > +++ shf.c 23 Oct 2015 00:27:40 -0000 > > @@ -707,10 +707,6 @@ shf_smprintf(const char *fmt, ...) > > return shf_sclose(&shf); /* null terminates */ > > } > > > > -#define BUF_SIZE 128 > > -#define ABIGNUM 32000 /* big number that will fit in > > a short */ > > -#define LOG2_10 3.321928094887362347870319429 /* log > > base 2 of 10 */ > > - > > #define FL_HASH 0x001 /* `#' seen */ > > #define FL_PLUS 0x002 /* `+' seen */ > > #define FL_RIGHT 0x004 /* `-' seen */ > > @@ -722,7 +718,6 @@ shf_smprintf(const char *fmt, ...) > > #define FL_DOT 0x100 /* '.' seen */ > > #define FL_UPPER 0x200 /* format character was uppercase */ > > #define FL_NUMBER 0x400 /* a number was formated %[douxefg] */ > > - > > > > int > > shf_vfprintf(struct shf *shf, const char *fmt, va_list args) > > >