freopen: Don't crash if the filename argument is NULL.
authorClaudio Bley <claudio.bley@gmail.com>
Wed, 31 Aug 2011 08:12:25 +0000 (10:12 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2011 08:12:57 +0000 (10:12 +0200)
commita0d9972bfe5609bd225968ddfa76188ffa48280b
tree36898ce18038de86580e96bb7fb93c66dbde7def
parent0ba19fcc5ff43167939e465af4b93f965fffcc8c
freopen: Don't crash if the filename argument is NULL.

* lib/freopen.c (rpl_freopen): Don't compare the filename if it is
NULL.
ChangeLog
lib/freopen.c