Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: playing with backreferences in list-colors
- X-seq: zsh-workers 9446
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>,        zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: playing with backreferences in list-colors
 
- Date: Fri, 28 Jan 2000 06:14:18 +0000
 
- In-reply-to: <200001240954.KAA09754@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <200001240954.KAA09754@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
 
On Jan 24, 10:54am, Sven Wischnowsky wrote:
} Subject: Re: playing with backreferences in list-colors
}
} Yes, it was indeed using the path, which was wrong in this case.
I know I'm running a few days behind here, but ...
This patch:
} -	    subcols = putfilecol(&mcolors, g->name, path, buf->st_mode);
} +	    subcols = putfilecol(&mcolors, g->name, m->str, buf->st_mode);
makes "path" be an unused parameter of clprintm.  Should it be removed
entirely, or is there a case in which it ought to be getting used?
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author