Several fixes to AOL and tests

Yes

Date: Wed, 11 Jun 2014 17:56:04 -0700
From: notifications@github.com
To: OlegDB@noreply.github.com
CC: martijn_gerkes@hotmail.com
Subject: Re: [OlegDB] Several fixes to AOL and tests (#92)

In src/file.c:

> @@ -9,8 +9,10 @@
>  int _ol_get_stat(const char *filepath, struct stat *sb) {
>      int fd;
>      fd = open(filepath, O_RDONLY);
> -    if (fd == -1)
> +    if (fd == -1) {
> +        errno = 0;

Is this what was causing the 'File not found' errors?


—
Reply to this email directly or view it on GitHub.