Revision: 56410
http://sourceforge.net/p/brlcad/code/56410
Author: tbrowder2
Date: 2013-08-01 12:45:58 +0000 (Thu, 01 Aug 2013)
Log Message:
-----------
make new string to hold bu_getopt option char input; ws
Modified Paths:
--------------
brlcad/trunk/src/burst/burst.c
Modified: brlcad/trunk/src/burst/burst.c
===================================================================
--- brlcad/trunk/src/burst/burst.c 2013-08-01 12:37:35 UTC (rev 56409)
+++ brlcad/trunk/src/burst/burst.c 2013-08-01 12:45:58 UTC (rev 56410)
@@ -116,12 +116,15 @@
Parse program command line.
*/
+
+static const char optstring[] = "bpPh?";
+
static int
parsArgv(int argc, char **argv)
{
int c;
/* Parse options. */
- while ((c = bu_getopt(argc, argv, "bpPh?")) != -1) {
+ while ((c = bu_getopt(argc, argv, optstring)) != -1) {
switch (c) {
case 'b' :
tty = 0;
@@ -196,7 +199,7 @@
bu_exit(EXIT_FAILURE, "ERROR: Unable to create temporary file.\n");
}
if (!parsArgv(argc, argv)) {
- (void)fprintf(stderr, "%s\n", usage);
+ (void)fprintf(stderr, "%s\n", usage);
return EXIT_FAILURE;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits