Fixed a bug in a temporary file handle, and made the file open/close checks more correct

This commit is contained in:
alexhudson
2007-07-26 10:38:10 +00:00
parent 50617cbc10
commit c8f9670d70
2 changed files with 17 additions and 12 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ typedef struct _Queue {
extern MessageQueue Queue;
void fopen_check(FILE *handle, char *path, char *mode, int line);
int fclose_check(FILE *fh, int line);
FILE * fopen_check(FILE **handle, char *path, char *mode, int line);
int fclose_check(FILE **handle, int line);
int unlink_check(char *path, int line);
int rename_check(const char *oldpath, const char *newpath, int line);