[all-commits] [llvm/llvm-project] 52a0b0: [flang][runtime] Reset the left tab limit when flu...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Apr 13 09:44:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52a0b02c25d2c9bff215ad541ed7bd5d8fdecacc
      https://github.com/llvm/llvm-project/commit/52a0b02c25d2c9bff215ad541ed7bd5d8fdecacc
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

  Changed paths:
    M flang/runtime/emit-encoded.h
    M flang/runtime/tools.h
    M flang/runtime/unit.cpp

  Log Message:
  -----------
  [flang][runtime] Reset the left tab limit when flushing output

When flushing output to a non-positionable tty or socket file, reset the
left tab limit.  Otherwise, non-advancing output to that file will contain
an increasing amount of leading spaces in each flush.  Also, detect
newline characters in stream output, and treat them as record
advancement.

Differential Revision: https://reviews.llvm.org/D148157




More information about the All-commits mailing list