~ubuntu-branches/ubuntu/maverick/mysql-dfsg-5.0/maverick

« back to all changes in this revision

Viewing changes to strings/ctype-simple.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug, Norbert Tretkowski, Mathias Gug
  • Date: 2009-07-10 20:05:05 UTC
  • mfrom: (1.1.19 upstream) (19.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20090710200505-mr0avcgp14lexg44
Tags: 5.1.30really5.0.83-0ubuntu1
[ Norbert Tretkowski ]
* New upstream release.

[ Mathias Gug ]
* Merge from debian unstable, remaining changes:
 + debian/control:
  - Add a mysql-doc-5.0 as a Suggest to mysql-client-5.0, mysql-server-5.0
    and libmysql15-dev
  - Prepend XS-Original- to Vcs-{Browser, SVN}.
  - Lower mailx from a Recommends to a Suggests, which is pulling in 
    exim4 on all installs fo mysql-server. (LP: #259477)
 + debian/rules:
   - Apply same configuration options on lpia as for i386.
   - Add -fno-strict-aliasing to fix FTBFS failures in the mysql
     testsuite.
   - Install mysqld AppArmor profile.
 + debian/additions/my.cnf:
   - Error message files are located in a different directory in MySQL 5.1. 
     Setting the language option to use /usr/share/mysql/ breaks 5.1. 
     Both 5.0 and 5.1 use a default value that works. (LP: #316974).
   - remove skip-bdb option. This option is not available in 5.1 anymore.
     Moreover 5.0 isn't build with the BerkeleyDB engine. (LP: #316849)
 + Create mysql-server-core-5.0 package for files needed by Akonadi.
 + Add mysqld AppArmor profile:
   - debian/apparmor-profile: mysqld AppArmor profile.
   - debian/mysql-server-5.0.README.Debian: add a note about mysqld AppArmor
     profile.
   - debian/mysql-server-5.0.files: ship mysqld AppArmor profile.
   - debian/mysql-server-5.0.postinst: reload mysqld AppArmor profile.
   - debian/rules: install mysqld AppArmor profile.
   - debian/additions/my.cnf: add warning about apparmor. (LP: #201799)
 + Fixes random build failures:
   - 90_upstream_bug_23921.dpatch (http://bugs.mysql.com/bug.php?id=23921).
   - 91_ubuntu_buildd_testfailures.dpatch: disable tests that fail
     randomly only on the amd64 buildd.
 + Fix log-slow-queries option: (LP: #183762)
   - debian/patches/57-fix-mysqlslowdump-config.dpatch: support 
     log_slow_queries option in mysqlslowdump.
   - debian/additions/my.cnf: use log-slow-queries instead of
     log_slow_queries.
* debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch: wait in the
  SIGHUP trap to avoid killing an existing mysqld process when a HUP
  signal is sent to mysqld_safe. (LP: #326768)
* Dropped from Ubuntu:
  + debian/patches/92_ssl_test_cert.dpatch: Fixed in 5.0.78.
  + Fix man page conflicts with mysql-doc-5.0 when upgrading from gutsy
    for mysql-server-5.0, mysql-client-5.0, and libmysqlclient15-dev
    packages.
  + Replaces and Conflicts apparmour-profiles << 2.1+1075-0ubuntu4 to allow
    proper upgrades from gutsy.
  + Follow ApparmorProfileMigration and force apparmor complain mode on some
    upgrades (LP: #203531)
    - debian/control: Recommends apparmor >= 2.1+1075-0ubuntu6
    - debian/mysql-server-5.0.dirs: add etc/apparmor.d/force-complain
    - debian/mysql-server-5.0.preinst: create symlink for force-complain/
      on pre-feisty upgrades, upgrades where apparmor-profiles profile is
      unchanged (ie non-enforcing) and upgrades where the profile doesn't
      exist.
    - debian/mysql-server-5.0.postrm: remove symlink in force-complain/ on
      purge.
  + Modifies debian-start.inc.sh to support ANSI mode (LP: #310211): fixed
    differently in Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
  char *str_orig= str;
194
194
  while ((*str= (char) map[(uchar) *str]) != 0)
195
195
    str++;
196
 
  return str - str_orig;
 
196
  return (uint) (str - str_orig);
197
197
}
198
198
 
199
199
 
203
203
  char *str_orig= str;
204
204
  while ((*str= (char) map[(uchar) *str]) != 0)
205
205
    str++;
206
 
  return str - str_orig;
 
206
  return (uint) (str - str_orig);
207
207
}
208
208
 
209
209
 
1516
1516
    }
1517
1517
  }
1518
1518
  
1519
 
  digits= str - beg;
 
1519
  digits= (int) (str - beg);
1520
1520
 
1521
1521
  /* Continue to accumulate into ulonglong */
1522
1522
  for (dot= NULL, ull= ul; str < end; str++)
1553
1553
      }
1554
1554
      else
1555
1555
      {
1556
 
        shift= dot - str;
 
1556
        shift= (int) (dot - str);
1557
1557
        for ( ; str < end && (ch= (unsigned char) (*str - '0')) < 10; str++);
1558
1558
      }
1559
1559
      goto exp;
1577
1577
    /* Unknown character, exit the loop */
1578
1578
    break; 
1579
1579
  }
1580
 
  shift= dot ? dot - str : 0; /* Right shift */
 
1580
  shift= dot ? (int) (dot - str) : 0; /* Right shift */
1581
1581
  addon= 0;
1582
1582
 
1583
1583
exp:    /* [ E [ <sign> ] <unsigned integer> ] */