]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - host/nessie_check.rb
a lot of fixes
[avr-crypto-lib.git] / host / nessie_check.rb
index 33eb4a383447dcb67cf10f6d0d6e663abef45dad..d2ed46ad43c6d68fd258d487b0cd15bd494fdc03 100644 (file)
 def skip_header(file)
   begin
     l = file.gets().strip
+    l = '' if !l
   end until /[*]{10,}.*/.match(l)
   begin
     l = file.gets().strip
+    l = '' if !l
   end until /[*]{10,}.*/.match(l)
   begin
     l = file.gets().strip
+    l = '' if !l
   end until /[=]{5,}.*/.match(l)
   begin
     l = file.gets().strip
+    l = '' if !l
   end until /[=]{5,}.*/.match(l)
 end