-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* parse.y (primary): rescue and ensure clauses should be allowed
to appear in singleton method body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
matz
committed
Mar 6, 2001
1 parent
4a7d313
commit a36e0c7
Showing
20 changed files
with
177 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
Tue Mar 6 10:50:29 2001 Yukihiro Matsumoto <[email protected]> | ||
|
||
* parse.y (primary): rescue and ensure clauses should be allowed | ||
to appear in singleton method body. | ||
|
||
Mon Mar 5 17:25:13 2001 Yukihiro Matsumoto <[email protected]> | ||
|
||
* eval.c (proc_eq): compare Procs using blocktag equality. | ||
|
||
* eval.c (proc_to_s): stringify according to block tag address. | ||
|
||
Mon Mar 5 17:19:56 2001 WATANABE Hirofumi <[email protected]> | ||
|
||
* win32/win32.c (gettimeofday): use GetLocalTime() instead of ftime() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* public domain rewrite of finite(3) */ | ||
|
||
int | ||
finite(n) | ||
double n; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* public domain rewrite of isinf(3) */ | ||
|
||
#ifdef __osf__ | ||
|
||
#define _IEEE 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* public domain rewrite of isnan(3) */ | ||
|
||
#ifdef _MSC_VER | ||
|
||
#include <float.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
/* | ||
* memcmp --- compare memories. | ||
* | ||
*/ | ||
/* public domain rewrite of memcmp(3) */ | ||
|
||
int | ||
memcmp(s1,s2,len) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
/* | ||
* memmove --- move memories. | ||
* | ||
* We supply this routine for those systems that aren't standard yet. | ||
*/ | ||
/* public domain rewrite of memcmp(3) */ | ||
|
||
char * | ||
memmove (dst, src, n) | ||
char *dst, *src; | ||
int n; | ||
char *dst, *src; | ||
int n; | ||
{ | ||
char *ret = dst; | ||
char *ret = dst; | ||
|
||
if (src < dst) { | ||
src += n; | ||
dst += n; | ||
while (n--) | ||
*--dst = *--src; | ||
} | ||
else if (dst < src) | ||
while (n--) | ||
*dst++ = *src++; | ||
return ret; | ||
if (src < dst) { | ||
src += n; | ||
dst += n; | ||
while (n--) | ||
*--dst = *--src; | ||
} | ||
else if (dst < src) | ||
while (n--) | ||
*dst++ = *src++; | ||
return ret; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
/* public domain rewrite of strcasecmp(3) */ | ||
|
||
#include <ctype.h> | ||
|
||
int | ||
strcasecmp(p1, p2) | ||
char *p1, *p2; | ||
{ | ||
for ( ; *p1 && *p2; p1++, p2++) { | ||
while (*p1 && *p2) { | ||
if (toupper(*p1) != toupper(*p2)) | ||
return toupper(*p1) - toupper(*p2); | ||
p1++; | ||
p2++; | ||
} | ||
return strlen(p1) - strlen(p2); | ||
} |
Oops, something went wrong.