~ubuntu-branches/ubuntu/oneiric/swig1.3/oneiric

« back to all changes in this revision

Viewing changes to Source/DOH/string.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-20 18:33:37 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080620183337-hockvwcewu29409c
Tags: 1.3.35-4ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop support for pike.
  - Use python2.5 instead of python2.4.
  - use php5
  - Clean Runtime/ as well.
  - Force a few environment variables.
  - debian/Rules (clean): Remove Lib/ocaml/swigp4.ml.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 * See the file LICENSE for information on usage and redistribution.    
11
11
 * ----------------------------------------------------------------------------- */
12
12
 
13
 
char cvsroot_string_c[] = "$Id: string.c 9657 2007-03-23 22:12:10Z wsfulton $";
 
13
char cvsroot_string_c[] = "$Id: string.c 10211 2008-01-18 19:51:46Z olly $";
14
14
 
15
15
#include "dohint.h"
16
16
 
545
545
  if (s->sp >= s->len)
546
546
    c = EOF;
547
547
  else
548
 
    c = (int) s->str[s->sp++];
 
548
    c = (int)(unsigned char) s->str[s->sp++];
549
549
  if (c == '\n')
550
550
    s->line++;
551
551
  return c;