diff --git a/ChangeLog b/ChangeLog
index 06abd2415..5f5dc719c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-11-06 Peter Stephenson
+
+ * unposted: Completion/Debian/Command/.distfiles,
+ Completion/Unix/Type/.distfiles, Config/version.mk, Etc/FAQ.yo,
+ README, Src/pattern.c, Src/signals.c, Test/.distfiles: updates
+ for 4.0.2-test-1 in preparation for 4.0.3. Updated files
+ in .distfiles and add mod_export declarations.
+
2013-11-03 Peter Stephenson
* Stefan Neudorf: 31936: Doc/Zsh/builtins.yo,
diff --git a/Completion/Debian/Command/.distfiles b/Completion/Debian/Command/.distfiles
index a7f2205de..ed1575091 100644
--- a/Completion/Debian/Command/.distfiles
+++ b/Completion/Debian/Command/.distfiles
@@ -14,6 +14,7 @@ _cdbs-edit-patch
_dak
_dchroot
_dchroot-dsa
+_dcut
_debchange
_debdiff
_debfoster
diff --git a/Completion/Unix/Type/.distfiles b/Completion/Unix/Type/.distfiles
index 42ecce56e..ea0baa7c7 100644
--- a/Completion/Unix/Type/.distfiles
+++ b/Completion/Unix/Type/.distfiles
@@ -34,6 +34,7 @@ _perl_basepods
_perl_modules
_pids
_ports
+_postscript
_printers
_ps1234
_pspdf
diff --git a/Config/version.mk b/Config/version.mk
index b755d739c..351a29602 100644
--- a/Config/version.mk
+++ b/Config/version.mk
@@ -27,5 +27,5 @@
# This must also serve as a shell script, so do not add spaces around the
# `=' signs.
-VERSION=5.0.2-dev-0
-VERSION_DATE='January 3, 2013'
+VERSION=5.0.2-test-1
+VERSION_DATE='November 6, 2013'
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo
index ed46571d0..4e04e73ea 100644
--- a/Etc/FAQ.yo
+++ b/Etc/FAQ.yo
@@ -301,7 +301,7 @@ sect(On what machines will it run?)
sect(What's the latest version?)
- Zsh 5.0.2 is the latest production version. For details of all the
+ Zsh 5.0.3 is the latest production version. For details of all the
changes, see the NEWS file in the source distribution.
A beta of the next version is sometimes available. Development of zsh is
diff --git a/README b/README
index 8ddad6e4e..c2fbf746d 100644
--- a/README
+++ b/README
@@ -5,9 +5,8 @@ THE Z SHELL (ZSH)
Version
-------
-This is version 5.0.2 of the shell. This is a stable release.
-There are minor new features as well as bug fixes since 5.0.0 and
-one bug fix since the short-lived 5.0.1.
+This is version 5.0.3 of the shell. This is a stable release.
+There are minor new features as well as bug fixes since 5.0.2.
Installing Zsh
--------------
diff --git a/Src/pattern.c b/Src/pattern.c
index c86f86d69..a7ef12573 100644
--- a/Src/pattern.c
+++ b/Src/pattern.c
@@ -237,7 +237,7 @@ static const char zpc_chars[ZPC_COUNT] = {
* NULL means no way of turning this on or off.
*/
/**/
-const char *zpc_strings[ZPC_COUNT] = {
+mod_export const char *zpc_strings[ZPC_COUNT] = {
NULL, NULL, "|", NULL, "~", "(", "?", "*", "[", "<",
"^", "#", NULL, "?(", "*(", "+(", "!(", "@("
};
@@ -247,7 +247,7 @@ const char *zpc_strings[ZPC_COUNT] = {
* using "disable -p".
*/
/**/
-char zpc_disables[ZPC_COUNT];
+mod_export char zpc_disables[ZPC_COUNT];
/*
* Stack of saved (compressed) zpc_disables for function scope.
diff --git a/Src/signals.c b/Src/signals.c
index 046ee6a4a..c8f5fbcca 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -185,7 +185,7 @@ noholdintr(void)
* only the given signal */
/**/
-sigset_t
+mod_export sigset_t
signal_mask(int sig)
{
sigset_t set;
@@ -202,7 +202,8 @@ signal_mask(int sig)
/**/
#ifndef BSD_SIGNALS
-sigset_t
+/**/
+mod_export sigset_t
signal_block(sigset_t set)
{
sigset_t oset;
@@ -245,7 +246,8 @@ signal_block(sigset_t set)
/* Unblock the signals in the given signal *
* set. Return the old signal set. */
-sigset_t
+/**/
+mod_export sigset_t
signal_unblock(sigset_t set)
{
sigset_t oset;
diff --git a/Test/.distfiles b/Test/.distfiles
index ab92153b0..1c0102818 100644
--- a/Test/.distfiles
+++ b/Test/.distfiles
@@ -41,6 +41,7 @@ V05styles.ztst
V06parameter.ztst
V07pcre.ztst
V08zpty.ztst
+X02zlevi.ztst
Y01completion.ztst
Y02compmatch.ztst
Y03arguments.ztst