octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31037] exist() does not detect special files


From: hydromer
Subject: [Octave-bug-tracker] [bug #31037] exist() does not detect special files
Date: Tue, 14 Sep 2010 17:16:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.0.19) Gecko/2010072022 Iceweasel/3.0.6 (Debian-3.0.6-3)

URL:
  <http://savannah.gnu.org/bugs/?31037>

                 Summary: exist() does not detect special files 
                 Project: GNU Octave
            Submitted by: hydromer
            Submitted on: mar 14 sep 2010 17:16:31 GMT
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello,

exist() does not detect special files : 


octave> exist('/dev/null')
ans = 0


The expected result is *2* because the documentation of exist() says :

Return [...] 2 if the name is an absolute file name [...]


(moreover it works in this way in matlab and freemat)

Thank you for your work.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31037>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]