Skip to content
Snippets Groups Projects
Commit cf191a1a authored by Brian Carrier's avatar Brian Carrier
Browse files

Added support for comments in body timeline file

parent 077ec5c4
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,9 @@ permissions and type. Patch by Rob Joyce. ...@@ -83,6 +83,9 @@ permissions and type. Patch by Rob Joyce.
4/26/09: Update: Removed disk_stat and disk_sreset because they were out 4/26/09: Update: Removed disk_stat and disk_sreset because they were out
of date and hdparm now has the same functionality. of date and hdparm now has the same functionality.
4/27/09: Update: Added support in mactime to read body files with comment
lines. Suggested by Simson Garfinkel.
---------------- VERSION 3.0.0 -------------- ---------------- VERSION 3.0.0 --------------
0/00/00: Update: Many, many, many API changes. 0/00/00: Update: Many, many, many API changes.
......
...@@ -285,6 +285,8 @@ sub read_body { ...@@ -285,6 +285,8 @@ sub read_body {
} }
while (<BODY>) { while (<BODY>) {
next if ((/^\#/) || (/^\s+$/));
chomp; chomp;
my ( my (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment