File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1313,6 +1313,8 @@ path_f_pathname(VALUE self, VALUE str)
1313
1313
1314
1314
#include "pathname_builtin.rbinc"
1315
1315
1316
+ static void init_ids (void );
1317
+
1316
1318
/*
1317
1319
*
1318
1320
* Pathname represents the name of a file or directory on the filesystem,
@@ -1503,8 +1505,13 @@ Init_pathname(void)
1503
1505
rb_ext_ractor_safe (true);
1504
1506
#endif
1505
1507
1508
+ init_ids ();
1506
1509
InitVM (pathname );
1510
+ }
1507
1511
1512
+ void
1513
+ InitVM_pathname (void )
1514
+ {
1508
1515
rb_cPathname = rb_define_class ("Pathname" , rb_cObject );
1509
1516
rb_define_method (rb_cPathname , "initialize" , path_initialize , 1 );
1510
1517
rb_define_method (rb_cPathname , "freeze" , path_freeze , 0 );
@@ -1596,7 +1603,7 @@ Init_pathname(void)
1596
1603
}
1597
1604
1598
1605
void
1599
- InitVM_pathname (void )
1606
+ init_ids (void )
1600
1607
{
1601
1608
#undef rb_intern
1602
1609
id_at_path = rb_intern ("@path" );
You can’t perform that action at this time.
0 commit comments