search for: futimen

Displaying 20 results from an estimated 193 matches for "futimen".

Did you mean: futimens
2013 Nov 25
2
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
Hmmm.... following up on your point I've noticed something strange. futimens is missing from the NDK (r9b; it's not in any headers and the libc.so files are the same all the way back to android-9), which is why I thought it's missing from Android generally. The NDK is by far the easiest way to cross-compile since it provides a standalone cross-compilation toolc...
2013 Nov 26
0
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
This is only available for apps that target API level 19 and up. On 18 and lower, the futimens() function won't be available via libc.so. You will need to target API 19 (KitKat) in order to actually use it. If I do an "nm -D prebuilts/ndk/9/platforms/android-19/arch-arm/usr/lib/libc.so", I can see futimens() is present. On the others, it is definitely missing. Steve On Mon,...
2013 Nov 25
2
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
On 25/11/2013 18:27, Stephen Hines wrote: > futimens() is available in Android KitKat. We work extensively with > LLVM and this allowed us to remove our ugly workaround for not having > this functionality. Hi Steve, Is your work on a branch somewhere? James is putting a lot of time into this, and the LLVM community has been making best e...
2013 Nov 25
3
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
Hi, I've been trying to get LLVM working as a JIT compiler on Android for a while. It works now, except that the setLastModificationAndAccessTime function won't build because the Bionic C library lacks both futimes and futimens. There doesn't appear to be any "nice" workaround for this problem: the only ways I can think of to make setLastModificationAndAccessTime work are either to go by /proc/self/fd or invoke the system call directly (the second option isn't helped by the fact that the Android hea...
2013 Nov 25
0
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
On Mon, Nov 25, 2013 at 12:36 PM, Alp Toker <alp at nuanti.com> wrote: > > On 25/11/2013 18:27, Stephen Hines wrote: > >> futimens() is available in Android KitKat. We work extensively with LLVM >> and this allowed us to remove our ugly workaround for not having this >> functionality. >> > > Hi Steve, > > Is your work on a branch somewhere? > It is all available as part of the Android Open So...
2009 Nov 25
0
[PATCH] daemon: Use gnulib futimens module.
...es into Xen guests. http://et.redhat.com/~rjones/virt-p2v -------------- next part -------------- >From 77c8469064700ee4f73d76bd58947aa87547067c Mon Sep 17 00:00:00 2001 From: Richard Jones <rjones at redhat.com> Date: Wed, 25 Nov 2009 12:17:10 +0000 Subject: [PATCH 2/2] daemon: Use gnulib futimens module. Instead of checking for futimens support and falling back (incorrectly in one case) to using futimes, use gnulib's module. However the gnulib module does not yet support Win32, so this change is only really useful on platforms like RHEL 5. --- daemon/.gitignore | 8 ++++++...
2014 Sep 22
0
[PATCH] fuse: Enable futimens test (RHBZ#1144766).
--- fuse/test-fuse.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fuse/test-fuse.c b/fuse/test-fuse.c index 2876dc4..1e18a75 100644 --- a/fuse/test-fuse.c +++ b/fuse/test-fuse.c @@ -249,9 +249,7 @@ test_fuse (void) unsigned u, u1; int fd; struct timeval tv[2]; -#if 0 struct timespec ts[2]; -#endif acl_t acl; char *acl_text; @@ -574,8 +572,6 @@ test_fuse (void)
2013 Nov 25
0
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
futimens() is available in Android KitKat. We work extensively with LLVM and this allowed us to remove our ugly workaround for not having this functionality. Steve On Mon, Nov 25, 2013 at 8:30 AM, James Lyon <jameslyon0 at gmail.com> wrote: > Hi, > > I've been trying to get LLVM wor...
2014 Jan 15
1
[PATCH] fuse: clear stat structs (RHBZ#660687).
Not all the fields of struct stat are actually filled by us. This caused rubbish to appear in the microseconds fields, which were then used as base when changing atime/ctime (with e.g. touch), triggering EINVAL by futimens/utimensat when those rubbish values were out of the range allowed for microseconds. --- src/fuse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fuse.c b/src/fuse.c index 288c02a..dd4f139 100644 --- a/src/fuse.c +++ b/src/fuse.c @@ -175,6 +175,7 @@ mount_local_readdir (const char *pat...
2013 Nov 11
1
[LLVMdev] Android JIT patch
...y to avoid disabling setLastModificationAndAccessTime is to rewrite it to take a path and use utime/utimes instead (incidentally the setLastModificationAndAccessTime function is only used by llvm-ar). I don't know why it was written the way it is now; i.e. I'm not sure what systems have futimens but not futimes and vice-verse. I would guess that the utime function should be universal though. There's a HAVE_UTIME_H test in Config.h but it doesn't seem to be used anywhere. James On 11/11/13 08:30, Renato Golin wrote: > On 11 November 2013 01:45, James Lyon <jameslyon0 at g...
2019 Sep 18
2
[PATCH] build: remove unused gnulib modules
.....ee253b471 100755 --- a/bootstrap +++ b/bootstrap @@ -104,7 +104,6 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool modules=' accept4 -areadlink areadlinkat arpa_inet base64 @@ -113,15 +112,11 @@ c-ctype cloexec closeout connect -dup3 error -filevercmp fstatat -fts full-read full-write futimens -getaddrinfo getline getprogname gitlog-to-changelog @@ -143,22 +138,18 @@ mkstemps netdb netinet_in nonblocking -openat perror pipe2 pread -ptsname_r read-file readlink select setenv sleep socket -stat-time strchrnul strerror strndup -symlinkat sys_select sys_types sys_wait d...
2017 Jun 25
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...nto the arm relocation problems mentioned here in the “Hacks” section when using -fPIC: http://llvm.org/docs/HowToCrossCompileLLVM.html <http://llvm.org/docs/HowToCrossCompileLLVM.html> . On the other hand, I seem to need -fPIC otherwise cmake fails to find some libc functions such as futimes/futimens and many others. If I use -fPIC for CFLAGS but not for CXXFLAGS then cmake finds those symbols but then obviously fails at a later stage with lld unable to preempt those symbols. This seems to be a conflict I cannot solve without someone within the llvm team fixing the arm relocation problem. Is...
2017 Apr 13
0
[Bug 12742] New: a proposal: fix bogus nanosecond mtimes on transfer (patch included)
...), with their mtimes messed up possibly because of some subtle fault in the filesystem implementation. However, these very few files make rsync to set return code RERR_PARTIAL (23) for the whole transfer, what leaves us with no good options. In my experience, on a Linux system with utimensat() / futimens() the latter fails to transfer a negative .st_mtim.tv_nsec, or a value greater than 1000000000 with errno 22 (EINVAL). However, since rsync 3.1.1 seems to compare only seconds, and rsync 3.1.2 seems to still use only seconds comparison when nominating the files for a transfer, it is very tempting...
2010 Oct 23
2
No ACL inheritance with aclmode=passthrough in onnv-134
...@:r-------------:-------:allow everyone@:-wxp---A-W-Co-:-------:deny everyone@:r-----a-R-c--s:-------:allow $ truss -v all touch file3 ... stat64("file3", 0x08047BF0) Err#2 ENOENT creat64("file3", 0666) = 3 futimens(3, 0x00000000) = 0 close(3) = 0 _exit(0) touch is not calling chmod(), also the same happens with mkdir.1 (which also doesn''t call chmod()). To summarize: ACLs are not inherited when aclmode = discard. Why is this? Afaik th...
2019 Sep 18
0
Re: [PATCH] build: remove unused gnulib modules
...IR/gnulib-tool > > modules=' > accept4 > -areadlink > areadlinkat > arpa_inet > base64 > @@ -113,15 +112,11 @@ c-ctype > cloexec > closeout > connect > -dup3 > error > -filevercmp > fstatat > -fts > full-read > full-write > futimens > -getaddrinfo > getline > getprogname > gitlog-to-changelog > @@ -143,22 +138,18 @@ mkstemps > netdb > netinet_in > nonblocking > -openat > perror > pipe2 > pread > -ptsname_r > read-file > readlink > select > setenv > sleep >...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
...aaf038d98..9e5a8b72d 100755 --- a/bootstrap +++ b/bootstrap @@ -104,34 +104,26 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool modules=' accept4 -areadlink areadlinkat -arpa_inet base64 byteswap c-ctype cloexec closeout connect -dup3 error -filevercmp fstatat -fts full-read full-write futimens -getaddrinfo getline getprogname gitlog-to-changelog glob -gnu-make gnumakefile hash hash-pjw human -iconv ignore-value intprops lock @@ -141,24 +133,18 @@ memmem mkdtemp mkstemps netdb -netinet_in nonblocking -openat perror pipe2 pread -ptsname_r -read-file readlink select se...
2018 May 14
1
Unable to build 'lld' on Mac OS 10.9
...g for getpagesize -- Looking for getpagesize - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - not found -- Looking for futimes -- Looking for futimes - found -- Looking for posix_fallocate -- Looking for posix_fallocate -not found -- Looking for lseek64 -- Looking for lseek64 - not found -- Looking for mallctl -- Looking for mallctl - not found -- Lookin...
2013 Nov 14
3
[LLVMdev] Android JIT patch
...I've also split the original patch up into two parts, to separate the math function fixes from setLastModificationAndAccessTime. The second patch modifies the setLastModificationAndAccessTime function to use utime (so it takes a filename) rather than just refusing to compile if futimes and futimens are not available, due to Renato's suggestion. I don't know whether this has external users, but the function didn't exist in 3.3. James On 11/11/13 19:23, Kaylor, Andrew wrote: > The various ExecutionEngine pieces may be the only places within LLVM that are using the DynamicLibr...
2015 Feb 09
0
[PATCH 4/5] macosx/bsd: Use getprogname() where available
--- configure.ac | 1 + src/guestfs-internal-frontend.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index a2fb99e..0f7f97e 100644 --- a/configure.ac +++ b/configure.ac @@ -315,6 +315,7 @@ AC_CHECK_FUNCS([\ be32toh \ fsync \ futimens \ + getprogname \ getxattr \ htonl \ htons \ diff --git a/src/guestfs-internal-frontend.h b/src/guestfs-internal-frontend.h index 2b9070b..d496655 100644 --- a/src/guestfs-internal-frontend.h +++ b/src/guestfs-internal-frontend.h @@ -133,6 +133,8 @@ extern void guestfs___cleanup_...
2019 Nov 27
5
[v2v PATCH v2 0/5] Various build cleanups
Brought to you by the "I haven't rebuilt the libguestfs universe in a while" saga -- now with working test suite. Pino Toscano (5): build: remove extra gnulib submodule build: remove extra checks and submodules build: stop using gnulib in test-harness build: remove unused gnulib modules Remove extra entries from podfiles .gitmodules | 3 -- Makefile.am