mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #465] [MERGED] bro: check return values of chown and chmod #1093
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/465
Author: @nemequ
Created: 11/2/2016
Status: ✅ Merged
Merged: 11/2/2016
Merged by: @eustas
Base:
master← Head:master📝 Commits (1)
b139565bro: check return values of chown and chmod📊 Changes
1 file changed (+12 additions, -5 deletions)
View changed files
📝
tools/bro.c(+12 -5)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.