[xiph-cvs] cvs commit: ogg/src bitwise.c

Monty xiphmont at xiph.org
Tue Mar 16 10:31:50 PST 2004



xiphmont    04/03/16 13:31:50

  Modified:    src      bitwise.c
  Log:
  A bcopy() snuck in from sloppy source tree management.  Revert it to
  the original memmove (bcopy is neither portable nor equivalent to
  memmove)

Revision  Changes    Path
1.19      +2 -2      ogg/src/bitwise.c

Index: bitwise.c
===================================================================
RCS file: /usr/local/cvsroot/ogg/src/bitwise.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- a/bitwise.c	8 Mar 2004 04:10:00 -0000	1.18
+++ b/bitwise.c	16 Mar 2004 18:31:49 -0000	1.19
@@ -11,7 +11,7 @@
  ********************************************************************
 
   function: packing variable sized words into an octet stream
-  last mod: $Id: bitwise.c,v 1.18 2004/03/08 04:10:00 xiphmont Exp $
+  last mod: $Id: bitwise.c,v 1.19 2004/03/16 18:31:49 xiphmont Exp $
 
  ********************************************************************/
 
@@ -170,7 +170,7 @@
       b->ptr=b->buffer+b->endbyte;
     }
 
-    bcopy(source,b->ptr,bytes);
+    memmove(b->ptr,source,bytes);
     b->ptr+=bytes;
     b->buffer+=bytes;
     *b->ptr=0;

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list