https://bugs.freedesktop.org/show_bug.cgi?id=59022

--- Comment #10 from Lionel Elie Mamane <lio...@mamane.lu> ---
(In reply to comment #0)
> LibreOffice then reads from and writes to the file from the first (R/W) fd:
> 
> pread(65,
> "WQ'\212\n\305\3D\250n\351\31\341\22\221\35\252\323\374\236\351\232\223Nt\275
> 2\232\6\352\304\352"..., 4096, 4096) = 4096
> 8550  pwrite(65,
> "PK\3\4\24\0\0\10\0\0\224P$B^\3062\f'\0\0\0'\0\0\0\10\0\0\0mi"..., 8192, 0)
> = 8192
> 8550  pread(65,  <unfinished ...>
> 8550  pwrite(65,
> "\253\334\7aQ\230\30\30H\5v\1\261L\351\243lr\22O6\2716d\375\240\t\232\225\302
> EP"..., 8192, 8192) = 8192
> 8550  pread(65,
> "\212E\323\t\245\210A\306\316P\333\202\5\v\304\32X[\374zk\25\337\355\f\325R9\
> 376(\n>"..., 8192, 16384) = 8192
> 8550  pwrite(65,
> "\212E\323\t\245\210A\306\316P\333\202\5\v\304\32X[\374zk\25\337\355\f\325R9\
> 376(\n>"..., 8192, 16384) = 8192
> 8550  pread(65, "y!
> \270\212E*\224(\245\352\216\31\366?\324\315t\240\222\333\253D\335\322\342\265
> K\32\215R\232"..., 8192, 24576) = 8192
> 8550  pwrite(65, "y!
> \270\212E*\224(\245\352\216\31\366?\324\315t\240\222\333\253D\335\322\342\265
> K\32\215R\232"..., 8192, 24576) = 8192
> 8550  pread(65, "ons2/statusbar/PK\1\2\24\0\24\0\10\10\10\0\224P$B\0"...,
> 8192, 32768) = 189
> 8550  pread(65, "ons2/statusbar/PK\1\2\24\0\24\0\10\10\10\0\224P$B\0"...,
> 4096, 32768) = 189

It seems to be essentially copying the file to itself (!). So possibly there is
some mixup somewhere between "temporary file" and "original file".

Note that this is annoying as behaviour, because it updates the file's "last
modified" timestamp when merely opening the file (no change, no save).

Also, it seems to be linked to this bug. When opening the file succeeds, its
"last modified" timestamps is *NOT* changed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to