-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1847098 - Add version number of so files (#103)
* Bug 1847098 - Add version number of so files * Simplify The original code would have paniced on non-utf8 paths, and would fail to return any version components if a single one failed to be parsed as a number. The new code will now gracefully fail if the filename (the rest of the path is inconsequential) is non-utf8, and now tries to handle as many version components as it can, including partial parsing of mixed alphanumeric components such as, eg 2rc5 (which was aready a test case) would be parsed as `25` --------- Co-authored-by: Alexandre Lissy <lissyx@lissyx.dyndns.org> Co-authored-by: Jake Shadle <jake.shadle@embark-studios.com>
- Loading branch information
1 parent
a098f7c
commit c81300e
Showing
2 changed files
with
89 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters