[bug #57967] make messes up the terminal

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #57967] make messes up the terminal

Yann E. MORIN
URL:
  <https://savannah.gnu.org/bugs/?57967>

                 Summary: make messes up the terminal
                 Project: make
            Submitted by: None
            Submitted on: Sat 07 Mar 2020 12:07:51 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: SCM
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

I have a program which is using the splice(2) system call for i/o when the
source is a pipe.

Each time I run GNU make in the terminal, the program will fail afterwards
with an error caused by splice(2) not being able to write to the terminal
anymore.

It happens because GNU make sets the terminal in append-mode, and splice(2)
will not accept it.

I have already described this bug at

https://stackoverflow.com/a/60020271/10306503

and also already submitted a report with a patch to bug-make@

https://lists.gnu.org/archive/html/bug-make/2020-02/msg00000.html

which was ignored without any explanation.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57967>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply | Threaded
Open this post in threaded view
|

[bug #57967] make messes up the terminal

Yann E. MORIN
Update of bug #57967 (project make):

                  Status:                    None => Fixed                  
             Assigned to:                    None => psmith                
             Open/Closed:                    Open => Closed                
       Component Version:                     SCM => 4.0                    
           Fixed Release:                    None => SCM                    

    _______________________________________________________

Follow-up Comment #1:

Patch applied.  Thanks!

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57967>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/