libc: Fix buglet around __progname
commit64a2e37a0edd0b6fadb734b98eb0d828240d485d
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 2 Apr 2014 19:42:42 +0000 (2 21:42 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 2 Apr 2014 19:42:42 +0000 (2 21:42 +0200)
tree4f04702fba25e646797b6e84709b9ad56856c54d
parent988d78ad253913a86e1b8753b8d904c437c50c8b
libc: Fix buglet around __progname

508b20ead1710e8c295630d096960e51a65b7e5d disentangled
program_invocation_name and __progname but forgot to make __progname
conditional on __UCLIBC_HAS___PROGNAME__, resulting in getconf
attempting to re-define __progname in case __UCLIBC_HAS___PROGNAME__ was
not defined.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/errno.h