This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH COMMITTED] Fix a few typos in comments


On Sat, Jan 12, 2019 at 9:17 AM Dmitry V. Levin <ldv@altlinux.org> wrote:
>
> Apply the following spelling fixes:
> $ git grep -F -l 'relevent' |
>   xargs sed -i 's/relevent/relevant/g'

This kind of patch is useful and welcome, but I want to warn anyone
who might be tempted to do something similar: after making global
mechanical search-and-replace changes like this, you must manually
review the diff and make sure you only changed text in comments, not
code, and not names in comments either.  It would not be appropriate,
for instance, to "correct" the name of the function "creat".

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]