mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fixdep fails to use all components in config entry
Date: Thu, 6 Jun 2002 21:39:34 +0200	[thread overview]
Message-ID: <20020606213934.A16062@mars.ravnborg.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

Hi Kai.

fixdep, when adding dependencies to config entires fails to take into account
the last part of a config entry, if it contains more than one underscore.
Example:
CONFIG_PROC_FS generates
$(wildcard include/config/proc.h)
but should generate
$(wildcard include/config/proc/fs.h)

Attached patch fixes this.

	Sam

[-- Attachment #2: fixdep-fullpath.patch --]
[-- Type: text/plain, Size: 300 bytes --]

--- scripts/fixdep.c.orig	Thu Jun  6 21:31:52 2002
+++ scripts/fixdep.c	Thu Jun  6 21:31:29 2002
@@ -239,7 +239,7 @@
 		if (memcmp(p, "CONFIG_", 7))
 			continue;
 		for (q = p + 7; q < map + len; q++) {
-			if (!(isalnum(*q)))
+			if (!(isalnum(*q) || *q == '_'))
 				goto found;
 		}
 		continue;

             reply	other threads:[~2002-06-06 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-06 19:39 Sam Ravnborg [this message]
2002-06-06 20:02 ` Kai Germaschewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020606213934.A16062@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=kai@tp1.ruhr-uni-bochum.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®