8 Jan
2013
8 Jan
'13
6:45 p.m.
Jan wrote:
sometimes you get a 404 error when you try to open a html file, this behavior seems to be random.
Hmm... I wonder whether this would show anything interesting (run 'dpidc stop' before reinstalling DPIs) diff -r 7750054f37e5 dpi/file.c --- a/dpi/file.c Mon Jan 07 21:39:19 2013 +0100 +++ b/dpi/file.c Tue Jan 08 18:42:22 2013 +0000 @@ -671,6 +671,8 @@ struct stat sb; if (stat(filename, &sb) != 0) { + MSG("Couldn't stat %s: %s\n", filename, strerror(errno)); + /* stat failed, prepare a file-not-found error. */ res = ENOENT; } else if (S_ISDIR(sb.st_mode)) {