From ff95b300f8204c215384425032124f206349bca2 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Sat, 15 May 2010 01:55:00 +0000 Subject: remove trailing spaces. git-svn-id: svn://tug.org/texlive/trunk@18276 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/dir.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Build/source/texk/kpathsea/dir.c') diff --git a/Build/source/texk/kpathsea/dir.c b/Build/source/texk/kpathsea/dir.c index 1062f28f63f..9e3e83fabbd 100644 --- a/Build/source/texk/kpathsea/dir.c +++ b/Build/source/texk/kpathsea/dir.c @@ -29,7 +29,7 @@ boolean kpathsea_dir_p (kpathsea kpse, const_string fn) { - /* FIXME : using the stat() replacement in gnuw32, + /* FIXME : using the stat() replacement in gnuw32, we could avoid this win32 specific code. However, I wonder if it would be as fast as this one is ? */ @@ -46,7 +46,7 @@ kpathsea_dir_p (kpathsea kpse, const_string fn) fn, (int)(GetLastError())); } else { fprintf(stderr, "path %s %s a directory\n", - fn , (fa & FILE_ATTRIBUTE_DIRECTORY) ? + fn , (fa & FILE_ATTRIBUTE_DIRECTORY) ? "is" : "is not"); } } @@ -71,7 +71,7 @@ dir_p (const_string fn) Return -1 if FN isn't a directory, else its number of links. Duplicate the call to stat; no need to incur overhead of a function call for that little bit of cleanliness. - + The process is a bit different under Win32 : the first call memoizes the nlinks value, the following ones retrieve it. */ @@ -79,7 +79,7 @@ int kpathsea_dir_links (kpathsea kpse, const_string fn, long nlinks) { string *hash_ret; - + if (kpse->link_table.size == 0) kpse->link_table = hash_create (457); @@ -91,7 +91,7 @@ kpathsea_dir_links (kpathsea kpse, const_string fn, long nlinks) #endif hash_ret = hash_lookup (kpse->link_table, fn); - + #ifdef KPSE_DEBUG if (KPATHSEA_DEBUG_P (KPSE_DEBUG_HASH)) kpse->debug_hash_lookup_int = false; @@ -105,7 +105,7 @@ kpathsea_dir_links (kpathsea kpse, const_string fn, long nlinks) #else nlinks = (long) *hash_ret; #endif - } else { + } else { #ifdef WIN32 /* Insert it only if we have some informations about it. */ if (nlinks) { @@ -132,7 +132,7 @@ kpathsea_dir_links (kpathsea kpse, const_string fn, long nlinks) #endif } - /* In any case, return nlinks + /* In any case, return nlinks (either 0, the value inserted or the value retrieved. */ return nlinks; } -- cgit v1.2.3