[vmkit-commits] abortive style: 248 abort() and exit() calls in vmkit

Minas Abrahamyan minas.subs at gmail.com
Fri Jul 16 07:50:18 PDT 2010


Hi,

It is interesting style: many aborts here and there, without any
notice to user: (although less than third of them
prints backtrace)
[vmkit]$ find . -iname "*.cpp" -o -iname "*.h" -o -iname "*.inc"|xargs
grep -niE "abort\(\)|\<exit\>\(\)"|wc -l
248

To look at them:
$ find . -iname "*.cpp" -o -iname "*.h" -o -iname "*.inc"|xargs grep
-niE "abort\(\)|\<exit\>\(\)"|less

Regards,
Minas



More information about the vmkit-commits mailing list