Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-09 | tree-wide: don't do assignments within if checks | Lennart Poettering | |
Turn this: if ((r = foo()) < 0) { ... into this: r = foo(); if (r < 0) { ... | |||
2015-09-09 | tree-wide: drop redundant if checks before safe_close() | Lennart Poettering | |
Replace this: if (fd >= 0) safe_close(fd); by this: safe_close(fd); | |||
2015-09-09 | tree-wide: make more code use safe_close() | Lennart Poettering | |
Replace this: close(fd); fd = -1; write this: fd = safe_close(fd); | |||
2015-09-09 | tree-wide: use coccinelle to patch a lot of code to use mfree() | Lennart Poettering | |
This replaces this: free(p); p = NULL; by this: p = mfree(p); Change generated using coccinelle. Semantic patch is added to the sources. |