Subject | Hash | Author | Date (UTC) |
---|---|---|---|
CID 122498 (#1 of 1): Unchecked return value from library | 8ae485719161a1b1d33c5d777b2b2d4035c9ff06 | GDR! | 2015-07-07 17:35:36 |
CID 122499 (#1 of 1): Unchecked return value from library | 7262fd7141bdae8ae15c3f625988a7f26463cdb5 | GDR! | 2015-07-07 17:30:50 |
CID 122500 (#1 of 1): Missing return statement (MISSING_RETURN)6. | f1826d2061908883fb654059f0675f79396edad0 | GDR! | 2015-07-07 17:25:53 |
CID 122503 (#1 of 1): Missing return statement (MISSING_RETURN)1. | 25c3d4cc3bd800d5866a54fc0c6bc4f792971a11 | GDR! | 2015-07-07 17:22:40 |
CID 122505 (#1 of 1): Missing return statement (MISSING_RETURN)5. | 92b037219a65e3b6fb7d44dd03932b4a46aa276c | GDR! | 2015-07-07 17:19:35 |
CID 122506 (#1 of 1): Missing return statement (MISSING_RETURN)5. | 2f56b690b9f0680852ce9170747259fcb3266eaf | GDR! | 2015-07-07 17:19:03 |
CID 122507 (#1 of 1): Missing return statement (MISSING_RETURN)13. | f9ec09147a7589da250a9ff0b789953cb2214a3c | GDR! | 2015-07-07 17:18:31 |
CID 122509 (#1 of 1): Missing return statement (MISSING_RETURN)2. | 6b1f29cd404077f0eb76a0511e55d96d42370333 | GDR! | 2015-07-07 17:16:52 |
CID 122510 (#1-2 of 2): Resource leak (RESOURCE_LEAK)17. leaked_storage: | f4fd03d430339ae7310c43ea31f3bb3674b6074e | GDR! | 2015-07-07 17:16:19 |
CID 122511 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)4. | ec2d41d837c2a289ae8b72b4b45cc1b999621e35 | GDR! | 2015-07-07 17:15:11 |
CID 122512 (#3 of 3): Resource leak (RESOURCE_LEAK)11. leaked_storage: | 70644b6231dc2f0329c5d8a06b90bed3d29da7dc | GDR! | 2015-07-07 17:13:37 |
CID 122514 (#6 of 6): Uninitialized scalar variable (UNINIT)10. | 3fd4542ce246116b91ade0376639b5c145c3d3a9 | GDR! | 2015-07-07 17:08:46 |
CID 122515 (#1 of 1): Resource leak (RESOURCE_LEAK)6. leaked_storage: | 568238b53927804119dcc892919654deb961c4eb | GDR! | 2015-07-07 17:07:30 |
CID 122516 (#2-1 of 2): Resource leak (RESOURCE_LEAK)11. leaked_storage: | 71f6953feb4b8bd9914f04210fb23d5558c92960 | GDR! | 2015-07-07 17:02:51 |
Travis: Coverity | cc2ec501a7e7563dfcb46241f837c050a9e043a6 | GDR! | 2015-07-07 16:21:12 |
Travis: remove debug statements | abe6b568ac1f35749b8f08e942a7699875bbe509 | GDR! | 2015-07-07 15:33:30 |
Travis: cscope | 92892c15b5291cbb904b54a671d2d42d4a72eab7 | GDR! | 2015-07-07 15:06:19 |
Travis: Use right directory | 74d5edac649dc835d2d7b71f4bd595b773a1c0f8 | GDR! | 2015-07-07 13:53:59 |
Diagnostics - why is make failing? | 6b51abe945d8257186f2cebc6e44cde9326eebca | GDR! | 2015-07-07 12:37:51 |
Travis yml missing cd | 5ba82445e42bc36591cfa5de7d8c12f6d8e2d1e7 | GDR! | 2015-07-07 11:47:22 |
File | Lines added | Lines deleted |
---|---|---|
main.c | 3 | 1 |
File main.c changed (mode: 100644) (index 41448e6..c866891) | |||
... | ... | static void write_save(Tox *tox) | |
634 | 634 | fclose(file); | fclose(file); |
635 | 635 | if (rename((char*)path_tmp, (char*)path_real) != 0) { | if (rename((char*)path_tmp, (char*)path_real) != 0) { |
636 | 636 | log_printf(L_WARNING, "Failed to rename file. %s to %s deleting and trying again\n", path_tmp, path_real); | log_printf(L_WARNING, "Failed to rename file. %s to %s deleting and trying again\n", path_tmp, path_real); |
637 | remove((const char *)path_real); | ||
637 | if(remove((const char *)path_real) < 0) { | ||
638 | log_printf(L_WARNING, "Failed to remove old save file %s\n", path_real) | ||
639 | } | ||
638 | 640 | if (rename((char*)path_tmp, (char*)path_real) != 0) { | if (rename((char*)path_tmp, (char*)path_real) != 0) { |
639 | 641 | log_printf(L_WARNING, "Saving Failed\n"); | log_printf(L_WARNING, "Saving Failed\n"); |
640 | 642 | } else { | } else { |