1. 19 Jul, 2009 2 commits
    • 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 10 commits