summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--lib/shell/command-processor.rb2
-rw-r--r--missing.h4
-rw-r--r--mkconfig.rb2
-rw-r--r--string.c10
5 files changed, 21 insertions, 6 deletions
@@ -2,10 +2,19 @@ Tue Aug 5 17:58:57 2003 WATANABE Hirofumi <[email protected]>
* lib/fileutils.rb (install): should preserve timestamp only.
Tue Aug 5 15:47:34 2003 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_load): should preserve current source file/line.
Mon Aug 4 17:25:18 2003 Yukihiro Matsumoto <[email protected]>
* stable version 1.8.0 released.
@@ -205,7 +205,7 @@ class Shell
#
def rmdir(*path)
for dir in path
- Dir.rmdir(expand_path(path))
end
end
@@ -128,8 +128,8 @@ extern unsigned long strtoul _((char *, char **, int));
# else
# include <varargs.h>
# endif
-extern snprintf __((char *, size_t n, char const *, ...));
-extern vsnprintf _((char *, size_t n, char const *, va_list));
#endif
#endif /* MISSING_H */
@@ -45,7 +45,7 @@ File.foreach "config.status" do |line|
next if $install_name and /^RUBY_INSTALL_NAME$/ =~ name
next if $so_name and /^RUBY_SO_NAME$/ =~ name
v = " CONFIG[\"" + name + "\"] = " +
- val.gsub(/\$(?:\$|\{?(\w+)\}?)/) {$1?"$(#{$1})":$&}.dump + "\n"
if fast[name]
v_fast << v
else
@@ -144,8 +144,14 @@ str_new4(klass, str)
RSTRING(str2)->len = RSTRING(str)->len;
RSTRING(str2)->ptr = RSTRING(str)->ptr;
- RSTRING(str)->aux.shared = str2;
- FL_SET(str, ELTS_SHARED);
OBJ_INFECT(str2, str);
return str2;