summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorKarel Zak2007-01-03 00:28:02 +0100
committerKarel Zak2007-01-04 14:40:00 +0100
commit8271f58d5122e2c8a9a68653767d6ca50692040c (patch)
tree232d2e7749054ce00cd0563cdc118eb9c72b7cc7 /tests/functions.sh
parentexecl() should be use NULL not 0 (diff)
downloadkernel-qcow2-util-linux-8271f58d5122e2c8a9a68653767d6ca50692040c.tar.gz
kernel-qcow2-util-linux-8271f58d5122e2c8a9a68653767d6ca50692040c.tar.xz
kernel-qcow2-util-linux-8271f58d5122e2c8a9a68653767d6ca50692040c.zip
more: fix file descriptor leak
When you view a file with the more command and run a shell, the file descriptor for reading the file is leaked to that process. To test, more any file. Then do !/bin/sh. At the prompt do "ls -l /proc/$$/fd" and you'll see the leaked fd. From: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
0 files changed, 0 insertions, 0 deletions