[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] src/data/any-reader.c (any_reader_may_open): Return tri-stat
From: |
Ben Pfaff |
Subject: |
Re: [PATCH] src/data/any-reader.c (any_reader_may_open): Return tri-state value. |
Date: |
Sun, 15 Dec 2013 11:03:26 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Dec 15, 2013 at 05:22:16PM +0100, John Darrington wrote:
> Previously, any_reader_may_open returned bool. This change makes it
> return a tri-state variable. YES, NO or ERROR. This is useful to
> distinguish between a file which is not "readable" (ie not in a format
> which PSPP knows how to read) and a file which cannot be opened due
> to lack of permission or other lower level errors.
Looks good to me.