~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/mangle.c

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#include <ctype.h>
12
12
 
13
13
#include "mangle.h"
 
14
#include "c.h"
14
15
 
15
16
#define isoctal(a) (((a) & ~7) == '0')
16
17
 
19
20
char *mangle(const char *s)
20
21
{
21
22
        char *ss, *sp;
22
 
        int n;
 
23
        size_t n;
23
24
 
24
25
        if (!s)
25
26
                return NULL;
105
106
}
106
107
 
107
108
#ifdef TEST_PROGRAM
108
 
#include <err.h>
109
109
#include <errno.h>
110
110
int main(int argc, char *argv[])
111
111
{