wok-6.x annotate ruby-ncurses/stuff/Werror-format-security.patch @ rev 24045
memtest,plop: tune lzma compression
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 06 12:50:46 2021 +0000 (2021-05-06) |
parents | |
children |
rev | line source |
---|---|
paul@16777 | 1 diff -Naur ncurses-ruby-1.3.1/form_wrap.c ncurses-ruby-1.3.1.format/form_wrap.c |
paul@16777 | 2 --- ncurses-ruby-1.3.1/form_wrap.c 2014-02-03 11:31:39.049867878 +0100 |
paul@16777 | 3 +++ ncurses-ruby-1.3.1.format/form_wrap.c 2014-02-03 11:44:37.001008654 +0100 |
paul@16777 | 4 @@ -1132,7 +1132,7 @@ |
paul@16777 | 5 char msg[500]; |
paul@16777 | 6 snprintf(msg, 500, "The validation functions for this field type need %d additional arguments.",(int)(NUM2INT(argc)-1)); |
paul@16777 | 7 msg[499]=0; |
paul@16777 | 8 - rb_raise(rb_eArgError, msg); |
paul@16777 | 9 + rb_raise(rb_eArgError, "%s", msg); |
paul@16777 | 10 } |
paul@16777 | 11 } |
paul@16777 | 12 } |