mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-03 12:21:37 +00:00
`PAL_ERROR_ENDOFSTREAM` was an error returned e.g. on end-of-file. Now such case is denoted by returning `0` instead. All the previous code did was just if around `PAL_ERROR_ENDOFSTREAM` everywhere and change it to `0` and PAL actually just checked for `0` being returned from its internal (including host-specific) functions and change it to `PAL_ERROR_ENDOFSTREAM`. Signed-off-by: Borys Popławski <borysp@invisiblethingslab.com>