std::bad_alloc since 1.24 using pipe

2010-05-17 Thread Xuefer
version with this bug (./astyle.exe is a backup before i downgrade it) $ ./astyle.exe --version Artistic Style Version 1.24 version without this bug $ astyle.exe --version Artistic Style Version 1.23 reproduced with: $ cat a | ./astyle.exe (.) terminate called after throwing an instance

std::bad_alloc since 1.24 using pipe

2010-05-16 Thread Xuefer
version with this bug (./astyle.exe is a backup before i downgrade it) $ ./astyle.exe --version Artistic Style Version 1.24 version without this bug $ astyle.exe --version Artistic Style Version 1.23 reproduced with: $ cat a | ./astyle.exe (.) terminate called after throwing an instance