Joerg Jaspert pushed to branch master at Debian FTP Team / dak
Commits:
-
10119163
by Jochen Sprickerhof at 2020-03-29T11:25:19+02:00
-
f06c66a8
by Jochen Sprickerhof at 2020-03-29T11:25:51+02:00
-
46d727f6
by Joerg Jaspert at 2020-04-10T23:05:05+02:00
9 changed files:
- tools/dsync-0.0/cmdline/path-utils.cc
- tools/dsync-0.0/libdsync/contrib/fileutl.cc
- tools/dsync-0.0/libdsync/contrib/md5.h
- tools/dsync-0.0/libdsync/contrib/mmap.cc
- tools/dsync-0.0/libdsync/contrib/strutl.h
- tools/dsync-0.0/libdsync/contrib/system.h
- tools/dsync-0.0/libdsync/filefilter.cc
- tools/dsync-0.0/libdsync/filelist.cc
- tools/dsync-0.0/libdsync/filelistdb.cc
Changes:
... | ... | @@ -12,6 +12,7 @@ |
12 | 12 |
#include <stdlib.h>
|
13 | 13 |
#include <sys/stat.h>
|
14 | 14 |
#include <dsync/error.h>
|
15 |
+#include <string.h>
|
|
15 | 16 |
|
16 | 17 |
// SimplifyPath - Short function to remove relative path components /*{{{*/
|
17 | 18 |
// ---------------------------------------------------------------------
|
... | ... | @@ -28,6 +28,7 @@ |
28 | 28 |
#include <signal.h>
|
29 | 29 |
#include <wait.h>
|
30 | 30 |
#include <errno.h>
|
31 |
+#include <string.h>
|
|
31 | 32 |
#include <iostream>
|
32 | 33 |
|
33 | 34 |
using namespace std;
|
... | ... | @@ -28,6 +28,7 @@ |
28 | 28 |
#endif
|
29 | 29 |
|
30 | 30 |
#include <string>
|
31 |
+#include <string.h>
|
|
31 | 32 |
using namespace std;
|
32 | 33 |
|
33 | 34 |
class MD5Summation;
|
... | ... | @@ -33,6 +33,7 @@ |
33 | 33 |
#include <sys/stat.h>
|
34 | 34 |
#include <unistd.h>
|
35 | 35 |
#include <fcntl.h>
|
36 |
+#include <string.h>
|
|
36 | 37 |
/*}}}*/
|
37 | 38 |
|
38 | 39 |
// MMap::MMap - Constructor /*{{{*/
|
... | ... | @@ -24,6 +24,7 @@ |
24 | 24 |
#include <string>
|
25 | 25 |
#include <vector>
|
26 | 26 |
#include <time.h>
|
27 |
+#include <string.h>
|
|
27 | 28 |
|
28 | 29 |
using namespace std;
|
29 | 30 |
|
... | ... | @@ -24,12 +24,6 @@ |
24 | 24 |
#define MAX(x,y) _max(x,y)
|
25 | 25 |
#endif
|
26 | 26 |
|
27 |
-// GNU C++ has a min/max operator <coolio>
|
|
28 |
-#if defined(__GNUG__)
|
|
29 |
-#define MIN(A,B) ((A) <? (B))
|
|
30 |
-#define MAX(A,B) ((A) >? (B))
|
|
31 |
-#endif
|
|
32 |
- |
|
33 | 27 |
/* Templates tend to mess up existing code that uses min/max because of the
|
34 | 28 |
strict matching requirements */
|
35 | 29 |
#if !defined(MIN)
|
... | ... | @@ -23,6 +23,7 @@ |
23 | 23 |
#include <dsync/error.h>
|
24 | 24 |
|
25 | 25 |
#include <fnmatch.h>
|
26 |
+#include <string.h>
|
|
26 | 27 |
using namespace std;
|
27 | 28 |
/*}}}*/
|
28 | 29 |
|
... | ... | @@ -22,6 +22,7 @@ |
22 | 22 |
|
23 | 23 |
#include <time.h>
|
24 | 24 |
#include <stdio.h>
|
25 |
+#include <string.h>
|
|
25 | 26 |
#include <iostream>
|
26 | 27 |
using namespace std;
|
27 | 28 |
/*}}}*/
|
... | ... | @@ -16,6 +16,7 @@ |
16 | 16 |
|
17 | 17 |
#include <dsync/filelistdb.h>
|
18 | 18 |
#include <dsync/error.h>
|
19 |
+#include <string.h>
|
|
19 | 20 |
/*}}}*/
|
20 | 21 |
|
21 | 22 |
// FileListDB::dsFileListDB - Constructor /*{{{*/
|