Displaying 20 results from an estimated 118 matches for "st_ctim".
2008 May 30
3
v1.1.rc6 released won't compile
...ts -Wformat=2
-Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-write.o -MD -MP
-MF .deps/mail-index-write.Tpo -c -o mail-index-write.o mail-index-write.c
mail-index-write.c: In function 'mail_index_write':
mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim'
mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim'
*** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src/lib-index.
*** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src.
*** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6.
*** Error code 1...
2005 May 16
2
Assertion Failure in mbox-sync.c
...t;real_stream->statbuf
$5 = {st_dev = 0, __pad1 = 0, __st_ino = 0, st_mode = 0, st_nlink = 0,
st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 4294967295,
st_blksize = 0, st_blocks = 0, st_atim = {tv_sec = 1116279667, tv_nsec = 0},
st_mtim = {tv_sec = 1116279667, tv_nsec = 0}, st_ctim = {
tv_sec = 1116279667, tv_nsec = 0}, st_ino = 0}
(gdb) p sync_ctx->file_input->v_offset
$8 = 142294527
The mbox size is larger than 142294527
I did notice this, but I'm not sure if I'm looking at the correct variable
and don't think the size is large enough to matter, any...
2011 Apr 03
1
Scannedonly: Unable to compile on Samba v3.5.8 [scannedonly.so] Error 1
...SMB_STRUCT_STAT? has no member named
?st_mode?
vfs_scannedonly.c:432: error: ?SMB_STRUCT_STAT? has no member named
?st_size?
vfs_scannedonly.c:441:54: error: macro "SMB_VFS_NEXT_STAT" passed 3
arguments, but takes just 2
vfs_scannedonly.c:443: error: ?SMB_STRUCT_STAT? has no member named
?st_ctim?
vfs_scannedonly.c:443: error: ?SMB_STRUCT_STAT? has no member named
?st_ctim?
vfs_scannedonly.c:451: warning: passing argument 2 of
?smb_vfs_call_unlink? from incompatible pointer type
vfs_scannedonly.c:485: error: ?SMB_STRUCT_STAT? has no member named
?st_size?
vfs_scannedonly.c:498:56: error: ma...
2016 Aug 24
2
[PATCH 2/3] qemu: Implement virtio-pstore device
...t; + rarg->elem = elem;
> + rarg->info.id = cpu_to_le64(rarg->info.id);
> + rarg->info.type = cpu_to_le16(rarg->info.type);
> + rarg->info.flags = cpu_to_le32(rarg->info.flags);
> + rarg->info.time_sec = cpu_to_le64(stbuf.st_ctim.tv_sec);
> + rarg->info.time_nsec = cpu_to_le32(stbuf.st_ctim.tv_nsec);
> +
> + rarg->ioc = qio_channel_new_fd(fd, &err);
You should just use qio_channel_open_path() and avoid the earlier
call to open()
> + if (err) {
> + error_reportf_err(err, "canno...
2016 Aug 24
2
[PATCH 2/3] qemu: Implement virtio-pstore device
...t; + rarg->elem = elem;
> + rarg->info.id = cpu_to_le64(rarg->info.id);
> + rarg->info.type = cpu_to_le16(rarg->info.type);
> + rarg->info.flags = cpu_to_le32(rarg->info.flags);
> + rarg->info.time_sec = cpu_to_le64(stbuf.st_ctim.tv_sec);
> + rarg->info.time_nsec = cpu_to_le32(stbuf.st_ctim.tv_nsec);
> +
> + rarg->ioc = qio_channel_new_fd(fd, &err);
You should just use qio_channel_open_path() and avoid the earlier
call to open()
> + if (err) {
> + error_reportf_err(err, "canno...
2020 Mar 16
0
atimes+ctimes patch
...ently does not work. (It fails to set
the atime and it fails to set the mtime too). Even if this is fixed
that patch does not provide for setting nanosecond times.
The way nanosecond mtimes are presently handled is clunky and I am
looking for advice on how to proceed:
- would one want to use the st_ctim, st_atim st_mtim - struct timespec
structures in struct stat - when available.
If the code to handle nanosecond times for mtime is cleaned up it
could be reused consistently for the ctime and atimes and [1] in
patches
It would be possible to produce a new patch which incorporated new
options at...
2008 May 30
0
Compile error with 1.1rc6
...rmat=2 -Wbad-
function-cast -Wstrict-aliasing=2 -MT mail-index-write.o -MD -MP -
MF .deps/mail-index-write.Tpo -c -o mail-index-write.o mail-index-
write.c
mail-index-write.c: In function 'mail_index_write':
mail-index-write.c:179: error: 'struct stat' has no member named
'st_ctim'
mail-index-write.c:179: error: 'struct stat' has no member named
'st_ctim'
make[3]: *** [mail-index-write.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
2014 Sep 22
0
Re: [PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...anosecond
> granularity, and the ordinary glibc stat(2) wrapper will return these
> in "hidden" stat fields:
>
> struct timespec st_atim; /* Time of last access. */
> struct timespec st_mtim; /* Time of last modification.
> */ struct timespec st_ctim; /* Time of last status change.
> */
>
> with the following macros defined for backwards compatibility:
>
> #define st_atime st_atim.tv_sec
> #define st_mtime st_mtim.tv_sec
> #define st_ctime st_ctim.tv_sec
>
> It is not possible to redefine guestfs_...
2008 Sep 09
1
1.1.3: imap crashes with SIGSEGV
...650873676099, __pad1 = 65024, __st_ino = 0,
st_mode = 0, st_nlink = 6076788, st_uid = 16832, st_gid = 2,
st_rdev = 429496771878, __pad2 = 0, st_size = 0, st_blksize = 12288,
st_blocks = 17592186044416, st_atim = {tv_sec = 24, tv_nsec = 0}, st_mtim = {
tv_sec = 1219648514, tv_nsec = 0}, st_ctim = {tv_sec = 1219648514,
tv_nsec = 0}, st_ino = 1220756980}
pool = <value optimized out>
#9 0x08070d24 in maildir_mailbox_open (_storage=0x87aacc0,
name=0x87af6ee "Drafts", input=0x0, flags=0) at maildir-storage.c:512
path = 0x879f0d0 "/home/n/i/nivanov/Maildir/.Dra...
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...- unsigned long st_nlink;
- unsigned int st_mode;
- unsigned int st_uid;
- unsigned int st_gid;
- unsigned int __pad1;
- __stdev64 (st_rdev);
- unsigned long st_size;
- struct timespec st_atim;
- struct timespec st_mtim;
- struct timespec st_ctim;
- unsigned long st_blksize;
- long st_blocks;
- unsigned long __unused[3];
-};
+ unsigned long st_dev; /* Device. */
+ unsigned long st_ino; /* File serial number. */
+ unsigned int st_mode; /* File mode. */
+...
2017 Jun 01
3
libvirtd not accepting connections
Hi,
Ever since I recently upgraded to Fedora 25, I can't get kvm working.
It's worked on this system since initial fedora 20 install. All
upgrades were done via yum, then once available, dnf.
I do have libvirt-sock in LISTENING state: STREAM LISTENING
/var/run/libvirt/libvirt-sock
I noticed I also have multiple connections in CONNECTING state:
STREAM CONNECTING 0
2008 May 18
1
compile troubles - stat.mtim - 1.1hg
...s/stat.h> header.
Therefore we have to handle the use of this header in strictly
standard-compliant sources special. */
struct timespec st_atim; /* Time of last access. */
struct timespec st_mtim; /* Time of last modification. */
struct timespec st_ctim; /* Time of last status change. */
--
Daniel Black
--
Proudly a Gentoo Linux User.
Gnu-PG/PGP signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x76677097
GPG Signature D934 5397 A84A 6366 9687 9EB2 861A 4ABA 7667 7097
-------------- next p...
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...n store timestamps down to nanosecond
granularity, and the ordinary glibc stat(2) wrapper will return these
in "hidden" stat fields:
struct timespec st_atim; /* Time of last access. */
struct timespec st_mtim; /* Time of last modification. */
struct timespec st_ctim; /* Time of last status change. */
with the following macros defined for backwards compatibility:
#define st_atime st_atim.tv_sec
#define st_mtime st_mtim.tv_sec
#define st_ctime st_ctim.tv_sec
It is not possible to redefine guestfs_stat to return a longer struct
guestfs_stat w...
2016 Jul 28
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...gt; + }
> + goto out;
> + }
> +
> + info.id = cpu_to_le64(info.id);
> + info.type = cpu_to_le16(info.type);
> + info.flags = cpu_to_le32(info.flags);
> + info.len = cpu_to_le32(len);
> + info.time_sec = cpu_to_le64(stbuf.st_ctim.tv_sec);
> + info.time_nsec = cpu_to_le32(stbuf.st_ctim.tv_nsec);
> +
> + iov_from_buf(in_sg, in_num, sizeof(*res), &info, sizeof(info));
> + len += sizeof(info);
> +
> + out:
> + close(fd);
> + return len;
> +}
> +
> +static ssize_t virtio_pstore...
2016 Jul 28
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...gt; + }
> + goto out;
> + }
> +
> + info.id = cpu_to_le64(info.id);
> + info.type = cpu_to_le16(info.type);
> + info.flags = cpu_to_le32(info.flags);
> + info.len = cpu_to_le32(len);
> + info.time_sec = cpu_to_le64(stbuf.st_ctim.tv_sec);
> + info.time_nsec = cpu_to_le32(stbuf.st_ctim.tv_nsec);
> +
> + iov_from_buf(in_sg, in_num, sizeof(*res), &info, sizeof(info));
> + len += sizeof(info);
> +
> + out:
> + close(fd);
> + return len;
> +}
> +
> +static ssize_t virtio_pstore...
2016 Jul 30
0
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...ut;
> > + }
> > +
> > + info.id = cpu_to_le64(info.id);
> > + info.type = cpu_to_le16(info.type);
> > + info.flags = cpu_to_le32(info.flags);
> > + info.len = cpu_to_le32(len);
> > + info.time_sec = cpu_to_le64(stbuf.st_ctim.tv_sec);
> > + info.time_nsec = cpu_to_le32(stbuf.st_ctim.tv_nsec);
> > +
> > + iov_from_buf(in_sg, in_num, sizeof(*res), &info, sizeof(info));
> > + len += sizeof(info);
> > +
> > + out:
> > + close(fd);
> > + return len;
> >...
2017 Jun 02
0
Re: libvirtd not accepting connections
...74352, st_mode = 1862726288, st_uid = 32717, st_gid
>= 1865325018, __pad0 = 32717, st_rdev = 140732281970554, st_size = 0,
>st_blksize = 11, st_blocks = 8, st_atim = {tv_sec = 140519321774368,
>tv_nsec = 140519450703056}, st_mtim = {tv_sec = 140519321774352, tv_nsec
>= 140519450703024}, st_ctim = {tv_sec = 140520244259750, tv_nsec =
>140520310044608}, __glibc_reserved = {140520244259750, 140520310041179,
>140519321774320}}
> string_io = <optimized out>
> async_io = <optimized out>
> str = 0x7fcd3bf17420 "\260t\361;\315\177"
>...
2010 Oct 10
1
Dovecot 2.0 lock upgrade assertion failure
...{st_dev = 37632, st_ino = 12898927743, st_nlink = 1,
st_mode = 33152, st_uid = 2500, st_gid = 2500, pad0 = 0, st_rdev = 0,
st_size = 260200, st_blksize = 4096, st_blocks = 512, st_atim = {
tv_sec = 1286434371, tv_nsec = 554727597}, st_mtim = {tv_sec =
1286611467,
tv_nsec = 18456193}, st_ctim = {tv_sec = 1286611467, tv_nsec =
18456193},
__unused = {0, 0, 0}}
lock_id = 0
ret = <value optimized out>
__FUNCTION__ = "mail_index_write"
#8 0x00007fe80610b3d6 in mail_index_sync_commit (_ctx=0x1cfd908)
at mail-index-sync.c:837
ctx = (struc...
2016 Aug 26
0
[PATCH 2/3] qemu: Implement virtio-pstore device
...m = elem;
> > + rarg->info.id = cpu_to_le64(rarg->info.id);
> > + rarg->info.type = cpu_to_le16(rarg->info.type);
> > + rarg->info.flags = cpu_to_le32(rarg->info.flags);
> > + rarg->info.time_sec = cpu_to_le64(stbuf.st_ctim.tv_sec);
> > + rarg->info.time_nsec = cpu_to_le32(stbuf.st_ctim.tv_nsec);
> > +
> > + rarg->ioc = qio_channel_new_fd(fd, &err);
>
> You should just use qio_channel_open_path() and avoid the earlier
> call to open()
I did it because to call fstat() using...
2007 Mar 05
1
new crashes: is the index/mail cache endian neutral?
...st = {st_dev = 47777187, st_pad1 = {0, 0, 0}, st_ino = 15761,
st_mode = 33152, st_nlink = 1, st_uid = 88442, st_gid = 10,
st_rdev = 4294967295, st_pad2 = {0, 0}, st_size = 1768, st_atim = {
tv_sec = 1172769644, tv_nsec = 151892829}, st_mtim = {tv_sec = 1172522367,
tv_nsec = 0}, st_ctim = {tv_sec = 1172732240, tv_nsec = 566025559},
st_blksize = 2048, st_blocks = 4,
st_fstype = "lofs", '\0' <repeats 11 times>, st_pad4 = {0, 0, 0, 0, 0, 0, 0,
0}}
ret = 1768
use_mmap = 1
__PRETTY_FUNCTION__ = "mail_transaction_log_file_m...