Skip to content
Bitcoin Roots

v29.4-roots.4 · Commit 7: [PATCH 07/37] release: establish Roots maintenance and assurance

src/util/fs.cpp

Before: src/util/fs.cpp · After: src/util/fs.cpp

File metadata
index 0d0c03971a539b480d62a7e635fb0d72b31a246e..dd5a63c964a099576d047dcddd8ffab78fcbcc93 100644

Download original patch · Release notes

Diff rows 1–18 of 18. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/util/fs.cpp CHANGED
@@ -6,16 +6,15 @@
6
6
  #include <util/fs.h>
7
7
  #include <util/syserror.h>
8
8
 
9
- #ifndef WIN32
10
9
  #include <cstring>
11
10
  #include <fcntl.h>
11
+
12
+ #ifndef WIN32
12
13
  #include <sys/file.h>
13
14
  #include <sys/utsname.h>
14
15
  #include <unistd.h>
15
16
  #else
16
17
  #include <codecvt>
17
- #include <cstring>
18
- #include <fcntl.h>
19
18
  #include <io.h>
20
19
  #include <limits>
21
20
  #include <locale>