The reason I was trying to build the latest ksh on El Capitan was to see if
a file descriptor leak persists in the latest version.

Here's my simplified test script -- can someone running the latest version
of ksh try it and see if the list of open files (actually a pipe, I think?)
grows until the system-imposed limit is reached?

Thanks,
Jeff

---

#! /bin/ksh

fdUser() {
:
}

while true
do
fdUser <(
echo " -e"
)

if [ -d /proc ]
then
ls /proc/$$/fd
else
lsof -p $$ | wc -l
fi
sleep 1
done
_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to