Issue #16416 has been updated by vo.x (Vit Ondruch).


This is very likely created here:

https://github.com/ruby/ruby/blob/40026a408df5e3576380f6c1d8bf6c119fa2e32b/common.mk#L241

But it is not clear to me under what conditions this directory is used.

----------------------------------------
Bug #16416: Suspicious include directories.
https://bugs.ruby-lang.org/issues/16416#change-83109

* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-12-10 master af11efd377) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
There are created suspicious include directories:

~~~
$ cd /usr/local/include/
[vondruch@localhost include]$ tree
.
ижибиб ruby-2.7.0
    изибиб ruby
    ив изибиб assert.h
    ив изибиб backward
    ив ив изибиб classext.h
    ив ив изибиб cxxanyargs.hpp
    ив ив изибиб rubyio.h
    ив ив изибиб rubysig.h
    ив ив изибиб st.h
    ив ив ижибиб util.h
    ив изибиб backward.h
    ив изибиб debug.h
    ив изибиб defines.h
    ив изибиб digest.h
    ив изибиб encoding.h
    ив изибиб intern.h
    ив изибиб io.h
    ив изибиб missing.h
    ив изибиб onigmo.h
    ив изибиб oniguruma.h
    ив изибиб regex.h
    ив изибиб re.h
    ив изибиб ruby.h
    ив изибиб st.h
    ив изибиб subst.h
    ив изибиб thread.h
    ив изибиб thread_native.h
    ив изибиб util.h
    ив изибиб version.h
    ив ижибиб vm.h
    изибиб ruby.h
    изибиб ruby-2.7.0
    ив ижибиб x86_64-linux
    ижибиб x86_64-linux
        изибиб rb_mjit_min_header-2.7.0.h
        ижибиб ruby
            ижибиб config.h
~~~

My concern is specifically the ruby-2.7.0/ruby-2.7.0 directory structure.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>