From patchwork Mon Aug 23 16:01:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Lacombe X-Patchwork-Id: 124761 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7NG3ORW017507 for ; Mon, 23 Aug 2010 16:03:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754002Ab0HWQDx (ORCPT ); Mon, 23 Aug 2010 12:03:53 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:44537 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753308Ab0HWQDw (ORCPT ); Mon, 23 Aug 2010 12:03:52 -0400 Received: by fxm13 with SMTP id 13so3051934fxm.19 for ; Mon, 23 Aug 2010 09:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=kif5VTmSY2rDmPmZFeTybzBa5QqlFrEcOEljY/dn+Jk=; b=mqTQMiNZeU2PnvJAQcjL079GNqr0rTthw6Il09x5wMqbes9MZ0EBTKT/uQPIjf8tN8 b/4RHannklyUlaxJ6KuBYTApHfVmbgHcaxfeTEb7AQAOUVBpv6e/lfjXHH0O0DuaNoZA k4t7egRhMf3Pa1zHoqHrcrnN/k1POwiL34MW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=J+m37syy32HLWvmgHOjKs3x6y0mo8Uz6D3YEu/DC4dFd4UEx7T/Nh+ey3fEgvFH9zi Hx/a3jPr6s4sv5v7ZM1CgBWlsnjsioS9uTMzuu8idTsnyv5o8cPnGs52qZwcQLXIc8tI W7RMCRbTccfI9q7ON/8qngthm8b/Oih7fVoiA= Received: by 10.223.119.203 with SMTP id a11mr4586810far.42.1282579431492; Mon, 23 Aug 2010 09:03:51 -0700 (PDT) Received: from localhost.localdomain (206-248-183-141.dsl.teksavvy.com [206.248.183.141]) by mx.google.com with ESMTPS id q17sm2557612faa.21.2010.08.23.09.03.49 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Aug 2010 09:03:51 -0700 (PDT) From: Arnaud Lacombe To: Sam Ravnborg Cc: Michal Marek , linux-kbuild , Arnaud Lacombe Subject: [RFC] kbuild: use getopt_long(), not its _only() variant Date: Mon, 23 Aug 2010 12:01:24 -0400 Message-Id: <1282579284-20102-1-git-send-email-lacombar@gmail.com> X-Mailer: git-send-email 1.7.2.30.gc37d7.dirty Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 23 Aug 2010 16:03:53 +0000 (UTC) diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 5b7c86e..ecb16c0 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -466,7 +466,7 @@ int main(int ac, char **av) bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - while ((opt = getopt_long_only(ac, av, "", long_opts, NULL)) != -1) { + while ((opt = getopt_long(ac, av, "", long_opts, NULL)) != -1) { input_mode = (enum input_mode)opt; switch (opt) { case silentoldconfig: