Andreas Schneider
|
971e85871a
|
Move count var to the function stack and add O_NOCTTY to open().
|
2008-06-09 16:44:49 +02:00 |
|
Andreas Schneider
|
7f003c1277
|
Make sure that we can't run in an infinite loop.
|
2008-06-06 13:23:42 +02:00 |
|
Andreas Schneider
|
4adb536048
|
Create the missing directory only in the error case.
|
2008-06-06 10:28:53 +02:00 |
|
Andreas Schneider
|
212defd763
|
Create a new temporary file name if the file already exists.
|
2008-06-06 10:28:44 +02:00 |
|
Andreas Schneider
|
e756830696
|
Use open and fail if the file already exists.
|
2008-06-06 10:17:58 +02:00 |
|
Andreas Schneider
|
0e499d0b30
|
Remove the temporary file if an error occurs.
|
2008-06-06 10:17:37 +02:00 |
|
Andreas Schneider
|
aec3f4440c
|
Use a random generated temporary file name.
|
2008-06-06 10:15:58 +02:00 |
|
Andreas Schneider
|
1255c46668
|
Add some FIXME's.
|
2008-06-05 14:44:14 +02:00 |
|
Andreas Schneider
|
ed3073ba13
|
Move the chmod command before we call utimes.
|
2008-06-05 14:43:28 +02:00 |
|
Andreas Schneider
|
13f82f25ff
|
Set the right mode during open.
This gives us a speedup about 60 seconds copying the linux kernel sources.
|
2008-06-05 13:32:23 +02:00 |
|
Andreas Schneider
|
34e59bae46
|
We shouldn't follow symlinks and don't change the access time.
This gives a small speedup of the read command.
|
2008-06-05 13:31:23 +02:00 |
|
Andreas Schneider
|
e5180d19d4
|
Only create paths when needed.
|
2008-06-05 12:02:37 +02:00 |
|
Andreas Schneider
|
364a9015d3
|
Improve the speed of the push_file function.
The stat() calls in mkdirs() slows down the execution of this
function. Now we spend the most time for asprintf().
|
2008-06-04 18:19:14 +02:00 |
|
Andreas Schneider
|
dddfe5ac79
|
Disable check for C++ compiler.
|
2008-06-03 11:00:50 +02:00 |
|
Andreas Schneider
|
4eb9965046
|
Revert "Improve the check for if we have the same hash really found."
This reverts commit 247aaeaacb .
Conflicts:
src/csync_update.c
|
2008-06-02 18:07:25 +02:00 |
|
Andreas Schneider
|
24d76f3e20
|
Revert "Improve the check for the inode."
This reverts commit 92bf414e4c .
|
2008-06-02 18:06:17 +02:00 |
|
Andreas Schneider
|
b8aeec4428
|
Revert "Sync on mtime and ctime changes if possible."
This reverts commit 575ca39e8b .
Conflicts:
src/csync_update.c
|
2008-06-02 18:03:24 +02:00 |
|
Andreas Schneider
|
b5334402b9
|
Fix the remove-journal paramater and add new functions for it.
|
2008-06-02 17:02:22 +02:00 |
|
Andreas Schneider
|
057f72471f
|
Remove non-working function.
|
2008-06-02 17:01:48 +02:00 |
|
Andreas Schneider
|
5168e3ee70
|
Change name of the buffersize so that they can't conflict.
|
2008-06-02 16:05:40 +02:00 |
|
Andreas Schneider
|
e2b049c935
|
Static functions should all start with an underscore.
For better readablity...
|
2008-06-02 15:11:45 +02:00 |
|
Andreas Schneider
|
2ccbaa05b6
|
Change version number for alpha1 release.
|
2008-06-02 12:55:59 +02:00 |
|
Andreas Schneider
|
247aaeaacb
|
Improve the check for if we have the same hash really found.
|
2008-05-29 19:05:24 +02:00 |
|
Andreas Schneider
|
92bf414e4c
|
Improve the check for the inode.
|
2008-05-29 18:55:49 +02:00 |
|
Andreas Schneider
|
356da661d7
|
Cleanup after tests.
|
2008-05-27 15:47:56 +02:00 |
|
Andreas Schneider
|
bbbf5ed13e
|
Fix the csync_remove_config_dir() function to remove the journal.
|
2008-05-27 15:46:15 +02:00 |
|
Andreas Schneider
|
64b35453ec
|
Improve the csync test, use other config dir and delete it.
|
2008-05-27 14:40:27 +02:00 |
|
Andreas Schneider
|
575ca39e8b
|
Sync on mtime and ctime changes if possible.
|
2008-05-27 14:31:57 +02:00 |
|
Andreas Schneider
|
cce81bc154
|
Use a better name for the status defines.
|
2008-05-27 14:15:44 +02:00 |
|
Andreas Schneider
|
64a8a911d3
|
Remove the backup mode bug add a mode to remove the journal.
|
2008-05-27 14:11:46 +02:00 |
|
Andreas Schneider
|
7921b88467
|
Don't output on error if we remove a dir and errno is ENOTEMPTY.
|
2008-05-27 13:51:58 +02:00 |
|
Andreas Schneider
|
158ff9eba5
|
Create the journal depending on the name of the remote replica.
|
2008-05-27 13:48:07 +02:00 |
|
Andreas Schneider
|
d5aced82ca
|
Disable sync of symlinks cause they need a lot of work.
|
2008-05-26 17:09:42 +02:00 |
|
Andreas Schneider
|
66fd0e2de0
|
Add basic support for symbolic links.
A test to ensure that it is working is still needed.
|
2008-05-26 15:58:40 +02:00 |
|
Andreas Schneider
|
c16abe8a7b
|
Add error message in csync_vio_mkdir.
|
2008-05-21 16:43:08 +02:00 |
|
Andreas Schneider
|
0da1133bdb
|
Return an error if basename fails on uri in stat command.
|
2008-05-21 16:06:45 +02:00 |
|
Andreas Schneider
|
3137967714
|
Add basename and dirname test with a uri.
|
2008-05-21 16:05:45 +02:00 |
|
Andreas Schneider
|
49e10b7e6a
|
Add debug message if mkdirs fails.
|
2008-05-21 15:50:27 +02:00 |
|
Andreas Schneider
|
a46a39ce0e
|
Fix typo in config and config parser.
|
2008-05-21 15:22:45 +02:00 |
|
Andreas Schneider
|
2ee63f24aa
|
Better description for backup mode.
|
2008-05-21 15:11:26 +02:00 |
|
Andreas Schneider
|
0304353e2e
|
Merge branch 'master' of git://git.csync.org/csync
|
2008-05-21 14:47:28 +02:00 |
|
Andreas Schneider
|
d720975617
|
Fix backup mode.
|
2008-05-21 14:46:42 +02:00 |
|
Andreas Schneider
|
3da8b33143
|
Rename the sqlite3 module.
|
2008-05-20 21:55:57 +02:00 |
|
Andreas Schneider
|
0a6cf13caf
|
Fix typo.
|
2008-05-20 19:16:47 +02:00 |
|
Andreas Schneider
|
b1c0cc7f58
|
Fix variables in sqlite find module.
|
2008-05-20 19:07:15 +02:00 |
|
Andreas Schneider
|
abba4b5e84
|
Merge branch 'master' of git://git.csync.org/csync
|
2008-05-20 19:06:38 +02:00 |
|
Andreas Schneider
|
b7a0983c75
|
Add backup mode to the client.
|
2008-05-20 16:33:34 +02:00 |
|
Andreas Schneider
|
465d9f07bc
|
Add function to remove config dir and improve other getter and setter.
|
2008-05-20 16:33:03 +02:00 |
|
Andreas Schneider
|
bf9fdfeac0
|
Check for NULL values.
|
2008-05-20 16:31:10 +02:00 |
|
Andreas Schneider
|
b68aad2b70
|
Improve testcase for journal close function.
|
2008-05-20 16:29:45 +02:00 |
|