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. 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>
|