Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 7: [PATCH 07/68] build: adapt Roots maintenance and assurance to Core 30.3

src/util/fs.cpp

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

File metadata
index a90b4f2cb920f4f2cfa74966f8d44570af831c62..a5e9356e464e5070025ec58a31a0f42cfcfd9318 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>