c7364f1496
message that fstab is missing. (mount_info::from_fstab): Use CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX instead of constant string. (mount_info::read_mounts): Remove. (mount_info::from_registry): Remove. (mount_info::read_cygdrive_info_from_registry): Remove. * postinstall: Enable code to create fstab entries from old registry entries. * registry.cc (reg_key::reg_key): Drop CYGWIN_INFO_CYGNUS_REGISTRY_NAME from registry key. * shared_info.h (mount_info::read_mounts): Remove declaration. (mount_info::from_registry): Ditto. (mount_info::to_registry): Ditto. (mount_info::read_cygdrive_info_from_registry): Ditto. * winver.rc (CYGWIN_REGISTRY_KEY): Remove. (LegalCopyright): Fix to include 2008. (RegistryKey): Set to CYGWIN_INFO_CYGWIN_REGISTRY_NAME. * include/cygwin/version.h (CYGWIN_INFO_CYGNUS_REGISTRY_NAME): Remove.
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
#include <winver.h>
|
|
#include <cygwin/version.h>
|
|
|
|
#define STRINGIFY1(x) #x
|
|
#define STRINGIFY(x) STRINGIFY1(x)
|
|
|
|
#define CYGWIN_DLL_NAME CYGWIN_VERSION_DLL_IDENTIFIER STRINGIFY(.dll)
|
|
|
|
#define CYGWIN_API_VERSION STRINGIFY(CYGWIN_VERSION_API_MAJOR) "." \
|
|
STRINGIFY(CYGWIN_VERSION_API_MINOR)
|
|
|
|
#define CYGWIN_BUILD_DATE_TIME STRINGIFY(CYGWIN_BUILD_DATE) " " \
|
|
STRINGIFY(CYGWIN_BUILD_TIME)
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION CYGWIN_VERSION_DLL_MAJOR,CYGWIN_VERSION_DLL_MINOR,0,0
|
|
PRODUCTVERSION CYGWIN_VERSION_DLL_MAJOR,CYGWIN_VERSION_DLL_MINOR,0,0
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef DEBUGGING
|
|
FILEFLAGS VS_FF_DEBUG
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS VOS__WINDOWS32
|
|
FILETYPE VFT_DLL
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904B0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Red Hat"
|
|
VALUE "FileDescription", "Cygwin\256 POSIX Emulation DLL"
|
|
VALUE "FileVersion", STRINGIFY(CYGWIN_VERSION)
|
|
VALUE "InternalName", CYGWIN_DLL_NAME
|
|
VALUE "LegalCopyright", "Copyright \251 Red Hat, Inc. 1996-2008"
|
|
VALUE "OriginalFilename", CYGWIN_DLL_NAME
|
|
VALUE "ProductName", "Cygwin"
|
|
VALUE "ProductVersion", STRINGIFY(CYGWIN_VERSION)
|
|
VALUE "APIVersion", CYGWIN_API_VERSION
|
|
VALUE "SharedMemoryVersion", STRINGIFY(CYGWIN_VERSION_SHARED_DATA)
|
|
VALUE "RegistryKey", CYGWIN_INFO_CYGWIN_REGISTRY_NAME
|
|
VALUE "BuildDate", CYGWIN_BUILD_DATE_TIME
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|