~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to sjis.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
269
269
 
270
270
    ctype -= (ONIGENC_MAX_STD_CTYPE + 1);
271
271
    if (ctype >= (unsigned int )PropertyListNum)
272
 
      return ONIGENCERR_TYPE_BUG;
 
272
      return ONIGENC_ERR_TYPE_BUG;
273
273
 
274
274
    return onig_is_in_code_range((UChar* )PropertyList[ctype], code);
275
275
  }
291
291
 
292
292
    ctype -= (ONIGENC_MAX_STD_CTYPE + 1);
293
293
    if (ctype >= PropertyListNum)
294
 
      return ONIGENCERR_TYPE_BUG;
 
294
      return ONIGENC_ERR_TYPE_BUG;
295
295
 
296
296
    *ranges = PropertyList[ctype];
297
297
    return 0;