From: stevenknight Date: Tue, 11 Dec 2001 02:08:53 +0000 (+0000) Subject: Have the C Scanner handle IOError when a file doesn't exist. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5df7169f9d07971c4d1bd3bc75d8f905b83e0efa;p=scons.git Have the C Scanner handle IOError when a file doesn't exist. git-svn-id: http://scons.tigris.org/svn/scons/trunk@133 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Scanner/C.py b/src/engine/SCons/Scanner/C.py index ab48342b..953d737a 100644 --- a/src/engine/SCons/Scanner/C.py +++ b/src/engine/SCons/Scanner/C.py @@ -91,5 +91,5 @@ def scan(filename, env, node_factory): node_factory) + SCons.Util.find_files(quote_includes, source_dir + paths, node_factory)) - except OSError: + except (IOError, OSError): return []