~ubuntu-branches/ubuntu/utopic/oxref/utopic-proposed

« back to all changes in this revision

Viewing changes to xrefdata/setcooked.cc

  • Committer: Package Import Robot
  • Author(s): tony mancill, Frank Brokken, tony mancill
  • Date: 2013-12-26 10:18:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20131226101821-y829jwl6kvmpdqi2
Tags: 1.00.01-1
[ Frank Brokken ]
* Replaced FBB::Errno calls by FBB::Exception. See oxref's changelog. 
  (Closes: #730892)
* Removed now obsoleted git-build: target from debian/rules.
* Updated several Build-Depends versions and updated Standard-Version

[ tony mancill ]
* Bump d/compat and debhelper dependency to 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        keepFirst(begin);
23
23
    else
24
24
    {
25
 
        size_t len = A2x(option);
26
 
        if (A2x::lastFail())
27
 
            throw Errno(1, arg.basename().c_str()) << " -a: invalid argument";
 
25
        size_t len = stoul(option);
28
26
 
29
27
        if (len < 5)
30
28
            len = 5;