log rotate() is missing a lot of error checking

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following functions in rotate() need to have their return statuses checked for errors so we don't have confusing behavior when things fail silently:
      rename()
      CreateFileA()
      freopen()
      dup2()

      If these functions fail, we should write to stderr and translate errno.

              Assignee:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: