NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/41838: Missing parenthesis in wwterminfo.c



The following reply was made to PR bin/41838; it has been noted by GNATS.

From: henning petersen <henning.petersen%t-online.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/41838: Missing parenthesis in wwterminfo.c
Date: Fri, 07 Aug 2009 14:50:04 +0200

 gnats-admin%netbsd.org@localhost schrieb:
 > Thank you very much for your problem report.
 > It has the internal identification `bin/41838'.
 > The individual assigned to look at your
 > report is: bin-bug-people. 
 >
 >   
 >> Category:       bin
 >> Responsible:    bin-bug-people
 >> Synopsis:       Missing parenthesis in wwterminfo.c
 >> Arrival-Date:   Fri Aug 07 11:40:00 +0000 2009
 >>     
 >
 >
 > __________ Information from ESET NOD32 Antivirus, version of virus signature 
 > database 4314 (20090807) __________
 >
 > The message was checked by ESET NOD32 Antivirus.
 >
 > http://www.eset.com
 >
 >
 >
 >
 >   
 diff -u -r1.5 wwterminfo.c
 --- usr.bin/window/wwterminfo.c    7 Aug 2003 11:17:45 -0000    1.5
 +++ usr.bin/window/wwterminfo.c    7 Aug 2009 12:16:45 -0000
 @@ -73,7 +73,7 @@
  
          /* make the directory */
      (void) sprintf(wwterminfopath, "%swwinXXXXXX", _PATH_TMP);
 -    if (mkdtemp(wwterminfopath) == NULL) ||
 +    if ((mkdtemp(wwterminfopath) == NULL) ||
          chmod(wwterminfopath, 0755) < 0) {
          wwerrno = WWE_SYS;
          return -1;
 
 
 
 __________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4314 (20090807) __________
 
 The message was checked by ESET NOD32 Antivirus.
 
 http://www.eset.com
 
 


Home | Main Index | Thread Index | Old Index