[Rd] fix for save()'ing RAW on PPC (and other big endian platforms)

From: Byron Ellis <ellis_at_stat.harvard.edu>
Date: Sat 04 Jun 2005 - 11:49:04 GMT


OutByte should take a byte, not an int. Writing the first byte of an int is only going to work on little endian systems.

serialize.c:262
-static void OutByte(R_outpstream_t stream, int i)
+static void OutByte(R_outpstream_t stream, Rbyte i)

---

Byron Ellis (ellis@stat.harvard.edu)
"Oook" -- The Librarian



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun Jun 05 09:47:15 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:06 GMT