mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
libtt: Resolve coverity warnings
This commit is contained in:
parent
db88cb0d13
commit
30ad8e35e5
11 changed files with 50 additions and 38 deletions
|
|
@ -42,8 +42,7 @@ isgarbage(char * isfname)
|
|||
struct stat statbuf;
|
||||
int count = 0,i;
|
||||
|
||||
(void)strcpy(isfname2, isfname);
|
||||
(void)strcat(isfname2, "~");
|
||||
snprintf(isfname2, sizeof(isfname2), "%s~", isfname);
|
||||
|
||||
if ((isfd = isopen(isfname, ISEXCLLOCK + ISINPUT)) == ISERROR) {
|
||||
goto ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue