Displaying 17 results from an estimated 17 matches for "utime_omit".
2009 Nov 18
1
[PATCH] fuse/RHEL: Don't require UTIME_{NOW, OMIT} to be defined.
...2b66..05cacef 100644
--- a/fuse/guestmount.c
+++ b/fuse/guestmount.c
@@ -534,14 +534,22 @@ fg_utimens (const char *path, const struct timespec ts[2])
time_t mtsecs = ts[1].tv_sec;
long mtnsecs = ts[1].tv_nsec;
+#ifdef UTIME_NOW
if (atnsecs == UTIME_NOW)
atnsecs = -1;
+#endif
+#ifdef UTIME_OMIT
if (atnsecs == UTIME_OMIT)
atnsecs = -2;
+#endif
+#ifdef UTIME_NOW
if (mtnsecs == UTIME_NOW)
mtnsecs = -1;
+#endif
+#ifdef UTIME_OMIT
if (mtnsecs == UTIME_OMIT)
mtnsecs = -2;
+#endif
r = guestfs_utimens (g, path, atsecs, atnsecs, mtsecs, mtnsecs);
if (r == -1)
--
1....
2009 Nov 18
1
Build problem on CentOS 5.4
guestmount.c: In function 'fg_utimens':
guestmount.c:537: error: 'UTIME_NOW' undeclared (first use in this function)
guestmount.c:537: error: (Each undeclared identifier is reported only once
guestmount.c:537: error: for each function it appears in.)
guestmount.c:539: error: 'UTIME_OMIT' undeclared (first use in this function)
I'm not sure what's the best thing to do here. We could copy the
definitions of those out of the Fedora header file, ie something like:
#ifndef UTIME_NOW
# define UTIME_NOW ((1l << 30) - 1l)
#endif
Or we could disable the feature if t...
2012 Mar 28
2
[PATCH v2] New APIs: mount-local and umount-local using FUSE
This version doesn't crash or cause hung processes or stuck
mountpoints, so that's an improvement.
Rich.
2012 Mar 27
3
[PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
This patch is just for review.
It enables FUSE support in the API via two new calls,
'guestfs_mount_local' and 'guestfs_umount_local'.
FUSE turns out to be very easy to deadlock (necessitating that the
machine be rebooted). Running the test from the third patch is
usually an effective way to demonstrate this. However I have not yet
managed to produce a simple reproducer that
2017 Apr 13
0
[Bug 12742] New: a proposal: fix bogus nanosecond mtimes on transfer (patch included)
...what will of
course break the bogus nanosecond mtimes anyway.
For a discussion, please refer to a following rsync lists message:
https://lists.samba.org/archive/rsync/2017-April/031177.html , but in short --
nanosecond mtime values:
(a) are not supposed to exist, since we need to define at least UTIME_OMIT and
UTIME_NOW as long values, and have no other choice but to put these constants
somewhere outside of 0 .. 1 000 000 000 interval ;
(b) can still appear on a filesystem nevertheless due to some possible
imperfections in the OS code or filesystem implemenation ;
(c) are not really taken into acco...
2012 Mar 29
3
[PATCH v3] New APIs: mount-local, mount-local-run and umount-local using FUSE
This changes the proposed API slightly.
Previously 'mount-local' generating a 'mounted' event when the
filesystem was ready, and from the 'mounted' event you had to
effectively do a fork.
Now, 'mount-local' just initializes the mountpoint and you have to
call 'mount-local-run' to enter the FUSE main loop. Between these
calls you can do a fork or whatever
2020 Jan 21
0
[Announce] Samba 4.12.0rc1 Available for Download
..."net ads kerberos pac save" and "net eventlog export" tools will
no longer silently overwrite an existing file during data export. If
the filename given exits, an error will be shown.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
REMOVED FEATURES
================
The smb.conf parameter "...
2020 Feb 04
0
[Announce] Samba 4.12.0rc2 Available for Download
..."net ads kerberos pac save" and "net eventlog export" tools will
no longer silently overwrite an existing file during data export. If
the filename given exits, an error will be shown.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
REMOVED FEATURES
================
The smb.conf parameter "...
2020 Feb 04
0
[Announce] Samba 4.12.0rc2 Available for Download
..."net ads kerberos pac save" and "net eventlog export" tools will
no longer silently overwrite an existing file during data export. If
the filename given exits, an error will be shown.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
REMOVED FEATURES
================
The smb.conf parameter "...
2017 Apr 09
0
failed to set times on ... Invalid argument (22) and what to do with it
...ious problem here: while tv_sec field, by
definition, _can_not_ have a "wrong" value (e.g. negative numbers here
may look weird, but they are not, per se, _wrong_) -- tv_nsec field
actually can have an unacceptable value.
First of all, it is not expected to be negative: imho on Linux
UTIME_OMIT is (-2), that is, we ban negative nanoseconds.
Next, although the standard never says so, it is apparently not
/expected/ for these values to be greater than one second: for 32-bit
longs, this is not a big deal, since a couple of extra seconds may just
lie within very common time jitter. For 64-...
2020 Mar 03
0
[Announce] Samba 4.12.0 Available for Download
...quot;--base-dn" and "--member-base-dn" option is added to relevant
samba-tool user, group and ou management commands to allow operation
on just one part of the AD tree, such as a single OU.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
'io_uring' vfs module
---------------------
The module...
2020 Mar 03
0
[Announce] Samba 4.12.0 Available for Download
...quot;--base-dn" and "--member-base-dn" option is added to relevant
samba-tool user, group and ou management commands to allow operation
on just one part of the AD tree, such as a single OU.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
'io_uring' vfs module
---------------------
The module...
2020 Feb 26
0
[Announce] Samba 4.12.0rc4 Available for Download
...quot;--base-dn" and "--member-base-dn" option is added to relevant
samba-tool user, group and ou management commands to allow operation
on just one part of the AD tree, such as a single OU.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
'io_uring' vfs module
---------------------
The module...
2020 Feb 26
0
[Announce] Samba 4.12.0rc4 Available for Download
...quot;--base-dn" and "--member-base-dn" option is added to relevant
samba-tool user, group and ou management commands to allow operation
on just one part of the AD tree, such as a single OU.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
'io_uring' vfs module
---------------------
The module...
2020 Feb 19
2
[Announce] Samba 4.12.0rc3 Available for Download
..."net ads kerberos pac save" and "net eventlog export" tools will
no longer silently overwrite an existing file during data export. If
the filename given exits, an error will be shown.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
'io_uring' vfs module
---------------------
The module...
2020 Feb 19
2
[Announce] Samba 4.12.0rc3 Available for Download
..."net ads kerberos pac save" and "net eventlog export" tools will
no longer silently overwrite an existing file during data export. If
the filename given exits, an error will be shown.
VFS
===
SMB_VFS_NTIMES
--------------
Samba now uses a sentinel value based on utimensat(2) UTIME_OMIT to denote
to-be-ignored timestamp variables passed to the SMB_VFS_NTIMES() VFS function.
VFS modules can check whether any of the time values inside a struct
smb_file_time is to be ignored by calling is_omit_timespec() on the value.
'io_uring' vfs module
---------------------
The module...
2015 Jan 09
0
Wine release 1.7.34
...FORM elements.
mmdevapi: More accurately track device position.
wineoss.drv: Don't use SNDCTL_DSP_GETISPACE.
dsound: Don't send notify events before played range.
Andr? Hentschel (4):
loader: Treat BSDs architecture independent for wine64.
ntdll: Always define UTIME_OMIT if not yet defined.
configure: Fix check for cms.
Update copyright info for 2015.
Aric Stewart (1):
usp10: Correct an off-by-one error in page cache allocation.
Austin English (6):
comctl32: Add a stub for LoadIconWithScaleDown.
include: Flesh out IEnumWIA_DEV_INFO....