home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 12955 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1.0 KB  |  28 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!mcsun!dxcern!dxcern!rdm
  3. From: rdm@hpsalo.cern.ch (Fons Rademakers)
  4. Subject: bug in rename(2)...
  5. Message-ID: <RDM.92Nov16173714@hpsalo.cern.ch>
  6. Sender: news@dxcern.cern.ch (USENET News System)
  7. Organization: CERN, European Research Center for High Energy Physics
  8. Date: Mon, 16 Nov 1992 16:37:14 GMT
  9. Lines: 17
  10.  
  11.  
  12. I found that rename(file1, file2) was overwriting some of my global vars
  13. when file1 did not exist. A simple test on the existence of file1 solved the
  14. problem. However, rename should never overwrite anything. I noticed that
  15. my global vars contained after the rename function the string:
  16. `file1' not existent (ut4) using xunlink.
  17.  
  18. Hopefully this has been fixed in 9.0. Or does this bug report causes 9.0
  19. to be delayed for another week -:).
  20.  
  21. Regards, Fons Rademakers.
  22.  
  23. --
  24. Org:    CERN, European Organization for Nuclear Research.
  25. Mail:   1123 Geneve, Switzerland                      Fax: +22 7673700
  26. Phone:  +22 7674886 or 7675049
  27. UUCP:   rdm@cernvm.cern.ch                     BITNET: rdm@cernvm.bitnet
  28.