summaryrefslogtreecommitdiff
path: root/doc/bugs/Problems_with_syncing_gnucash
diff options
context:
space:
mode:
authorGravatar http://joeyh.name/ <http://joeyh.name/@web>2013-06-25 17:49:08 +0000
committerGravatar admin <admin@branchable.com>2013-06-25 17:49:08 +0000
commit0c9a1c7e76d34e8c7d95613e099c7d9469db2c7c (patch)
tree70c84d45e3530d8172130bef214a4ccd17c4cda3 /doc/bugs/Problems_with_syncing_gnucash
parent538119bcb0a1dec5af9a5159dfaacf9b8d377dc6 (diff)
Added a comment
Diffstat (limited to 'doc/bugs/Problems_with_syncing_gnucash')
-rw-r--r--doc/bugs/Problems_with_syncing_gnucash/comment_2_754fb430381ad88e6248ecb902b32118._comment20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bugs/Problems_with_syncing_gnucash/comment_2_754fb430381ad88e6248ecb902b32118._comment b/doc/bugs/Problems_with_syncing_gnucash/comment_2_754fb430381ad88e6248ecb902b32118._comment
new file mode 100644
index 000000000..ff81b4d98
--- /dev/null
+++ b/doc/bugs/Problems_with_syncing_gnucash/comment_2_754fb430381ad88e6248ecb902b32118._comment
@@ -0,0 +1,20 @@
+[[!comment format=mdwn
+ username="http://joeyh.name/"
+ ip="4.152.108.193"
+ subject="comment 2"
+ date="2013-06-25T17:49:08Z"
+ content="""
+I was able to reproduce this with gnucash, and came up with a small test case:
+
+[[!format perl \"\"\"
+my $foo=\"foo\";
+open(OUT, \">$foo.new\");
+link(\"$foo.new\", \"$foo\");
+unlink(\"$foo.new\");
+close OUT;
+\"\"\"]]
+
+This defeats the watcher, which sees the file be opened for write, and then deleted before it's closed. To fix this it would need to correlate the hard link with the original file, to know that when the original file is closed, the hard link can now be safely added to the annex.
+
+The daily sanity checker will find and eventually add these files, or the assistant will see them the next time it's started.
+"""]]