Re: [PATCH] Fix word repetitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 10.02.2017 um 12:05 schrieb Yuri Chornoivan:

> diff --git a/misc-utils/look.c b/misc-utils/look.c
> index 93c388e..bb0d965 100644
> --- a/misc-utils/look.c
> +++ b/misc-utils/look.c
> @@ -171,7 +171,7 @@ look(char *front, char *back)
>  	int ch;
>  	char *readp, *writep;
>  
> -	/* Reformat string string to avoid doing it multiple times later. */
> +	/* Reformat string to avoid doing it multiple times later. */
>  	if (dflag) {
>  		for (readp = writep = string; (ch = *readp++) != 0;) {
>  			if (isalnum(ch) || isblank(ch))

Actually I don't think this is a word repetition. It looks to me like
it's really talking about "string string" - the string held in the
variable named "string".

> diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
> index 21caeb2..e561859 100644
> --- a/sys-utils/hwclock.c
> +++ b/sys-utils/hwclock.c
> @@ -712,7 +712,7 @@ display_time(const bool hclock_valid, struct timeval hwctime)
>   * runnable by issuing the command "date" to the /bin/sh shell. That means
>   * in must be in the current PATH.
>   *
> - * If anything goes wrong (and many things can), we return return code 10
> + * If anything goes wrong (and many things can), we return code 10
>   * and arbitrary *time_p. Otherwise, return code is 0 and *time_p is valid.
>   */
>  static int interpret_date_string(const char *date_opt, time_t * const time_p)

Nor is this, as it talks about the return code that will be returned.

Regards,
Tilman

-- 
Tilman Schmidt                              E-Mail: tilman@xxxxxxx
Bonn, Germany
Nous, on a des fleurs et des bougies pour nous protéger.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux