* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
* cygcheck.cc (main): Ditto.
This commit is contained in:
		| @@ -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> | 2004-01-23  Christopher Faylor  <cgf@redhat.com> | ||||||
|  |  | ||||||
| 	* cygcheck.cc (pretty_id): Make more robust in absence of id.exe. | 	* cygcheck.cc (pretty_id): Make more robust in absence of id.exe. | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| # Makefile for Cygwin utilities | # 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. | # This file is part of Cygwin. | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1390,6 +1390,7 @@ main (int argc, char **argv) | |||||||
| { | { | ||||||
|   int i; |   int i; | ||||||
|  |  | ||||||
|  |   (void) putenv("POSIXLY_CORRECT=1"); | ||||||
|   while ((i = getopt_long (argc, argv, opts, longopts, NULL)) != EOF) |   while ((i = getopt_long (argc, argv, opts, longopts, NULL)) != EOF) | ||||||
|     switch (i) |     switch (i) | ||||||
|       { |       { | ||||||
|   | |||||||
| @@ -909,6 +909,7 @@ main (int argc, char **argv) | |||||||
|   else |   else | ||||||
|     pgm++; |     pgm++; | ||||||
|  |  | ||||||
|  |   (void) putenv("POSIXLY_CORRECT=1"); | ||||||
|   while ((opt = getopt_long (argc, argv, opts, longopts, NULL)) != EOF) |   while ((opt = getopt_long (argc, argv, opts, longopts, NULL)) != EOF) | ||||||
|     switch (opt) |     switch (opt) | ||||||
|       { |       { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user