expand(),file_expand(): use a shared implementation..
commitabff605e6ce228323af2dce7cc0db44dfe960074
authorSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Tue, 23 Oct 2012 13:48:27 +0000 (23 15:48 +0200)
committerSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Thu, 25 Oct 2012 15:19:30 +0000 (25 17:19 +0200)
tree17b0f1842943d3073ff2577719a37b8d115254d5
parent2c434f1ece918368a607e85f3c071adb413d0379
expand(),file_expand(): use a shared implementation..

I have seen that a greek colossa actually grumbled that file_expand()
does not expand the decade-known % and such, but only + and ~.
So do share the implementation in between them and *do* expand the
mentioned, yet fail for file_expand() if the result is not local.

It makes the file_expand() case needlessly slow, but this is
a grown historic program and users should generally be able to
do whatever they want anyway.
extern.h
fio.c