[PR #465] bro: check return values of chown and chmod #1096

Closed
opened 2026-01-29 20:52:29 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/google/brotli/pull/465

State: closed
Merged: Yes


Apparently some libc versions declare chown with the warn_unused_result attribute, which is enabled by default.

See https://travis-ci.org/quixdb/squash/jobs/172349806 . I don't see the problem with glibc-2.23 (on Fedora 24), but I guess the old version of glibc from Ubuntu 14.04 (where that is run) had it.

**Original Pull Request:** https://github.com/google/brotli/pull/465 **State:** closed **Merged:** Yes --- Apparently some libc versions declare chown with the warn_unused_result attribute, which is enabled by default. See https://travis-ci.org/quixdb/squash/jobs/172349806 . I don't see the problem with glibc-2.23 (on Fedora 24), but I guess the old version of glibc from Ubuntu 14.04 (where that is run) had it.
claunia added the pull-request label 2026-01-29 20:52:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1096