[SCM] OCE packaging branch, debian, updated. debian/0.11-1
Denis Barbier
bouzim at gmail.com
Thu Dec 13 19:16:32 UTC 2012
The following commit has been merged in the debian branch:
commit f55783f83b4dee662334e96c3d50556b6696a11b
Author: Denis Barbier <bouzim at gmail.com>
Date: Thu Nov 15 21:33:01 2012 +0100
Cosmetics
Minor changes to help writing patches against OCCT.
diff --git a/src/BRepExtrema/BRepExtrema_DistanceSS.cxx b/src/BRepExtrema/BRepExtrema_DistanceSS.cxx
index 0a4a56a..32ec7e1 100644
--- a/src/BRepExtrema/BRepExtrema_DistanceSS.cxx
+++ b/src/BRepExtrema/BRepExtrema_DistanceSS.cxx
@@ -735,7 +735,7 @@ void BRepExtrema_DistanceSS::Perform(const TopoDS_Edge& S1,const TopoDS_Vertex&
Standard_Real Udeb,Ufin;
BRep_Tool::Range(S1,Udeb,Ufin);
- gp_Pnt Pt,P2=BRep_Tool::Pnt(S2);
+ gp_Pnt Pt, P2 = BRep_Tool::Pnt(S2);
const Standard_Real epsP=Precision::PConfusion();
for (i = 1; i <= NbExtrema; i++)
diff --git a/src/DDF/DDF_IOStream.cxx b/src/DDF/DDF_IOStream.cxx
index 9556e00..176df42 100644
--- a/src/DDF/DDF_IOStream.cxx
+++ b/src/DDF/DDF_IOStream.cxx
@@ -336,7 +336,7 @@ void DDF_IOStream::ReadWord(TCollection_AsciiString& buffer)
}
IsEnd = Standard_False;
-
+
while (!IsEnd && !DDF_IOStream::IsEnd()) {
buffer += c;
myIStream->get(c);
diff --git a/src/OSD/OSD_MemInfo.cxx b/src/OSD/OSD_MemInfo.cxx
index e424cda..7d59b05 100644
--- a/src/OSD/OSD_MemInfo.cxx
+++ b/src/OSD/OSD_MemInfo.cxx
@@ -17,10 +17,6 @@
// purpose or non-infringement. Please see the License for the specific terms
// and conditions governing the rights and limitations under the License.
-#ifdef HAVE_CONFIG_H
-# include <oce-config.h>
-#endif
-
#if (defined(_WIN32) || defined(__WIN32__))
#if defined(__MINGW32__)
#define WIN32_WINNT 0x0500
@@ -42,6 +38,10 @@
#include <sstream>
#include <fstream>
+#ifdef HAVE_CONFIG_H
+# include <oce-config.h>
+#endif
+
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
--
OCE packaging
More information about the debian-science-commits
mailing list