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

« back to all changes in this revision

Viewing changes to lib/libedit/src/vis.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:
149
149
            ((isspace(c) && (nextc == '\r' || nextc == '\n')) ||
150
150
            /* Out of range */
151
151
            (!isspace(c) && (c < 33 || (c > 60 && c < 62) || c > 126)) ||
152
 
            /* Specific char to be escaped */ 
 
152
            /* Specific char to be escaped */
153
153
            strchr("#$@[\\]^`{|}~", c) != NULL)) {
154
154
                *dst++ = '=';
155
155
                *dst++ = XTOA(((unsigned int)c >> 4) & 0xf);