Revision: 41984
http://brlcad.svn.sourceforge.net/brlcad/?rev=41984&view=rev
Author: brlcad
Date: 2011-01-06 20:21:57 +0000 (Thu, 06 Jan 2011)
Log Message:
-----------
dbcp is deprecated. use dd.
Modified Paths:
--------------
brlcad/trunk/doc/deprecation.txt
brlcad/trunk/src/util/dbcp.c
Modified: brlcad/trunk/doc/deprecation.txt
===================================================================
--- brlcad/trunk/doc/deprecation.txt 2011-01-06 20:16:54 UTC (rev 41983)
+++ brlcad/trunk/doc/deprecation.txt 2011-01-06 20:21:57 UTC (rev 41984)
@@ -47,6 +47,8 @@
7.18
----
+dbcp
+ dbcp -> dd [deprecated 7.18]
mged
?(*) -> ? -(*)
apropos(*) -> apropos -(*)
Modified: brlcad/trunk/src/util/dbcp.c
===================================================================
--- brlcad/trunk/src/util/dbcp.c 2011-01-06 20:16:54 UTC (rev 41983)
+++ brlcad/trunk/src/util/dbcp.c 2011-01-06 20:21:57 UTC (rev 41984)
@@ -78,17 +78,23 @@
char msgchar;
pipefds par2chld, chld2par;
int c;
+ int deprecated = 1;
while ((c = bu_getopt(argc, argv, "v")) != EOF) {
switch (c) {
case 'v':
verbose++;
break;
+ case 'D':
+ deprecated=0;
default:
bu_exit(1, "%s", usage);
}
}
+ if (deprecated)
+ bu_log("DEPRECATED: dbcp is no longer being maintained. Please contact
the developers if you use this tool. Use -D to suppress this message.\n");
+
if (bu_optind >= argc) {
bu_exit(2, "%s", usage);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits