patch-1.3.38 linux/arch/alpha/lib/memcpy.c
Next file: linux/arch/i386/boot/compressed/head.S
Previous file: linux/arch/alpha/lib/io.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sun Oct 29 20:50:09 1995
- Orig file:
v1.3.37/linux/arch/alpha/lib/memcpy.c
- Orig date:
Fri Jul 7 08:54:44 1995
diff -u --recursive --new-file v1.3.37/linux/arch/alpha/lib/memcpy.c linux/arch/alpha/lib/memcpy.c
@@ -113,3 +113,13 @@
__memcpy_unaligned((unsigned long) dest, (unsigned long) src, n);
return dest;
}
+
+/*
+ * Broken compiler uses "bcopy" to do internal
+ * assignments. Silly OSF/1 BSDism.
+ */
+char * bcopy(const char * src, char * dest, size_t n)
+{
+ __memcpy(dest, src, n);
+ return dest;
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this