[Feature #20971] Deprecate rb_path_check

https://bugs.ruby-lang.org/issues/20971
This commit is contained in:
Earlopain 2025-01-09 18:01:59 +01:00 committed by Yusuke Endoh
parent faa8ccb685
commit 7c88cbb4a6
Notes: git 2025-03-13 09:44:05 +00:00

1
file.c
View File

@ -6425,6 +6425,7 @@ path_check_0(VALUE path)
int int
rb_path_check(const char *path) rb_path_check(const char *path)
{ {
rb_warn_deprecated_to_remove_at(3.6, "rb_path_check", NULL);
#if ENABLE_PATH_CHECK #if ENABLE_PATH_CHECK
const char *p0, *p, *pend; const char *p0, *p, *pend;
const char sep = PATH_SEP_CHAR; const char sep = PATH_SEP_CHAR;