*****************
Implement scandir
??Then make sure scandir (and friends?) isn't used when out of VPATH??
add /usr/lib/libtricks/dpkg-shlibdeps


*****************

switch $VPATH_SHOWFILES in
  strangesymlinks) 
      show the 'vpath replaced' files as symlinks that have the
      size and permissions of the pointed to file (as is done now)
  ;;
  symlinks)
      show the 'vpath replaced' files as normal symlinks.
  ;;
  hardlinks) shot them as 'hardlinks' (even for cross-device links?)
  ;;
esac


*****************

VPATH_IGNORE=typespec
for example
  VPATH_IGNORE=check("^(get|put|submit)$")

now libtricks will remove LD_PRELOAD from the environment whenever
it exec's a command that matches VPATH_IGNORE.


*****************

I'd like to be able to do 
  $ diff -u filename filename:1
and see the diff's between my version and the one in the archive (second vpath)

:0, :1

open(file)   -> open(VPATH[0]/file) && open(VPATH[1]/file) && ...
open(file:0) -> open(VPATH[0]/file) && open(VPATH[1]/file) && ...
open(file:1) -> open(VPATH[1]/file) && open(VPATH[2]/file) && ...


=0, =1

open(file=0) -> open(VPATH[0]/file)  #kaj ne VPATH[1], ktp.
open(file=1) -> open(VPATH[1]/file)
