|
Lines 65-74
Link Here
|
| 65 |
} |
65 |
} |
| 66 |
|
66 |
|
| 67 |
if((fd = open (cachename, O_RDONLY)) < 0) |
67 |
if((fd = open (cachename, O_RDONLY)) < 0) |
| 68 |
DIE(("Unable to open cache %s\n", cachename)); |
68 |
DIE(("Unable to open cache %s : %s\n", cachename, strerror(errno))); |
| 69 |
|
69 |
|
| 70 |
if(fstat (fd,&statbuf) < 0) |
70 |
if(fstat (fd,&statbuf) < 0) |
| 71 |
DIE(("Unable to stat cache %s\n", cachename)); |
71 |
DIE(("Unable to stat cache %s : %s\n", cachename, strerror(errno))); |
| 72 |
|
72 |
|
| 73 |
rules_size = statbuf.st_size; |
73 |
rules_size = statbuf.st_size; |
| 74 |
|
74 |
|