~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to src/option.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-26 13:42:18 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080626134218-703edeyb8k70qpbz
Tags: 1:7.1.314-3ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Enable detection of GNU screen as a mouse-capable terminal.
  - Add NoDisplay=true to gvim.desktop.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Build-depend on libxt-dev.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
* Fixes various vulnerabilities due to improper quoting of 'execute'
  arguments (LP: #240216).
* Drop fixes for upgrade problems from Ubuntu 6.06 LTS; direct upgrades
  from 6.06 to 8.10 will not be supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
/* WV_ and BV_ values get typecasted to this for the "indir" field */
244
244
typedef enum
245
245
{
246
 
    PV_NONE = 0
 
246
    PV_NONE = 0,
 
247
    PV_MAXVAL = 0xffff    /* to avoid warnings for value out of range */
247
248
} idopt_T;
248
249
 
249
250
/*
8713
8714
        {
8714
8715
            s = *valuep;
8715
8716
            while (*s != NUL)
8716
 
                if (fputs((char *)str2special(&s, FALSE), fd) < 0)
 
8717
                if (put_escstr(fd, str2special(&s, FALSE), 2) == FAIL)
8717
8718
                    return FAIL;
8718
8719
        }
8719
8720
        else if (expand)