on master help sign in
Properly attribute linker script regexes (#3314)
commit98c892ce8a99757d00dd4c67dea501ac6ae7d6a0 authorEcho Nolan <echo@echonolan.net> dateWed 3 Aug 2016, 15:34 (10 years ago) parent5f8389f
1 file changed+2
src/Util/DynamicLinker.hs+2
src/Util/DynamicLinker.hs+2
@@ -132,6 +132,8 @@ mapMFirst f (a:as) = do res <- try (f a)
132132 Left (ex :: IOException) -> mapMFirst f as
133133 Right res -> return $ Just res
134134
135+-- Both regexes copyright 2009-2011 Howard B. Golden, CJ van den Berg and Ian
136+-- Lynagh. From the Glasgow Haskell Compiler. BSD licensed.
135137invalidLibRegex :: Regex
136138invalidLibRegex = makeRegex "(([^ \t()])+\\.so([^ \t:()])*):([ \t])*(invalid ELF header|file too short)"
137139