Mercurial > trustbridge
view HACKING @ 502:e551de11d8b6
Properly handle the case that the file does not exist.
TRUNCATE makes create file fail if the file does not exist
but we need TRUNCATE in the case that the file already exists
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 28 Apr 2014 09:18:07 +0000 |
parents | 8cfcd38a9bb3 |
children | 1dc1f5a4b577 |
line wrap: on
line source
Please keep C code according to GNU coding standards. With regards to the style: astyle --style=gnu --indent=spaces=2 --pad-paren-out For the C++ Ui code please use the kdelibs coding style astyle --indent=spaces=4 --brackets=linux \ --indent-labels --pad-oper --unpad-paren --pad-header \ --keep-one-line-statements --convert-tabs \ --indent-preprocessor