diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-03-21 20:32:09 +0000 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2023-03-23 20:30:11 +0000 |
commit | 0ca2dc8176a08a0d4fcaa90807e770a5809d95cf (patch) | |
tree | 8d1d7972153c406f4c898571efa5865f60712bbb /tools/klee-replay/file-creator.c | |
parent | 58d454647ff1465128423fa02896f84e5d3b989a (diff) | |
download | klee-0ca2dc8176a08a0d4fcaa90807e770a5809d95cf.tar.gz |
Remove model_version from the POSIX runtime, as we have never used it.
Diffstat (limited to 'tools/klee-replay/file-creator.c')
-rw-r--r-- | tools/klee-replay/file-creator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/klee-replay/file-creator.c b/tools/klee-replay/file-creator.c index a1685a02..5e848964 100644 --- a/tools/klee-replay/file-creator.c +++ b/tools/klee-replay/file-creator.c @@ -301,7 +301,7 @@ static int create_reg_file(const char *fname, exe_disk_file_t *dfile, fprintf(stderr, "KLEE-REPLAY: NOTE: Creating file %s of length %d\n", fname, flen); // Open in RDWR just in case we have to end up using this fd. - if (__exe_env.version == 0 && mode == 0) + if (mode == 0) mode = 0644; int fd = open(fname, O_CREAT | O_RDWR, mode); |