home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15889 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!kaa!hadig
  3. From: hadig@kaa.informatik.rwth-aachen.de (Thomas Hadig)
  4. Subject: Problems with SAS/C 6.0 library
  5. Message-ID: <hadig.721912353@kaa>
  6. Keywords: SAS/C 6.0
  7. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  8. Nntp-Posting-Host: kaa
  9. Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
  10. Date: 16 Nov 92 11:12:33 GMT
  11. Lines: 19
  12.  
  13. Hi,
  14. I found a bug in the SAS-C Amiga 6.0 library : function stat
  15.  
  16. stat xors the lower nibble, so if you have read permission, 
  17. st_mode&S_IREAD will be zero. The bit is set, when you have 
  18. no read permission. Same same thing happens with :
  19.   S_IREAD  S_IWRITE   S_IEXECUTE   S_IDELETE
  20. The other bit work correct :
  21.   S_ISCRIPT   S_IARCHIVE(?) S_IPURE
  22.  
  23. I hope you will fix this bug in a patch,
  24. Thomas Hadig
  25.  
  26. (has been reported to EMITS)
  27. ----------------------------------------------------------------------------
  28. Thomas Hadig, Otto-Petersen-Haus Zi.1009, Ruetscher Str.155, D-51 Aachen
  29.        hadig@rog.rwth-aachen.de
  30.        hadig@pool.informatik.rwth-aachen.de
  31. ----------------------------------------------------------------------------
  32.