🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by francois-oss Thu, 19 Nov 2026 18:50
Bug#1154503: PATCH skip = false not working
#5138
Author: francois-oss
Date: Thu, 19 Nov 2026 18:50
25 lines
2878 bytes
Package: myrepos

mr: skip: skip = false must not skip
    
safe shortcut for literal false was not working
    
in skip test handling line 1119 we do a << 8 to adapt to the quirk of system()
function. runsh is adapted to return 1 >> 8 for "false" and it now works
    
This bug seems here forever (probably since 48204df)

diff --git a/mr b/mr
index 0233e17..afbf658 100755
--- a/mr
+++ b/mr
@@ -812,7 +812,7 @@ sub runsh {
        }
        elsif ($command =~ /^\s*false\s*$/) {
                $?=0;
-               return 1;
+               return 1 << 8;
        }
 
        my $quotedparams=join(" ", (map { shellquote($_) } @$params));
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads