]> sourceware.org Git - newlib-cygwin.git/commitdiff
* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
authorChristopher Faylor <me@cgf.cx>
Tue, 10 Feb 2004 16:01:31 +0000 (16:01 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 10 Feb 2004 16:01:31 +0000 (16:01 +0000)
* cygcheck.cc (main): Ditto.

winsup/utils/ChangeLog
winsup/utils/Makefile.in
winsup/utils/cygcheck.cc
winsup/utils/strace.cc

index cca686c46d7fdbebbc8729b9ec8e964cb33a5fe4..516896d1aebb03cd37ea1bc67d8a217048be15d4 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-10  Christopher Faylor  <cgf@redhat.com>
+
+       * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
+       * cygcheck.cc (main): Ditto.
+
 2004-01-23  Christopher Faylor  <cgf@redhat.com>
 
        * cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
index c0a0c1470607b71e7c084f4c0a4734383ec2c4c1..3a5291104186ec89b5f809a8840cf04acfe32577 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for Cygwin utilities
-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
+# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
 
 # This file is part of Cygwin.
 
index 9652a5ba53b79ad6b9290c6f45fd67bc414772fb..b7534e05e54856416d750d7c59d5565f9c57cfba 100644 (file)
@@ -1390,6 +1390,7 @@ main (int argc, char **argv)
 {
   int i;
 
+  (void) putenv("POSIXLY_CORRECT=1");
   while ((i = getopt_long (argc, argv, opts, longopts, NULL)) != EOF)
     switch (i)
       {
index 47e5aa6cc18a0072519f5ea0c4b650bacc3eb52c..470b2a4b2f024fa9d9b3aa88dde8c4839c1dcc1b 100644 (file)
@@ -909,6 +909,7 @@ main (int argc, char **argv)
   else
     pgm++;
 
+  (void) putenv("POSIXLY_CORRECT=1");
   while ((opt = getopt_long (argc, argv, opts, longopts, NULL)) != EOF)
     switch (opt)
       {
This page took 0.040146 seconds and 5 git commands to generate.