cURL / Mailing Lists / curl-library / Single Mail


[PATCH] testcurl ares build compiler warnings

From: Tor Arntsen <>
Date: Thu, 12 Feb 2004 18:03:16 +0100

When running autobuilds w/ares enabled the sgi/irix compiler warnings are
not ending up in the logfile when running like so: curl/ > logfile
unlike the rest of the output (those warnings go to stderr). The script
doesn't redirect stderr for ares the way it's done elsewhere.

Please find below a suggestive fix that seems to do the right thing.
Note that
was executed *with the below patch*. Without it the number of warnings would
appear to be somewhat lower (the ares warnings wouldn't have been visible in
the log).


RCS file: /repository/curl/,v
retrieving revision 1.26
diff -u -r1.26
--- 9 Feb 2004 08:55:33 -0000 1.26
+++ 12 Feb 2004 16:50:36 -0000
@@ -207,7 +207,7 @@
   echo "testcurl: build ares"
   cd ares
- make
+ make 2>&1 | sed -e "s:$pwd::g"
   echo "testcurl: ares is now built"
   # cd back to the curl build dir
Received on 2004-02-12