Project

General

Profile

Feature #7842

Make FWD behave the same as OE regarding input through

Added by Theodoros Theodorou 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD

Related issues

Related to Base Language - Bug #5538: fix readByte() for DirStream, ProcessStream, and others Closed

History

#1 Updated by Theodoros Theodorou 7 months ago

  • Parent task set to #5538
  • Tracker changed from Bug to Feature

#2 Updated by Theodoros Theodorou 7 months ago

  • Parent task deleted (#5538)

#3 Updated by Theodoros Theodorou 7 months ago

  • Related to Bug #5538: fix readByte() for DirStream, ProcessStream, and others added

#4 Updated by Greg Shah 7 months ago

  • Start date deleted (09/26/2023)
  • Description updated (diff)

Please recall that we never use the Description field of the Redmine header. The task details always go into the first note. From Theodoros:

OE has been detected to have weird results when running the following code:

def var m as memptr no-undo.
SET-SIZE(m) = 3.

input through 'echo abc'.
import m.
input close.

message get-byte(m, 1). // In OE it returns 0
message get-byte(m, 2). // In OE it returns 0
message get-byte(m, 3). // In OE it returns 0

when trying to read the output of a process into a memptr. The goal is to make the FWD implementation identical to OE even though OE looks a bit 'buggy'. Ref: #5538

Also available in: Atom PDF