Changeset d4927a7 for dict.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:46 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
3472845
Parents:
ddbbcffa
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:55:10)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:46)
Message:
Replace owl_strdup with g_strdup.

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

Legend:

Unmodified
Added
Removed
  • dict.c

    rddbbcffa rd4927a7  
    6565  if (owl_list_create(l)) return(-1);
    6666  for (i=0; i<d->size; i++) {
    67     if ((dupk = owl_strdup(d->els[i].k)) == NULL) return(-1);
     67    if ((dupk = g_strdup(d->els[i].k)) == NULL) return(-1);
    6868    owl_list_append_element(l, dupk);
    6969  }
     
    100100      if (d->els==NULL) return(-1);
    101101    }
    102     if ((dupk = owl_strdup(k)) == NULL) return(-1);
     102    if ((dupk = g_strdup(k)) == NULL) return(-1);
    103103    if (pos!=d->size) {
    104104      /* shift forward to leave us a slot */
Note: See TracChangeset for help on using the changeset viewer.