merge 335406 240824
tags 240824 patch
thanks

This bug is really easy to fix, linux_logo just has to hardcode the linux
logo number to use when selection '-c'. The attached patch fixes these long
standing bugs and makes linux_logo do what the manpage does.

Please apply this fix to the package, thanks

Javier
diff -Nru linuxlogo-4.13/linux_logo.c linuxlogo-4.13.patch/linux_logo.c
--- linuxlogo-4.13/linux_logo.c 2006-01-11 18:29:23.000000000 +0100
+++ linuxlogo-4.13.patch/linux_logo.c   2006-07-08 13:28:49.000000000 +0200
@@ -749,7 +749,7 @@
           switch (c) {
             case 'a': settings.plain_ascii=1; break;
             case 'b': settings.banner_mode=1; break;
-            case 'c': settings.banner_mode=0; break;
+            case 'c': settings.banner_mode=0; logo_num=2; break;
             case 'd': settings.pretty_output=0; 
                       set_pretty_printing(0);
                       break; 

Attachment: signature.asc
Description: Digital signature

Reply via email to