From: Shawn O. Pearce Date: Tue, 20 Feb 2007 00:35:33 GMT Subject: Re: [PATCH] Add a compat/strtoumax.c for Solaris 8. Message-ID: <20070220003533.GB28314@spearce.org> In-Reply-To: <17777.1171930976@lotus.CS.Berkeley.EDU> Jason Riedy wrote: > Solaris 8 was pre-c99, and they weren't willing to commit to > the strtoumax definition according to /usr/include/inttypes.h. > > This adds NO_STRTOUMAX and NO_STRTOULL for ancient systems. > If NO_STRTOUMAX is defined, the routine in compat/strtoumax.c > will be used instead. That routine passes its arguments to > strtoull unless NO_STRTOULL is defined. If NO_STRTOULL, then > the routine uses strtoul (unsigned long). Ack'd (this and the fast-import patch that follows). This is a better version than the patch I sent out last night, so Junio please drop my patch in favor of Jason's. -- Shawn.