1. 18 Jun, 2022 1 commit
  2. 16 Jan, 2022 1 commit
  3. 15 Jan, 2022 2 commits
  4. 16 Mar, 2019 1 commit
  5. 08 Dec, 2018 2 commits
  6. 24 Mar, 2018 1 commit
  7. 26 Jan, 2017 1 commit
  8. 12 Dec, 2015 1 commit
  9. 08 Nov, 2014 1 commit
  10. 05 Jun, 2014 2 commits
  11. 21 May, 2014 1 commit
  12. 24 Mar, 2014 1 commit
  13. 18 Aug, 2013 1 commit
  14. 23 Jul, 2013 1 commit
  15. 06 Jun, 2013 1 commit
  16. 19 Jan, 2013 1 commit
  17. 05 Jan, 2013 1 commit
  18. 28 Dec, 2012 1 commit
  19. 25 Aug, 2012 2 commits
    • Alan Coopersmith's avatar
      Ensure inFile is always closed on error in cppit() · 5a9246d6
      Alan Coopersmith authored
      
      
      Another instance of the can-return-in-rare-cases nature of LogFatal()
      raising red flags in static analysis.
      
      Resolves warning from Parfait 1.0.1:
      Error: File Leak
         File Leak: Leaked File inFile
              at line 1719 of imake.c in function 'cppit'.
                inFile initialized at line 1699 with fopen
                inFile leaks when inFile != NULL at line 1700
                    and fprintf(inFile, "%s\n", "/* imake - temporary file */") < 0 at line 1702.
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      5a9246d6
    • Alan Coopersmith's avatar
      Avoid closing inFile twice in CheckImakefileC if LogFatal returns · 464ba911
      Alan Coopersmith authored
      
      
      Imake's LogFatal() checks if it's being re-entered and if so, returns,
      so we can't mark it NORETURN, leading to static analyzers believing it
      can return even in call paths it shouldn't.
      
      Resolves warning from Parfait 1.0.1:
      Error: File Invalid
         File not Initialized: The value inFile is not initialized as a file.
              at line 748 of imake.c in function 'CheckImakefileC'.
                inFile initialized at line 738 with fopen(masterc, "r").
                inFile destroyed at line 745 with fclose(inFile).
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      464ba911
  20. 08 Mar, 2012 1 commit
  21. 11 Feb, 2012 1 commit
  22. 08 Oct, 2011 5 commits
  23. 08 Jan, 2011 1 commit
  24. 01 Nov, 2010 1 commit
  25. 31 Oct, 2010 5 commits
  26. 06 May, 2010 3 commits