[med-svn] [Git][med-team/lighter][upstream] New upstream version 1.1.3

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Nov 9 19:12:00 GMT 2024



Étienne Mollier pushed to branch upstream at Debian Med / lighter


Commits:
ded63b6f by Étienne Mollier at 2024-11-09T20:01:07+01:00
New upstream version 1.1.3
- - - - -


1 changed file:

- main.cpp


Changes:

=====================================
main.cpp
=====================================
@@ -18,7 +18,7 @@
 #include "pthread.h"
 
 
-char LIGHTER_VERSION[] = "Lighter v1.1.2" ;
+char LIGHTER_VERSION[] = "Lighter v1.1.3" ;
 
 char nucToNum[26] = { 0, -1, 1, -1, -1, -1, 2, 
 	-1, -1, -1, -1, -1, -1, -1,
@@ -375,6 +375,16 @@ int main( int argc, char *argv[] )
 		}
 		else if ( !strcmp( "-od", argv[i] ) )
 		{
+			int j ;
+			for (j = 0 ; argv[i + 1][j] ; ++j)
+			{
+				if (argv[i + 1][j] == '/')
+				{
+					argv[i + 1][j] = '\0' ;
+					mkdir( argv[i + 1], 0700 ) ;
+					argv[i + 1][j] = '/' ;
+				}
+			}
 			mkdir( argv[i + 1], 0700 ) ;
 			reads.SetOutputDirectory( argv[i + 1] ) ;
 			++i ;



View it on GitLab: https://salsa.debian.org/med-team/lighter/-/commit/ded63b6f1d4add45aec3bd8d1d0092f53c313fcf

-- 
View it on GitLab: https://salsa.debian.org/med-team/lighter/-/commit/ded63b6f1d4add45aec3bd8d1d0092f53c313fcf
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20241109/e15c7c5b/attachment-0001.htm>


More information about the debian-med-commit mailing list