~ubuntu-branches/ubuntu/trusty/sblim-sfcb/trusty-proposed

« back to all changes in this revision

Viewing changes to mofc/symtab.c

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-06-08 12:04:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090608120449-byfplk09rqz8rtg6
Tags: 1.3.3-0ubuntu1
* New upstream release.
* debian/rules: Removed rpath hacks, SFCB default build handles that now.
* Removed 1934753-remove-assignment.diff, now upstream.
* Refreshed patch cim-schema-location.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: symtab.c,v 1.11 2007/01/04 11:43:08 sschuetz Exp $
 
2
 * $Id: symtab.c,v 1.12 2009/01/08 16:46:33 buccella Exp $
3
3
 *
4
4
 * (C) Copyright IBM Corp. 2004
5
5
 * 
391
391
class_entry * make_instance( hashentry * he,
392
392
                          qual_chain * qu_ch,
393
393
                          const char * name,
394
 
                          prop_or_method_list * pom_li)
 
394
                          prop_or_method_list * pom_li,
 
395
              int instmig)
395
396
{
396
397
  class_entry * ce = malloc(sizeof(class_entry));
397
398
  prop_chain   * props;
398
399
 
399
400
  ce -> class_id = strdup(name); 
 
401
  ce -> instmig = instmig;
400
402
        if (pom_li) { 
401
403
          ce -> class_props = pom_li -> pom_props;
402
404
        }
650
652
        prop_chain * props = e->class_props;
651
653
        
652
654
        while (props) {
653
 
                if(strcmp(props->prop_id, prop_id)) 
 
655
                if(strcasecmp(props->prop_id, prop_id)) 
654
656
                        props = props->prop_next;
655
657
                else
656
658
                        return props;