bcopy, bzero, bcmp

Mark Wielaard mark at klomp.org
Sun Apr 27 09:25:42 PDT 2008


Hi,

Another patch that all distros seem to apply is one to remove the
redefine of bcopy in openjdk/hotspot/src/share/vm/libadt/port.hpp.

-#undef bcopy
-inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); }
+//#undef bcopy
+//inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); }

Now I cannot find any usage of bcopy (or bzero, or bcmp) in hotspot, so
the above seems not to actually do anything. But I was wondering why the
above might be necessary.

Cheers,

Mark




More information about the distro-pkg-dev mailing list