diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-03 00:42:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-03 00:42:10 +0000 |
commit | 67257c18c27c5265b15a55ad61d45da410f2f104 (patch) | |
tree | cda7ad04d5508d318053deda2922c990892023d2 /Build/source/texk/kpathsea/progname.c | |
parent | 7bc782074dd7cba33ad218494c3693c66a33037d (diff) |
formatting/doc fixes
git-svn-id: svn://tug.org/texlive/trunk@16274 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/progname.c')
-rw-r--r-- | Build/source/texk/kpathsea/progname.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/progname.c b/Build/source/texk/kpathsea/progname.c index d2ae4848f5f..8918e0dac9c 100644 --- a/Build/source/texk/kpathsea/progname.c +++ b/Build/source/texk/kpathsea/progname.c @@ -1,6 +1,6 @@ /* progname.c: the executable name we were invoked as; general initialization. - Copyright 1994, 1996, 1997, 2008 Karl Berry. + Copyright 1994, 1996, 1997, 2008, 2009 Karl Berry. Copyright 1998-2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -473,7 +473,8 @@ mk_suffixlist (kpathsea kpse) #endif /* WIN32 || __MINGW32__ || __CYGWIN__ */ void -kpathsea_set_program_name (kpathsea kpse, const_string argv0, const_string progname) +kpathsea_set_program_name (kpathsea kpse, const_string argv0, + const_string progname) { string ext, sdir, sdir_parent, sdir_grandparent; string s = getenv ("KPATHSEA_DEBUG"); @@ -634,7 +635,8 @@ kpathsea_set_program_name (kpathsea kpse, const_string argv0, const_string prog free (sdir_parent); free (sdir_grandparent); - kpse->invocation_short_name = xstrdup((string)xbasename (kpse->invocation_name)); + kpse->invocation_short_name + = xstrdup ((string) xbasename (kpse->invocation_name)); if (progname) { kpse->program_name = xstrdup (progname); @@ -675,13 +677,13 @@ kpathsea_set_program_name (kpathsea kpse, const_string argv0, const_string prog void kpse_set_program_name (const_string argv0, const_string progname) { - kpathsea_set_program_name (kpse_def, argv0, progname); + kpathsea_set_program_name (kpse_def, argv0, progname); } void kpse_set_progname (const_string argv0) { - kpathsea_set_program_name (kpse_def, argv0, NULL); + kpathsea_set_program_name (kpse_def, argv0, NULL); } #endif |