Andreas Schneider
|
e69976bc88
|
Fix a bug where the wrong function for deletion was executed.
Thanks to David Wooldridge for all the testing.
|
2009-01-23 14:07:34 +01:00 |
|
Andreas Schneider
|
2331568f08
|
Fix a segfault if we use a local path.
|
2009-01-22 15:21:06 +01:00 |
|
Andreas Schneider
|
ecca37d2a1
|
Normalize the path to <host>/<path> for the statedb filename.
This should fix problem if a user uses pam_csync and csync with different
urls (#27).
|
2009-01-22 14:44:06 +01:00 |
|
Andreas Schneider
|
228a19abf4
|
Add min and max macros.
|
2009-01-22 14:43:37 +01:00 |
|
Andreas Schneider
|
c5104e8da3
|
Rename variable to unix_extensions.
|
2009-01-19 11:32:58 +01:00 |
|
Andreas Schneider
|
2ffe986dc1
|
Don't exclude paths.
|
2009-01-15 23:14:46 +01:00 |
|
Andreas Schneider
|
e0807cba1b
|
Add a check if we are operating remote on a unix filesystem.
This extends the exclude function. Maybe we should do this for the local
too.
|
2009-01-13 15:50:44 +01:00 |
|
Andreas Schneider
|
f6a956e248
|
Set the version numbers for 0.42.0 rc2/gmc.
|
2009-01-07 13:10:28 +01:00 |
|
Andreas Schneider
|
a9150e9e2a
|
Initialize some variables.
|
2008-12-23 13:54:57 +01:00 |
|
Andreas Schneider
|
6d20c8b4fc
|
Install the modules to a version directory.
The directory version number is the soversion of the library.
|
2008-12-16 15:03:57 +01:00 |
|
Andreas Schneider
|
9152e25f8f
|
Fix the format for the inode number in the mprintf.
|
2008-12-14 18:27:24 +01:00 |
|
Andreas Schneider
|
1047431e4c
|
Fix a typo.
|
2008-12-13 23:29:16 +01:00 |
|
Andreas Schneider
|
600b8657de
|
Prepare for 0.42.0 rc1.
|
2008-12-05 14:51:01 +01:00 |
|
Andreas Schneider
|
3b51103a60
|
Implement own function to create a random filename.
This removes an uneeded syscall to lstat by mktemp at this point.
|
2008-11-13 15:11:02 +01:00 |
|
Andreas Schneider
|
0681db0efe
|
Reduce system calls of getuid and geteuid.
|
2008-11-13 14:08:26 +01:00 |
|
Andreas Schneider
|
1e70c74037
|
Set the replica to destination only once.
|
2008-11-13 14:06:22 +01:00 |
|
Andreas Schneider
|
d177c57cfe
|
Check return value of mkdir in the mkdirs functions.
|
2008-11-13 10:53:24 +01:00 |
|
Andreas Schneider
|
17b39a78c1
|
Fix open and use the flags variable.
|
2008-11-12 21:14:35 +01:00 |
|
Andreas Schneider
|
1b4e340565
|
Fix compiler warnings.
|
2008-09-11 14:16:04 +02:00 |
|
Andreas Schneider
|
2a532f7f24
|
Set version to 0.42.0 beta1.
|
2008-09-09 17:38:59 +02:00 |
|
Andreas Schneider
|
e25422ba3f
|
Fix the formating not be be longer than 80 chars.
|
2008-09-05 13:28:30 +02:00 |
|
Andreas Schneider
|
cd2ab8353d
|
Add some documentation for the merge algorithm.
|
2008-09-03 09:49:12 +02:00 |
|
Andreas Schneider
|
f400f1852f
|
Improve the update detection.
Document and fix a problem in getting the phash value.
|
2008-09-03 09:48:19 +02:00 |
|
Andreas Schneider
|
971e3301e3
|
Add some comments.
|
2008-09-02 11:43:29 +02:00 |
|
Andreas Schneider
|
6d3a7d84c1
|
Fix flags for the statedb tree merger.
|
2008-09-02 11:42:34 +02:00 |
|
Andreas Schneider
|
8753352e5e
|
Set errno for expand function of the string list.
|
2008-09-02 11:23:38 +02:00 |
|
Andreas Schneider
|
33681552c7
|
Remove useless error message.
|
2008-08-22 15:27:27 +02:00 |
|
Andreas Schneider
|
ebfbcf18a5
|
Handle no space left on device.
|
2008-08-22 15:26:02 +02:00 |
|
Andreas Schneider
|
538d03f94e
|
Cleanup and reformating of the dirname and basename function.
|
2008-08-12 15:43:02 +02:00 |
|
Andreas Schneider
|
04d022f2ae
|
Add a function to parse an uri in stdlib.
|
2008-08-12 15:37:02 +02:00 |
|
Andreas Schneider
|
95f4db7c4f
|
Create a more generic authentication callback.
|
2008-08-11 13:21:15 +02:00 |
|
Andreas Schneider
|
ae304565af
|
Added password only flag or auth callback.
|
2008-08-08 17:28:33 +02:00 |
|
Andreas Schneider
|
9722fd0bad
|
Test if we have a correct path.
|
2008-08-01 15:57:19 +02:00 |
|
Andreas Schneider
|
ce6896453c
|
Fix check for CSYNC_NOMEMORY env variable.
|
2008-07-29 15:43:18 +02:00 |
|
Andreas Schneider
|
7143f20f95
|
Add memory NULL tests.
|
2008-07-28 11:49:56 +02:00 |
|
Andreas Schneider
|
bccadc7d67
|
Fix segfault in str(n)dup function.
|
2008-07-28 11:49:37 +02:00 |
|
Andreas Schneider
|
33aa3abd96
|
Add some error log messages.
|
2008-07-21 14:31:34 +02:00 |
|
Andreas Schneider
|
8451d29d12
|
Replace strerror with thread safe version.
|
2008-07-18 11:35:02 +02:00 |
|
Andreas Schneider
|
5a7008ae53
|
Set the right license header in csync.{c,h}.
|
2008-07-10 10:25:12 +02:00 |
|
Andreas Schneider
|
e5286c7c8a
|
Rename journal functions to statedb.
|
2008-07-09 10:10:00 +02:00 |
|
Andreas Schneider
|
88690312d7
|
Rename the csync_journal files to csync_statedb.
|
2008-07-09 09:57:19 +02:00 |
|
Andreas Schneider
|
dc964a4c9a
|
Only run chmod if we are root.
|
2008-07-03 11:34:34 +02:00 |
|
Andreas Schneider
|
f54b36fe7a
|
Change version to 0.42.0 alpha4 and update ChangeLog.
|
2008-07-02 10:59:37 +02:00 |
|
Andreas Schneider
|
262348c7ef
|
Check if a path is excluded directly in the file tree walker.
This improves the performace of the update detection cause it doesn't have
to walk directories which are excluded.
|
2008-06-28 20:44:54 +02:00 |
|
Andreas Schneider
|
e1b1eaa6d5
|
Set dirent to NULL do avoid double free corruption.
|
2008-06-28 19:49:37 +02:00 |
|
Andreas Schneider
|
70ca880a05
|
Set the right instruction during propagation for the journal.
|
2008-06-28 17:18:10 +02:00 |
|
Andreas Schneider
|
274c73a929
|
Add missing instructions.
|
2008-06-28 17:17:34 +02:00 |
|
Andreas Schneider
|
880530c079
|
Set instruction by default to NONE.
|
2008-06-28 17:14:20 +02:00 |
|
Andreas Schneider
|
c79c7bddc8
|
Implement a safe write on local file system.
This means that we try again if we got interrupted.
|
2008-06-28 15:36:30 +02:00 |
|
Andreas Schneider
|
259319f4f9
|
Stop synchronization if quota exceeded.
|
2008-06-28 15:33:52 +02:00 |
|