diff --git a/testApp/remote/pvput.cpp b/testApp/remote/pvput.cpp index 48e62ec..b05ce3b 100644 --- a/testApp/remote/pvput.cpp +++ b/testApp/remote/pvput.cpp @@ -779,6 +779,7 @@ int main (int argc, char *argv[]) bool quiet = false; setvbuf(stdout,NULL,_IOLBF,BUFSIZ); /* Set stdout to line buffering */ + putenv(const_cast("POSIXLY_CORRECT=")); /* Behave correct on GNU getopt systems; e.g. handle negative numbers */ while ((opt = getopt(argc, argv, ":hr:w:tqdF:")) != -1) { switch (opt) {