This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/basic/fileio.c b/src/basic/fileio.c | |
index e981cd024..ffcbf7309 100644 | |
--- a/src/basic/fileio.c | |
+++ b/src/basic/fileio.c | |
@@ -156,7 +156,7 @@ int write_string_file_ts( | |
goto fail; | |
} | |
- f = fdopen(fd, "w"); | |
+ f = fdopen(fd, "we"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c | |
index 9235361b6..11102790e 100644 | |
--- a/src/basic/cgroup-util.c | |
+++ b/src/basic/cgroup-util.c | |
@@ -824,7 +824,7 @@ int cg_attach(const char *controller, const char *path, pid_t pid) { | |
xsprintf(c, PID_FMT "\n", pid); | |
- r = write_string_file(fs, c, WRITE_STRING_FILE_DISABLE_BUFFER); | |
+ r = write_string_file(fs, c, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/basic/fileio.c b/src/basic/fileio.c | |
index e981cd024..2d669b4e1 100644 | |
--- a/src/basic/fileio.c | |
+++ b/src/basic/fileio.c | |
@@ -164,11 +164,11 @@ int write_string_file_ts( | |
} | |
} | |
- (void) __fsetlocking(f, FSETLOCKING_BYCALLER); | |
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/basic/fileio.c b/src/basic/fileio.c | |
index e981cd024..995c30e1f 100644 | |
--- a/src/basic/fileio.c | |
+++ b/src/basic/fileio.c | |
@@ -60,12 +60,14 @@ int write_string_stream_ts( | |
if (fputc('\n', f) == EOF) | |
return -errno; | |
- if (flags & WRITE_STRING_FILE_SYNC) | |
- r = fflush_sync_and_check(f); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Dead bodies are real... | |
[BIOC_Base.BioPawnBehavior] | |
; (...) | |
m_bAllowPhysicsOnDeadBodies=True | |
; Have bodies stay much longer and not wildly disappear (Costs memory!) | |
[BIOC_Base.BioArtPlaceable] | |
; (...) | |
m_fCorpseCleanupFirstAttemptTime=360.0 ;How many seconds to wait until the first corpse cleanup attempt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note: The diff is highly edited and will not apply like that. A guide is in the works | |
diff --git a/Config/BioEngine.ini b/Config/BioEngine.ini | |
index bde89c4..c6be9cd 100644 | |
--- a/Config/BioEngine.ini | |
+++ b/Config/BioEngine.ini | |
@@ -52,7 +51,7 @@ TerrainMaterialMaxTextureCount=16 | |
BeginUPTryCount=200000 | |
bStaticDecalsEnabled=True | |
bDynamicDecalsEnabled=True | |
-bForceStaticTerrain=False |