summaryrefslogtreecommitdiff
path: root/bin2c.pl
diff options
context:
space:
mode:
authorhpa <hpa>2003-01-29 05:47:50 +0000
committerhpa <hpa>2003-01-29 05:47:50 +0000
commit36ce74acb299c73fa77cdcdede2d23413a157c99 (patch)
treee26cef3472cf7aa110b3e522e2ad295c4e69623c /bin2c.pl
parent9652a3dc511e33351b729d6e1062a2482b3e59c3 (diff)
downloadsyslinux-36ce74acb299c73fa77cdcdede2d23413a157c99.tar.gz
Make a small library (libsyslinux.a) of SYSLINUX; fix make depend
Diffstat (limited to 'bin2c.pl')
-rw-r--r--bin2c.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin2c.pl b/bin2c.pl
index 9dc8f9f8..feb3ee0e 100644
--- a/bin2c.pl
+++ b/bin2c.pl
@@ -48,3 +48,8 @@ while ( ($n = read(STDIN, $data, 4096)) > 0 ) {
printf "\n};\n\nunsigned int %s_len = %u;\n", $table_name, $total_len;
+@st = stat STDIN;
+
+printf "\nint %s_mtime = %d;\n", $table_name, $st[9];
+
+exit 0;