[Toybox] ls --color problem

José Bollo jose.bollo at open.eurogiciel.org
Tue May 5 06:45:49 PDT 2015


Hi all, Hi Felix,

This patch

-    totpad = totals[1]+!!totals[1]+totals[6]+!!totals[6]+totals[7]+!!
totals[7];
+    totpad = totals[1]+!!totals[1]+totals[6]+!!totals[6];//+totals[7]+!!totals[7];

Is probably wrong.

Instead, try to change the last line of entrylen function

-  if (CFG_LS_Z && (flags & FLAG_Z)) len[7] = seclabel(dt, 0);
+  len[7] = (CFG_LS_Z && (flags & FLAG_Z)) ? seclabel(dt, 0) : 0;

PS. Sorry to reply this way but I didn't received that mail in my
mailbox but recovered it in archives. However It seems that I recovered
the mails now.


 1430833549.0


More information about the Toybox mailing list