+Mon Feb 8 11:43:07 1999 Donn Terry <donn@interix.com>
+
+ * real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.
+
Mon Feb 8 11:37:24 1999 Marc Espie (espie@cvs.openbsd.org)
* m88k/t-luna-gas: Remove bash dependency.
#define MAXDECEXP 4932
#define MINDECEXP -4956
#define GET_REAL(r,e) bcopy ((char *) r, (char *) e, 2*NE)
-#define PUT_REAL(e,r) bcopy ((char *) e, (char *) r, 2*NE)
+#define PUT_REAL(e,r) \
+do { \
+ if (2*NE < sizeof(*r)) \
+ bzero((char *)r, sizeof(*r)); \
+ bcopy ((char *) e, (char *) r, 2*NE); \
+} while (0)
#else /* no XFmode */
#if LONG_DOUBLE_TYPE_SIZE == 128
#define NE 10