diff options
author | Alexander Logvinov <avl@FreeBSD.org> | 2009-10-14 01:10:59 +0000 |
---|---|---|
committer | Alexander Logvinov <avl@FreeBSD.org> | 2009-10-14 01:10:59 +0000 |
commit | 9176dc7053738e556207f14b29f41d92781f67ad (patch) | |
tree | 9e615d0d687c801e29f6611ed0295fe69cf79e57 /deskutils/libopensync-plugin-synce-legacy/files | |
parent | Build fix. (diff) |
- Update to 0.22.1
- Plugin in the SynCE project now, change MASTER_SITES to SF/synce and WWW
Diffstat (limited to 'deskutils/libopensync-plugin-synce-legacy/files')
-rw-r--r-- | deskutils/libopensync-plugin-synce-legacy/files/patch-src_synce_file.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/deskutils/libopensync-plugin-synce-legacy/files/patch-src_synce_file.c b/deskutils/libopensync-plugin-synce-legacy/files/patch-src_synce_file.c index 5ca648bbef2d..7a3e6cad300a 100644 --- a/deskutils/libopensync-plugin-synce-legacy/files/patch-src_synce_file.c +++ b/deskutils/libopensync-plugin-synce-legacy/files/patch-src_synce_file.c @@ -9,58 +9,3 @@ osync_change_set_hash(change, hash); fprintf(stderr, "%s(%s) hash %s\n", __func__, path, hash); g_free(hash); -@@ -220,7 +220,8 @@ - fileFormat *ff; - WCHAR *wfn; - DWORD wr, e, opt; -- char *p, *s, *fn, *lfn, *str; -+ char *p, *fn, *lfn, *str; -+ const char *s; - OSyncChangeType ct; - - osync_debug("SYNCE-SYNC", 4, "start: %s", __func__); -@@ -495,7 +496,7 @@ - if (r == 0) { - /* Error */ - DWORD e = CeGetLastError(); -- char *s = synce_strerror(e); -+ const char *s = synce_strerror(e); - osync_context_report_error(ctx, 1, "Error from CeReadFile (%d:%s)", - e, s); - CeCloseHandle(h); -@@ -672,7 +673,7 @@ - &cnt, &find_data) == 0) { - /* FIX ME what does failure mean here ? */ - e = CeGetLastError(); -- s = synce_strerror(e); -+ s = (char*)synce_strerror(e); - fprintf(stderr, - "CeFindAllFiles(%s) : %s", - lfn, s); -@@ -686,7 +687,7 @@ - fprintf(stderr, "Yow create(%s)\n", lfn); - if (CeCreateDirectory(w, NULL) == 0) { - e = CeGetLastError(); -- s = synce_strerror(e); -+ s = (char*)synce_strerror(e); - fprintf(stderr, - "CeCreateDirectory(%s) : %s", - lfn, s); -@@ -707,7 +708,7 @@ - CREATE_NEW, FILE_ATTRIBUTE_NORMAL, 0); - if (h == 0) { - e = CeGetLastError(); -- s = synce_strerror(e); -+ s = (char*)synce_strerror(e); - fprintf(stderr, "CeCreateFile(%s) : %s", lfn, s); - free(lfn); - return FALSE; -@@ -719,7 +720,7 @@ - DWORD wr; - if (CeWriteFile(h, "Yow", 3, &wr, NULL) == 0) { - e = CeGetLastError(); -- s = synce_strerror(e); -+ s = (char*)synce_strerror(e); - fprintf(stderr, "CeWriteFile(%s) : %s", lfn, s); - free(lfn); - return FALSE; |