OSDN Git Service

DO NOT MERGE ANYWHERE: Add file write error checks to config_save
authorAmadeusz Slawinski <amadeusz.slawinski@sonymobile.com>
Tue, 3 Nov 2015 15:09:57 +0000 (16:09 +0100)
committerAlain Vongsouvanh <alainv@google.com>
Tue, 8 Dec 2015 18:55:07 +0000 (10:55 -0800)
commit02f35e6a3633f81cbcf0f3be4e68b79b496fb354
treebeb2c20d0436dc7ee79ca1a6ab800a6510cffc42
parente6242fcf303f195d31eaaca97146e341b2b49e70
DO NOT MERGE ANYWHERE: Add file write error checks to config_save

It's better to leave old config file instead of
overwriting with broken one.

Fixes problem when disk is full and we can't write
more data to it.

(Change amended to use "old" style LOG_ERROR macro)

Issue: KIONE-3099
Change-Id: Ifdb641ba7f3140655f9ec371e53b11a17484f27a
osi/src/config.c