ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/CCSAdmin/adduser.c
(Generate patch)

Comparing CCSAdmin/adduser.c (file contents):
Revision 690 by douglas, 2005-11-22T18:14:57-08:00 vs.
Revision 691 by douglas, 2006-03-07T16:38:32-08:00

# Line 109 | Line 109 | int main(int argc, char *argv[])
109  
110          check(pipe(pipe_), environment);
111  
112 <        pid_t bash;
112 >        pid_t bash_;
113  
114 <        if (!(bash = check(fork(), environment)))
114 >        if (!(bash_ = check(fork(), environment)))
115          {
116                  check(dup2(pipe_[0], 0), environment);
117                  check(close(pipe_[1]), environment);
# Line 134 | Line 134 | int main(int argc, char *argv[])
134  
135          int status;
136  
137 <        check(waitpid(bash, &status, 0), environment);
137 >        check(waitpid(bash_, &status, 0), environment);
138          check(unlink(slappasswd), environment);
139  
140          if (WEXITSTATUS(status))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines