~ubuntu-branches/debian/stretch/jfsutils/stretch

« back to all changes in this revision

Viewing changes to fscklog/display.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Hornburg (Racke)
  • Date: 2006-08-02 21:15:09 UTC
  • mfrom: (1.2.2 upstream) (2.1.3 breezy)
  • Revision ID: james.westby@ubuntu.com-20060802211509-eoqwjtlgla5tu9dt
* new upstream release fixing stack buffer overflow (Closes: #343638)
* keep only reference to GPL in debian/copyright
* mark udeb package as such properly and create dependencies 
  (Closes: #381245, thanks to Frans Pop <fjp@debian.org> for the patch)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 *   This program is free software;  you can redistribute it and/or modify
5
5
 *   it under the terms of the GNU General Public License as published by
6
 
 *   the Free Software Foundation; either version 2 of the License, or 
 
6
 *   the Free Software Foundation; either version 2 of the License, or
7
7
 *   (at your option) any later version.
8
 
 * 
 
8
 *
9
9
 *   This program is distributed in the hope that it will be useful,
10
10
 *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
11
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
12
12
 *   the GNU General Public License for more details.
13
13
 *
14
14
 *   You should have received a copy of the GNU General Public License
15
 
 *   along with this program;  if not, write to the Free Software 
 
15
 *   along with this program;  if not, write to the Free Software
16
16
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
17
 */
18
18
/*
29
29
 */
30
30
#define _JFS_XCHKDMP
31
31
 
32
 
#include "stdio.h"
33
 
#include "stdlib.h"
34
 
 
 
32
#include <config.h>
 
33
#include <stdio.h>
 
34
#include <stdlib.h>
35
35
#include <string.h>
36
36
#include <stdlib.h>
37
37
#include <unistd.h>
38
38
 
39
 
#include "config.h"
40
 
 
41
39
#include "fscklog.h"
 
40
#include "fsck_message.h"
42
41
#include "jfs_fscklog.h"
43
42
 
44
43
extern char *MsgText[];
66
65
extern char *msgprms[10];
67
66
extern short msgprmidx[10];
68
67
 
69
 
extern char message_buffer_0[512];
70
 
extern char *msgs_txt_ptr;
71
 
extern unsigned long msgs_txt_maxlen;
72
 
 
73
68
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
74
69
 *
75
70
 * The following are internal to this file
314
309
                               default_logfile_name_len);
315
310
                }
316
311
        }
317
 
         
 
312
 
318
313
        infp = fopen(file_name, "r");
319
314
        if (infp == NULL) {
320
315
                /* input file open failed */