[Mesa-dev] [PATCH 3/4] nouveau: honor fread return value in the nouveau_compiler

2014-03-12 Thread Emil Velikov
There is little point of continuing if fread returns zero, as it indicates that either the file is empty or cannot be read from. Bail out if fread returns zero after closing the file. Cc: Ilia Mirkin imir...@alum.mit.edu Signed-off-by: Emil Velikov emil.l.veli...@gmail.com ---

Re: [Mesa-dev] [PATCH 3/4] nouveau: honor fread return value in the nouveau_compiler

2014-03-12 Thread Ilia Mirkin
On Wed, Mar 12, 2014 at 1:24 PM, Emil Velikov emil.l.veli...@gmail.com wrote: There is little point of continuing if fread returns zero, as it indicates that either the file is empty or cannot be read from. Bail out if fread returns zero after closing the file. Cc: Ilia Mirkin