Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 27305: Check the return value of fwrite.... (Closed)

Created:
11 years, 9 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Check the return value of fwrite. Newer versions of glib stdio mark fwrite() with warn_unused_result

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/log.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Evan Stade
11 years, 9 months ago (2009-02-28 02:01:59 UTC) #1
Kevin Millikin (Chromium)
I think this will also need USE(rv); to avoid unused-variable warnings in release builds.
11 years, 9 months ago (2009-02-28 03:40:54 UTC) #2
Evan Stade
ok, thanks! Even for debug, I don't know if we actually want to assert here, ...
11 years, 9 months ago (2009-02-28 09:16:47 UTC) #3
Mads Ager (chromium)
11 years, 9 months ago (2009-02-28 13:57:50 UTC) #4
LGTM with USE(rv) added.  I'm fine with the assert.  I'll go ahead and commit
this for you.

Powered by Google App Engine
This is Rietveld 408576698