Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
3271-stdlib-Expand-filelib-find_sources-to-find...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3271-stdlib-Expand-filelib-find_sources-to-find-asn1-file.patch of Package erlang
From 0068092229ee6ed2653a2e11c61d5a2ef19b148b Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Mon, 31 Jan 2022 15:41:22 +0100 Subject: [PATCH 1/2] stdlib: Expand filelib:find_sources to find asn1 files Closes #5655 --- lib/stdlib/src/filelib.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/stdlib/src/filelib.erl b/lib/stdlib/src/filelib.erl index 7f8c282a79..cd23a9fa47 100644 --- a/lib/stdlib/src/filelib.erl +++ b/lib/stdlib/src/filelib.erl @@ -646,6 +646,7 @@ default_search_rules() -> {".o", ".c", c_source_search_rules()}, {"", ".c", c_source_search_rules()}, {"", ".in", basic_source_search_rules()}, + {".beam", ".asn1", asn1_source_search_rules()}, %% plain old directory rules, backwards compatible {"", ""}] ++ erl_source_search_rules(). @@ -661,6 +662,9 @@ erl_source_search_rules() -> c_source_search_rules() -> [{"priv","c_src"}, {"priv","src"}, {"bin","c_src"}, {"bin","src"}, {"", "src"}]. +asn1_source_search_rules() -> + [{"ebin","src"},{"ebin","asn1"}]. + %% Looks for a file relative to a given directory -type find_file_rule() :: {ObjDirSuffix::string(), SrcDirSuffix::string()}. -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor