~ubuntu-branches/ubuntu/saucy/xmms2/saucy-proposed

« back to all changes in this revision

Viewing changes to src/xmms/utils.c

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2011-10-22 23:53:00 UTC
  • mto: (38.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20111022235300-u50pdo3g341jvk7q
ImportĀ upstreamĀ versionĀ 0.8+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  XMMS2 - X Music Multiplexer System
2
 
 *  Copyright (C) 2003-2009 XMMS2 Team
 
2
 *  Copyright (C) 2003-2011 XMMS2 Team
3
3
 *
4
4
 *  PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
5
5
 *
38
38
xmms_build_path (const char *first, ...)
39
39
{
40
40
        va_list ap;
41
 
        gchar confdir[PATH_MAX];
 
41
        gchar confdir[XMMS_PATH_MAX];
42
42
        gchar *ret, **vargv, **argv;
43
43
 
44
44
        g_return_val_if_fail (first, NULL);
45
45
 
46
 
        xmms_userconfdir_get (confdir, PATH_MAX);
 
46
        xmms_userconfdir_get (confdir, XMMS_PATH_MAX);
47
47
 
48
48
        va_start (ap, first);
49
49
        vargv = xmms_valist_to_strlist (first, ap);