Skip to content

Commit

Permalink
++sort must crash on non-loobean
Browse files Browse the repository at this point in the history
  • Loading branch information
Quodss committed Aug 12, 2024
1 parent f7d40a8 commit 8681589
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/noun/jets/b/sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@
if ( c3y == hoz ) {
nex = u3nc(u3nc(u3k(u3h(a)), u3k(u3h(acc))), u3k(u3t(acc)));
}
else {
else if ( c3n == hoz ) {
nex = u3nc(u3k(u3h(acc)), u3nc(u3k(u3h(a)), u3k(u3t(acc))));
}
else {
return u3m_bail(c3__exit);
}
u3z(hoz);
u3z(acc);

Expand Down

0 comments on commit 8681589

Please sign in to comment.