summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.patch
blob: 6aef12bad6cf38ebd939e315d8f7fe6d5d70de8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN xlib_libXfont-1.2.7.orig/src/builtins/file.c xlib_libXfont-1.2.7/src/builtins/file.c
--- xlib_libXfont-1.2.7.orig/src/builtins/file.c	2007-01-17 23:49:10.000000000 +0200
+++ xlib_libXfont-1.2.7/src/builtins/file.c	2007-09-30 03:09:29.000000000 +0300
@@ -50,7 +50,7 @@
     len = BUFFILESIZE;
     if (len > left)
 	len = left;
-    bcopy (io->file->bits + io->offset, f->buffer, len);
+    memmove (f->buffer, io->file->bits + io->offset, len);
     io->offset += len;
     f->left = len - 1;
     f->bufp = f->buffer + 1;