On Fri, Aug 03, 2007 at 02:29:06PM +0530, Satyam Sharma wrote:
> On Fri, 3 Aug 2007, Jan Engelhardt wrote:
>
> >
> > On Aug 2 2007 05:16, Satyam Sharma wrote:
> > >
> > >BSD's strtonum(3) is a detestful, horrible shame.
> > >
> > >The strtol_check_range() I implemented here does _all_ that
On Fri, Aug 03, 2007 at 02:29:06PM +0530, Satyam Sharma wrote:
On Fri, 3 Aug 2007, Jan Engelhardt wrote:
On Aug 2 2007 05:16, Satyam Sharma wrote:
BSD's strtonum(3) is a detestful, horrible shame.
The strtol_check_range() I implemented here does _all_ that strtonum()
does, plus
Hi Jan,
On Fri, 3 Aug 2007, Jan Engelhardt wrote:
>
> On Aug 2 2007 05:16, Satyam Sharma wrote:
> >
> >BSD's strtonum(3) is a detestful, horrible shame.
> >
> >The strtol_check_range() I implemented here does _all_ that strtonum()
> >does, plus is generic w.r.t. base, and minus the tasteless
On Aug 2 2007 05:16, Satyam Sharma wrote:
>
>BSD's strtonum(3) is a detestful, horrible shame.
>
>The strtol_check_range() I implemented here does _all_ that strtonum()
>does, plus is generic w.r.t. base, and minus the tasteless "errstr"
>argument.
>
>Tell me, how does that "errstr" ever make
On Aug 2 2007 05:16, Satyam Sharma wrote:
BSD's strtonum(3) is a detestful, horrible shame.
The strtol_check_range() I implemented here does _all_ that strtonum()
does, plus is generic w.r.t. base, and minus the tasteless errstr
argument.
Tell me, how does that errstr ever make sense? We
Hi Jan,
On Fri, 3 Aug 2007, Jan Engelhardt wrote:
On Aug 2 2007 05:16, Satyam Sharma wrote:
BSD's strtonum(3) is a detestful, horrible shame.
The strtol_check_range() I implemented here does _all_ that strtonum()
does, plus is generic w.r.t. base, and minus the tasteless errstr
On 8/2/07, Alexey Dobriyan <[EMAIL PROTECTED]> wrote:
> > > Please, copy strtonum() from BSD instead. Nobody needs another
> > > home-grown converter.
> >
> > BSD's strtonum(3) is a detestful, horrible shame.
> >
> > The strtol_check_range() I implemented here does _all_ that strtonum()
> > does,
On 8/2/07, Alexey Dobriyan [EMAIL PROTECTED] wrote:
Please, copy strtonum() from BSD instead. Nobody needs another
home-grown converter.
BSD's strtonum(3) is a detestful, horrible shame.
The strtol_check_range() I implemented here does _all_ that strtonum()
does, plus is generic
On Thu, Aug 02, 2007 at 05:16:59AM +0530, Satyam Sharma wrote:
> On Wed, 1 Aug 2007, Alexey Dobriyan wrote:
>
> > On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
> > > Callers (especially "store" functions for sysfs or configfs attributes)
> > > that want to convert an input string
On Thu, 2 Aug 2007, Satyam Sharma wrote:
> On Wed, 1 Aug 2007, Alexey Dobriyan wrote:
>
> > On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
> > > Callers (especially "store" functions for sysfs or configfs attributes)
> > > that want to convert an input string to a number may
Hi Alexey,
On Wed, 1 Aug 2007, Alexey Dobriyan wrote:
> On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
> > Callers (especially "store" functions for sysfs or configfs attributes)
> > that want to convert an input string to a number may often also want to
> > check for simple
Hi Alexey,
On Wed, 1 Aug 2007, Alexey Dobriyan wrote:
On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
Callers (especially store functions for sysfs or configfs attributes)
that want to convert an input string to a number may often also want to
check for simple input sanity
On Thu, 2 Aug 2007, Satyam Sharma wrote:
On Wed, 1 Aug 2007, Alexey Dobriyan wrote:
On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
Callers (especially store functions for sysfs or configfs attributes)
that want to convert an input string to a number may often also
On Thu, Aug 02, 2007 at 05:16:59AM +0530, Satyam Sharma wrote:
On Wed, 1 Aug 2007, Alexey Dobriyan wrote:
On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
Callers (especially store functions for sysfs or configfs attributes)
that want to convert an input string to a number
On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
> Callers (especially "store" functions for sysfs or configfs attributes)
> that want to convert an input string to a number may often also want to
> check for simple input sanity or allowable range. strtol10_check_range()
> of
On Tue, 31 Jul 2007 22:04:10 +0530 (IST)
Satyam Sharma <[EMAIL PROTECTED]> wrote:
> [ checkpatch.pl doesn't particularly like this patch, but I wanted to be
> consistent with the rest of lib/vsprintf.c and include/linux/kernel.h. ]
I tend to think that it isn't worth being consistent with
Callers (especially "store" functions for sysfs or configfs attributes)
that want to convert an input string to a number may often also want to
check for simple input sanity or allowable range. strtol10_check_range()
of netconsole does this, so extract it out into lib/vsprintf.c, make it
generic
Callers (especially store functions for sysfs or configfs attributes)
that want to convert an input string to a number may often also want to
check for simple input sanity or allowable range. strtol10_check_range()
of netconsole does this, so extract it out into lib/vsprintf.c, make it
generic
On Tue, 31 Jul 2007 22:04:10 +0530 (IST)
Satyam Sharma [EMAIL PROTECTED] wrote:
[ checkpatch.pl doesn't particularly like this patch, but I wanted to be
consistent with the rest of lib/vsprintf.c and include/linux/kernel.h. ]
I tend to think that it isn't worth being consistent with wrong
On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote:
Callers (especially store functions for sysfs or configfs attributes)
that want to convert an input string to a number may often also want to
check for simple input sanity or allowable range. strtol10_check_range()
of netconsole
20 matches
Mail list logo