mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 22:36:43 +00:00
Remove annotation which does not work
This commit is contained in:
parent
f984e96b34
commit
45b1c68af4
1 changed files with 1 additions and 2 deletions
|
@ -146,11 +146,10 @@ static void gdb_info(pid_t pid)
|
||||||
/*
|
/*
|
||||||
* Create a temp file to put gdb commands into.
|
* Create a temp file to put gdb commands into.
|
||||||
* Note: POSIX.1-2008 declares that the file should be already created with mode 0600 by default.
|
* Note: POSIX.1-2008 declares that the file should be already created with mode 0600 by default.
|
||||||
* Modern systems implement it and and suggest to do not touch masks in multithreaded applications.
|
* Modern systems implement it and suggest to do not touch masks in multithreaded applications.
|
||||||
* So CoverityScan warning is valid only for ancient versions of stdlib.
|
* So CoverityScan warning is valid only for ancient versions of stdlib.
|
||||||
*/
|
*/
|
||||||
strcpy(respfile, "/tmp/gdb-respfile-XXXXXX");
|
strcpy(respfile, "/tmp/gdb-respfile-XXXXXX");
|
||||||
// coverity[secure_temp]
|
|
||||||
if((fd=mkstemp(respfile)) >= 0 && (f=fdopen(fd, "w")) != nullptr)
|
if((fd=mkstemp(respfile)) >= 0 && (f=fdopen(fd, "w")) != nullptr)
|
||||||
{
|
{
|
||||||
fprintf(f, "attach %d\n"
|
fprintf(f, "attach %d\n"
|
||||||
|
|
Loading…
Reference in a new issue