]> Dogcows Code - chaz/tar/commitdiff
Moved system dependencies to system.c
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 4 Oct 2003 18:18:02 +0000 (18:18 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 4 Oct 2003 18:18:02 +0000 (18:18 +0000)
src/rtapelib.c

index ce141b419681f20d0b20f9fab15d8af376deb3b7..dcf2477c70e521ceafb27ccd2e11185af1ce240a 100644 (file)
@@ -482,10 +482,7 @@ rmt_open__ (const char *path, int open_mode, int bias, const char *remote_shell)
        close (from_remote[remote_pipe_number][PREAD]);
        close (from_remote[remote_pipe_number][PWRITE]);
 
-#if !MSDOS
-       setuid (getuid ());
-       setgid (getgid ());
-#endif
+       sys_reset_uid_gid ();
 
        if (remote_user)
          execl (remote_shell, remote_shell_basename, remote_host,
This page took 0.023385 seconds and 4 git commands to generate.