Cap command size passed to subshell
Leonard den Ottolander
leonard at den.ottolander.nl
Sun Nov 21 15:51:38 UTC 2004
Hi,
A small fix for the size of the command passed to the subshell pty. 4096
bytes should be enough, right? I believe the compiler should optimize
the double call to strlen(command) away. If not we could introduce an
extra variable here and set it first.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cap_command_size.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041121/d25fa0c2/attachment.bin>
More information about the mc-devel
mailing list