about summary refs log tree commit diff
path: root/other/pamx/send.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-09-08 21:18:26 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-09-08 21:18:26 +0000
commitb0267f8b5613f39d94bcfabea233d97d17be163f (patch)
tree646e3a4b4586e89d7837f45ea1df5c1df283a415 /other/pamx/send.c
parentcf97c97e5da0fadc0bca18bcb8637f80fb9461b5 (diff)
downloadnetpbm-mirror-b0267f8b5613f39d94bcfabea233d97d17be163f.tar.gz
netpbm-mirror-b0267f8b5613f39d94bcfabea233d97d17be163f.tar.xz
netpbm-mirror-b0267f8b5613f39d94bcfabea233d97d17be163f.zip
Replace obsolete bcopy, index, rindex with modern memcpy, strchr, strrchr
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1730 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pamx/send.c')
-rw-r--r--other/pamx/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/pamx/send.c b/other/pamx/send.c
index 5413308b..597b76c7 100644
--- a/other/pamx/send.c
+++ b/other/pamx/send.c
@@ -587,7 +587,7 @@ makeXImage(XImageInfo * const ximageinfoP,
         MALLOCARRAY(data, byteCount);
         if (data == NULL)
             pm_error("Can't allocate space for %u byte image", byteCount);
-        bcopy(imageP->data, data, byteCount);
+        memcpy(data, imageP->data, byteCount);
 
         ximageinfoP->ximageP =
             XCreateImage(disp, visualP, 1, XYBitmap,