Line
Link Here
|
0 |
-- encfs/CipherFileIO.cpp |
0 |
++ encfs/CipherFileIO.cpp |
Lines 23-29
Link Here
|
23 |
#include <rlog/rlog.h> |
23 |
#include <rlog/rlog.h> |
24 |
|
24 |
|
25 |
#include <fcntl.h> |
25 |
#include <fcntl.h> |
26 |
#include <errno.h> |
26 |
#include <cerrno> |
27 |
|
27 |
|
28 |
using boost::shared_ptr; |
28 |
using boost::shared_ptr; |
29 |
|
29 |
|
30 |
-- encfs/ConfigVar.h |
30 |
++ encfs/ConfigVar.h |
Lines 19-24
Link Here
|
19 |
#define _ConfigVar_incl_ |
19 |
#define _ConfigVar_incl_ |
20 |
|
20 |
|
21 |
#include <string> |
21 |
#include <string> |
|
|
22 |
#include <cstring> |
22 |
#include <boost/shared_ptr.hpp> |
23 |
#include <boost/shared_ptr.hpp> |
23 |
|
24 |
|
24 |
using boost::shared_ptr; |
25 |
using boost::shared_ptr; |
25 |
-- encfs/DirNode.cpp |
26 |
++ encfs/DirNode.cpp |
Lines 22-30
Link Here
|
22 |
|
22 |
|
23 |
#include <sys/stat.h> |
23 |
#include <sys/stat.h> |
24 |
#include <sys/types.h> |
24 |
#include <sys/types.h> |
25 |
#include <errno.h> |
25 |
#include <cerrno> |
26 |
#include <stdio.h> |
26 |
#include <cstdio> |
27 |
#include <stdlib.h> |
27 |
#include <cstdlib> |
28 |
#include <pthread.h> |
28 |
#include <pthread.h> |
29 |
#include <unistd.h> |
29 |
#include <unistd.h> |
30 |
#ifdef linux |
30 |
#ifdef linux |
31 |
-- encfs/FileNode.cpp |
31 |
++ encfs/FileNode.cpp |
Lines 19-25
Link Here
|
19 |
// of sys/stat.h or other system headers (to be safe) |
19 |
// of sys/stat.h or other system headers (to be safe) |
20 |
#include "encfs.h" |
20 |
#include "encfs.h" |
21 |
|
21 |
|
22 |
#include <errno.h> |
22 |
#include <cerrno> |
23 |
#include <sys/stat.h> |
23 |
#include <sys/stat.h> |
24 |
#include <sys/types.h> |
24 |
#include <sys/types.h> |
25 |
#include <fcntl.h> |
25 |
#include <fcntl.h> |
26 |
-- encfs/FileUtils.cpp |
26 |
++ encfs/FileUtils.cpp |
Lines 47-55
Link Here
|
47 |
#include <fcntl.h> |
47 |
#include <fcntl.h> |
48 |
#include <unistd.h> |
48 |
#include <unistd.h> |
49 |
#include <ctype.h> |
49 |
#include <ctype.h> |
50 |
#include <stdio.h> |
50 |
#include <cstdio> |
51 |
#include <stdlib.h> |
51 |
#include <cstdlib> |
52 |
#include <errno.h> |
52 |
#include <cerrno> |
53 |
#include <string.h> |
53 |
#include <string.h> |
54 |
|
54 |
|
55 |
#include <iostream> |
55 |
#include <iostream> |
56 |
-- encfs/MemoryPool.cpp |
56 |
++ encfs/MemoryPool.cpp |
Lines 19-25
Link Here
|
19 |
#include "MemoryPool.h" |
19 |
#include "MemoryPool.h" |
20 |
#include <rlog/rlog.h> |
20 |
#include <rlog/rlog.h> |
21 |
|
21 |
|
22 |
#include <stdlib.h> |
22 |
#include <cstdlib> |
23 |
#include <string.h> |
23 |
#include <string.h> |
24 |
|
24 |
|
25 |
#include "config.h" |
25 |
#include "config.h" |
26 |
-- encfs/NameIO.h |
26 |
++ encfs/NameIO.h |
Lines 19-24
Link Here
|
19 |
#define _NameIO_incl_ |
19 |
#define _NameIO_incl_ |
20 |
|
20 |
|
21 |
#include <string> |
21 |
#include <string> |
|
|
22 |
#include <cstring> |
22 |
#include <list> |
23 |
#include <list> |
23 |
|
24 |
|
24 |
#include <inttypes.h> |
25 |
#include <inttypes.h> |
25 |
-- encfs/RawFileIO.cpp |
26 |
++ encfs/RawFileIO.cpp |
Lines 29-35
Link Here
|
29 |
#include <fcntl.h> |
29 |
#include <fcntl.h> |
30 |
#include <string.h> |
30 |
#include <string.h> |
31 |
|
31 |
|
32 |
#include <errno.h> |
32 |
#include <cerrno> |
33 |
|
33 |
|
34 |
using namespace std; |
34 |
using namespace std; |
35 |
|
35 |
|
36 |
-- encfs/encfs.cpp |
36 |
++ encfs/encfs.cpp |
Lines 17-28
Link Here
|
17 |
|
17 |
|
18 |
#include "encfs.h" |
18 |
#include "encfs.h" |
19 |
|
19 |
|
20 |
#include <stdio.h> |
20 |
#include <cstdio> |
21 |
#include <string.h> |
21 |
#include <string.h> |
22 |
#include <unistd.h> |
22 |
#include <unistd.h> |
23 |
#include <fcntl.h> |
23 |
#include <fcntl.h> |
24 |
#include <dirent.h> |
24 |
#include <dirent.h> |
25 |
#include <errno.h> |
25 |
#include <cerrno> |
26 |
#include <sys/statvfs.h> |
26 |
#include <sys/statvfs.h> |
27 |
#include <sys/time.h> |
27 |
#include <sys/time.h> |
28 |
|
28 |
|
29 |
-- encfs/encfs.h |
29 |
++ encfs/encfs.h |
Lines 28-34
Link Here
|
28 |
#endif |
28 |
#endif |
29 |
|
29 |
|
30 |
#ifndef linux |
30 |
#ifndef linux |
31 |
#include <errno.h> |
31 |
#include <cerrno> |
32 |
|
32 |
|
33 |
static __inline int setfsuid(uid_t uid) |
33 |
static __inline int setfsuid(uid_t uid) |
34 |
{ |
34 |
{ |
35 |
-- encfs/main.cpp |
35 |
++ encfs/main.cpp |
Lines 25-34
Link Here
|
25 |
#include <sstream> |
25 |
#include <sstream> |
26 |
|
26 |
|
27 |
#include <assert.h> |
27 |
#include <assert.h> |
28 |
#include <stdio.h> |
28 |
#include <cstdio> |
29 |
#include <unistd.h> |
29 |
#include <unistd.h> |
30 |
#include <sys/time.h> |
30 |
#include <sys/time.h> |
31 |
#include <errno.h> |
31 |
#include <cerrno> |
32 |
#include <string.h> |
32 |
#include <string.h> |
33 |
|
33 |
|
34 |
#include <getopt.h> |
34 |
#include <getopt.h> |
35 |
-- encfs/readpassphrase.cpp |
35 |
++ encfs/readpassphrase.cpp |
Lines 36-43
Link Here
|
36 |
#ifndef HAVE_READPASSPHRASE |
36 |
#ifndef HAVE_READPASSPHRASE |
37 |
|
37 |
|
38 |
#include <signal.h> |
38 |
#include <signal.h> |
39 |
#include <stdio.h> |
39 |
#include <cstdio> |
40 |
#include <errno.h> |
40 |
#include <cerrno> |
41 |
#include <sys/types.h> |
41 |
#include <sys/types.h> |
42 |
#include <sys/stat.h> |
42 |
#include <sys/stat.h> |
43 |
#include <fcntl.h> |
43 |
#include <fcntl.h> |
44 |
-- encfs/test.cpp |
44 |
++ encfs/test.cpp |
Lines 22-28
Link Here
|
22 |
|
22 |
|
23 |
#include <iostream> |
23 |
#include <iostream> |
24 |
|
24 |
|
25 |
#include <stdlib.h> |
25 |
#include <cstdlib> |
26 |
|
26 |
|
27 |
#include "Cipher.h" |
27 |
#include "Cipher.h" |
28 |
#include "DirNode.h" |
28 |
#include "DirNode.h" |
29 |
-- intl/autosprintf.cpp |
29 |
++ intl/autosprintf.cpp |
Lines 28-37
Link Here
|
28 |
#include "autosprintf.h" |
28 |
#include "autosprintf.h" |
29 |
|
29 |
|
30 |
#include <stdarg.h> |
30 |
#include <stdarg.h> |
31 |
#include <stdlib.h> |
31 |
#include <cstdlib> |
32 |
#include <string.h> |
32 |
#include <string.h> |
33 |
//#include "lib-asprintf.h" |
33 |
//#include "lib-asprintf.h" |
34 |
#include <stdio.h> |
34 |
#include <cstdio> |
35 |
|
35 |
|
36 |
namespace gnu |
36 |
namespace gnu |
37 |
{ |
37 |
{ |