Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/bcwipe/files: bcwipe-1.9.1-fix_warnings.patch
Date: Thu, 30 Apr 2009 20:59:01
Message-Id: E1LzdLP-0005VC-1y@stork.gentoo.org
1 arfrever 09/04/30 20:58:59
2
3 Added: bcwipe-1.9.1-fix_warnings.patch
4 Log:
5 Version bump (bug #267817).
6 (Portage version: 13564-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-crypt/bcwipe/files/bcwipe-1.9.1-fix_warnings.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bcwipe/files/bcwipe-1.9.1-fix_warnings.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bcwipe/files/bcwipe-1.9.1-fix_warnings.patch?rev=1.1&content-type=text/plain
13
14 Index: bcwipe-1.9.1-fix_warnings.patch
15 ===================================================================
16 --- schemes.c
17 +++ schemes.c
18 @@ -15,6 +15,7 @@
19 *
20 *******************************************************************/
21 #include "config.h"
22 +#include <ctype.h>
23 #include <stdlib.h>
24 #include <stdio.h>
25 #include <errno.h>
26 --- wipe.c
27 +++ wipe.c
28 @@ -773,7 +773,7 @@
29 static int do_verify_pass(int fd, wipe_info_t *ctx)
30 {
31 long long int pos, len, size;
32 - time_t cur_time, start_time;
33 + time_t start_time;
34 int x;
35 char verifyBuff[BUFFSIZE];
36 char buff[BUFFSIZE];
37 @@ -839,7 +839,6 @@
38 {
39 int fd, is_dev, ret;
40 long long int size;
41 - char *type_str;
42
43 if (o_wipe_slacks)
44 return wipe_file_slack_nas( ctx, pass, verify );
45 @@ -1478,7 +1477,7 @@
46 int fd, res, j, write_fail;
47 long long int file_size, ss, free_space, x;
48 time_t start_time;
49 - int cnt, err;
50 + int cnt;
51 seed_t seed, prev_seed;