Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 529044
Collapse All | Expand All

(-)a/src/closures.c (-1 / +2 lines)
Lines 301-307 open_temp_exec_file_dir (const char *dir) Link Here
301
#ifdef O_TMPFILE
301
#ifdef O_TMPFILE
302
  fd = open (dir, flags | O_RDWR | O_EXCL | O_TMPFILE, 0700);
302
  fd = open (dir, flags | O_RDWR | O_EXCL | O_TMPFILE, 0700);
303
  /* If the running system does not support the O_TMPFILE flag then retry without it. */
303
  /* If the running system does not support the O_TMPFILE flag then retry without it. */
304
  if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP)) {
304
  if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP &&
305
		   errno != EACCES)) {
305
    return fd;
306
    return fd;
306
  } else {
307
  } else {
307
    errno = 0;
308
    errno = 0;

Return to bug 529044