1. 22 Jul, 2009 3 commits
    • Max Kellermann's avatar
      audio_format: initialize reverse_endian in audio_format_init() · 6a071efa
      Max Kellermann authored
      This line was missing in the reverse_endian patch, and led to
      undefined values and crashes in that attribute.
      6a071efa
    • Michal Nazarewicz's avatar
      daemon: daemonize_close_stdin() optimised. · bfed1c04
      Michal Nazarewicz authored
      Changed function to first close standard input (this may
      fail but we don't care) and then try to open /dev/null (this
      may fail but it shouldn't on Unix platforms plus we don't
      know what to do in such case anyways).  Since standard input
      has the "zeroth" descriptor number next "open" will use it.
      
      Since there is no "/dev/null" on Windows (It's not even
      a valid path!) the second step is skipped if WIN32 is
      defined.
      
      As a final touch, since the function consists of merely two
      function calls it has been moved to header file and declared
      static inline.
      
      [mk: un-inline daemonize_close_stdin()]
      bfed1c04
    • Eugeny N Dzhurinsky's avatar
      cmdline: renamed options.stderr to options.log_stderr · bdb1965b
      Eugeny N Dzhurinsky authored
      On FreeBSD, "stderr" is a macro, and using this name for a struct
      member breaks the build.
      
      [mk: renamed _stderr to log_stderr]
      bdb1965b
  2. 19 Jul, 2009 15 commits
  3. 16 Jul, 2009 1 commit
  4. 15 Jul, 2009 13 commits
  5. 14 Jul, 2009 8 commits