aports/unmaintained/csync2/longlong-format.patch
Carlo Landmeter b6af1e02ef testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:

* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
  maintain it for you) for a minimum of 6 months ask it to be moved to community
2016-08-25 15:26:24 +02:00

32 lines
942 B
Diff

--- old/checktxt.c
+++ new/checktxt.c
@@ -49,7 +49,7 @@
xxprintf("v1");
if ( !S_ISLNK(st->st_mode) && !S_ISDIR(st->st_mode) )
- xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime);
+ xxprintf(":mtime=%lld", ign_mtime ? (long long)0 : (long long)st->st_mtime);
if ( !csync_ignore_mod )
xxprintf(":mode=%d", (int)st->st_mode);
@@ -61,7 +61,7 @@
xxprintf(":gid=%d", (int)st->st_gid);
if ( S_ISREG(st->st_mode) )
- xxprintf(":type=reg:size=%Ld", (long long)st->st_size);
+ xxprintf(":type=reg:size=%lld", (long long)st->st_size);
if ( S_ISDIR(st->st_mode) )
xxprintf(":type=dir");
--- old/update.c
+++ new/update.c
@@ -469,7 +469,7 @@
skip_action:
if ( !S_ISLNK(st.st_mode) ) {
- conn_printf("SETIME %s %s %Ld\n",
+ conn_printf("SETIME %s %s %lld\n",
url_encode(key), url_encode(filename),
(long long)st.st_mtime);
last_conn_status = read_conn_status(filename, peername);