File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
- 4
1
+ 5
Original file line number Diff line number Diff line change 141
141
#define NO_ADDRESS_SAFETY_ANALYSIS (x ) __attribute__ ((__no_address_safety_analysis__)) x
142
142
#define WARN_UNUSED_RESULT (x ) __attribute__ ((__warn_unused_result__)) x
143
143
#define MAYBE_UNUSED (x ) __attribute__ ((__unused__)) x
144
+ #define ERRORFUNC (mesg ,x ) __attribute__ ((__error__ mesg)) x
145
+ #define WARNINGFUNC (mesg ,x ) __attribute__ ((__warning__ mesg)) x
144
146
#define WEAK (x ) __attribute__ ((__weak__)) x
145
147
#define HAVE_FUNC_WEAK 1
146
148
#define RUBY_CXX_DEPRECATED (msg ) __attribute__((__deprecated__(msg)))
Original file line number Diff line number Diff line change 142
142
#define NO_ADDRESS_SAFETY_ANALYSIS (x ) __attribute__ ((__no_address_safety_analysis__)) x
143
143
#define WARN_UNUSED_RESULT (x ) __attribute__ ((__warn_unused_result__)) x
144
144
#define MAYBE_UNUSED (x ) __attribute__ ((__unused__)) x
145
+ #define ERRORFUNC (mesg ,x ) __attribute__ ((__error__ mesg)) x
146
+ #define WARNINGFUNC (mesg ,x ) __attribute__ ((__warning__ mesg)) x
145
147
#define WEAK (x ) __attribute__ ((__weak__)) x
146
148
#define HAVE_FUNC_WEAK 1
147
149
#define RUBY_CXX_DEPRECATED (msg ) __attribute__((__deprecated__(msg)))
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ archive=$(basename "$url")
32
32
33
33
if [ ! -e " $archive " ]; then
34
34
curl -O " $url "
35
- tar xf " ruby-$VERSION .tar.gz"
35
+ fi
36
+
37
+ if [ ! -d " ruby-$VERSION " ]; then
38
+ tar xf " $archive "
36
39
fi
37
40
38
41
cd " ruby-$VERSION " || exit 1
You can’t perform that action at this time.
0 commit comments