Revision: 76866
http://sourceforge.net/p/brlcad/code/76866
Author: starseeker
Date: 2020-08-21 14:27:34 +0000 (Fri, 21 Aug 2020)
Log Message:
-----------
rtwizard check caught it - /dev/mem and /dev/stack interfaces are built in, not
loaded as plugins - check accordingly.
Modified Paths:
--------------
brlcad/trunk/src/libdm/dm_plugins.cpp
Modified: brlcad/trunk/src/libdm/dm_plugins.cpp
===================================================================
--- brlcad/trunk/src/libdm/dm_plugins.cpp 2020-08-21 14:09:38 UTC (rev
76865)
+++ brlcad/trunk/src/libdm/dm_plugins.cpp 2020-08-21 14:27:34 UTC (rev
76866)
@@ -363,6 +363,17 @@
goto found_interface;
}
}
+
+ /* If we have a /dev/mem or a /dev/stack request, those interfaces are
built in */
+ if (BU_STR_EQUAL(file, "/dev/mem")) {
+ *ifp->i = *memory_interface.i; /* struct copy */
+ goto found_interface;
+ }
+ if (BU_STR_EQUAL(file, "/dev/stack")) {
+ *ifp->i = *stk_interface.i; /* struct copy */
+ goto found_interface;
+ }
+
/*
* Determine what type of hardware the device name refers to.
*
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits