Deglobalize prompt_pos
Leonard den Ottolander
leonard at den.ottolander.nl
Sun Nov 21 14:24:22 UTC 2004
Hi,
I wrote:
> The use of prompt_pos as a global static variable in subshell.c seems a
> bit odd. I've ripped the parameter and it's references out, except of
> course in read_subshell_prompt(). This patch also has the "already
> running a command" fix integrated.
It was probably a bad idea to send two integrated patches. The "already
running a command" patch has some odd behaviour when using pipes in the
subshell (fe "| less").
Attached is the plain "deglobalize prompt_pos" patch. Please test.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prompt_pos.patch
Type: text/x-patch
Size: 2925 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041121/b7ff9ff8/attachment.bin>
More information about the mc-devel
mailing list