[Bug 571] Fix attached for Job Control bug in ASH shell.

bugzilla at busybox.net bugzilla at busybox.net
Sat Aug 15 22:43:34 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=571


Oliver Mattos <omattos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |omattos at gmail.com




--- Comment #1 from Oliver Mattos <omattos at gmail.com>  2009-08-15 22:43:32 UTC ---
Sorry - just read through this again and realised I was one line short.  The
working code is:

         found = 0;
         while (jp) {
                 if (match(jp->ps[0].cmd, p)) {
                         if (found)
                                 goto err;
                         found = jp;
                         err_msg = "%s: ambiguous";
                 }
                 jp = jp->prev_job;
         }
         if (!found)
                 goto err;
         jp=found;


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list