grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] allow ls to handle device names containing '/' characters


From: Yoshinori K. Okuji
Subject: Re: [patch] allow ls to handle device names containing '/' characters
Date: Tue, 14 Sep 2004 11:01:44 +0200
User-agent: KMail/1.6.1

On Tuesday 14 September 2004 02:56, Hollis Blanchard wrote:
> I don't know if there are other commands that need to be modified in
> a similar manner; I have only tried ls.

Your patch will fail if the name does not contain a device part. 
Shouldn't it be like this:

path = grub_strchr (dirname, ')');
if (! path)
  path = dirname;

Okuji




reply via email to

[Prev in Thread] Current Thread [Next in Thread]