From d48d86651c7c5d3e168d283fe471f109fc4ffafc Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 7 Aug 2004 17:55:59 +0000 Subject: [PATCH] Remove bogus trailing dot from eventlog output, per Andreas. Clean up README file a bit. --- src/bin/pgevent/MSG00001.bin | Bin 32 -> 28 bytes src/bin/pgevent/README | 17 +++++++---------- src/bin/pgevent/pgmsgevent.h | 2 +- src/bin/pgevent/pgmsgevent.mc | 2 +- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/bin/pgevent/MSG00001.bin b/src/bin/pgevent/MSG00001.bin index 30682fb2534f2e96c100d65321ed2db5d0896adf..6ac08e5dc692359adc1156f251c77ed9420d8e72 100644 GIT binary patch literal 28 Vc-muRKmY+C<^f_=LtZWr9{>c$0E++s literal 32 Zc-muRKmY+SW@J!hFl5kU;AP+f@&O1M0KNbK diff --git a/src/bin/pgevent/README b/src/bin/pgevent/README index d13f3cc18e9..f6a01a619d3 100644 --- a/src/bin/pgevent/README +++ b/src/bin/pgevent/README @@ -1,18 +1,15 @@ -The files attached with this mail have to be stored in pgevent directory. -MSG000001.bin is a bin files, result of Microsoft MC compiler. MC compiler +MSG000001.bin is a binary file, result of Microsoft MC compiler. MC compiler can be downloaded for free with MS Core SDK but it is not included with MSYS -tools and I didn't find a alternative way to compile MC file. +tools and I didn't find an alternative way to compile MC file. -To summarize MC pgmsgevent.mc command generates pgmsgevent.h -pgmsgevent.rc and MSG00001.bin files. In MC file, we declare a string +To summarize: the command "MC pgmsgevent.mc" generates pgmsgevent.h, +pgmsgevent.rc, and MSG00001.bin files. In MC file, we declare a string with %s format, so we can write anything we want in the future without -need to change the definition of this string. +needing to change the definition of this string. To finish, because DllUnregisterServer and DllRegisterServer are system -defined entry point, we need to export these two functions with their names -without "decoration", so we cannot uses auto generated .def files without +defined entry points, we need to export these two functions with their names +without "decoration", so we cannot use auto generated .def files without handy modifications. Laurent Ballester - - diff --git a/src/bin/pgevent/pgmsgevent.h b/src/bin/pgevent/pgmsgevent.h index 3931e055dcf..fad729d3536 100644 --- a/src/bin/pgevent/pgmsgevent.h +++ b/src/bin/pgevent/pgmsgevent.h @@ -39,7 +39,7 @@ // // MessageText: // -// %1. +// %1 // #define PGWIN32_EVENTLOG_MSG 0x00000000L diff --git a/src/bin/pgevent/pgmsgevent.mc b/src/bin/pgevent/pgmsgevent.mc index b5aa370f7f5..5d16e3efb22 100644 --- a/src/bin/pgevent/pgmsgevent.mc +++ b/src/bin/pgevent/pgmsgevent.mc @@ -1,5 +1,5 @@ MessageId=0 SymbolicName=PGWIN32_EVENTLOG_MSG Language=English -%1. +%1 . -- 2.39.5