"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lxc/file_utils.c" between
lxc-4.0.9.tar.gz and lxc-4.0.10.tar.gz

About: LXC are userspace tools for the Linux kernel containers that let users easily create and manage system or application containers.

file_utils.c  (lxc-4.0.9):file_utils.c  (lxc-4.0.10)
skipping to change at line 666 skipping to change at line 666
.resolve = resolve_flags, .resolve = resolve_flags,
}; };
fd = openat2(dfd, path, &how, sizeof(how)); fd = openat2(dfd, path, &how, sizeof(how));
if (fd >= 0) if (fd >= 0)
return move_fd(fd); return move_fd(fd);
if (errno != ENOSYS) if (errno != ENOSYS)
return -errno; return -errno;
return openat(dfd, path, o_flags, mode); fd = openat(dfd, path, o_flags, mode);
if (fd < 0)
return -errno;
return move_fd(fd);
} }
int fd_make_nonblocking(int fd) int fd_make_nonblocking(int fd)
{ {
int flags; int flags;
flags = fcntl(fd, F_GETFL); flags = fcntl(fd, F_GETFL);
if (flags < 0) if (flags < 0)
return -1; return -1;
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)