~ubuntu-branches/ubuntu/raring/nginx/raring-proposed

« back to all changes in this revision

Viewing changes to src/core/ngx_conf_file.c

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry, Cyril Lavier, Michael Lustfield, Kartik Mistry
  • Date: 2012-03-04 10:31:21 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20120304103121-6rsh03osfl5d2w8x
Tags: 1.1.16-1
[Cyril Lavier]
* Modified the parallel build to avoid random FTBFS in Ubuntu.
* New upstream release.
* debian/modules:
  + Updated nginx-upload-progress to 0.8.3-2-g03cbf1f.
* debian/control:
  + Added myself as uploader.
  + Added libpam0g-dev to Build-Depends.
  + Use wrap-and-sort to wrap control file fields.

[Michael Lustfield]
* debian/nginx-common.postinst:
  + Changed postinst to not change permissions on all log files.
    (Closes: #658492)
* debian/rules:
  + Added Auth PAM module at debian/modules/nginx-auth-pam. (Closes: #660408)

[Kartik Mistry]
* debian/control:
  + Added conflict between -dbg packages as seen by Lintian.
  + Updated Standards-Version to 3.9.3
* debian/copyright:
  + Updated for copyright-format 1.0
  + Updated upstream copyright year and details.
* debian/rules:
  + Moved nginx-auth-pam module to nginx-full package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1295
1295
        return "invalid value";
1296
1296
    }
1297
1297
 
1298
 
    if (*msp == (ngx_msec_t) NGX_PARSE_LARGE_TIME) {
1299
 
        return "value must be less than 597 hours";
1300
 
    }
1301
 
 
1302
1298
    if (cmd->post) {
1303
1299
        post = cmd->post;
1304
1300
        return post->post_handler(cf, post, msp);
1326
1322
    value = cf->args->elts;
1327
1323
 
1328
1324
    *sp = ngx_parse_time(&value[1], 1);
1329
 
    if (*sp == NGX_ERROR) {
 
1325
    if (*sp == (time_t) NGX_ERROR) {
1330
1326
        return "invalid value";
1331
1327
    }
1332
1328
 
1333
 
    if (*sp == NGX_PARSE_LARGE_TIME) {
1334
 
        return "value must be less than 68 years";
1335
 
    }
1336
 
 
1337
1329
    if (cmd->post) {
1338
1330
        post = cmd->post;
1339
1331
        return post->post_handler(cf, post, sp);