diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-15 08:19:27 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-15 08:19:27 +0000 |
commit | 5ad5b475cc0211e3d48232660a9f1548ac2aadb5 (patch) | |
tree | 8828e1ca68606e563aede87ea2a699fcf60c8543 /Build/source/texk/kpathsea/xputenv.c | |
parent | b9a895c295af055dfbc9599c2a763ed0d443d109 (diff) |
minor cleanup
git-svn-id: svn://tug.org/texlive/trunk@17034 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xputenv.c')
-rw-r--r-- | Build/source/texk/kpathsea/xputenv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/xputenv.c b/Build/source/texk/kpathsea/xputenv.c index 0455997890d..4d1fb5335e0 100644 --- a/Build/source/texk/kpathsea/xputenv.c +++ b/Build/source/texk/kpathsea/xputenv.c @@ -47,12 +47,12 @@ kpathsea_xputenv(kpathsea kpse, const char *var, const char *value) int cur_loc; /* kpse_debug2(KPSE_DEBUG_VARS, "kpse_putenv($%s,%s)", var, value); */ - + old_item = NULL; cur_item = concat3(var, "=", value); /* Include '=' in length. */ var_lim = strlen(var) + 1; - + /* Have we stored something for this value already? */ for (cur_loc = 0; cur_loc != kpse->saved_count; ++cur_loc) { if (strncmp(kpse->saved_env[cur_loc], cur_item, var_lim) == 0) { @@ -106,15 +106,15 @@ kpathsea_xputenv_int (kpathsea kpse, const_string var_name, int num) { char str[MAX_INT_LENGTH]; sprintf (str, "%d", num); - + kpathsea_xputenv (kpse, var_name, str); } #if defined (KPSE_COMPAT_API) void -xputenv(const char *var, const char *value) +xputenv (const char *var, const char *value) { - kpathsea_xputenv(kpse_def, var, value); + kpathsea_xputenv (kpse_def, var, value); } void |