aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-20 10:50:10 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-20 10:50:10 +1000
commit568803568043345e7971403f03769a485a73939c (patch)
tree56b3b435e6bd0448ccd90cf90b3e01470ab89ff6 /wildcard.c
parent43b6b703ff56ed4a4194d26811823a6c4e545a87 (diff)
Large number of sourcecode comment edits, and some minor code polish
darcs-hash:20060620005010-ac50b-eaeae9a6242a37c1e34831e1a0b2ee2b4e7a012e.gz
Diffstat (limited to 'wildcard.c')
-rw-r--r--wildcard.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wildcard.c b/wildcard.c
index ef2748c4..61fb13f0 100644
--- a/wildcard.c
+++ b/wildcard.c
@@ -303,7 +303,10 @@ static wchar_t *make_path( const wchar_t *base_dir, const wchar_t *name )
return long_name;
}
-void get_desc( wchar_t *fn, string_buffer_t *sb, int is_cmd )
+/**
+ Get the description of the specified filename. If this is a regular file, append the filesize to the description.
+*/
+static void get_desc( wchar_t *fn, string_buffer_t *sb, int is_cmd )
{
const wchar_t *desc;
@@ -376,7 +379,7 @@ void get_desc( wchar_t *fn, string_buffer_t *sb, int is_cmd )
}
}
-/*
+/**
Test if the file specified by the given filename matches the
expansion flags specified. flags can be a combination of
EXECUTABLES_ONLY and DIRECTORIES_ONLY.