bug-gforth
[Top][All Lists]
Advanced

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

[Bug-gforth] [bug #50013] "file-size" returns three items on the stack w


From: anonymous
Subject: [Bug-gforth] [bug #50013] "file-size" returns three items on the stack when it should only return two
Date: Tue, 10 Jan 2017 10:19:41 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

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

                 Summary: "file-size" returns three items on the stack when it
should only return two
                 Project: Gforth
            Submitted by: None
            Submitted on: Tue 10 Jan 2017 10:19:40 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

When using "file-size" it returned more items on the stack than expected.
>From the Gforth manual  file-size  ( wfileid – ud wior) 
Here is a example typed straight into Gforth demonstrating the issue

0 value fd-in   ok
.s <0>  ok
s" ./testin-1.txt" r/o open-file throw to fd-in  ok
.s <0>  ok
fd-in file-size  ok
.s <3> 943877 0 0  ok





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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