Changeset 379 for trunk/src/sh_prelink.c
- Timestamp:
- Nov 28, 2011, 9:56:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_prelink.c
r374 r379 164 164 int status = 0; 165 165 char * p; 166 struct sigaction new_act;167 struct sigaction old_act;168 166 169 167 SL_ENTER(_("sh_prelink_run")); … … 256 254 SL_RETURN ((-1), _("sh_prelink_run")); 257 255 } 258 259 /* ignore SIGPIPE (instead get EPIPE if connection is closed)260 */261 new_act.sa_handler = SIG_IGN;262 (void) retry_sigaction (FIL__, __LINE__, SIGPIPE, &new_act, &old_act);263 256 264 257 /* read from pipe … … 275 268 } 276 269 277 /* restore old signal handler278 */279 (void) retry_sigaction (FIL__, __LINE__, SIGPIPE, &old_act, NULL);280 281 270 /* close pipe and return exit status 282 271 */
Note:
See TracChangeset
for help on using the changeset viewer.