Changeset 35b6eb9 for text.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:39 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
ddbbcffa
Parents:
96828e4
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:52:03)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:39)
Message:
Replace owl_realloc with g_renew.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • text.c

    r96828e4 r35b6eb9  
    286286    if (!strncmp(in+inpos, from, fromlen)) {
    287287      outlen += tolen;
    288       out = owl_realloc(out, outlen);
     288      out = g_renew(char, out, outlen);
    289289      strcpy(out+outpos, to);
    290290      inpos += fromlen;
Note: See TracChangeset for help on using the changeset viewer.