[ruby-core:96217] [Ruby master Bug#16416] Suspicious include directories.

[email protected]
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.journal-83109.20191213102754.cc6b38110620ba50@ruby-lang.org>
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:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.