зеркало из https://github.com/github/ruby.git
* error.c (get_syserror): some Windows' errno have 5 digits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6bdae1594e
Коммит
2403d9188d
|
@ -1,3 +1,7 @@
|
|||
Mon Jan 27 02:06:38 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* error.c (get_syserror): some Windows' errno have 5 digits.
|
||||
|
||||
Sun Jan 26 19:23:10 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* instruby.rb ($mflags.set?): Check $make instead of $nmake, sinse
|
||||
|
|
4
error.c
4
error.c
|
@ -495,8 +495,8 @@ get_syserr(int n)
|
|||
VALUE error;
|
||||
|
||||
if (!st_lookup(syserr_tbl, n, &error)) {
|
||||
char name[6];
|
||||
|
||||
char name[8]; /* some Windows' errno have 5 digits. */
|
||||
|
||||
sprintf(name, "E%03d", n);
|
||||
error = set_syserr(n, name);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче