Changeset 3192 for trunk/src/kmk/job.c


Ignore:
Timestamp:
Mar 26, 2018, 10:25:56 PM (7 years ago)
Author:
bird
Message:

kmkbuiltin: funnel output thru output.c (usually via err.c).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/job.c

    r3186 r3192  
    14811481    }
    14821482
     1483  /* We're sure we're going to invoke a command: set up the output.  */
     1484  output_start ();
     1485
     1486  /* Flush the output streams so they won't have things written twice.  */
     1487
     1488  fflush (stdout);
     1489  fflush (stderr);
     1490
    14831491#ifdef CONFIG_WITH_KMK_BUILTIN
    14841492  /* If builtin command then pass it on to the builtin shell interpreter. */
     
    15381546    }
    15391547#endif /* CONFIG_WITH_KMK_BUILTIN */
    1540 
    1541   /* We're sure we're going to invoke a command: set up the output.  */
    1542   output_start ();
    1543 
    1544   /* Flush the output streams so they won't have things written twice.  */
    1545 
    1546   fflush (stdout);
    1547   fflush (stderr);
    15481548
    15491549  /* Decide whether to give this child the 'good' standard input
Note: See TracChangeset for help on using the changeset viewer.