Ignore:
Timestamp:
Apr 26, 2007, 9:59:55 PM (17 years ago)
Author:
rainer
Message:

Flush before fork (fix for ticket #60), and fix for kcheck on 2.6.21 (ticket #63).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_processcheck.c

    r82 r102  
    786786}
    787787
     788extern int flag_err_debug;
     789
    788790static int sh_processes_readps (FILE * in, short * res,
    789791                                char * str, size_t len,
     
    844846            {
    845847              tstr[pos-1] = '\0';
     848              if (flag_err_debug == SL_TRUE)
     849                {
     850                  sh_error_handle(SH_ERR_ALL, FIL__, __LINE__, num, MSG_E_SUBGEN,
     851                                  tstr,
     852                                  _("sh_processes_readps"));
     853                }
    846854              /* fprintf(stderr, "<%ld> %s\n", num, tstr); */
    847855              line = SKIP_WS; pos = 0;
     
    10391047      if ((res[j] & SH_PR_ANY) || (res[j] & SH_PR_PS_ANY))
    10401048        {
     1049          /* list all tests where the pid was found
     1050           */
    10411051          sh_processes_tlist (tests, sizeof(tests), res[j]);
     1052
    10421053          /*
    10431054           * case 1: in ps and found
Note: See TracChangeset for help on using the changeset viewer.