Revision: 55196
http://brlcad.svn.sourceforge.net/brlcad/?rev=55196&view=rev
Author: carlmoore
Date: 2013-04-19 21:17:12 +0000 (Fri, 19 Apr 2013)
Log Message:
-----------
Presumably this program was modified from d-i.c . Changed 2 references which
were 'd-i', and also brought in modified warning from d-i.c .
Modified Paths:
--------------
brlcad/trunk/src/sig/d-u.c
Modified: brlcad/trunk/src/sig/d-u.c
===================================================================
--- brlcad/trunk/src/sig/d-u.c 2013-04-19 21:11:38 UTC (rev 55195)
+++ brlcad/trunk/src/sig/d-u.c 2013-04-19 21:17:12 UTC (rev 55196)
@@ -21,7 +21,7 @@
*
* Convert doubles to 16bit unsigned ints
*
- * % d-i [-n || scale]
+ * % d-u [-n || scale]
*
* -n will normalize the data (scale -1.0 to +1.0
* between -32767 and +32767).
@@ -62,7 +62,7 @@
}
if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) {
- bu_exit(1, "Usage: d-i [-n || scale] < doubles > unsigned_shorts\n");
+ bu_exit(1, "Usage: d-u [-n || scale] < doubles > unsigned_shorts\n");
}
clip_high = clip_low = 0;
@@ -86,8 +86,8 @@
}
if ( clip_low != 0 || clip_high != 0 )
- fprintf( stderr, "Warning: Clipped %d high, %d low\n",
- clip_high, clip_low );
+ fprintf( stderr, "%s: warning: clipped %d high, %d low\n",
+ argv[0], clip_high, clip_low );
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits