mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-25 16:32:12 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86b7b32e37 | ||
|
|
ee99425d6d |
4
README
4
README
@@ -18,6 +18,10 @@ Andy Beverley
|
||||
RELEASE NOTES
|
||||
=============
|
||||
|
||||
v0.16
|
||||
=====
|
||||
- Fix problems building with clang compiler (thanks Martijn van Brummelen)
|
||||
|
||||
v0.15
|
||||
=====
|
||||
- Add more detailed information to status page when wiping
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.64])
|
||||
AC_INIT(nwipe, 0.15, andy@andybev.com)
|
||||
AM_INIT_AUTOMAKE(nwipe, 0.15)
|
||||
AC_INIT(nwipe, 0.16, andy@andybev.com)
|
||||
AM_INIT_AUTOMAKE(nwipe, 0.16)
|
||||
AC_OUTPUT(Makefile src/Makefile man/Makefile)
|
||||
AC_CONFIG_SRCDIR([src/nwipe.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.TH NWIPE "1" "March 2014" "nwipe version 0.15" "User Commands"
|
||||
.TH NWIPE "1" "March 2014" "nwipe version 0.16" "User Commands"
|
||||
.SH NAME
|
||||
nwipe \- securely erase disks
|
||||
.SH SYNOPSIS
|
||||
|
||||
22
src/method.c
22
src/method.c
@@ -156,8 +156,8 @@ void *nwipe_dod522022m( void *ptr )
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to seed the %s method.", nwipe_dod522022m_label );
|
||||
|
||||
/* Ensure a negative return. */
|
||||
if( r < 0 ) { c->result = r; return; }
|
||||
else { c->result = -1; return; }
|
||||
if( r < 0 ) { c->result = r; return NULL; }
|
||||
else { c->result = -1; return NULL; }
|
||||
|
||||
}
|
||||
|
||||
@@ -215,8 +215,8 @@ void *nwipe_dodshort( void *ptr )
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to seed the %s method.", nwipe_dodshort_label );
|
||||
|
||||
/* Ensure a negative return. */
|
||||
if( r < 0 ) { c->result = r; return; }
|
||||
else { c->result = -1; return; }
|
||||
if( r < 0 ) { c->result = r; return NULL; }
|
||||
else { c->result = -1; return NULL; }
|
||||
|
||||
}
|
||||
|
||||
@@ -312,8 +312,8 @@ void *nwipe_gutmann( void *ptr )
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to seed the %s method.", nwipe_gutmann_label );
|
||||
|
||||
/* Ensure a negative return. */
|
||||
if( r < 0 ) { c->result = r; return; }
|
||||
else { c->result = -1; return; }
|
||||
if( r < 0 ) { c->result = r; return NULL; }
|
||||
else { c->result = -1; return NULL; }
|
||||
}
|
||||
|
||||
|
||||
@@ -406,7 +406,7 @@ void *nwipe_ops2( void *ptr )
|
||||
nwipe_perror( errno, __FUNCTION__, "malloc" );
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to allocate the random character array." );
|
||||
c->result = -1;
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Allocate the array of complement characters. */
|
||||
@@ -417,7 +417,7 @@ void *nwipe_ops2( void *ptr )
|
||||
nwipe_perror( errno, __FUNCTION__, "malloc" );
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to allocate the complement character array." );
|
||||
c->result = -1;
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -432,7 +432,7 @@ void *nwipe_ops2( void *ptr )
|
||||
nwipe_perror( errno, __FUNCTION__, "malloc" );
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to allocate the pattern array." );
|
||||
c->result = -1;
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -446,8 +446,8 @@ void *nwipe_ops2( void *ptr )
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to seed the %s method.", nwipe_ops2_label );
|
||||
|
||||
/* Ensure a negative return. */
|
||||
if( r < 0 ) { c->result = r; return; }
|
||||
else { c->result = -1; return; }
|
||||
if( r < 0 ) { c->result = r; return NULL; }
|
||||
else { c->result = -1; return NULL; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* used by configure to dynamically assign those values
|
||||
* to documentation files.
|
||||
*/
|
||||
const char *version_string = "0.15";
|
||||
const char *version_string = "0.16";
|
||||
const char *program_name = "nwipe";
|
||||
const char *author_name = "Andy Beverley";
|
||||
const char *email_address = "andy@andybev.com";
|
||||
|
||||
Reference in New Issue
Block a user