/[public]/psiconv/trunk/program/psiconv/psiconv.c
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/psiconv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 61 Revision 65
42#include "psiconv.h" 42#include "psiconv.h"
43 43
44static void print_help(void); 44static void print_help(void);
45static void print_version(void); 45static void print_version(void);
46static void strtoupper(char *str); 46static void strtoupper(char *str);
47
48int psiconv_verbosity = PSICONV_VERB_WARN;
49 47
50void print_help(void) 48void print_help(void)
51{ 49{
52 psiconv_fileformat ff; 50 psiconv_fileformat ff;
53 int i,j; 51 int i,j;
112 110
113 int c,i,res; 111 int c,i,res;
114 psiconv_buffer buf; 112 psiconv_buffer buf;
115 psiconv_file file; 113 psiconv_file file;
116 psiconv_fileformat ff; 114 psiconv_fileformat ff;
115
116 psiconv_verbosity = PSICONV_VERB_WARN;
117 117
118 fileformat_list = psiconv_list_new(sizeof(struct psiconv_fileformat_s)); 118 fileformat_list = psiconv_list_new(sizeof(struct psiconv_fileformat_s));
119 init_txt(); 119 init_txt();
120 init_html(); 120 init_html();
121 init_html4(); 121 init_html4();
149 "Try `-h' for more information\n",stderr); 149 "Try `-h' for more information\n",stderr);
150 exit(1); 150 exit(1);
151 } else if (optind == argc-1) 151 } else if (optind == argc-1)
152 inputfilename = strdup(argv[optind]); 152 inputfilename = strdup(argv[optind]);
153 153
154
154 /* Open inputfile for reading */ 155 /* Open inputfile for reading */
155 156
156 if (strlen(inputfilename) != 0) { 157 if (strlen(inputfilename) != 0) {
157 if(stat(inputfilename,&fbuf) < 0) { 158 if(stat(inputfilename,&fbuf) < 0) {
158 perror(inputfilename); 159 perror(inputfilename);

Legend:
Removed from v.61  
changed lines
  Added in v.65

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26