mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
It was using lstat to get the size of /proc/self/exe but it always returns 0, so we just use a big buffer on the stack instead. BUG=angleproject:892 Change-Id: I6d88efeb4ec5de7a78cb3668e3d78520203ad1d5 Reviewed-on: https://chromium-review.googlesource.com/269990 Reviewed-by: Kenneth Russell <[email protected]> Reviewed-by: Jamie Madill <[email protected]> Tested-by: Corentin Wallez <[email protected]>