Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264412AbUFRWtR (ORCPT ); Fri, 18 Jun 2004 18:49:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264482AbUFRWtA (ORCPT ); Fri, 18 Jun 2004 18:49:00 -0400 Received: from fw.osdl.org ([65.172.181.6]:63390 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264412AbUFRWpp (ORCPT ); Fri, 18 Jun 2004 18:45:45 -0400 Date: Fri, 18 Jun 2004 15:43:02 -0700 From: "Randy.Dunlap" To: Roman Zippel Cc: sam@ravnborg.org, willy@w.ods.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] save kernel version in .config file Message-Id: <20040618154302.01fc46c2.rddunlap@osdl.org> In-Reply-To: References: <20040617220651.0ceafa91.rddunlap@osdl.org> <20040618053455.GF29808@alpha.home.local> <20040618205602.GC4441@mars.ravnborg.org> <20040618150535.6a421bdb.rddunlap@osdl.org> Organization: OSDL X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: +5V?h'hZQPB9kW Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 692 Lines: 25 On Sat, 19 Jun 2004 00:42:19 +0200 (CEST) Roman Zippel wrote: | Hi, | | On Fri, 18 Jun 2004, Randy.Dunlap wrote: | | Did you test this with anything else than menuconfig? Nope... | > + (char *)sym->curr.val, ctime(&now)); | | Try to avoid poking around in that structure. First the value needs to be | calculated with sym_calc_value() and then it can be accessed with | sym_get_string_value(). Thanks, will use that info. -- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/