Parent Directory
|
Revision Log
|
Patch
revision 1.52 by gray, Thu Jun 19 12:39:42 2003 UTC | revision 1.53 by gray, Wed Jul 16 17:08:29 2003 UTC | |
---|---|---|
# | Line 141 radius_exec_program(char *cmd, RADIUS_RE | Line 141 radius_exec_program(char *cmd, RADIUS_RE |
141 | radlog(L_ERR|L_PERROR, _("can't close pipe")); | radlog(L_ERR|L_PERROR, _("can't close pipe")); |
142 | if (dup2(p[1], 1) != 1) | if (dup2(p[1], 1) != 1) |
143 | radlog(L_ERR|L_PERROR, _("can't dup stdout")); | radlog(L_ERR|L_PERROR, _("can't dup stdout")); |
144 | } | } else |
145 | close(1); | |
146 | ||
147 | for (n = getmaxfd(); n >= 3; n--) | for (n = getmaxfd(); n >= 3; n--) |
148 | close(n); | close(n); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |