Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-15 Thread Bruce Evans
On Tue, 14 Jul 2015, Ian Lepore wrote: On Tue, 2015-07-14 at 13:44 -0700, Xin Li wrote: On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14 2015 New Revision: 285552 URL:

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-15 Thread David Chisnall
On 15 Jul 2015, at 01:02, Xin Li delp...@delphij.net wrote: My only concern with strtonum() is that it's English only. Given that strtonum() wraps strtoll, it ought to support whatever the current locale is (assuming that the program calls setlocale() before calling strtonum(), otherwise it

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-15 Thread Julian Elischer
On 7/15/15 8:02 AM, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/14/15 15:17, Ian Lepore wrote: On Tue, 2015-07-14 at 13:44 -0700, Xin Li wrote: On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author:

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Garrett Cooper
On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14 2015 New Revision: 285552 URL: https://svnweb.freebsd.org/changeset/base/285552 Log: Convert atoi(3) to stronum(3) which allows to arguments and report proper errors to the

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Ian Lepore
On Tue, 2015-07-14 at 13:44 -0700, Xin Li wrote: On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14 2015 New Revision: 285552 URL: https://svnweb.freebsd.org/changeset/base/285552

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Baptiste Daroussin
On Tue, Jul 14, 2015 at 01:29:20PM -0700, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14 2015 New Revision: 285552 URL: https://svnweb.freebsd.org/changeset/base/285552 Log: Convert atoi(3) to

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14 2015 New Revision: 285552 URL: https://svnweb.freebsd.org/changeset/base/285552 Log:

svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Baptiste Daroussin
Author: bapt Date: Tue Jul 14 19:16:14 2015 New Revision: 285552 URL: https://svnweb.freebsd.org/changeset/base/285552 Log: Convert atoi(3) to stronum(3) which allows to arguments and report proper errors to the users Obtained from:OpenBSD Modified: head/usr.bin/xargs/xargs.c

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Pedro Giffuni
On 07/14/15 15:44, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14 2015 New Revision: 285552 URL:

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/14/15 15:48, Pedro Giffuni wrote: On 07/14/15 15:44, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote:

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/14/15 15:17, Ian Lepore wrote: On Tue, 2015-07-14 at 13:44 -0700, Xin Li wrote: On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14 2015

Re: svn commit: r285552 - head/usr.bin/xargs

2015-07-14 Thread Ian Lepore
On Tue, 2015-07-14 at 17:02 -0700, Xin Li wrote: On 07/14/15 15:17, Ian Lepore wrote: On Tue, 2015-07-14 at 13:44 -0700, Xin Li wrote: On 07/14/15 13:29, Garrett Cooper wrote: On Jul 14, 2015, at 12:16, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Tue Jul 14 19:16:14