From 06a3c5b5ae76cff0b74455a20adfe61e29fb416d Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 21 Jan 2017 15:05:01 -0500 Subject: [PATCH] properly initialize afp backup date. --- set_file_type.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/set_file_type.cpp b/set_file_type.cpp index 36f7c5d..ceac569 100644 --- a/set_file_type.cpp +++ b/set_file_type.cpp @@ -185,6 +185,7 @@ static void afp_init(struct AFP_Info *info, uint16_t file_type, uint32_t aux_typ memset(info, 0, sizeof(*info)); info->magic = 0x00504641; info->version = 0x00010000; + info->backup_date = 0x80000000; info->prodos_file_type = file_type; info->prodos_aux_type = aux_type; if (file_type || aux_type)