public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
Cc: cooker@linux-mandrake.com,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
Date: Wed, 22 Nov 2000 20:42:54 +1100	[thread overview]
Message-ID: <1143.974886174@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Wed, 22 Nov 2000 09:57:02 BST." <3A1B8A5D.1869C463@vz.cit.alcatel.fr>

On Wed, 22 Nov 2000 09:57:02 +0100, 
Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr> wrote:
>The problem is in modules.conf
>Most users do not use "depfile" and "path" commands
>So they have not seen this problem.
>
>This was true for modutils-2.3.19, and older versions.
>With modutils-2.3.20 the syntax have changed.
>Anything in ChangeLog?
>`uname -r` has to be changed in $(uname -r)

Try this patch against modutils 2.3.20.  If it does not fix the problem
then I will need a copy of your modules.conf.  `uname -r` should work
even without this patch, it does for me.  You must have something
unusual in your modules.conf.

Index: 21.4/util/meta_expand.c
--- 21.4/util/meta_expand.c Tue, 21 Nov 2000 19:38:04 +1100 kaos (modutils-2.3/10_meta_expan 1.4.1.3 644)
+++ 21.4(w)/util/meta_expand.c Wed, 22 Nov 2000 11:14:54 +1100 kaos (modutils-2.3/10_meta_expan 1.4.1.3 644)
@@ -328,10 +328,10 @@ int meta_expand(char *pt, GLOB_LIST *g, 
 	pclose(fin);
 
 	if (line) {
-		/* Ignore result if no expansion occurred */
-		xstrcat(tmpline, "\n", sizeof(tmpline));
-		if (strcmp(tmpline, line))
-			split_line(g, line, 0);
+		/* shell used to strip one set of quotes.  Paranoia code in
+		 * 2.3.20 stops that strip so we do it ourselves.
+		 */
+		split_line(g, line, 1);
 		free(line);
 	}
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2000-11-22 10:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20001116153044.0339B5F405@kenobi.mandrakesoft.com>
     [not found] ` <3A153C8F.E752B931@vz.cit.alcatel.fr>
     [not found]   ` <20001117113729.F26481@mandrakesoft.com>
     [not found]     ` <3A192A32.4DA063D0@vz.cit.alcatel.fr>
     [not found]       ` <20001120160822.A7489@mandrakesoft.com>
     [not found]         ` <m38zqes0fv.fsf@matrix.mandrakesoft.com>
     [not found]           ` <3A1A3B94.FD5EC61B@vz.cit.alcatel.fr>
     [not found]             ` <m3g0kl2v5h.fsf@matrix.mandrakesoft.com>
2000-11-22  8:57               ` [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk Christian Gennerat
2000-11-22  9:42                 ` Keith Owens [this message]

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=1143.974886174@ocs3.ocs-net \
    --to=kaos@ocs.com.au \
    --cc=christian.gennerat@vz.cit.alcatel.fr \
    --cc=cooker@linux-mandrake.com \
    --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