From: <kin...@us...> - 2008-02-21 14:39:15
|
Revision: 3749 http://teem.svn.sourceforge.net/teem/?rev=3749&view=rev Author: kindlmann Date: 2008-02-21 06:39:19 -0800 (Thu, 21 Feb 2008) Log Message: ----------- better handling of writing to stdout Modified Paths: -------------- teem/trunk/src/limn/io.c Modified: teem/trunk/src/limn/io.c =================================================================== --- teem/trunk/src/limn/io.c 2008-02-20 13:23:39 UTC (rev 3748) +++ teem/trunk/src/limn/io.c 2008-02-21 14:39:19 UTC (rev 3749) @@ -1193,7 +1193,7 @@ } else if (airEndsWith(fname, ".iv")) { ret = limnPolyDataWriteIV(file, lpld); } else { - if (!airEndsWith(fname, ".lmpd")) { + if (strcmp(_fname, "-") && !airEndsWith(fname, ".lmpd")) { fprintf(stderr, "%s: WARNING: unknown or no suffix on \"%s\"; " "using LMPD format", me, _fname); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |