Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a0cb56f6
Commit
a0cb56f6
authored
Nov 17, 2017
by
David Johnson
Browse files
Fix minor bug in rcordersort (used only by getrcmanifest).
parent
08d9a078
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/common/libsetup.pm
View file @
a0cb56f6
...
...
@@ -813,6 +813,8 @@ sub rcordersort($$) {
my
$nb
=
(
$cb
ge
'
0
'
&&
$cb
le
'
9
');
if
(
$na
&&
$nb
)
{
if
(
$a
=~
/^(\d+)/
)
{
$a
=
$
1
}
if
(
$b
=~
/^(\d+)/
)
{
$b
=
$
1
}
return
int
(
$a
)
<=>
int
(
$b
);
}
elsif
(
$na
&&
!
$nb
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment