Skip to content

Commit 1993f47

Browse files
committed
Less silly name for a signal number.
1 parent 3c9ee7b commit 1993f47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/java/org/jruby/RubySignal.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ public static Map<String, Integer> list() {
6868
continue;
6969

7070
// replace CLD with CHLD value
71-
int longValue = s.intValue();
71+
int signo = s.intValue();
7272
if (s == Signal.SIGCLD)
73-
longValue = Signal.SIGCHLD.intValue();
73+
signo = Signal.SIGCHLD.intValue();
7474

7575
// omit unsupported signals
76-
if (longValue >= 20000)
76+
if (signo >= 20000)
7777
continue;
7878

79-
signals.put(s.description().substring("SIG".length()), longValue);
79+
signals.put(s.description().substring("SIG".length()), signo);
8080
}
8181

8282
return signals;

0 commit comments

Comments
 (0)