util: add afs_exec_alt
authorAndrew Deason <adeason@sinenomine.net>
Thu, 29 Jul 2010 19:47:03 +0000 (14:47 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 4 Aug 2010 12:24:04 +0000 (05:24 -0700)
commita5bcd61a16a3d6b0b458f4710c0d537cfee7743d
tree276aa2cdcb183307fa5c24007dd15881af8befcf
parent6b6535279a558d0d25b95e4ab4038e7ac9699797
util: add afs_exec_alt

Add the function afs_exec_alt to help programs easily execute an
"alternate" version of themselves. For example, for programs that are
built with/without DAFS support, or are built for 32-bit/64-bit
structures, etc.

Change-Id: Ibb2b7105d58476f84bd9f15987f8b7df37314b6b
Reviewed-on: http://gerrit.openafs.org/2483
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/util/Makefile.in
src/util/afsutil_prototypes.h
src/util/exec.c [new file with mode: 0644]
tests/TESTS
tests/util/Makefile.in
tests/util/exec-alt-t.c [new file with mode: 0644]