Skip to main content
patraulea's user avatar
patraulea's user avatar
patraulea's user avatar
patraulea
  • Member for 11 years, 10 months
  • Last seen this week
awarded
Loading…
awarded
Loading…
Loading…
awarded
revised
How to avoid wrong symbol offsets in breakpad dmp converted to core file
use correct minidump-2-core name instead of md2core
Loading…
revised
Why does breakpad minidump-2-core need debug symbols to generate core files?
use correct minidump-2-core name instead of md2core
Loading…
Loading…
revised
How to avoid wrong symbol offsets in breakpad dmp converted to core file
mention that `info sharedlibrary` also returns nothing
Loading…
Loading…
comment
How to get non-zero exit code from git diff --no-index only on errors?
Then hopefully 0 means identical, 1 means different files, and anything else is an error.
comment
How to get non-zero exit code from git diff --no-index only on errors?
It does seem to return exitcode 128 if I give it an unknown cmdline argument, and exitcode 1 if there are changed files.
Loading…
Loading…
comment
c++ stream manipulator that inserts a multi-character delimiter if stream is not empty
@Some programmer dude: true, I am using delimiter() opportunistically with stringstream and ostringstream which havetellp(). If I can define the template as to only accept these types, that would be preferable.
comment
c++ stream manipulator that inserts a multi-character delimiter if stream is not empty
@463035818_is_not_an_ai: if basic_ostream supports manipulators defined as callable objects, then that is probably an option.
comment
c++ stream manipulator that inserts a multi-character delimiter if stream is not empty
The context here is building a string with comma-delimited stats, some of which may not be available (like PID, GID, etc). I'm trying to avoid having a comma as the first character in the stream. And boost::join(list, ", ") is more cumbersome, I'd prefer to output directly to the stream instead of a temporary list which I then join at the end.
Loading…
1
2 3 4 5
10