* sfs.c (vfmake): Use open_error_pipe() and close_error_pipe().

This commit is contained in:
Andrew V. Samoilov 2002-10-04 13:24:10 +00:00
parent 63c397afbe
commit 3d4ea6e96d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-10-04 Andrew V. Samoilov <sav@bcs.zp.ua>
* sfs.c (vfmake): Use open_error_pipe() and close_error_pipe().
2002-10-01 Andrew V. Samoilov <sav@bcs.zp.ua>
* xdirentry.h: Comment out magic field everywhere.

View File

@ -93,10 +93,13 @@ static int vfmake (vfs *me, char *name, char *cache)
}
g_free (name);
open_error_pipe ();
if (my_system (EXECUTE_AS_SHELL, "/bin/sh", pad)) {
close_error_pipe (1, NULL);
return -1;
}
close_error_pipe (0, NULL);
return 0; /* OK */
}