ls: silly comment fixes
This commit is contained in:
parent
8c0c119130
commit
656f746e74
@ -116,7 +116,7 @@ SPLIT_SUBDIR = 2,
|
||||
#if ENABLE_FEATURE_LS_COLOR
|
||||
static int show_color;
|
||||
/* long option entry used only for --color, which has no short option
|
||||
* equivalent. */
|
||||
* equivalent */
|
||||
static const struct option ls_color_opt[] = {
|
||||
{ "color", optional_argument, NULL, 1 },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
@ -523,7 +523,7 @@ static struct dnode **list_dir(const char *path)
|
||||
closedir(dir);
|
||||
|
||||
/* now that we know how many files there are
|
||||
** allocate memory for an array to hold dnode pointers
|
||||
* allocate memory for an array to hold dnode pointers
|
||||
*/
|
||||
if (dn == NULL)
|
||||
return NULL;
|
||||
@ -789,7 +789,7 @@ int ls_main(int argc, char **argv)
|
||||
(ENABLE_FEATURE_LS_SORTFILES * (SORT_NAME | SORT_FORWARD));
|
||||
|
||||
#if ENABLE_FEATURE_AUTOWIDTH
|
||||
/* Obtain the terminal width. */
|
||||
/* Obtain the terminal width */
|
||||
get_terminal_width_height(STDOUT_FILENO, &terminal_width, NULL);
|
||||
/* Go one less... */
|
||||
terminal_width--;
|
||||
@ -900,7 +900,7 @@ int ls_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* now that we know how many files there are
|
||||
** allocate memory for an array to hold dnode pointers
|
||||
* allocate memory for an array to hold dnode pointers
|
||||
*/
|
||||
dnp = dnalloc(nfiles);
|
||||
for (i = 0, cur = dn; i < nfiles; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user