Re: [Mesa-dev] [PATCH 1/2] aubinator: rework print_help()

2016-09-12 Thread Jonathan Gray
On Mon, Sep 12, 2016 at 12:59:11PM +0100, Emil Velikov wrote: > From: Emil Velikov > > 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 stri

[Mesa-dev] [PATCH 1/2] aubinator: rework print_help()

2016-09-12 Thread Emil Velikov
From: Emil Velikov 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 printou