~ubuntu-branches/ubuntu/lucid/libpam-mount/lucid

« back to all changes in this revision

Viewing changes to src/ofl.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-08-13 13:01:03 UTC
  • mfrom: (32.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090813130103-wnn1h2t2ny0d1gp0
Tags: 1.27-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - Implement https://wiki.ubuntu.com/PAMConfigFrameworkSpec by adding
    debian/pam-auth-update and installing that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *      written by Jan Engelhardt, 2008
4
4
 *      Released in the Public Domain.
5
5
 */
6
 
#include <ctype.h>
7
6
#include <signal.h>
8
7
#include <stdio.h>
9
8
#include <stdlib.h>
10
9
#include <string.h>
 
10
#include <libHX/ctype_helper.h>
11
11
#include <libHX/defs.h>
12
12
#include <libHX/option.h>
13
13
#include "pam_mount.h"
23
23
        unsigned int ret;
24
24
        char *end;
25
25
 
26
 
        if (isdigit(*str)) {
 
26
        if (HX_isdigit(*str)) {
27
27
                ret = strtoul(str, &end, 10);
28
28
                if (*end == '\0')
29
29
                        return ret;