Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.9.3p2) with ESMTP id RAA18053; Wed, 6 Apr 2005 17:42:07 -0400 (EDT) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j36Lfbh7006538 for ; Wed, 6 Apr 2005 17:41:37 -0400 Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76]) by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j368OSh7026522 for ; Wed, 6 Apr 2005 04:24:29 -0400 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) j368O2hX004491 for ; Wed, 6 Apr 2005 04:24:02 -0400 (EDT) Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id E06483A7C for ; Wed, 6 Apr 2005 10:24:01 +0200 (CEST) From: Michael Calmer To: krb5-bugs@mit.edu Date: Wed, 6 Apr 2005 10:24:00 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Message-Id: <200504061024.01143.mc@suse.de> X-Spam-Score: -4.9 X-Spam-Flag: NO X-Scanned-BY: MIMEDefang 2.42 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by pch.mit.edu id j368OSh7026522 X-Mailman-Approved-At: Wed, 06 Apr 2005 17:41:25 -0400 Subject: Request to change the comment syntax X-Beenthere: krb5-bugs-incoming@mailman.mit.edu X-Mailman-Version: 2.1 Precedence: list Sender: krb5-bugs-incoming-bounces@PCH.mit.edu Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu Content-Length: 1102 Hi, If i read the source code correct with MIT kerberos a comment sign is only allowed at the beginning of the line. Is there a reason why spaces before the comment sign aren't allowed? I think many people wants do this: [libdefaults] #default_realm = EXAMPLE.COM default_realm = MY.REALM I think to change this behaviour is very easy. ============= original prof_parse.c =================== [...] if (line[0] == ';' || line[0] == '#') return 0; strip_line(line); cp = skip_over_blanks(line); ch = *cp; if (ch == 0) return 0; [...] ======================================================== The only change is to do "skip_over_blanks(line)" first and after this, check for a comment sign. -- MFG Michael Calmer -------------------------------------------------------------------------- Michael Calmer SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nürnberg T: +49 (0) 911 74053 0 F: +49 (0) 911 74053575 - Michael.Calmer@suse.com --------------------------------------------------------------------------