File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -7436,6 +7436,7 @@ file.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h
7436
7436
file.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h
7437
7437
file.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h
7438
7438
file.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h
7439
+ file.$(OBJEXT): {$(VPATH)}internal/attr/nonstring.h
7439
7440
file.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h
7440
7441
file.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h
7441
7442
file.$(OBJEXT): {$(VPATH)}internal/attr/pure.h
Original file line number Diff line number Diff line change 12
12
**********************************************************************/
13
13
14
14
#include "ruby/internal/config.h"
15
+ #include "ruby/internal/attr/nonstring.h"
15
16
16
17
#ifdef _WIN32
17
18
# include "missing/file.h"
@@ -373,7 +374,7 @@ rb_str_normalize_ospath(const char *ptr, long len)
373
374
int r = rb_enc_precise_mbclen (p , e , enc );
374
375
if (!MBCLEN_CHARFOUND_P (r )) {
375
376
/* invalid byte shall not happen but */
376
- static const char invalid [3 ] = "\xEF\xBF\xBD" ;
377
+ RBIMPL_ATTR_NONSTRING () static const char invalid [3 ] = "\xEF\xBF\xBD" ;
377
378
rb_str_append_normalized_ospath (str , p1 , p - p1 );
378
379
rb_str_cat (str , invalid , sizeof (invalid ));
379
380
p += 1 ;
You can’t perform that action at this time.
0 commit comments