~daniel-mehrmann/e2fsprogs/master

« back to all changes in this revision

Viewing changes to e2fsck/problem.c

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2012-08-14 11:43:29 UTC
  • mfrom: (8.4.19 sid)
  • Revision ID: package-import@ubuntu.com-20120814114329-nbp87t8d1hqqncqh
Tags: 1.42.5-1ubuntu1
* Merge from Debian unstable, remainging changes:
  - debian/control.in: 
      Build-depend on gettext:any instead of on gettext for (cross-building)
      Drop build dependency on dc, which hasn't been needed for some time.
      Update maintainer field.
  - debian/rules:
      Block pkg-create-dbgsym from operating on this package.
      Build without dietlibc-dev, which is in universe 
  - debian/control:
      Regenerate with ./debian/rules debian/control
  - debian/patches/fix-ftbfs-undefined-symbols.patch:
      Add a patch from Sourceforge Issue 3554345, to fix linking order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1694
1694
        /* Update quota information if it is inconsistent */
1695
1695
        { PR_6_UPDATE_QUOTAS,
1696
1696
          N_("Update quota info for quota type %N"),
1697
 
          PROMPT_NULL, PR_PREEN_OK | PR_NO_OK },
 
1697
          PROMPT_NULL, PR_PREEN_OK },
1698
1698
 
1699
1699
        { 0 }
1700
1700
};
1789
1789
static void reconfigure_bool(e2fsck_t ctx, struct e2fsck_problem *ptr,
1790
1790
                             const char *key, int mask, const char *name)
1791
1791
{
1792
 
        int     bool;
 
1792
        int     val;
1793
1793
 
1794
 
        bool = (ptr->flags & mask);
1795
 
        profile_get_boolean(ctx->profile, "problems", key, name, bool, &bool);
1796
 
        if (bool)
 
1794
        val = (ptr->flags & mask);
 
1795
        profile_get_boolean(ctx->profile, "problems", key, name, val, &val);
 
1796
        if (val)
1797
1797
                ptr->flags |= mask;
1798
1798
        else
1799
1799
                ptr->flags &= ~mask;