~ubuntu-branches/ubuntu/raring/heimdal/raring

« back to all changes in this revision

Viewing changes to lib/krb5/test_config.c

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2011-07-21 17:40:58 UTC
  • mfrom: (1.1.12 upstream) (2.4.10 experimental)
  • Revision ID: james.westby@ubuntu.com-20110721174058-byiuowgocek307cs
Tags: 1.5~pre2+git20110720-2
Fix dependency on pthreads when building on Linux 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    if (def) {
62
62
        char **deflist;
63
63
        int j;
64
 
        
 
64
 
65
65
        ret = krb5_get_default_config_files(&deflist);
66
66
        if (ret)
67
67
            krb5_err(context, 1, ret, "get_default_config_files");
68
 
        
 
68
 
69
69
        for (j = 0 ; pp[i] && deflist[j]; i++, j++)
70
70
            if (strcmp(pp[i], deflist[j]) != 0)
71
71
                krb5_errx(context, 1, "'%s' != '%s'", pp[i], deflist[j]);
72
 
        
 
72
 
73
73
        if (deflist[j] != NULL)
74
74
            krb5_errx(context, 1, "pp ended before def list");
75
75
        krb5_free_config_files(deflist);
225
225
 
226
226
        if (*s || *e)
227
227
            errx(1, "Configuation string list for value [%s] has incorrect length.",
228
 
                 config_strings_tests[i].name); 
 
228
                 config_strings_tests[i].name);
229
229
 
230
230
        krb5_config_free_strings(ps);
231
231
    }