diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-09-12 12:34:10 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-09-12 16:49:59 +0100 |
commit | ceaa2e1738f9d0ee1280899af6dfee64f72c405a (patch) | |
tree | 4fcf9e9b00f2eb4b550a7ffb398aa9f285226596 /include | |
parent | 0cb1428fbbbcbd17c975b6505cab6f685c0129aa (diff) | |
download | external_mesa3d-ceaa2e1738f9d0ee1280899af6dfee64f72c405a.zip external_mesa3d-ceaa2e1738f9d0ee1280899af6dfee64f72c405a.tar.gz external_mesa3d-ceaa2e1738f9d0ee1280899af6dfee64f72c405a.tar.bz2 |
aubinator: rework print_help()
Rather than using platform specific methods to retrieve the program
name pass it explicitly. The function is called directly from main().
Similarly - basename comes in two versions POSIX (can modify string,
always pass a copy) and GNU (never modifies the string).
Just printout the complete program name, esp. since the program is not
meant to be installed. Thus using $basename is unlikely to work, not to
mention it is misleading.
Reported-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jonathan Gray <jsg@jsg.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions