Changes in / [a2a77af:76e9498]


Ignore:
Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Common/Assert.cc

    ra2a77af r76e9498  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // Assert.cc -- 
    8 // 
     6//
     7// Assert.cc --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Thu Aug 18 13:26:59 2016
     
    1212// Last Modified On : Fri Aug 19 17:07:08 2016
    1313// Update Count     : 10
    14 // 
     14//
    1515
    1616#include <assert.h>
     
    3535        va_start( args, fmt );
    3636        vfprintf( stderr, fmt, args );
     37        va_end( args );
     38        fprintf( stderr, "\n" );
    3739        abort();
    3840}
     
    4345// compile-command: "make install" //
    4446// End:  //
    45 
  • src/libcfa/assert.c

    ra2a77af r76e9498  
    3737                va_start( args, fmt );
    3838                vfprintf( stderr, fmt, args );
     39                va_end( args );
     40                fprintf( stderr, "\n" );
    3941                abort();
    4042        }
Note: See TracChangeset for help on using the changeset viewer.