1. 19 Jul, 2009 5 commits
    • Max Kellermann's avatar
      conf: use the tokenizer library · 16ff44ad
      Max Kellermann authored
      16ff44ad
    • Max Kellermann's avatar
      tokenizer: new library replacing buffer2array() · 1745e687
      Max Kellermann authored
      The new code is more robust and more flexible.  It provides detailed
      error information in GError objects.
      1745e687
    • Michal Nazarewicz's avatar
      daemon: Moved empty Windows version functions to header file · 809c96b5
      Michal Nazarewicz authored
      On Windows only daemonize_close_stdin() function does
      something.  Other functions are either empty or generate an
      error.  Those have been moved to header file and declared
      static inline so compiler can remove the call all together.
      809c96b5
    • Michal Nazarewicz's avatar
      conf: replaced gcc "const" attribute with "pure" · 03e43356
      Michal Nazarewicz authored
      The functions were not "const" (they examined values pointed
      by arguments passed to them, quoting gcc's doc: "Note that
      a function that has pointer arguments and examines the data
      pointed to must _not_ be declared 'const'.") but rather
      "pure" and still not all of them.
      
      Note also, that even some of the functions declared "pure"
      are not pure, however, due to reasons stated in source code
      the attribute has been kept.
      03e43356
    • Michal Nazarewicz's avatar
      daemon: added "group" configuration option · d718a8b5
      Michal Nazarewicz authored
      The "group" configuration option is similar to "user" as it
      sets user set what group MPD shall run as.  With "user"
      option, MPD changed GID to the GID of the user, however,
      more control could be desired.
      
      Moreover, the patch changes the way of checking whether no
      setuid(2)/setgid(2) is required -- previously user names
      were compered, now UID and GIDs are compered (ie. the one we
      already have (getuid(2)/getgid(2)) with the one we want to
      change to).
      d718a8b5
  2. 16 Jul, 2009 1 commit
  3. 15 Jul, 2009 13 commits
  4. 14 Jul, 2009 9 commits
  5. 09 Jul, 2009 2 commits
  6. 07 Jul, 2009 3 commits
  7. 06 Jul, 2009 7 commits