sync with rpm4 branch: apply rpm_close_all

This commit is contained in:
Дмитрий Левин 2002-03-25 22:46:15 +00:00
parent f975ad115f
commit 578040ae51

View File

@ -210,6 +210,10 @@ fprintf(stderr, "*** addMacros\n");
rpmMessage(RPMMESS_NORMAL, _("Executing(%s): %s\n"), name, buildCmd);
if (!(child = fork())) {
if ( rpm_close_all() ) {
perror( "rpm_close_all" );
_exit( -1 );
}
/*@-mods@*/
errno = 0;