On 13/10/16 02:43, Daniel Richard G. wrote: > On Wed, 2016 Oct 12 11:04+0100, Pádraig Brady wrote: >> >> You only want to strdup once. >> So you could use a static to track that as is done in the AIX case. > > Ah, I see, the program name never changes. > >> You can call free(NULL), so the last 3 ifs are redundant. > > Revised patch is tested and attached.
Pushed at: http://git.svh.gnu.org/gitweb/?p=gnulib.git;a=commit;h=d75cbb3 thanks, Pádraig
