mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@30 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0df245acd
commit
befe282d00
4 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
Tue Jan 19 18:19:24 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
|
||||
|
||||
* ext/extmk.rb.in (install): there should be no newline after install:
|
||||
|
||||
* re.c (MIN): renamed from min(). there's a local variable named
|
||||
min in the file, so that some cpp will raise an error.
|
||||
|
||||
Mon Jan 19 16:30:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
|
||||
|
||||
* version 1.1b5 released.
|
||||
|
|
|
@ -276,7 +276,7 @@ realclean: clean
|
|||
install:
|
||||
"
|
||||
if !$static
|
||||
mfile.printf "
|
||||
mfile.printf "\
|
||||
@test -d $(libdir) || mkdir $(libdir)
|
||||
$(INSTALL) $(TARGET) $(libdir)/$(TARGET)
|
||||
"
|
||||
|
|
|
@ -33,5 +33,6 @@ IO.foreach 'MANIFEST' do |$_|
|
|||
File.install "config.h", archdir, 0644, TRUE
|
||||
end
|
||||
File.install "rbconfig.rb", archdir, 0644, TRUE
|
||||
File.makedirs mandir, TRUE
|
||||
File.install "ruby.1", mandir, 0644, TRUE
|
||||
# vi:set sw=2:
|
||||
|
|
4
re.c
4
re.c
|
@ -69,7 +69,7 @@ static char casetable[] = {
|
|||
>>> "You lose. You will need a translation table for your character set." <<<
|
||||
#endif
|
||||
|
||||
#define min(a,b) (((a)>(b))?(b):(a))
|
||||
#define MIN(a,b) (((a)>(b))?(b):(a))
|
||||
|
||||
int
|
||||
str_cicmp(str1, str2)
|
||||
|
@ -78,7 +78,7 @@ str_cicmp(str1, str2)
|
|||
int len, i;
|
||||
char *p1, *p2;
|
||||
|
||||
len = min(RSTRING(str1)->len, RSTRING(str2)->len);
|
||||
len = MIN(RSTRING(str1)->len, RSTRING(str2)->len);
|
||||
p1 = RSTRING(str1)->ptr; p2 = RSTRING(str2)->ptr;
|
||||
|
||||
for (i = 0; i < len; i++, p1++, p2++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue