ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/pbcdedit/pbcdedit
(Generate patch)

Comparing pbcdedit/pbcdedit (file contents):
Revision 1.63 by root, Mon Aug 26 07:00:41 2019 UTC vs.
Revision 1.64 by root, Mon Aug 26 07:02:02 2019 UTC

1173 1173
1174# return a binary windows FILETIME struct 1174# return a binary windows FILETIME struct
1175sub filetime_now { 1175sub filetime_now {
1176 my ($s, $ms) = Time::HiRes::gettimeofday; 1176 my ($s, $ms) = Time::HiRes::gettimeofday;
1177 1177
1178 pack "Q<", ($s * 1_000_000 + $ms) * 10 + 116_444_736_000_000_000 1178 pack "Q<", ($s * 1_000_000 + $ms) * 10
1179 + 116_444_736_000_000_000 # 1970-01-01 00:00:00
1179} 1180}
1180 1181
1181# encode a registry hive 1182# encode a registry hive
1182sub regf_encode($) { 1183sub regf_encode($) {
1183 my ($hive) = @_; 1184 my ($hive) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines