From f20dcdd0948d7ebb7d462a0288ea218468ad4f6c Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Tue, 7 Oct 2014 22:24:42 +0800 Subject: [VAR] Use setvareq to set OPTIND initially There is no need to setvarint to set the initial value of OPTIND of one. This patch switchs to setvareq which also lets us avoid an unnecessary memory allocation. Signed-off-by: Herbert Xu --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index aa230ab..b990628 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-07 Herbert Xu + + * Use setvareq to set OPTIND initially. + 2014-10-06 Herbert Xu * Exit without arguments in a trap should use status outside traps. -- cgit 1.4.1