File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
haskell/ngx-export-distribution Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1+ ### 0.5.1.2
2+
3+ - Parse * ldd* outputs of older formats where the separator may occur between the
4+ library and the address like in * linux-vdso.so.1 => (0x00007fffd33f2000)* .
5+
16### 0.5.1.1
27
38- Collect * libffi* library unconditionally.
Original file line number Diff line number Diff line change 11name : ngx-export-distribution
2- version : 0.5.1.1
2+ version : 0.5.1.2
33synopsis : Build custom libraries for Nginx haskell module
44description : Build custom libraries for
55 <https://github.com/lyokha/nginx-haskell-module Nginx haskell module> .
Original file line number Diff line number Diff line change @@ -358,10 +358,8 @@ parseLddOutput = flip parse "ldd" $ many $
358358 <|> Nothing <$ string " not found"
359359 )
360360 )
361- -- FIXME: in some documents, vdso record has an arrow in the middle
362- -- linux-vdso.so.1 => (0x00007fffd33f2000)
363- -- this format is not supported here, not sure if it should be.
364- <|> (`LibOther ` Nothing ) <$> right
361+ <|> try ((`LibOther ` Nothing ) <$> right)
362+ <|> (`LibOther ` Nothing ) <$> manyTill anyChar' (sep *> addr *> newline)
365363 )
366364 where toLddRec lib | " libHS" `isPrefixOf` lib = LibHS lib
367365 | " libffi.so" `isPrefixOf` lib = LibFFI lib
You can’t perform that action at this time.
0 commit comments