Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 788865 | Differences between
and this patch

Collapse All | Expand All

(-)a/driver/prefsw.c (+3 lines)
Lines 798-804 Link Here
798
	     sure that the bits actually land on the disk right away. */
798
	     sure that the bits actually land on the disk right away. */
799
          /* Update 2020: Apparently here in the future, this sometimes takes
799
          /* Update 2020: Apparently here in the future, this sometimes takes
800
             3+ seconds, so let's not. */
800
             3+ seconds, so let's not. */
801
/* Interix has no sync() or alike. */
802
#ifndef __INTERIX
801
	  /* sync(); */
803
	  /* sync(); */
804
#endif
802
805
803
          status = 0;    /* wrote and renamed successfully! */
806
          status = 0;    /* wrote and renamed successfully! */
804
	}
807
	}
(-)a/driver/setuid.c (+3 lines)
Lines 104-112 Link Here
104
  if (uid == (uid_t) -1) uid = (uid_t) -2;
104
  if (uid == (uid_t) -1) uid = (uid_t) -2;
105
105
106
  errno = 0;
106
  errno = 0;
107
  
108
#ifndef __INTERIX
107
  if (setgroups_needed_p (gid) &&
109
  if (setgroups_needed_p (gid) &&
108
      setgroups (1, &gid) < 0)
110
      setgroups (1, &gid) < 0)
109
    sgs_errno = errno ? errno : -1;
111
    sgs_errno = errno ? errno : -1;
112
#endif
110
113
111
  errno = 0;
114
  errno = 0;
112
  if (setgid (gid) != 0)
115
  if (setgid (gid) != 0)

Return to bug 788865