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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

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