|
From: Lars H. <lhe...@us...> - 2008-02-18 16:49:53
|
> - !S_ISREG(statbuf.st_mode) && !S_ISFIFO(statbuf.st_mode)) {
> - os_error(name_token, "\"%s\" is not a regular file or pipe",
> + S_ISDIR(statbuf.st_mode)) {
> + os_error(name_token, "\"%s\" is a directory",
>
> works for me.
Ok. I have committed this to cvs, but am still uncertain whether we should
explicitly disallow block devices.
|