Changeset 682c0f in git for omalloc


Ignore:
Timestamp:
Aug 16, 2000, 6:08:33 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
669c51442a16c41910421f35fef5552d92373ad7
Parents:
a0fdca8089c15b2f42c46af43655478a4020d3c7
Message:
* bug fix in _omStrDup


git-svn-id: file:///usr/local/Singular/svn/trunk@4538 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omInline.h

    ra0fdca8 r682c0f  
    55 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    66 *  Created: 11/99
    7  *  Version: $Id: omInline.h,v 1.3 2000-08-14 12:26:45 obachman Exp $
     7 *  Version: $Id: omInline.h,v 1.4 2000-08-16 16:08:33 obachman Exp $
    88 *******************************************************************/
    99#if defined(OM_INLINE) || defined(OM_ALLOC_C)
     
    155155  i++;
    156156  __omTypeAlloc(char*, r, i);
    157   i = OM_ALIGN_SIZE(i) >> LOG_SIZEOF_LONG;
    158   omMemcpyW(r, s, i);
     157  memcpy(r, s, i);
    159158  return r;
    160159}
Note: See TracChangeset for help on using the changeset viewer.