[segyio] 110/376: Prefer fixed filename over tmpnam()
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit 7bc12e0361c1113839e985c445f53978be2f7b3c
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date: Thu Nov 10 15:47:55 2016 +0100
Prefer fixed filename over tmpnam()
---
tests/test_segy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_segy.c b/tests/test_segy.c
index 538407f..8fd944e 100644
--- a/tests/test_segy.c
+++ b/tests/test_segy.c
@@ -567,7 +567,7 @@ static void test_error_codes_sans_file() {
}
static void test_file_size_above_4GB(){
- segy_file* fp = segy_open( tmpnam( NULL ), "w+b" );
+ segy_file* fp = segy_open( "4gbfile", "w+b" );
unsigned int trace = 5e6;
unsigned int trace_bsize = 1e3;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list