From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750899AbWDIVrU (ORCPT ); Sun, 9 Apr 2006 17:47:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750904AbWDIVrU (ORCPT ); Sun, 9 Apr 2006 17:47:20 -0400 Received: from scrub.xs4all.nl ([194.109.195.176]:39852 "EHLO scrub.xs4all.nl") by vger.kernel.org with ESMTP id S1750897AbWDIVrT (ORCPT ); Sun, 9 Apr 2006 17:47:19 -0400 Date: Sun, 9 Apr 2006 23:47:18 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@scrub.home To: Sam Ravnborg cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH 4/19] kconfig: fix typo in change count initialization In-Reply-To: <20060409212704.GB30208@mars.ravnborg.org> Message-ID: References: <20060409212704.GB30208@mars.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, 9 Apr 2006, Sam Ravnborg wrote: > > @@ -325,7 +325,7 @@ int conf_read(const char *name) > > sym->flags |= e->right.sym->flags & SYMBOL_NEW; > > } > > > > - sym_change_count = conf_warnings && conf_unsaved; > > + sym_change_count = conf_warnings || conf_unsaved; > > > > return 0; > > } > > Please explain what this actually fixes. Configuration needs saving when either of these conditions is true. bye, Roman