@@ -21,9 +21,9 @@ static const char version[] = "Version 4.0.3";
21
21
static const char subject [] = "Generic Shell Script Compiler" ;
22
22
static const char cpright [] = "GNU GPL Version 3" ;
23
23
static const struct { const char * f , * s , * e ; }
24
- provider = {
"Md Jahidul" ,
"Hamid" ,
"<[email protected] >" };
24
+ provider = {
"Md Jahidul" ,
"Hamid" ,
"<[email protected] >" };
25
25
26
- /*
26
+ /*
27
27
static const struct { const char * f, * s, * e; }
28
28
author = { "Francisco", "Garcia", "<[email protected] >" };
29
29
*/
@@ -57,7 +57,7 @@ static const char * abstract[] = {
57
57
" of the script specified at command line." ,
58
58
"" ,
59
59
" Binary version will be saved with a .x extension by default." ,
60
- " You can specify output file name too with [-o filname ] option." ,
60
+ " You can specify output file name too with [-o outfile ] option." ,
61
61
"" ,
62
62
" You can specify expiration date [-e] too, after which binary will" ,
63
63
" refuse to be executed, displaying \"[-m]\" instead." ,
@@ -67,7 +67,7 @@ static const char * abstract[] = {
67
67
"" ,
68
68
0 };
69
69
70
- static const char usage [] =
70
+ static const char usage [] =
71
71
"Usage: shc [-e date] [-m addr] [-i iopt] [-x cmd] [-l lopt] [-o outfile] [-rvDSUHCAB2h] -f script" ;
72
72
73
73
static const char * help [] = {
@@ -279,7 +279,7 @@ static const char * RTC[] = {
279
279
"}" ,
280
280
"" ,
281
281
"/*" ,
282
- " * Crypt data. " ,
282
+ " * Encrypt data. " ,
283
283
" */" ,
284
284
"void arc4(void * str, int len)" ,
285
285
"{" ,
@@ -895,7 +895,7 @@ static void parse_args(int argc, char * argv[])
895
895
if (ret == -1 )
896
896
err ++ ;
897
897
} while (ret );
898
-
898
+
899
899
if (err ) {
900
900
fprintf (stderr , "\n%s %s\n\n" , my_name , usage );
901
901
exit (1 );
@@ -907,7 +907,7 @@ static void parse_args(int argc, char * argv[])
907
907
static unsigned char stte [256 ], indx , jndx , kndx ;
908
908
909
909
/*
910
- * Reset arc4 stte.
910
+ * Reset arc4 stte.
911
911
*/
912
912
void stte_0 (void )
913
913
{
@@ -918,7 +918,7 @@ void stte_0(void)
918
918
}
919
919
920
920
/*
921
- * Set key. Can be used more than once.
921
+ * Set key. Can be used more than once.
922
922
*/
923
923
void key (void * str , int len )
924
924
{
@@ -937,7 +937,7 @@ void key(void * str, int len)
937
937
}
938
938
939
939
/*
940
- * Crypt data.
940
+ * Encrypt data.
941
941
*/
942
942
void arc4 (void * str , int len )
943
943
{
@@ -1167,7 +1167,7 @@ void prnt_array(FILE * o, void * ptr, char * name, int l, char * cast)
1167
1167
int m = rand_mod (1 + l /4 ); /* Random amount of random pre padding (offset) */
1168
1168
int n = rand_mod (1 + l /4 ); /* Random amount of random post padding (tail) */
1169
1169
int a = (offset + m )%l ;
1170
- if (cast && a ) m += l - a ; /* Type alignement . */
1170
+ if (cast && a ) m += l - a ; /* Type alignment . */
1171
1171
fprintf (o , "\n" );
1172
1172
fprintf (o , "#define %s_z %d" , name , l );
1173
1173
fprintf (o , "\n" );
@@ -1361,4 +1361,3 @@ int main(int argc, char * argv[])
1361
1361
exit (1 );
1362
1362
return 1 ;
1363
1363
}
1364
-
0 commit comments