From: Takashi Iwai Subject: Re: [PATCH] test/latency.c: Fix string argument to getopt_long, so now it handles -E and -B Date: Wed, 08 Aug 2012 16:37:18 +0200 Message-ID: References: <85ipctzcuq.fsf@cl-t066-141cl.privatedns.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B7EE426609C for ; Wed, 8 Aug 2012 16:07:32 +0200 (CEST) In-Reply-To: <85ipctzcuq.fsf@cl-t066-141cl.privatedns.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mario Domenech Goulart Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 08 Aug 2012 10:18:21 -0400, Mario Domenech Goulart wrote: > > Hi, > > Attached is a small patch for alsa-lib's test/latency.c to fix command > line arguments handling. Applied now. Thanks. Takashi > > Best wishes. > Mario > -- > http://parenteses.org/mario > [2 0001-test-latency.c-Fix-string-argument-to-getopt_long-so.patch ] > >From 6298b47a7b76110b97a525f65faf18a8d27089b5 Mon Sep 17 00:00:00 2001 > From: Mario Domenech Goulart > Date: Wed, 8 Aug 2012 11:03:19 -0300 > Subject: [PATCH] test/latency.c: Fix string argument to getopt_long, so now it handles -E and -B > > --- > test/latency.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/test/latency.c b/test/latency.c > index e9bc6d8..f3d2eb6 100644 > --- a/test/latency.c > +++ b/test/latency.c > @@ -502,7 +502,7 @@ int main(int argc, char *argv[]) > morehelp = 0; > while (1) { > int c; > - if ((c = getopt_long(argc, argv, "hP:C:m:M:F:f:c:r:s:bpen", long_option, NULL)) < 0) > + if ((c = getopt_long(argc, argv, "hP:C:m:M:F:f:c:r:B:E:s:bpen", long_option, NULL)) < 0) > break; > switch (c) { > case 'h': > -- > 1.7.2.5 > > [3 ] > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel