Olivier Goffart
|
4f5bfbdb78
|
Use int64_t instead of off_t
off_t is 64 or 32 bit depending on the architecture and the defines for
large file support. It is better to always use int64_t which is always
64 bits
|
2013-07-30 16:33:19 +02:00 |
|
Olivier Goffart
|
af7e36422e
|
Add ignore files that need cleanup
Add the possibility to ignore files but specify they should be deleted
if the directory is deleted.
|
2013-07-29 15:03:25 +02:00 |
|
Daniel Molkentin
|
6882880ba7
|
Add csync_clear_exclude_list
This requires the introduction of c_strlist_clear(),
which does not destroy, but only clear a string list.
|
2013-07-15 14:37:18 +02:00 |
|
Klaas Freitag
|
4aa0c58bb0
|
Remove duplicate close, coverity found.
|
2013-07-12 11:41:51 +02:00 |
|
Klaas Freitag
|
c082a3f763
|
Preinitialize buf with zero, coverity found.
|
2013-07-12 11:41:51 +02:00 |
|
Klaas Freitag
|
c61035f767
|
Put the lock file into the sync dir.
|
2013-05-04 16:10:11 +02:00 |
|
Klaas Freitag
|
e93bf9fa0a
|
Fix for Coverity CID #996823
|
2013-04-09 09:42:38 +02:00 |
|
Markus Goetz
|
316fd7b036
|
Exclude: Tell which file we load
|
2012-12-11 17:28:37 +01:00 |
|
Klaas Freitag
|
01ba8d4a9b
|
Wide char fixes for exclude, lock and statedb.
|
2012-11-27 15:39:06 +01:00 |
|
Olivier Goffart
|
6e6e18c030
|
Exclude lists: Works with \r\n line terminator
|
2012-11-07 17:46:13 +01:00 |
|
Andreas Schneider
|
14f03e0ebb
|
exclude: Simplify the csync_excluded() loop.
Thanks to Klaas Freitag.
|
2012-10-22 15:32:28 +02:00 |
|
Andreas Schneider
|
51ce3bea37
|
exclude: Reduce memory allocations of csync_excluded().
|
2012-10-22 15:13:02 +02:00 |
|
Andreas Schneider
|
f92b8f1db7
|
exclude: Make sure we don't sync the csync_journal.db.
|
2012-10-22 14:55:26 +02:00 |
|
Andreas Schneider
|
42421cb4cc
|
exclude: Rework csync_excluded() to not leak memory on error.
|
2012-10-22 14:53:27 +02:00 |
|
Andreas Schneider
|
d507358c95
|
exclude: Fix build warning.
|
2012-10-22 14:39:03 +02:00 |
|
Klaas Freitag
|
01a25db3fb
|
exclude: Fix checking the exclude pattern for subdirs.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2012-10-22 12:26:35 +02:00 |
|
Andreas Schneider
|
4010096cdf
|
exclude: Rework _csync_exclude_add() to check for no memory.
Found by Coverity.
|
2012-10-19 20:37:13 +02:00 |
|
Klaas Freitag
|
53263a2685
|
owncloud: set _fmode variable to set file ops to binary mode.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2012-04-17 10:40:21 +02:00 |
|
Andreas Schneider
|
f0cf678c0e
|
Fix config checks.
|
2012-03-02 17:04:02 +01:00 |
|
Dominik Schmidt
|
6e4ce19a85
|
Add csync_fnmatch
|
2012-03-02 17:04:02 +01:00 |
|
Andreas Schneider
|
fdea54edc5
|
Fix the vim modlines.
|
2009-05-13 10:12:07 +02: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
|
e2b049c935
|
Static functions should all start with an underscore.
For better readablity...
|
2008-06-02 15:11:45 +02:00 |
|
Andreas Schneider
|
393c3ce9db
|
Initialize variables.
|
2008-05-08 16:07:15 +02:00 |
|
Andreas Schneider
|
5a2fa7f563
|
Fix a segfault if we don't find an exlcude list.
|
2008-04-30 16:36:54 +02:00 |
|
Andreas Schneider
|
fac0ba914f
|
Print out memory usage between update detection.
|
2008-04-28 16:49:21 +02:00 |
|
Andreas Schneider
|
5ba9432548
|
Free memory of the exclude list in the csync destroy function.
|
2008-03-26 11:11:20 +01:00 |
|
Andreas Schneider
|
335d07e0b8
|
Add a exclude list.
|
2008-03-25 16:13:44 +01:00 |
|