diff options
author | Timothy Pearson <[email protected]> | 2011-12-07 18:56:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-07 18:56:08 -0600 |
commit | b8cadac68dd320592b3a1d29dead7c5968476750 (patch) | |
tree | a0ea3846d686512fe2a88796bd402b669a056280 /ubuntu/maverick_automake/dependencies/arts | |
parent | 74cd36bb1e753c42dcc7e0a14b7c86c25afd8db3 (diff) | |
download | tde-packaging-b8cadac68dd320592b3a1d29dead7c5968476750.tar.gz tde-packaging-b8cadac68dd320592b3a1d29dead7c5968476750.zip |
Rename KDEHOME and KDEDIR
Diffstat (limited to 'ubuntu/maverick_automake/dependencies/arts')
-rw-r--r-- | ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff b/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff index e2deeda88..855ba5729 100644 --- a/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff +++ b/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff @@ -38,7 +38,7 @@ + string user_tmp_dir; int uid = getuid(); const char *home_dir = getenv("HOME"); - const char *kde_home = uid ? getenv("KDEHOME") : getenv("KDEROOTHOME"); + const char *kde_home = uid ? getenv("TDEHOME") : getenv("KDEROOTHOME"); @@ -88,7 +88,7 @@ if (!tmp || !tmp[0]) tmp = "/tmp"; @@ -110,7 +110,7 @@ + result = lstat(kde_tmp_dir.c_str(), &stat_buf); if ((result == 0) && (S_ISDIR(stat_buf.st_mode))) { - /* $KDEHOME/socket-$HOSTNAME is a normal directory. Do nothing. */ + /* $TDEHOME/socket-$HOSTNAME is a normal directory. Do nothing. */ - tmp_buf = (char *) malloc(PATH_MAX+1); - if (!tmp_buf) - return 0; @@ -184,7 +184,7 @@ + char *tmp_buf; int uid = getuid(); const char *home_dir = getenv("HOME"); - const char *kde_home = uid ? getenv("KDEHOME") : getenv("KDEROOTHOME"); + const char *kde_home = uid ? getenv("TDEHOME") : getenv("KDEROOTHOME"); int result; struct stat stat_buf; @@ -259,7 +259,7 @@ + result = lstat(kde_tmp_dir.c_str(), &stat_buf); if ((result == 0) && (S_ISDIR(stat_buf.st_mode))) { - /* $KDEHOME/tmp is a normal directory. Do nothing. */ + /* $TDEHOME/tmp is a normal directory. Do nothing. */ - printf("Directory \"%s\" already exists.\n", kde_tmp_dir); + printf("Directory \"%s\" already exists.\n", kde_tmp_dir.c_str()); return 0; |