~ubuntu-branches/ubuntu/lucid/mc/lucid

« back to all changes in this revision

Viewing changes to src/textconf.c

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-09-16 10:38:59 UTC
  • mfrom: (3.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080916103859-2uwn8w61xk5mbxxq
Tags: 2:4.6.2~git20080311-4
Corrected fix for odt2txt issue (Closes: #492019) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Print features specific for this build
2
2
 
3
 
   Copyright (C) 2001-2002 Free Software Foundation
 
3
   Copyright (C) 2000, 2001, 2002, 2004, 2005, 2007
 
4
   Free Software Foundation, Inc.
4
5
 
5
6
   This program is free software; you can redistribute it and/or modify
6
7
   it under the terms of the GNU General Public License as published by
18
19
 */
19
20
 
20
21
#include <config.h>
 
22
 
 
23
#include <limits.h>
21
24
#include <stdio.h>
22
25
 
 
26
#include <sys/types.h>
 
27
 
23
28
#include "global.h"
 
29
#include "ecs.h"
24
30
 
25
31
#ifdef USE_VFS
26
32
static const char *const vfs_supported[] = {
132
138
 
133
139
    for (i = 0; features[i]; i++)
134
140
        printf ("%s", _(features[i]));
 
141
 
 
142
    (void)printf("Data types:");
 
143
#define TYPE_INFO(T) \
 
144
    (void)printf(" %s %d", #T, (int) (CHAR_BIT * sizeof(T)))
 
145
    TYPE_INFO(char);
 
146
    TYPE_INFO(int);
 
147
    TYPE_INFO(long);
 
148
    TYPE_INFO(void *);
 
149
    TYPE_INFO(off_t);
 
150
    TYPE_INFO(ecs_char);
 
151
#undef TYPE_INFO
 
152
    (void)printf("\n");
135
153
}