util: honor anchored names when searching for executables
util: honor anchored names when searching for executables

I got bit in a debugging session on an uninstalled libvirtd; the
code tried to call out to the installed $LIBEXECDIR/libvirt_iohelper
instead of my just-built version.  So I set a breakpoint and altered
the binary name to be "./src/libvirt_iohelper", and it still failed
because I don't have "." on my PATH.

According to POSIX, execvp only searches PATH if the name does
not contain a slash.  Since we are trying to mimic that behavior,
an anchored name should be relative to the current working dir.

This tightens existing behavior, but most callers already pass
an absolute name or a name with no slashes, so it probably won't
be noticeable.

* src/util/util.c (virFindFileInPath): Anchored relative names do
not invoke a PATH search.

trainstack/libvirt,foomango/libvirt,wiedi/libvirt,libvirt/libvirt,cbosdo/libvirt,elmarco/libvirt,andreabolognani/libvirt,bjzhang/libvirt,shugaoye/libvirt,elmarco/libvirt,cbosdo/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,iam-TJ/libvirt,trainstack/libvirt,warewolf/libvirt,wiedi/libvirt,leilihh/libvirt,shugaoye/libvirt,jeckersb/libvirt,soulxu/libvirt-xuhj,agx/libvirt,shugaoye/libvirt,rlaager/libvirt,jfehlig/libvirt,emaste/libvirt,trainstack/libvirt,rmarwaha/libvirt,jeckersb/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,crobinso/libvirt,emaste/libvirt,bjzhang/libvirt,andreabolognani/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,zippy2/libvirt,elmarco/libvirt,usc-isi/libvirt,foomango/libvirt,taget/libvirt,eskultety/libvirt,usc-isi/libvirt,libvirt/libvirt,taget/libvirt,agx/libvirt,bjzhang/libvirt,zippy2/libvirt,emaste/libvirt,leilihh/libvirt,jardasgit/libvirt,nertpinx/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,rmarwaha/libvirt,trainstack/libvirt,VenkatDatta/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt1,datto/libvirt,nertpinx/libvirt,olafhering/libvirt,soulxu/libvirt-xuhj,olafhering/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,rmarwaha/libvirt1,fabianfreyer/libvirt,siboulet/libvirt-openvz,foomango/libvirt,dumbbell/libvirt,rmarwaha/libvirt,zhlcindy/libvirt-1.1.4-maintain,emaste/libvirt,elmarco/libvirt,leilihh/libvirt,trainstack/libvirt,eskultety/libvirt,iam-TJ/libvirt,bjzhang/libvirt,dumbbell/libvirt,olafhering/libvirt,usc-isi/libvirt,datto/libvirt,emaste/libvirt,trainstack/libvirt,iam-TJ/libvirt,dumbbell/libvirt,warewolf/libvirt,rlaager/libvirt,siboulet/libvirt-openvz,fabianfreyer/libvirt,datto/libvirt,foomango/libvirt,danwent/libvirt-ovs,usc-isi/libvirt,datto/libvirt,taget/libvirt,crobinso/libvirt,rmarwaha/libvirt,novel/fbsd-libvirt,iam-TJ/libvirt,rmarwaha/libvirt1,rlaager/libvirt,jardasgit/libvirt,iam-TJ/libvirt,jeckersb/libvirt,rmarwaha/libvirt,danwent/libvirt-ovs,warewolf/libvirt,eskultety/libvirt,cbosdo/libvirt,zippy2/libvirt,eskultety/libvirt,leilihh/libvirt,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,danwent/libvirt-ovs,zhlcindy/libvirt-1.1.4-maintain,elmarco/libvirt,kantai/libvirt-vfork,cbosdo/libvirt,cbosdo/libvirt,warewolf/libvirt,libvirt/libvirt,rmarwaha/libvirt1,kantai/libvirt-vfork,nertpinx/libvirt,jeckersb/libvirt,agx/libvirt,agx/libvirt,dumbbell/libvirt,eskultety/libvirt,warewolf/libvirt,olafhering/libvirt,bjzhang/libvirt,taget/libvirt,soulxu/libvirt-xuhj,jeckersb/libvirt,soulxu/libvirt-xuhj,leilihh/libvirt,wiedi/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,kantai/libvirt-vfork,warewolf/libvirt,jeckersb/libvirt,jfehlig/libvirt,wiedi/libvirt,rmarwaha/libvirt1,jardasgit/libvirt,andreabolognani/libvirt,novel/fbsd-libvirt,dumbbell/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,zippy2/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,shugaoye/libvirt,danwent/libvirt-ovs,andreabolognani/libvirt,iam-TJ/libvirt,wiedi/libvirt,rlaager/libvirt,trainstack/libvirt,andreabolognani/libvirt,foomango/libvirt,libvirt/libvirt,jfehlig/libvirt,siboulet/libvirt-openvz,usc-isi/libvirt,soulxu/libvirt-xuhj,novel/fbsd-libvirt,wiedi/libvirt,rlaager/libvirt,datto/libvirt,kantai/libvirt-vfork,dumbbell/libvirt,fabianfreyer/libvirt,danwent/libvirt-ovs,leilihh/libvirt,shugaoye/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,emaste/libvirt,wiedi/libvirt,rmarwaha/libvirt,rmarwaha/libvirt1,crobinso/libvirt,VenkatDatta/libvirt,agx/libvirt,fabianfreyer/libvirt,warewolf/libvirt,crobinso/libvirt,emaste/libvirt,VenkatDatta/libvirt