Skip to content

osabap: piped stdin without arguments runs START-OF-SELECTION twice #1024

Backlog

Description

@oisee

An osabap binary started with piped stdin and no arguments runs START-OF-SELECTION twice over the same globals:

REPORT zcnt.
DATA gv_n TYPE i.
INITIALIZATION.
  WRITE / `init`.
START-OF-SELECTION.
  gv_n = gv_n + 1.
  WRITE / gv_n.
$ .out/osabap </dev/null        # prints init, 2
$ .out/osabap -params '{}' </dev/null   # prints init, 1

Expected 1 both times (one Execute). Found while checking #1022, main at 5b53c2e.

🤖 Generated with Claude Code

https://claude.ai/code/session_011FwUR7MRXbhsfstiNhVu8t

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions