Age | Commit message (Collapse) | Author |
|
The first argument of fcntl should be 'fd', the file descriptor.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
|
We add an autotools check to use mkstemp() and fcntl() when mkostemp()
is missing. This is not strictly equivalent because we have no way of
setting the file access mode O_WRONLY flag, but that should produce no
functional difference.
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
|
dup3() was being used in a situation where dup2() would suffice. uclibc
does not support dup3(), so we switch to dup2().
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
|
Change the execv() call to an execvp() call so that --with-modprobe="modprobe"
is supported; also added the command as argv[0] in the call to execvp(), which
fixes the failures when 'modprobe' is a symlink to kmod
Signed off by ryao
|
|
This commit provides needed #define's that provide structures that
are found at configure time. It also reverts commit
91ce21b2d7978837b233e152ac63863a910eaf21
to avoid redefinitions of _GNU_SOURCE.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
|
This is a combination of commits
c9485bf12eafad22dbe316ccbf3a9506d4cace66
abd4a3a3bf5851f07cac6665f35c8b92279c4a47
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
|
|