diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-29 15:11:38 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-29 15:11:38 -0700 |
commit | b536209dfb7bd50c37061735fe10d2c19a97d26d (patch) | |
tree | 9d8ca6882fc5d9721fb0efea1abfd6dc09886814 /now.pl | |
parent | 3ec40a0119587f63411475c76c69f9db24c7598e (diff) | |
download | syslinux-b536209dfb7bd50c37061735fe10d2c19a97d26d.tar.gz syslinux-b536209dfb7bd50c37061735fe10d2c19a97d26d.tar.xz syslinux-b536209dfb7bd50c37061735fe10d2c19a97d26d.zip |
Move files out of root into core, dos, and utils
Move source files out of the root directory; the root is a mess and
has become virtually unmaintainable. The Syslinux core now lives in
core/; the Linux and generic utilities has moved into utils/, and
copybs.com has moved into dos/; it had to go somewhere, and it seemed
as good a place as any.
Diffstat (limited to 'now.pl')
-rw-r--r-- | now.pl | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/now.pl b/now.pl deleted file mode 100644 index a3b5a798..00000000 --- a/now.pl +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/perl -# -# Print the time (possibly the mtime of a file) as a hexadecimal integer -# If more than one file, print the mtime of the *newest* file. -# - -undef $now; - -foreach $file ( @ARGV ) { - ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime, - $ctime,$blksize,$blocks) = stat($file); - if ( !defined($now) || $now < $mtime ) { - $now = $mtime; - } -} - -if ( !defined($now) ) { - $now = time; -} - -printf "0x%08x\n", $now; |