version 1.11, 2005/05/18 03:11:18 |
version 1.12, 2008/05/08 01:40:56 |
|
|
file_error(ms, errno, "cannot stat `%s'", fn); |
file_error(ms, errno, "cannot stat `%s'", fn); |
return -1; |
return -1; |
} |
} |
if (file_printf(ms, "cannot open (%s)", |
if (file_printf(ms, "cannot open `%s' (%s)", |
strerror(errno)) == -1) |
fn, strerror(errno)) == -1) |
return -1; |
return -1; |
return 1; |
return 1; |
} |
} |
|
|
/* TODO add code to handle V7 MUX and Blit MUX files */ |
/* TODO add code to handle V7 MUX and Blit MUX files */ |
#ifdef S_IFIFO |
#ifdef S_IFIFO |
case S_IFIFO: |
case S_IFIFO: |
|
if((ms->flags & MAGIC_DEVICES) != 0) |
|
break; |
if (file_printf(ms, "fifo (named pipe)") == -1) |
if (file_printf(ms, "fifo (named pipe)") == -1) |
return -1; |
return -1; |
return 1; |
return 1; |