I've updated alias.c and util.c to remove the fts_* functions
and put in a new get_du() function. Also, I've implemented
the scandir() function and called it bkscandir(). I also
fixed an obvious memory leak in the alias functions that used scandir().
Going through the code it appears there's
Did you leave the function qa_sort() there or remove it?
It should have stayed exactly as it was before.
All I did was write a function called bkscandir() that implements
what's written on the linux scandir() man page. I took 10 minutes
looking for the BSD sources, then said forget it and wrote
At 10:45 24/01/2003 -0500, Brian Kolaci wrote:
Did you leave the function qa_sort() there or remove it?
It should have stayed exactly as it was before.
I eventually replaced it with qsort instead of qa_sort. It compiled and
ran fine, though the alias/forwards menus did not work. I used your
qa_sort() is the comparison function that's fed into qsort.
In any case, qsort is always called.
Brian
At 10:45 24/01/2003 -0500, Brian Kolaci wrote:
Did you leave the function qa_sort() there or remove it?
It should have stayed exactly as it was before.
I eventually