Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/linux-locale-helpers/fetch-lc_messages-from-linux.c')
-rw-r--r--winsup/cygwin/linux-locale-helpers/fetch-lc_messages-from-linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/linux-locale-helpers/fetch-lc_messages-from-linux.c b/winsup/cygwin/linux-locale-helpers/fetch-lc_messages-from-linux.c
index 03755c6aa..e83bad66f 100644
--- a/winsup/cygwin/linux-locale-helpers/fetch-lc_messages-from-linux.c
+++ b/winsup/cygwin/linux-locale-helpers/fetch-lc_messages-from-linux.c
@@ -149,8 +149,8 @@ main ()
{
char name[32], *c;
FILE *pp;
-
- pp = popen ("locale -a | grep -a '_' | fgrep -v .", "r");
+
+ pp = popen ("locale -a | grep -a '_' | grep -F -v .", "r");
if (!pp)
{
perror ("popen failed");
@@ -160,7 +160,7 @@ main ()
{
c = strchr (name, '\n');
if (c)
- *c = '\0';
+ *c = '\0';
read_locale_messages (name);
}
pclose (pp);