Description: fix spelling error in header files
 This is causing lintian reports spelling-error-in-binary in biobambam2.
Author: Étienne Mollier <etienne.mollier@mailoo.org>
Forwarded: no
Last-Update: 2020-11-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libmaus2.orig/src/libmaus2/bambam/BamHeaderLowMem.hpp
+++ libmaus2/src/libmaus2/bambam/BamHeaderLowMem.hpp
@@ -699,7 +699,7 @@
 						if ( ! isi )
 						{
 							::libmaus2::exception::LibMausException se;
-							se.getStream() << "BamHeaderLowMem: defect @PG line with non-existant parent " << std::string(text+parstart,text+parend) << ":\n" << PLA->getLine(text,lineid) << std::endl;
+							se.getStream() << "BamHeaderLowMem: defect @PG line with non-existent parent " << std::string(text+parstart,text+parend) << ":\n" << PLA->getLine(text,lineid) << std::endl;
 							se.finish();
 							throw se;
 						}
--- libmaus2.orig/src/libmaus2/bambam/HeaderLine.hpp
+++ libmaus2/src/libmaus2/bambam/HeaderLine.hpp
@@ -129,7 +129,7 @@
 				if ( ! hasKey(key) )
 				{
 					::libmaus2::exception::LibMausException se;
-					se.getStream() << "bambam::HeaderLine::getValue called for non existant key: " << key << " for line of type " << type << std::endl;
+					se.getStream() << "bambam::HeaderLine::getValue called for non existent key: " << key << " for line of type " << type << std::endl;
 					se.finish();
 					throw se;
 				}
--- libmaus2.orig/src/libmaus2/fastx/FastABgzfIndex.hpp
+++ libmaus2/src/libmaus2/fastx/FastABgzfIndex.hpp
@@ -98,7 +98,7 @@
 				if ( i < 0 )
 				{
 					libmaus2::exception::LibMausException ex;
-					ex.getStream() << "::libmaus2::fastx::FastABgzfIndexEntry::operator[] called for non existant id" << std::endl;
+					ex.getStream() << "::libmaus2::fastx::FastABgzfIndexEntry::operator[] called for non existent id" << std::endl;
 					ex.finish();
 					throw ex;
 				}
--- libmaus2.orig/src/test/testAIO.cpp
+++ libmaus2/src/test/testAIO.cpp
@@ -255,7 +255,7 @@
 
 void testPosixFdOverwrite()
 {
-	std::string const fn = "nonexistant.test.file";
+	std::string const fn = "nonexistent.test.file";
 	std::string const text1 = "Hello world.";
 	std::string const text2 = "new text";
 
