]> git.ipfire.org Git - thirdparty/krb5.git/commit
Allow logger.c to work with redirected stderr 196/head
authorTom Yu <tlyu@mit.edu>
Tue, 26 Aug 2014 22:18:02 +0000 (18:18 -0400)
committerTom Yu <tlyu@mit.edu>
Fri, 29 Aug 2014 18:51:54 +0000 (14:51 -0400)
commita85923073ad2d1f5d0314ab330fd6c5f07749be8
tree744ba8b38d58c1e14b3fcd2ddd19c1a5ca722022
parentbf040d0c4072742efab854ab01af162569f0a8f7
Allow logger.c to work with redirected stderr

In lib/kadm5/logger.c:krb5_klog_init(), if the configuration requests
STDERR logging, call fdopen() using mode "w" instead of "a+", to avoid
errors when stderr happens to be opened for write only.

ticket: 8001 (new)
target_version: 1.13
tags: pullup
src/lib/kadm5/logger.c