Small 'fixes' to APE to make auto*hell a bit happier.
Had to create a fork of ls to better emulate Unix ls:
Auto*hell tries to use ls -L because some sort of symlink braindamage
which obviously doesn't apply to Plan 9, allow that flag but ignore it.
Auto hell does some weird tests comparing the arguments it gives to ls
with the output of ls, cleanname() breaks those tests by rewriting parts
of the path, so removed the calls to cleanname().
Auto*hell also often calls printf with a single argument and no formating,
so I created a really dummy printf that just prints it's first argument.
This patch is not of much value, but when trying to wade thru auto*hell
land it removes lots of noise. Further patches might follow as I go thru
the experience of trying to get a single auto*hell script to run, if I
don't go mad first.
|