Have the C Scanner handle IOError when a file doesn't exist.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 11 Dec 2001 02:08:53 +0000 (02:08 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 11 Dec 2001 02:08:53 +0000 (02:08 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@133 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Scanner/C.py

index ab48342b81c20bf754e0e1e11d9c036494af0c79..953d737a0aa106c6262d0b8aaea27e84f71526cf 100644 (file)
@@ -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 []