Results 18 comments of Lưu Vĩnh Phúc

> This is neat. **But** it is guaranteed to work only when the buffer is allocated by `malloc()` (used by `new` operators). It fails if the field points to static...

@0xdevalias you need to switch branch to see the commits ahead because I don't change the master branch https://github.com/jlhonora/lsusb/pull/23

it's not actually the root cause. Please check out this which solves the issue https://github.com/jlhonora/lsusb/pull/23

This is the issue of `system_profiler SPUSBDataType` which can simply be fixed by redirecting to null. It has nothing to do with `lsusb` ``` verbose () { system_profiler SPUSBDataType 2>/dev/null;...

I have a simpler method to split here https://github.com/jlhonora/lsusb/pull/23 ```diff -devices=`echo "$rawlog" | egrep -B 2 -A 6 "Product ID" | sed 's/^--/#/'` +devices=`echo "$rawlog" | sed -e '/:$/i\ +#'`...

I don't have Xcode as well as `/Library/Devloper/CommandLineTools` in my case so it probably uses the default `/usr/bin/cc`

thanks @randolph- I was able to build. But now I'm seeing another issue https://github.com/bkerler/edl/issues/556

Just noticed there was the related #297 issue for this