Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: mapfile (Re: More ramblings Re: zsh/termcap and zsh/terminfo modules)



On Apr 10,  6:40pm, Peter Stephenson wrote:
} Subject: Re: mapfile (Re: More ramblings Re: zsh/termcap and zsh/terminfo 
}
} > zagzig% print -c ${(k)mapfile} 
} > config.log      config.status   Makefile        Src
} > config.h        stamp-h         Doc             Test
} > config.cache    Config          Etc             config.modules
} > 
} > Unless this is different for you, I don't think there's anything wrong.
} 
} It is different for me, it gives loads of ÿ's.

Hmm, well, could this possibly be a result of scanpmmapfile() relying on
the static buffer from metafy() that is returned by zreaddir() ?

I'm not sure whether the right thing to do about that is to dupstring() ?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


Messages sorted by: Reverse Date, Date, Thread, Author