expand_tilde in pnd_utility now understands that ~ actually maps to the logged in...
authorskeezix <skeezix@flotsam-vm.(none)>
Sat, 10 Oct 2009 14:30:46 +0000 (10:30 -0400)
committerskeezix <skeezix@flotsam-vm.(none)>
Sat, 10 Oct 2009 14:30:46 +0000 (10:30 -0400)
commit922a06c929488d51c8930f24ed62e32e897f4b3b
tree5c28bdf6fe90eb580d9f03e3b52a3a0dfebbfa1f
parent0258a5f326ad753a47bfc8189249c71748bed7fc
expand_tilde in pnd_utility now understands that ~ actually maps to the logged in users homedir --
ie: In the event pndnotifyd is run as root from init/etc, and finds ~ in the dot-desktop emit path,
it should figure out tha actual user's homedir, not roots.

NOTE: This is for expand-tilde and not functions that depend on wordexp() -- ie: searchpaths, where
~ would be a standard shell expansion for the user who ran the job
lib/pnd_utility.c