[Bug 259270] bmake exits with status 0 upon ENOSPC

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Oct 2021 14:00:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259270

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sjg@FreeBSD.org

--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
And errors from writing are indeed discarded:

 791 static void                                                                
 792 ShellWriter_WriteFmt(ShellWriter *wr, const char *fmt, const char *arg)    
 793 {                                                                          
 794         DEBUG1(JOB, fmt, arg);                                             
 795                                                                            
 796         (void)fprintf(wr->f, fmt, arg);                                    
 797         /* XXX: Is flushing needed in any case, or only if f == stdout? */ 
 798         (void)fflush(wr->f);                                               
 799 }

-- 
You are receiving this mail because:
You are the assignee for the bug.