~ubuntu-branches/ubuntu/intrepid/recoll/intrepid

« back to all changes in this revision

Viewing changes to utils/pathut.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2008-05-29 23:25:40 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080529232540-9kuyznin2g8zmjn9
Tags: 1.10.2-1
* New upstream release
  + Updated patch debian/patches/02_gcc-snapshot-missing-headers-fix.dpatch
    Some portions are now merged with upstream
* debian/copyright:
  + Fixed indentation to 80 characters
  + Updated Debian package copyright year

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef lint
2
 
static char rcsid[] = "@(#$Id: pathut.cpp,v 1.18 2007/12/13 06:58:22 dockes Exp $ (C) 2004 J.F.Dockes";
 
2
static char rcsid[] = "@(#$Id: pathut.cpp,v 1.19 2008/05/27 06:18:28 dockes Exp $ (C) 2004 J.F.Dockes";
3
3
#endif
4
4
/*
5
5
 *   This program is free software; you can redistribute it and/or modify
351
351
    const char *cp = url.c_str();
352
352
    for (string::size_type i = offs; i < url.size(); i++) {
353
353
        int c;
354
 
        char *h = "0123456789ABCDEF";
 
354
        const char *h = "0123456789ABCDEF";
355
355
        c = cp[i];
356
356
        if(c <= 0x1f || 
357
357
           c >= 0x7f ||