]> granicus.if.org Git - neomutt/commit
Change the logic in mutt_open_read to only catch directories -- mutt
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 8 Feb 2004 09:38:38 +0000 (09:38 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 8 Feb 2004 09:38:38 +0000 (09:38 +0000)
commit748c3a3e210eb71685fd825be5b755a360a14d19
treef02d51762b0e3307bfdbe9fad89e13402c08d8e8
parent342eb3360799d8f7866463312fd058a565f03d13
Change the logic in mutt_open_read to only catch directories -- mutt
may legitimately read devices (think /dev/null) or named pipes. Also
delegate error reporting to the calling function by setting errno.
muttlib.c