/[baselayout]/trunk/src/librc-daemon.c
Gentoo

Diff of /trunk/src/librc-daemon.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2822 Revision 2866
116 116
117 if (pid != 0 && pid != p) 117 if (pid != 0 && pid != p)
118 continue; 118 continue;
119 119
120 if (uid) { 120 if (uid) {
121 snprintf (buffer, sizeof (buffer), "/proc/%d", pid); 121 snprintf (buffer, sizeof (buffer), "/proc/%d", p);
122 if (stat (buffer, &sb) != 0 || sb.st_uid != uid) 122 if (stat (buffer, &sb) != 0 || sb.st_uid != uid)
123 continue; 123 continue;
124 } 124 }
125 125
126 if (cmd && ! pid_is_cmd (p, cmd)) 126 if (cmd && ! pid_is_cmd (p, cmd))

Legend:
Removed from v.2822  
changed lines
  Added in v.2866

  ViewVC Help
Powered by ViewVC 1.1.20