Commits

Anonymous committed c6de09a

Import from CVS: tag r21-0b50

Comments (0)

Files changed (34)

 							-*- indented-text -*-
+to 21.0 pre6 "Belgian Fawn"
+-- Miscellaneous bug fixes from various people
+-- Rename MS Windows 'resource image instantiator to 'mswindows-resource
+   courtesy of Altrasoft and Ben Wing
+
 to 21.0 pre5 "Zhong Wei"
 -- multiple DB configure fix from Gregory Neil Shapiro
+-- miscellaneous fixes from various people
 
 to 21.0 pre4 "Uzbek Black"
 -- Miscellaneous documentation cleanup from Altrasoft
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre7 is released.
+
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre6 is released.
+
+1998-07-18  SL Baur  <steve@altair.xemacs.org>
+
+	* config.guess: Synched with latest FSF version.
+
+1998-07-12  Bj�rn Torkelsson  <torkel@hpc2n.umu.se>
+
+	* Makefile.in: added LDFLAGS. 
+
 1998-07-12  SL Baur  <steve@altair.xemacs.org>
 
 	* XEmacs 21.0-pre5 is released.
 LN_S=@LN_S@
 CFLAGS=@CFLAGS@
 CPPFLAGS=@CPPFLAGS@
+LDFLAGS=@LDFLAGS@
 
 ## These help us choose version- and architecture-specific directories
 ## to install files in.
 
 ** I don't have `xmkmf' and `imake' on my HP.
 
-You can get these standard X tools by anonymous FTP to hpcvaaz.cv.hp.com.
-Essentially all X programs need these.
+  You can get these standard X tools by anonymous FTP to
+  hpcvaaz.cv.hp.com.  Essentially all X programs need these.
 
 ** On HP-UX, problems with make
 
 Marcus Thiessel <marcus_thiessel@hp.com>
 
-  Some releases of XEmacs require GNU make to build successfully.
+  Some releases of XEmacs (e.g. 20.4) require GNU make to build
+  successfully. You don't need GNU make when building 21.x.
 
 ** On HP-UX 9.05 XEmacs won't compile or coredump during the build.
 
   This might be a sed problem. For your own safety make sure to use
   GNU sed while dumping XEmacs.
 
+** On HP-UX 11.0 XEmacs causes excessive X11 errors when running.
+
+Marcus Thiessel <marcus_thiessel@hp.com>
+
+  Unfortunately, XEmacs releases don't work with Motif2.1. It
+  will compile but you will get excessive X11 errors like
+
+  xemacs: X Error of failed request:  BadGC (invalid GC parameter)
+
+  and finally XEmacs gets killed. A workaround is to use the
+  Motif1.2_R6 libraries. You can the following line to your call to
+  configure:
+
+     --x-libraries="/usr/lib/Motif1.2_R6 -L/usr/lib/X11R6"
+ 
+  Make sure /usr/lib/Motif1.2_R6/libXm.sl is a link to
+  /usr/lib/Motif1.2_R6/libXm.3.
+
 ** Solaris 2.3 /bin/sh coredumps during configuration.
 
 This only occurs if you have LANG != C.  This is a known bug with
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright (C) 1992, 93, 94, 95, 1996 Free Software Foundation, Inc.
+#   Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
 
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     alpha:OSF1:*:*)
+	if test $UNAME_RELEASE = "V4.0"; then
+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+	fi
 	# A Vn.n version is a released version.
 	# A Tn.n version is a released field test version.
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
-	echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
+	cat <<EOF >dummy.s
+	.globl main
+	.ent main
+main:
+	.frame \$30,0,\$26,0
+	.prologue 0
+	.long 0x47e03d80 # implver $0
+	lda \$2,259
+	.long 0x47e20c21 # amask $2,$1
+	srl \$1,8,\$2
+	sll \$2,2,\$2
+	sll \$0,3,\$0
+	addl \$1,\$0,\$0
+	addl \$2,\$0,\$0
+	ret \$31,(\$26),1
+	.end main
+EOF
+	${CC-cc} dummy.s -o dummy 2>/dev/null
+	if test "$?" = 0 ; then
+		./dummy
+		case "$?" in
+			7)
+				UNAME_MACHINE="alpha"
+				;;
+			15)
+				UNAME_MACHINE="alphaev5"
+				;;
+			14)
+				UNAME_MACHINE="alphaev56"
+				;;
+			10)
+				UNAME_MACHINE="alphapca56"
+				;;
+			16)
+				UNAME_MACHINE="alphaev6"
+				;;
+		esac
+	fi
+	rm -f dummy.s dummy
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
 	exit 0 ;;
     21064:Windows_NT:50:3)
 	echo alpha-dec-winnt3.5
       echo m68k-cbm-netbsd${UNAME_RELEASE}
       exit 0 ;;
     amiga:OpenBSD:*:*)
-      echo m68k-cbm-openbsd${UNAME_RELEASE}
-      exit 0 ;;
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    arc64:OpenBSD:*:*)
+	echo mips64el-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    arc:OpenBSD:*:*)
+	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    hkmips:OpenBSD:*:*)
+	echo mips-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    pmax:OpenBSD:*:*)
+	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    sgi:OpenBSD:*:*)
+	echo mips-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    wgrisc:OpenBSD:*:*)
+	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 	echo arm-acorn-riscix${UNAME_RELEASE}
 	exit 0;;
+    arm32:NetBSD:*:*)
+	echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+	exit 0 ;;
+    SR2?01:HI-UX/MPP:*:*)
+	echo hppa1.1-hitachi-hiuxmpp
+	exit 0;;
     Pyramid*:OSx*:*:*|MIS*:OSx*:*:*)
 	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
 	if test "`(/bin/universe) 2>/dev/null`" = att ; then
     NILE:*:*:dcosx)
 	echo pyramid-pyramid-svr4
 	exit 0 ;;
+    sun4H:SunOS:5.*:*)
+	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit 0 ;;
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
 	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 	exit 0 ;;
     sun3*:SunOS:*:*)
 	echo m68k-sun-sunos${UNAME_RELEASE}
 	exit 0 ;;
+    sun*:*:4.2BSD:*)
+	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+	case "`/bin/arch`" in
+	    sun3)
+		echo m68k-sun-sunos${UNAME_RELEASE}
+		;;
+	    sun4)
+		echo sparc-sun-sunos${UNAME_RELEASE}
+		;;
+	esac
+	exit 0 ;;
     aushp:SunOS:*:*)
 	echo sparc-auspex-sunos${UNAME_RELEASE}
 	exit 0 ;;
 	echo m68k-atari-netbsd${UNAME_RELEASE}
 	exit 0 ;;
     atari*:OpenBSD:*:*)
-	echo m68k-atari-openbsd${UNAME_RELEASE}
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
     sun3*:NetBSD:*:*)
 	echo m68k-sun-netbsd${UNAME_RELEASE}
 	exit 0 ;;
     sun3*:OpenBSD:*:*)
-	echo m68k-sun-openbsd${UNAME_RELEASE}
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
     mac68k:NetBSD:*:*)
 	echo m68k-apple-netbsd${UNAME_RELEASE}
 	exit 0 ;;
     mac68k:OpenBSD:*:*)
-	echo m68k-apple-openbsd${UNAME_RELEASE}
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    mvme68k:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    mvme88k:OpenBSD:*:*)
+	echo m88k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
     powerpc:machten:*:*)
 	echo powerpc-apple-machten${UNAME_RELEASE}
     VAX*:ULTRIX*:*:*)
 	echo vax-dec-ultrix${UNAME_RELEASE}
 	exit 0 ;;
+    2020:CLIX:*:*)
+	echo clipper-intergraph-clix${UNAME_RELEASE}
+	exit 0 ;;
     mips:*:*:UMIPS | mips:*:*:RISCos)
 	sed 's/^	//' << EOF >dummy.c
 	int main (argc, argv) int argc; char **argv; {
     hp3[0-9][05]:NetBSD:*:*)
 	echo m68k-hp-netbsd${UNAME_RELEASE}
 	exit 0 ;;
-    hp3[0-9][05]:OpenBSD:*:*)
-	echo m68k-hp-openbsd${UNAME_RELEASE}
+    hp300:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
     i?86:BSD/386:*:* | *:BSD/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
 	echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
 	exit 0 ;;
     i*:CYGWIN*:*)
-	echo i386-pc-cygwin32
+	echo ${UNAME_MACHINE}-pc-cygwin32
+	exit 0 ;;
+    i*:MINGW*:*)
+	echo ${UNAME_MACHINE}-pc-mingw32
 	exit 0 ;;
     p*:CYGWIN*:*)
 	echo powerpcle-unknown-cygwin32
 	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 	exit 0 ;;
     *:GNU:*:*)
-	echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
 	exit 0 ;;
     *:Linux:*:*)
+	# uname on the ARM produces all sorts of strangeness, and we need to
+	# filter it out.
+	case "$UNAME_MACHINE" in
+	  arm* | sa110*)	      UNAME_MACHINE="arm" ;;
+	esac
+
 	# The BFD linker knows what the default object file format is, so
 	# first see if it will tell us.
 	ld_help_string=`ld --help 2>&1`
-	if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i.86"; then
-	  echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0
-	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86linux"; then
-	  echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0
-	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86coff"; then
-	  echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0
-	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
-	  echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0
-	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
-	  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0
-	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then
-	  echo "powerpc-unknown-linux-gnu" ; exit 0
-	elif test "${UNAME_MACHINE}" = "alpha" ; then
-	  echo alpha-unknown-linux-gnu ; exit 0
-	elif test "${UNAME_MACHINE}" = "sparc" ; then
-	  echo sparc-unknown-linux-gnu ; exit 0
+	ld_supported_emulations=`echo $ld_help_string \
+			 | sed -ne '/supported emulations:/!d
+				    s/[ 	][ 	]*/ /g
+				    s/.*supported emulations: *//
+				    s/ .*//
+				    p'`
+        case "$ld_supported_emulations" in
+	  i?86linux)  echo "${UNAME_MACHINE}-pc-linux-gnuaout"      ; exit 0 ;;
+	  i?86coff)   echo "${UNAME_MACHINE}-pc-linux-gnucoff"      ; exit 0 ;;
+	  sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
+	  armlinux)   echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
+	  m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
+	  elf32ppc)   echo "powerpc-unknown-linux-gnu"              ; exit 0 ;;
+	esac
+
+	if test "${UNAME_MACHINE}" = "alpha" ; then
+		sed 's/^	//'  <<EOF >dummy.s
+		.globl main
+		.ent main
+	main:
+		.frame \$30,0,\$26,0
+		.prologue 0
+		.long 0x47e03d80 # implver $0
+		lda \$2,259
+		.long 0x47e20c21 # amask $2,$1
+		srl \$1,8,\$2
+		sll \$2,2,\$2
+		sll \$0,3,\$0
+		addl \$1,\$0,\$0
+		addl \$2,\$0,\$0
+		ret \$31,(\$26),1
+		.end main
+EOF
+		LIBC=""
+		${CC-cc} dummy.s -o dummy 2>/dev/null
+		if test "$?" = 0 ; then
+			./dummy
+			case "$?" in
+			7)
+				UNAME_MACHINE="alpha"
+				;;
+			15)
+				UNAME_MACHINE="alphaev5"
+				;;
+			14)
+				UNAME_MACHINE="alphaev56"
+				;;
+			10)
+				UNAME_MACHINE="alphapca56"
+				;;
+			16)
+				UNAME_MACHINE="alphaev6"
+				;;
+			esac	
+
+			objdump --private-headers dummy | \
+			  grep ld.so.1 > /dev/null
+			if test "$?" = 0 ; then
+				LIBC="libc1"
+			fi
+		fi	
+		rm -f dummy.s dummy
+		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
+	elif test "${UNAME_MACHINE}" = "mips" ; then
+	  cat >dummy.c <<EOF
+main(argc, argv)
+     int argc;
+     char *argv[];
+{
+#ifdef __MIPSEB__
+  printf ("%s-unknown-linux-gnu\n", argv[1]);
+#endif
+#ifdef __MIPSEL__
+  printf ("%sel-unknown-linux-gnu\n", argv[1]);
+#endif
+  return 0;
+}
+EOF
+	  ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
+	  rm -f dummy.c dummy
 	else
-	  # Either a pre-BFD a.out linker (linux-gnuoldld) or one that does not give us
-	  # useful --help.  Gcc wants to distinguish between linux-gnuoldld and linux-gnuaout.
-	  test ! -d /usr/lib/ldscripts/. \
-	    && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+	  # Either a pre-BFD a.out linker (linux-gnuoldld)
+	  # or one that does not give us useful --help.
+	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
+	  # If ld does not provide *any* "supported emulations:"
+	  # that means it is gnuoldld.
+	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
+	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+
+	  case "${UNAME_MACHINE}" in
+	  i?86)
+	    VENDOR=pc;
+	    ;;
+	  *)
+	    VENDOR=unknown;
+	    ;;
+	  esac
 	  # Determine whether the default compiler is a.out or elf
 	  cat >dummy.c <<EOF
+#include <features.h>
 main(argc, argv)
-int argc;
-char *argv[];
+     int argc;
+     char *argv[];
 {
 #ifdef __ELF__
-  printf ("%s-pc-linux-gnu\n", argv[1]);
+# ifdef __GLIBC__
+#  if __GLIBC__ >= 2
+    printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
+#  else
+    printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
+#  endif
+# else
+   printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
+# endif
 #else
-  printf ("%s-pc-linux-gnuaout\n", argv[1]);
+  printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
 #endif
   return 0;
 }
     i?86:DYNIX/ptx:4*:*)
 	echo i386-sequent-sysv4
 	exit 0 ;;
+    i?86:UNIX_SV:4.2MP:2.*)
+        # Unixware is an offshoot of SVR4, but it has its own version
+        # number series starting with 2...
+        # I am not positive that other SVR4 systems won't match this,
+	# I just have to hope.  -- rms.
+        # Use sysv4.2uw... so that sysv4* matches it.
+	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+	exit 0 ;;
     i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
 		echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
 		echo ${UNAME_MACHINE}-pc-sysv32
 	fi
 	exit 0 ;;
+    pc:*:*:*)
+        # uname -m prints for DJGPP always 'pc', but it prints nothing about
+        # the processor, so we play safe by assuming i386.
+	echo i386-pc-msdosdjgpp
+        exit 0 ;;
     Intel:Mach:3*:*)
 	echo i386-pc-mach3
 	exit 0 ;;
 		echo ns32k-sni-sysv
 	fi
 	exit 0 ;;
+    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+                           # says <Richard.M.Bartel@ccMail.Census.GOV>
+        echo i586-unisys-sysv4
+        exit 0 ;;
     *:UNIX_System_V:4*:FTX*)
 	# From Gerald Hewes <hewes@openmarket.com>.
 	# How about differentiating between stratus architectures? -djm
     mc68*:A/UX:*:*)
 	echo m68k-apple-aux${UNAME_RELEASE}
 	exit 0 ;;
+    news*:NEWS-OS:*:6*)
+	echo mips-sony-newsos6
+	exit 0 ;;
     R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
 	if [ -d /usr/nec ]; then
 	        echo mips-nec-sysv${UNAME_RELEASE}
 	        echo mips-unknown-sysv${UNAME_RELEASE}
 	fi
         exit 0 ;;
-    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                           # says <Richard.M.Bartel@ccMail.Census.GOV>
-        echo i586-unisys-sysv4
-        exit 0 ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
 This behaviour can be customized, look for `Info-auto-generate-directory'
 and `Info-save-auto-generated-dir' in the `info' customization group.
 
+** Version Control is no longer automatically loaded.  Users must
+add:
+
+(require 'vc-hooks)
+
+to their .emacs file to get version control functionality.
+
 
 * Lisp and internal changes in XEmacs 21.0
 ==========================================
 Look under "Startup Paths" in the Info documentation for more
 information.
 
-*** site-lisp is now longer part of the load-path by default.
+*** site-lisp is no longer part of the load-path by default.
 Its use is deprecated, but you can specify --with-site-lisp=yes at the
 configure command line to get it back.
 

etc/photos/jmiller.xpm.Z

Binary file added.

etc/photos/jmillerm.xpm.Z

Binary file added.

lib-src/ChangeLog

+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre7 is released.
+
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre6 is released.
+
+1998-07-15  SL Baur  <steve@altair.xemacs.org>
+
+	* update-elc.sh (ignore_pattern): Add very-early-lisp.el as
+	something to never bytecompile.
+
 1998-07-12  SL Baur  <steve@altair.xemacs.org>
 
 	* XEmacs 21.0-pre5 is released.

lib-src/update-elc.sh

 \!/site-load.el$!d
 \!/site-init.el$!d
 \!/version.el$!d
+\!/very-early-lisp.el$!d
 \!/Installation.el$!d
 '
 
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre7 is released.
+
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre6 is released.
+
+1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
+
+	* ldap.el (ldap-search): Doc string change
+
+1998-07-16  Colin Rafferty   <colin@xemacs.org>
+
+	* menubar-items.el (default-menubar): Removed references to
+	`data-directory', and use `locate-data-file' instead, and made 
+	then greyed out if they don't exist.
+
+1998-07-14  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
+
+	* keymap.el (events-to-keys): Use `format' instead of `concat'
+	since the latter does not accept integer args anymore
+
 1998-07-12  SL Baur  <steve@altair.xemacs.org>
 
+	* msw-mouse.el: Global change resource -> mswindows-resource.
+
+1998-07-15  SL Baur  <steve@altair.xemacs.org>
+
+	* dumped-lisp.el (preloaded-file-list): Usage of Lisp read-time
+	macros replaced.
+
+1998-07-14  SL Baur  <steve@altair.xemacs.org>
+
+	* make-docfile.el: Get first initialization from very-early-lisp.el
+	* update-elc.el: Ditto.
+	* loadup.el (really-early-error-handler): Ditto.
+
+	* packages.el (packages-unbytecompiled-lisp): Add new file,
+	very-early-lisp.el.
+
+	* very-early-lisp.el: New file.
+
+1998-07-12  SL Baur  <steve@altair.xemacs.org>
+
+	* about.el: Fix typos, update release date.
+
 	* XEmacs 21.0-pre5 is released.
 
 1998-07-11  SL Baur  <steve@altair.xemacs.org>
     (let* ((emacs-short-version (format "%d.%d"
 					emacs-major-version
 					emacs-minor-version))
-	   (emacs-about-version (format "version %s; Apr 1998"
+	   (emacs-about-version (format "version %s; Aug 1998"
 					emacs-short-version)))
       (widget-insert (about-center emacs-about-version))
       (widget-create 'link :help-echo "The latest NEWS of XEmacs"
       (about-url-link 'jason "Visit Jason's homepage")
       (widget-insert ".\n"))
     (jmiller
-     (widget-inset "\
+     (widget-insert "\
 Jeff grew up in Indiana and is a country boy at heart.  He currently lives
 in, of all places, Millersville Maryland.  He spends a lot of his free
 time tinkering with Linux and hacking on XEmacs and loves it when he finds
 extensions.\n")
        (print-short "Darryl Okahata" "darrylo@sr.hp.com" "\
 Perennial Emacs hacker since 1986 or so, when he first started on GNU
-Emacs 17.something.  Over the years, he's developed "OEmacs", the first
-version of GNU Emacs 19 for MSDOS, and "bigperl", a 32-bit version of
+Emacs 17.something.  Over the years, he's developed \"OEmacs\", the first
+version of GNU Emacs 19 for MSDOS, and \"bigperl\", a 32-bit version of
 Perl4 for MSDOS.  In recent years, reality has intruded and he no longer 
 has much time for playing with cool programs.  What little time he has
 now goes to XEmacs hacking, where he's worked on speeding up dired under 
        (print-short "David M. Meyer" "meyer@ns.uoregon.edu")
        (print-short "John Mignault" "jbm@panix.com")
        (print-short "Brad Miller" "bmiller@cs.umn.edu")
-       (print-short "Jeff Miller" "jmiller@smart.net")
        (print-short "John Morey" "jmorey@crl.com")
        (print-short "Rob Mori" "rob.mori@sun.com")
        (print-short "Heiko Muenkel" "muenkel@tnt.uni-hannover.de")

lisp/dumped-lisp.el

 (setq preloaded-file-list
-      '("backquote" 		; needed for defsubst etc.
+      (assemble-list
+        "backquote" 		; needed for defsubst etc.
 	"bytecomp-runtime"	; define defsubst
 	"Installation.el"
 	"find-paths"
 	"events"
 	"text-props"
 	"process" ;; This is bad. network-streams may not be defined.
-	#+multicast "multicast" ;; #+network-streams implicitely true
+	(when-feature multicast "multicast") ; #+network-streams implicitely true
 	"frame"			; move up here cause some stuff needs it here
 	"map-ynp"
 	"simple"
 				;  `emacs-user-extension-dir'
 	"misc"
 	;; (pureload "profile")
-	#-mule "help-nomule"
+	(unless-feature mule "help-nomule")
 	"help"
 	;; (pureload "hyper-apropos")  Soon...
-	#-file-coding "files-nomule"
+	(unless-feature file-coding "files-nomule")
 	"files"
 	"lib-complete"
 	"format"
 	"fill"
 	"auto-save"		; Added for 20.4
 
-	#+windows-nt "winnt"
-	#+lisp-float-type "float-sup"
+	(when-feature windows-nt "winnt")
+	(when-feature lisp-float-type "float-sup")
 	"itimer"		; for vars auto-save-timeout and
 				; auto-gc-threshold
 	"itimer-autosave"
-	#+toolbar "toolbar"
-	#+scrollbar "scrollbar"
-	#+menubar "menubar"
-	#+dialog "dialog"
-	#+mule "mule-charset"
-	#+file-coding "coding"
-	#+mule "mule-coding"
+	(when-feature toolbar "toolbar")
+	(when-feature scrollbar "scrollbar")
+	(when-feature menubar "menubar")
+	(when-feature dialog "dialog")
+	(when-feature mule "mule-charset")
+	(when-feature file-coding "coding")
+	(when-feature mule "mule-coding")
 ;; Handle I/O of files with extended characters.
-	#+file-coding "code-files"
-	#+mule "mule-files"
+	(when-feature file-coding "code-files")
+	(when-feature mule "mule-files")
 ;; Handle process with encoding/decoding non-ascii coding-system.
-	#+file-coding "code-process"
-	#+mule "mule-help"
+	(when-feature file-coding "code-process")
+	(when-feature mule "mule-help")
 ;; Load the remaining basic files.
-	#+mule "mule-category"
-	#+mule "mule-ccl"
-	#+mule "mule-misc"
-	#+mule "kinsoku"
-	#+(and mule x) "mule-x-init"
-	#+(and mule tty) "mule-tty-init"
-	#+mule "mule-cmds" ; to sync with Emacs 20.1
+	(when-feature mule "mule-category")
+	(when-feature mule "mule-ccl")
+	(when-feature mule "mule-misc")
+	(when-feature mule "kinsoku")
+	(when-feature (and mule x) "mule-x-init")
+	(when-feature (and mule tty) "mule-tty-init")
+	(when-feature mule "mule-cmds") ; to sync with Emacs 20.1
 
 ;; after this goes the specific lisp routines for a particular input system
 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
 ;; Now load files to set up all the different languages/environments
 ;; that Mule knows about.
 
-	#+mule "arabic"
-	#+mule "chinese"
-	#+mule "mule-base/cyrillic" ; overloaded in leim/quail
-	#+mule "english"
-;;	#+mule "ethiopic"
-	#+mule "european"
-	#+mule "mule-base/greek" ; overloaded in leim/quail
-	#+mule "hebrew"
-	#+mule "japanese"
-	#+mule "korean"
-	#+mule "misc-lang"
-;;	#+mule "thai"
-	#+mule "viet-chars"
-;;	#+mule "vietnamese"
+	(when-feature mule "arabic")
+	(when-feature mule "chinese")
+	(when-feature mule "mule-base/cyrillic") ; overloaded in leim/quail
+	(when-feature mule "english")
+;;	(when-feature mule "ethiopic")
+	(when-feature mule "european")
+	(when-feature mule "mule-base/greek") ; overloaded in leim/quail
+	(when-feature mule "hebrew")
+	(when-feature mule "japanese")
+	(when-feature mule "korean")
+	(when-feature mule "misc-lang")
+;;	(when-feature mule "thai")
+	(when-feature mule "viet-chars")
+;;	(when-feature mule "vietnamese")
 
 	;; Specialized language support
-	#+(and mule CANNA) "canna-leim"
+	(when-feature (and mule CANNA) "canna-leim")
 ;; Egg/Its is now a package
-;	#+(and mule wnn) "egg-leim"
-;	#+(and mule wnn) "egg-kwnn-leim"
-;	#+(and mule wnn) "egg-cwnn-leim"
-;	#+mule "egg-sj3-leim"
+;	(when-feature (and mule wnn) "egg-leim")
+;	(when-feature (and mule wnn) "egg-kwnn-leim")
+;	(when-feature (and mule wnn) "egg-cwnn-leim")
+;	(when-feature mule "egg-sj3-leim")
 ;; SKK is now a package
-;	#+mule "skk-leim"
+;	(when-feature mule "skk-leim")
 
 ;; Set up the XEmacs environment for Mule.
 ;; Assumes the existence of various stuff above.
-	#+mule "mule-init"
+	(when-feature mule "mule-init")
 
 ;; Enable Mule capability for Gnus, mail, etc...
 ;; Moved to sunpro-load.el - the default only for Sun.
 ;;(pureload "mime-setup")
 ;;; mule-load.el ends here
-	#+window-system "gui"
-	#+window-system "mode-motion"
-	#+window-system "mouse"
-	#+window-system "select"
-	#+dragdrop-api "dragdrop"
+	(when-feature window-system "gui")
+	(when-feature window-system "mode-motion")
+	(when-feature window-system "mouse")
+	(when-feature window-system "select")
+	(when-feature dragdrop-api "dragdrop")
 ;; preload the X code, for faster startup.
-	#+(and (not infodock) (or x mswindows) menubar) "menubar-items"
-	#+(and infodock (or x mswindows) menubar) "id-menus"
-	#+x "x-faces"
-	#+x "x-iso8859-1"
-	#+x "x-mouse"
-	#+x "x-select"
-	#+(and x scrollbar) "x-scrollbar"
-	#+x "x-misc"
-	#+x "x-init"
-	#+(and (not infodock) window-system toolbar) "toolbar-items"
-	#+x "x-win-xfree86"
-	#+x "x-win-sun"
+	(when-feature (and (not infodock)
+			   (or x mswindows) menubar) "menubar-items")
+	(when-feature (and infodock (or x mswindows) menubar) "id-menus")
+	(when-feature x "x-faces")
+	(when-feature x "x-iso8859-1")
+	(when-feature x "x-mouse")
+	(when-feature x "x-select")
+	(when-feature (and x scrollbar) "x-scrollbar")
+	(when-feature x "x-misc")
+	(when-feature x "x-init")
+	(when-feature (and (not infodock)
+			   window-system toolbar) "toolbar-items")
+	(when-feature x "x-win-xfree86")
+	(when-feature x "x-win-sun")
 ;; preload the mswindows code.
-	#+mswindows "msw-glyphs"
-	#+mswindows "msw-faces"
-	#+mswindows "msw-mouse"
-	#+mswindows "msw-init"
-	#+mswindows "msw-select"
+	(when-feature mswindows "msw-glyphs")
+	(when-feature mswindows "msw-faces")
+	(when-feature mswindows "msw-mouse")
+	(when-feature mswindows "msw-init")
+	(when-feature mswindows "msw-select")
 ;; preload the TTY init code.
-	#+tty "tty-init"
+	(when-feature tty "tty-init")
 ;;; Formerly in tooltalk/tooltalk-load.el
 	;; Moved to tooltalk package
-	;; #+tooltalk "tooltalk-macros"
-	;; #+tooltalk "tooltalk-util"
-	;; #+tooltalk "tooltalk-init"
+	;; (when-feature tooltalk "tooltalk-macros")
+	;; (when-feature tooltalk "tooltalk-util")
+	;; (when-feature tooltalk "tooltalk-init")
 	;; "vc-hooks"		; Packaged.  Available in two versions.
 	;; "ediff-hook"		; Packaged.
 	"fontl-hooks"
 	"auto-show"
-	#+ldap "ldap"
+	(when-feature ldap "ldap")
 
-;; #+energize "energize/energize-load.el"
+;; (when-feature energize "energize/energize-load.el")
 ;;; formerly in sunpro/sunpro-load.el
-;;	#+(and mule sparcworks) "mime-setup"
+;;	(when-feature (and mule sparcworks) "mime-setup")
 
 	;; Moved to Sun package
-	;; #+sparcworks "cc-mode" ; Requires cc-mode package
-	;; #+sparcworks "sunpro-init"
-	;; #+sparcworks "ring"
-	;; #+sparcworks "comint" ; Requires comint package
-	;; #+sparcworks "annotations"
+	;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
+	;; (when-feature sparcworks "sunpro-init")
+	;; (when-feature sparcworks "ring")
+	;; (when-feature sparcworks "comint") ; Requires comint package
+	;; (when-feature sparcworks "annotations")
 
 ;;; formerly in eos/sun-eos-load.el
-;;	#+sparcworks "sun-eos-init"
-;;	#+sparcworks "sun-eos-common"
-;;	#+sparcworks "sun-eos-editor"
-;;	#+sparcworks "sun-eos-browser"
-;;	#+sparcworks "sun-eos-debugger"
-;;	#+sparcworks "sun-eos-debugger-extra"
-;;	#+sparcworks "sun-eos-menubar"
+;;	(when-feature sparcworks "sun-eos-init")
+;;	(when-feature sparcworks "sun-eos-common")
+;;	(when-feature sparcworks "sun-eos-editor")
+;;	(when-feature sparcworks "sun-eos-browser")
+;;	(when-feature sparcworks "sun-eos-debugger")
+;;	(when-feature sparcworks "sun-eos-debugger-extra")
+;;	(when-feature sparcworks "sun-eos-menubar")
 	"loadhist"		; Must be dumped before loaddefs is loaded
 	"loaddefs"		; <=== autoloads get loaded here
 ))
                        (error
                          "Mouse events can't be saved in keyboard macros."))
                    (setq mods (event-modifiers event)
-                         key (intern (concat "button"
+                         key (intern (format "button%d%s"
                                              (event-button event)
                                              (if (button-release-event-p event)
                                                  "up" ""))))
 ;; Author: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
 ;; Maintainer: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
 ;; Created: Jan 1998
-;; Version: $Revision: 1.7 $
+;; Version: $Revision: 1.8 $
 ;; Keywords: help comm
 
 ;; This file is part of XEmacs
   "Perform an LDAP search.
 FILTER is the search filter in RFC1558 syntax
 HOST is the LDAP host on which to perform the search
-ATTRIBUTES is the specific attributes to retrieve, nil means 
-retrieve all
+ATTRIBUTES is a list of the specific attributes to retrieve, 
+nil means retrieve all
 ATTRSONLY if non nil retrieves the attributes only without 
 the associated values.
 Additional search parameters can be specified through 
 (if (fboundp 'error)
     (error "loadup.el already loaded!"))
 
-(define-function 'defalias 'define-function)
 (defvar running-xemacs t
   "Non-nil when the current emacs is XEmacs.")
 (defvar preloaded-file-list nil
 	;; We don't want to have any undo records in the dumped XEmacs.
 	(buffer-disable-undo (get-buffer "*scratch*"))
 
+	;; Load our first bootstrap support
+	(load "very-early-lisp" nil t)
+
 	;; lread.c (or src/Makefile.in.in) has prepended
 	;; "${srcdir}/../lisp/" to load-path, which is how this file
 	;; has been found.  At this point, enough of XEmacs has been

lisp/make-docfile.el

   (setq command-line-args (cdr command-line-args)))
 
 ;; Then process the list of Lisp files.
-(define-function 'defalias 'define-function)
+(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
 
-(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
+(load "very-early-lisp" nil t)
 
 ;; Then process the autoloads
 (setq autoload-file-name "auto-autoloads.elc")

lisp/menubar-items.el

        ["FAQ via WWW" xemacs-www-faq	(boundp 'browse-url-browser-function)]
        ["Home Page" xemacs-www-page		(boundp 'browse-url-browser-function)])
       ("Samples"
-       ["Sample .emacs" (find-file (expand-file-name "sample.emacs"
-						     data-directory))]
-       ["Sample .Xdefaults" (find-file (expand-file-name "sample.Xdefaults"
-							 data-directory))]
-       ["Sample enriched" (find-file (expand-file-name "enriched.doc"
-						       data-directory))])
+       ["Sample .emacs" (find-file (locate-data-file "sample.emacs")) (locate-data-file "sample.emacs")]
+       ["Sample .Xdefaults" (find-file (locate-data-file "sample.Xdefaults")) (locate-data-file "sample.Xdefaults")]
+       ["Sample enriched" (find-file (locate-data-file "enriched.doc")) (locate-data-file "enriched.doc")])
       "-----"
       ("Lookup in Info"
        ["Key Binding..." Info-goto-emacs-key-command-node]

lisp/msw-mouse.el

 ;;; Code:
 
 (set-glyph-image text-pointer-glyph
-		 [resource :resource-type cursor :resource-id "Ibeam"])
+		 [mswindows-resource :resource-type cursor :resource-id "Ibeam"])
 (set-glyph-image nontext-pointer-glyph
-		 [resource :resource-type cursor :resource-id "Normal"])
+		 [mswindows-resource :resource-type cursor :resource-id "Normal"])
 (set-glyph-image selection-pointer-glyph
-		 [resource :resource-type cursor :resource-id "Normal"])
+		 [mswindows-resource :resource-type cursor :resource-id "Normal"])
 (set-glyph-image modeline-pointer-glyph
-		 [resource :resource-type cursor :resource-id "SizeNS"])
+		 [mswindows-resource :resource-type cursor :resource-id "SizeNS"])
 (set-glyph-image divider-pointer-glyph
-		 [resource :resource-type cursor :resource-id "SizeWE"])
+		 [mswindows-resource :resource-type cursor :resource-id "SizeWE"])
 (set-glyph-image busy-pointer-glyph
-		 [resource :resource-type cursor :resource-id "Wait"])
+		 [mswindows-resource :resource-type cursor :resource-id "Wait"])
 (set-glyph-image gc-pointer-glyph
-		 [resource :resource-type cursor :resource-id "Wait"])
+		 [mswindows-resource :resource-type cursor :resource-id "Wait"])
 
 ;;; msw-mouse.el ends here

lisp/package-get-base.el

 (setq package-get-base
 '((eudc
   (standards-version 1.0
-   version "1.09"
-   author-version "1.09"
-   date "1998-06-30"
-   build-date "1998-06-30"
+   version "1.10"
+   author-version "1.10"
+   date "1998-07-12"
+   build-date "1998-07-19"
    maintainer "Oscar Figueiredo <Oscar.Figueiredo@epfl.ch>"
    distribution stable
    priority low
    category "comm"
    dump nil
    description "Emacs Unified Directory Client (LDAP, PH)."
-   filename "eudc-1.09-pkg.tar.gz"
-   md5sum "517bfd3112700fd3dcfc59e02bbb0b12"
-   size 40867
+   filename "eudc-1.10-pkg.tar.gz"
+   md5sum "90e03dbd32651e4b24f973c29665a709"
+   size 41343
    provides (eudc eudc-ldap eudc-ph)
    requires (fsf-compat xemacs-base)
    type regular
 ))
 (gnats
   (standards-version 1.0
-   version "1.03"
+   version "1.04"
    author-version "3.101"
-   date "1998-04-06"
-   build-date "1998-04-17"
+   date "1998-07-12"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority high
    category "comm"
    dump nil
    description "XEmacs bug reports."
-   filename "gnats-1.03-pkg.tar.gz"
-   md5sum "2b8f3a25baa78ffd23927ac5bb5777b5"
-   size 126412
+   filename "gnats-1.04-pkg.tar.gz"
+   md5sum "9a746086a7f2a4816f6172b39308fbbd"
+   size 126431
    provides (gnats gnats-admin send-pr)
    requires (mail-lib xemacs-base)
    type regular
 ))
 (gnus
   (standards-version 1.0
-   version "1.21"
-   author-version "5.6.23"
+   version "1.22"
+   author-version "5.6.24"
    date "1998-07-06"
-   build-date "1998-07-09"
+   build-date "1998-07-12"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority medium
    category "comm"
    dump nil
    description "The Gnus Newsreader and Mailreader."
-   filename "gnus-1.21-pkg.tar.gz"
-   md5sum "6d58f34293ec00bbd297a6abb98fe2e9"
-   size 1693384
+   filename "gnus-1.22-pkg.tar.gz"
+   md5sum "0b969b84e56f64ff3d17e8eb93b05752"
+   size 1698823
    provides (gnus message)
    requires (gnus w3 mh-e mailcrypt rmail mail-lib xemacs-base)
    type regular
 ))
 (mh-e
   (standards-version 1.0
-   version "1.05"
+   version "1.06"
    author-version "21.0"
-   date "1998-01-24"
-   build-date "1998-06-14"
+   date "1998-07-12"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution contrib
    priority low
    category "comm"
    dump nil
    description "Front end support for MH."
-   filename "mh-e-1.05-pkg.tar.gz"
-   md5sum "62b8598c55698c74ddfe71e874f0fe5e"
-   size 129257
+   filename "mh-e-1.06-pkg.tar.gz"
+   md5sum "444f2ff3becd5b9c06e880079a8ea094"
+   size 129262
    provides (mh-e)
    requires (mail-lib xemacs-base)
    type regular
 ))
 (tm
   (standards-version 1.0
-   version "1.09"
+   version "1.10"
    author-version "21.0"
    date "1998-06-09"
-   build-date "1998-07-09"
+   build-date "1998-07-12"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority low
    category "comm"
    dump nil
    description "Emacs MIME support."
-   filename "tm-1.09-pkg.tar.gz"
-   md5sum "a5697117fc719a9c5a74a62f6b812101"
-   size 253269
+   filename "tm-1.10-pkg.tar.gz"
+   md5sum "f5876ef7eda31c0ef9b6fb2ce63c155d"
+   size 252978
    provides (tm tm-edit tm-view mime-setup)
    requires (gnus mh-e rmail vm mailcrypt mail-lib apel xemacs-base)
    type regular
 ))
 (w3
   (standards-version 1.0
-   version "1.06"
-   author-version "4.0pre18"
-   date "1998-05-01"
-   build-date "1998-05-02"
+   version "1.08"
+   author-version "4.0pre23"
+   date "1998-07-18"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution experimental
    priority high
    category "comm"
    dump nil
    description "A Web browser."
-   filename "w3-1.06-pkg.tar.gz"
-   md5sum "fea5098f9e8dd5b3b82e3ebe7d447b9c"
-   size 581731
+   filename "w3-1.08-pkg.tar.gz"
+   md5sum "ebde805d2dd99decbaaca2d6b4d0a87f"
+   size 586478
    provides (w3 url)
    requires (w3 mail-lib xemacs-base)
    type regular
 ))
 (mine
   (standards-version 1.0
-   version "1.05"
+   version "1.06"
    author-version "1.8x1"
-   date "1998-03-31"
-   build-date "1998-04-04"
+   date "1998-07-14"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority low
    category "games"
    dump nil
    description "Minehunt Game."
-   filename "mine-1.05-pkg.tar.gz"
-   md5sum "330cd395304f600487b748d466993e06"
-   size 67568
+   filename "mine-1.06-pkg.tar.gz"
+   md5sum "0993a0ff3511b20183e91e53f96e86d4"
+   size 66396
    provides (xmine)
    requires (xemacs-base)
    type regular
 ))
 (Sun
   (standards-version 1.0
-   version "1.05"
-   author-version "21.0b35"
-   date "1998-03-06"
-   build-date "1998-04-04"
+   version "1.06"
+   author-version "21.0"
+   date "1998-07-18"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution sun
    priority low
    category "libs"
    dump t
    description "Support for Sparcworks."
-   filename "Sun-1.05-pkg.tar.gz"
-   md5sum "70a776046ea5b12d08ca7276484f6139"
-   size 63826
+   filename "Sun-1.06-pkg.tar.gz"
+   md5sum "fa502e25b1f4d15d0e8a7e47fd41ab36"
+   size 63887
    provides (sccs eos-browser eos-common eos-debugger eos-debugger eos-editor eos-init eos-load eos-menubar eos-toolbar sunpro)
    requires (cc-mode xemacs-base)
    type regular
 ))
 (tooltalk
   (standards-version 1.0
-   version "1.04"
-   author-version "21.0b35"
-   date "1998-01-24"
-   build-date "1998-04-04"
+   version "1.05"
+   author-version "21.0"
+   date "1998-07-18"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution contrib
    priority low
    category "libs"
    dump t
    description "Support for building with Tooltalk."
-   filename "tooltalk-1.04-pkg.tar.gz"
-   md5sum "60ea390c4aa203ea26d66ddb2f3ad99f"
-   size 9245
+   filename "tooltalk-1.05-pkg.tar.gz"
+   md5sum "19418782ad7ad53d430d40864adc67c0"
+   size 9326
    provides ()
    requires ()
    type regular
 ))
 (xemacs-base
   (standards-version 1.0
-   version "1.21"
+   version "1.22"
    author-version "21.0"
-   date "1998-07-02"
-   build-date "1998-07-09"
+   date "1998-07-12"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution mule
    priority high
    category "libs"
    dump nil
    description "Fundamental XEmacs support, you almost certainly need this."
-   filename "xemacs-base-1.21-pkg.tar.gz"
-   md5sum "1807f3591bc644c52d41bf472cd30bfc"
-   size 458268
+   filename "xemacs-base-1.22-pkg.tar.gz"
+   md5sum "875c49695bb2bfb80e8d5aaa2ccca929"
+   size 458315
    provides (add-log advice annotations assoc case-table chistory comint-xemacs comint compile debug ebuff-menu echistory edmacro ehelp electric enriched env facemenu ffap helper imenu iso-syntax macros novice outline overlay passwd pp regi ring shell skeleton sort thing time-stamp timezone xbm-button xpm-button)
    requires ()
    type regular
 ))
 (egg-its
   (standards-version 1.0
-   version "1.05"
+   version "1.06"
    author-version "21.0"
-   date "1998-06-20"
-   build-date "1998-07-09"
+   date "1998-07-18"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution mule
    priority high
    category "mule"
    dump t
    description "Wnn (4.2 and 6) support.  SJ3 support."
-   filename "egg-its-1.05-pkg.tar.gz"
-   md5sum "ef131233410ea57fad940b40cb3c786c"
-   size 259670
+   filename "egg-its-1.06-pkg.tar.gz"
+   md5sum "2835798e04502d8236a7102cabf8d58f"
+   size 260134
    provides (egg-cnpinyin egg-cnzhuyin egg-cwnn-leim egg-jisx0201 egg-jsymbol egg-kwnn-leim egg-leim egg-sj3-client egg-sj3-leim egg-sj3 egg-wnn egg)
-   requires (leim mule-base xemacs-base)
+   requires (leim mule-base fsf-compat xemacs-base)
    type regular
 ))
 (leim
 ))
 (locale
   (standards-version 1.0
-   version "1.04"
-   author-version "21.0b35"
-   date "1998-03-01"
-   build-date "1998-04-04"
+   version "1.07"
+   author-version "21.0"
+   date "1998-07-10"
+   build-date "1998-07-12"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution mule
    priority high
    category "mule"
    dump nil
    description "Localized menubars and localized splash screens."
-   filename "locale-1.04-pkg.tar.gz"
-   md5sum "5d6dd1391ac017f4f210a810db2541cb"
-   size 34651
+   filename "locale-1.07-pkg.tar.gz"
+   md5sum "9aef9faf63f430c1cc2dc6af8b2c2c91"
+   size 29878
    provides ()
    requires (mule-base)
    type regular
 ))
 (skk
   (standards-version 1.0
-   version "1.06"
+   version "1.07"
    author-version "10.38"
-   date "1998-04-28"
-   build-date "1998-05-01"
+   date "1998-07-18"
+   build-date "1998-07-18"
    maintainer "SL Baur <steve@altair.xemacs.org>"
    distribution mule
    priority medium
    category "mule"
    dump t
    description "Japanese Language Input Method."
-   filename "skk-1.06-pkg.tar.gz"
-   md5sum "ccc92c60519be92efef3c40696897ef7"
-   size 1467006
+   filename "skk-1.07-pkg.tar.gz"
+   md5sum "c67d3ba60b2f2afc6e6b3fdae81bcb71"
+   size 1467655
    provides (skk skk-tut)
    requires (viper mule-base xemacs-base)
    type regular
 ))
 (calc
   (standards-version 1.0
-   version "1.05"
-   author-version "2.02fX1"
-   date "1998-02-27"
-   build-date "1998-06-14"
+   version "1.06"
+   author-version "2.02fX2"
+   date "1998-07-18"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority low
    category "oa"
    dump nil
    description "Emacs calculator"
-   filename "calc-1.05-pkg.tar.gz"
-   md5sum "cc170d1a19718a152144dfd0a66f6865"
-   size 1165091
+   filename "calc-1.06-pkg.tar.gz"
+   md5sum "e83eaae979e5feea6c8f7588a4e8ee66"
+   size 1165058
    provides (calc)
    requires ()
    type regular
 ))
 (edit-utils
   (standards-version 1.0
-   version "1.24"
+   version "1.25"
    author-version "21.0"
-   date "1998-06-13"
-   build-date "1998-06-14"
+   date "1998-07-14"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority high
    category "oa"
    dump nil
    description "Miscellaneous editor extensions, you probably need this."
-   filename "edit-utils-1.24-pkg.tar.gz"
-   md5sum "0b7136586f8b47e9b000bcf08f9b75a0"
-   size 584396
+   filename "edit-utils-1.25-pkg.tar.gz"
+   md5sum "91082fa38dddb6f6a22e96e729f109d1"
+   size 583179
    provides (abbrevlist atomic-extents avoid backup-dir balloon-help big-menubar blink-cursor blink-paren bookmark compare-w completion dabbrev desktop detached-minibuf edit-toolbar fast-lock file-part floating-toolbar flow-ctrl foldout func-menu hippie-exp icomplete id-select info-look iswitchb lazy-lock lazy-shot live-icon man mic-paren paren popper mode-motion+ outl-mouse page-ext blink-paren paren permanent-buffers recent-files redo reportmail rsz-minibuf saveconfsavehist saveplace scroll-in-place tempo toolbar-utils tree-menu uniquify where-was-i-db)
    requires (xemacs-base)
    type single
 ))
 (frame-icon
   (standards-version 1.0
-   version "1.02"
-   author-version "21.0b35"
-   date "1998-02-26"
-   build-date "1998-04-04"
+   version "1.03"
+   author-version "21.0"
+   date "1998-07-14"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution contrib
    priority low
    category "oa"
    dump nil
    description "Set up mode-specific icons for each frame under XEmacs"
-   filename "frame-icon-1.02-pkg.tar.gz"
-   md5sum "82d098425df2fd7e3a7e7d16c9a9e12b"
-   size 33568
+   filename "frame-icon-1.03-pkg.tar.gz"
+   md5sum "82f0714e2ee9ace4b7dba62ea3607f3c"
+   size 33149
    provides (forms forms-mode)
    requires ()
    type regular
 ))
 (os-utils
   (standards-version 1.0
-   version "1.08"
+   version "1.09"
    author-version "21.0"
-   date "1998-06-07"
-   build-date "1998-06-14"
+   date "1998-07-14"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority medium
    category "os"
    dump nil
    description "Miscellaneous O/S utilities."
-   filename "os-utils-1.08-pkg.tar.gz"
-   md5sum "9fdcc24ee2d83c6d214f4afa1f41c617"
-   size 229921
+   filename "os-utils-1.09-pkg.tar.gz"
+   md5sum "7ac91db01771a95da824e97696e4a01b"
+   size 229975
    provides (archive-mode background crypt crypt++ inf-lisp jka-compr lpr mchat ps-print tar-mode telnet terminal uncompress)
    requires (xemacs-base)
    type single
 ))
 (prog-modes
   (standards-version 1.0
-   version "1.06"
+   version "1.07"
    author-version "21.0"
-   date "1998-05-04"
-   build-date "1998-07-09"
+   date "1998-07-14"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority medium
    category "prog"
    dump nil
    description "Support for various programming languages."
-   filename "prog-modes-1.06-pkg.tar.gz"
-   md5sum "38d494e334b846fe735f45d573759ed9"
-   size 539915
+   filename "prog-modes-1.07-pkg.tar.gz"
+   md5sum "27293685f9350d63b487084f73840bf8"
+   size 537351
    provides (autoconf-mode cperl-mode eiffel3 f90 fortran ksh-mode m4-mode makefile perl-mode postscript python-mode rexx-mode simula-mode tcl teco verilog-mod)
    requires (mail-lib xemacs-base)
    type regular
 ))
 (vc-cc
   (standards-version 1.0
-   version "1.04"
+   version "1.05"
    author-version "21.0"
-   date "1998-06-30"
-   build-date "1998-07-09"
+   date "1998-07-18"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution contrib
    priority low
    category "prog"
    dump t
    description "Version Control for ClearCase (UnFree) systems."
-   filename "vc-cc-1.04-pkg.tar.gz"
-   md5sum "07557cc75c0b2aafc5966cca1c0a22e2"
-   size 96262
+   filename "vc-cc-1.05-pkg.tar.gz"
+   md5sum "b3dc726242f928f55aaece109f02109f"
+   size 96227
    provides (vc)
    requires (dired xemacs-base)
    type regular
 ))
 (auctex
   (standards-version 1.0
-   version "1.08"
+   version "1.09"
    author-version "9.7p"
    date "1998-04-10"
-   build-date "1998-04-17"
+   build-date "1998-07-12"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority medium
    category "wp"
    dump nil
    description "Basic TeX/LaTeX support."
-   filename "auctex-1.08-pkg.tar.gz"
-   md5sum "e79c956bd2a7cfc086d91c399667c2ef"
-   size 305607
+   filename "auctex-1.09-pkg.tar.gz"
+   md5sum "d65325f96c3861db5f7f7b6fe5250b99"
+   size 306623
    provides (auc-old bib-cite font-latex latex multi-prompt tex-buf tex-info tex-jp tex-site tex)
    requires (xemacs-base)
    type regular
 ))
 (texinfo
   (standards-version 1.0
-   version "1.09"
+   version "1.10"
    author-version "21.0"
-   date "1998-07-01"
-   build-date "1998-07-09"
+   date "1998-07-14"
+   build-date "1998-07-18"
    maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
    distribution stable
    priority high
    category "wp"
    dump nil
    description "XEmacs TeXinfo support."
-   filename "texinfo-1.09-pkg.tar.gz"
-   md5sum "7ab1fa9774456869027cfc0846d8f3fc"
-   size 127683
+   filename "texinfo-1.10-pkg.tar.gz"
+   md5sum "d5aa51237104b8244ba56b50c02ab51e"
+   size 127723
    provides (makeinfo tex-mode texinfmt texinfo texnfo-tex texnfo-upd)
    requires (xemacs-base)
    type regular
 ))
 (tpu
   (standards-version 1.0
-   version "1.04"
-   author-version "21.0b35"
-   date "1998-01-24"
-   build-date "1998-04-04"
-   maintainer "XEmacs Development Team <xemacs-beta@xemacs.org>"
-   distribution mule
-   priority high
+   version "1.05"
+   author-version "4.2X"
+   date "1998-07-18"
+   build-date "1998-07-19"
+   maintainer "Kevin Oberman <oberman@es.net>"
+   distribution normal
+   priority medium
    category "wp"
    dump nil
    description "DEC EDIT/TPU support."
-   filename "tpu-1.04-pkg.tar.gz"
-   md5sum "f45c9f761d6a88b2d3bdb4a4af2abf25"
-   size 57425
+   filename "tpu-1.05-pkg.tar.gz"
+   md5sum "ec8dc3e7f57afe9ac4986fea25e1a789"
+   size 57830
    provides (tpu)
-   requires ()
+   requires 
    type regular
 ))
 (viper
     "dumped-lisp.el"
     "dumped-pkg-lisp.el"
     "version.el"
+    "very-early-lisp.el"
     "Installation.el")
   "Lisp packages that should not be byte compiled.")
 

lisp/update-elc.el

 ;		    ;; -batch gets filtered out.
 ;		    (nthcdr 3 command-line-args))))
 
-(define-function 'defalias 'define-function)
+(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
 
-(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
+(load "very-early-lisp" nil t)
 
 (load "find-paths.el")
 (load "packages.el")

lisp/very-early-lisp.el

+;;; very-early-lisp.el --- Lisp support always needed by temacs
+
+;; Copyright (C) 1998 by Free Software Foundation, Inc.
+
+;; Author: SL Baur <steve@altair.xemacs.org>
+;;  Michael Sperber [Mr. Preprocessor] <sperber@Informatik.Uni-Tuebingen.De>
+;; Keywords: internal, dumped
+
+;; This file is part of XEmacs.
+
+;; XEmacs is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; XEmacs is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with XEmacs; see the file COPYING.  If not, write to the Free
+;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+;; 02111-1307, USA.
+
+;;; Synched up with: Not in FSF
+
+;;; Commentary:
+
+;; This file must be loaded by temacs if temacs is to process bytecode
+;; or dumped-lisp.el files.
+
+;;; Code:
+
+(define-function 'defalias 'define-function)
+
+;;; Macros from Michael Sperber to replace read-time Lisp reader macros #-, #+
+;;; ####fixme duplicated in make-docfile.el and update-elc.el
+(defmacro assemble-list (&rest components)
+  "Assemble a list from COMPONENTS.
+This is a poor man's backquote:
+COMPONENTS is a list, each element of which is macro-expanded.
+Each macro-expanded element either has the form (SPLICE stuff),
+in which case stuff must be a list which is spliced into the result.
+Otherwise, the component becomes an element of the list."
+  (cons
+   'append
+   (mapcar #'(lambda (component)
+	       (let ((component (macroexpand-internal component)))
+		 (if (and (consp component)
+			  (eq 'splice (car component)))
+		     (car (cdr component))
+		   (list 'list component))))
+	   components)))
+
+(defmacro when-feature (feature stuff)
+  "Insert STUFF as a list element if FEATURE is a loaded feature.
+This is intended for use as a component of ASSEMBLE-LIST."
+  (list 'splice
+	(if (featurep feature)
+	    (list 'list stuff)
+	  '())))
+
+(defmacro unless-feature (feature stuff)
+  "Insert STUFF as a list element if FEATURE is NOT a loaded feature.
+This is intended for use as a component of ASSEMBLE-LIST."
+  (list 'splice
+	(if (featurep feature)
+	    '()
+	  (list 'list stuff))))
+
+(provide 'very-early-lisp)
+
+;;; very-early-lisp.el ends here
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre7 is released.
+
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre6 is released.
+
 1998-07-12  SL Baur  <steve@altair.xemacs.org>
 
 	* XEmacs 21.0-pre5 is released.
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre7 is released.
+
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre6 is released.
+
+1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
+
+	* xemacs.mak:
+	  Add path to xemacs.res dependency.
+
 1998-07-12  SL Baur  <steve@altair.xemacs.org>
 
 	* XEmacs 21.0-pre5 is released.
 
 XEMACS=..
 LISP=$(XEMACS)\lisp
+NT=$(XEMACS)\nt
 
 # Program name and version
 
 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
 	@cd $(LIB_SRC)
 	$(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) -O2 -W3 -Fe$@ $**
-	@cd $(XEMACS)\nt
+	@cd $(NT)
 
 # Individual dependencies
 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(LIB_SRC)/../src/regex.c
 
 # runemacs proglet
 
-NT = $(XEMACS)\nt
 RUNEMACS = $(XEMACS)\src\runemacs.exe
 
 $(RUNEMACS): $(NT)\runemacs.c $(NT)\xemacs.res
 	$(OUTDIR)\vm-limit.obj \
 	$(OUTDIR)\widget.obj \
 	$(OUTDIR)\window.obj \
-	xemacs.res
+	$(NT)\xemacs.res
 
 # Rules
 
   $(TEMACS_LFLAGS) $(TEMACS_OBJS) $(TEMACS_LIBS)
 <<
 
-xemacs.res: xemacs.rc
+$(NT)\xemacs.res: xemacs.rc
 	rc xemacs.rc
 
 # MSDEV Source Broswer file. "*.sbr" is too inclusive but this is harmless
 	cd $(TEMACS_DIR)
 	set EMACSBOOTSTRAPLOADPATH=$(LISP)
 	-1 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\loadup.el dump
-	cd $(XEMACS)\nt
+	@cd $(NT)
 	@if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
 
 #------------------------------------------------------------------------------
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre7 is released.
+
+1998-07-19  SL Baur  <steve@altair.xemacs.org>
+
+	* XEmacs 21.0-pre6 is released.
+
+1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
+
+	* eldap.c (Fldap_search_internal): When converting the list of
+	attributes to search Copy the final 0 from Lisp strings to C
+	strings.
+	Check base, not Vldap_default_base as a a string
+
+1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
+
+	* nt.c: Remove Vstdio_str; already defined in console-stream.c.
+
+	* unexnt.c: Unconditionally define bss_start and bss_size, and
+	  ensure that they don't go in the .bss section.
+
+1998-07-17  Olivier Galibert  <galibert@pobox.com>
+
+	* glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
+	byte order is dependant  of  the local  byte order).
+	From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
+
+1998-07-18  SL Baur  <steve@altair.xemacs.org>
+
+	* glyphs-msw.c (mswindows_resource_normalize): Qresource ->
+	Qmswindows_resource.
+	From Jonathan Harris <jhar@tardis.ed.ac.uk>
+	
+1998-07-12  SL Baur  <steve@altair.xemacs.org>
+
+	* general.c (syms_of_general): Add defsymbol for Qresource.
+
+	* glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
+	Qmswindows_resource.
+	(TopLevel): Rename 'resource image format to 'mswindows_resource.
+	(mswindows_resource_validate): Rename.
+	(mswindows_resource_normalize): Rename.
+	(mswindows_resource_possible_dest_types): Rename.
+	(mswindows_resource_instantiate): Rename.
+	(image_instantiator_format_create_glyphs_mswindows): Replace
+	`resource' with `mswindows.resource'.
+
 1998-07-12  SL Baur  <steve@altair.xemacs.org>
 
 	* XEmacs 21.0-pre5 is released.
     }
   if (!NILP (base))
     {
-      CHECK_STRING (Vldap_default_base);
+      CHECK_STRING (base);
     }
 
   /* Search scope */
 	  CHECK_STRING (current);
 	  ldap_attributes[i] =
 	    alloca_array (char, 1 + XSTRING_LENGTH (current));
+          /* XSTRING_LENGTH is increased by one in order to copy the final 0 */
 	  memcpy (ldap_attributes[i],
-		  XSTRING_DATA (current), XSTRING_LENGTH (current));
+		  XSTRING_DATA (current), 1 + XSTRING_LENGTH (current));
 	  ++i;
 	}
       ldap_attributes[i] = NULL;
   defsymbol (&Qrassoc, "rassoc");
   defsymbol (&Qrassq, "rassq");
   defsymbol (&Qrequire, "require");
+  defsymbol (&Qresource, "resource");
   defsymbol (&Qreturn, "return");
   defsymbol (&Qreverse, "reverse");
   defsymbol (&Qright, "right");
 Lisp_Object Vmswindows_bitmap_file_path;
 static	COLORREF transparent_color = RGB (1,1,1);
 
-DEFINE_IMAGE_INSTANTIATOR_FORMAT (resource);
+DEFINE_IMAGE_INSTANTIATOR_FORMAT (mswindows_resource);
 Lisp_Object Q_resource_type, Q_resource_id;
+Lisp_Object Qmswindows_resource;
 
 static void
 mswindows_initialize_dibitmap_image_instance (struct Lisp_Image_Instance *ii,
  **********************************************************************/
 
 static void
-resource_validate (Lisp_Object instantiator)
+mswindows_resource_validate (Lisp_Object instantiator)
 {
   if ((NILP (find_keyword_in_vector (instantiator, Q_file)) 
        &&
 }
 
 static Lisp_Object
-resource_normalize (Lisp_Object inst, Lisp_Object console_type)
+mswindows_resource_normalize (Lisp_Object inst, Lisp_Object console_type)
 {
   /* This function can call lisp */
   Lisp_Object file = Qnil;
   }
 
   {
-    Lisp_Object result = alist_to_tagged_vector (Qresource, alist);
+    Lisp_Object result = alist_to_tagged_vector (Qmswindows_resource, alist);
     free_alist (alist);
     RETURN_UNGCPRO (result);
   }
 }
 
 static int
-resource_possible_dest_types (void)
+mswindows_resource_possible_dest_types (void)
 {
   return IMAGE_POINTER_MASK | IMAGE_COLOR_PIXMAP_MASK;
 }
 }
 
 static void
-resource_instantiate (Lisp_Object image_instance, Lisp_Object instantiator,
+mswindows_resource_instantiate (Lisp_Object image_instance, Lisp_Object instantiator,
 		    Lisp_Object pointer_fg, Lisp_Object pointer_bg,
 		    int dest_mask, Lisp_Object domain)
 {
   IIFORMAT_VALID_KEYWORD (bmp, Q_data, check_valid_string);
   IIFORMAT_VALID_KEYWORD (bmp, Q_file, check_valid_string);
 
-  INITIALIZE_IMAGE_INSTANTIATOR_FORMAT (resource, "resource");
+  INITIALIZE_IMAGE_INSTANTIATOR_FORMAT (mswindows_resource,
+					"mswindows-resource");
 
-  IIFORMAT_HAS_METHOD (resource, validate);
-  IIFORMAT_HAS_METHOD (resource, normalize);
-  IIFORMAT_HAS_METHOD (resource, possible_dest_types);
-  IIFORMAT_HAS_METHOD (resource, instantiate);
+  IIFORMAT_HAS_METHOD (mswindows_resource, validate);
+  IIFORMAT_HAS_METHOD (mswindows_resource, normalize);
+  IIFORMAT_HAS_METHOD (mswindows_resource, possible_dest_types);
+  IIFORMAT_HAS_METHOD (mswindows_resource, instantiate);
 
-  IIFORMAT_VALID_KEYWORD (resource, Q_resource_type, 
+  IIFORMAT_VALID_KEYWORD (mswindows_resource, Q_resource_type, 
 			  check_valid_resource_symbol);
-  IIFORMAT_VALID_KEYWORD (resource, Q_resource_id, check_valid_resource_id);
-  IIFORMAT_VALID_KEYWORD (resource, Q_file, check_valid_string);
+  IIFORMAT_VALID_KEYWORD (mswindows_resource, Q_resource_id, check_valid_resource_id);
+  IIFORMAT_VALID_KEYWORD (mswindows_resource, Q_file, check_valid_string);
 }
 
 void
 vars_of_glyphs_mswindows (void)
 {
   Fprovide (Qbmp);
-  Fprovide (Qresource);
+  Fprovide (Qmswindows_resource);
   DEFVAR_LISP ("mswindows-bitmap-file-path", &Vmswindows_bitmap_file_path /*
 A list of the directories in which mswindows bitmap files may be found.
 This is used by the `make-image-instance' function.
 	      gr = *ip++;
 	      bl = *ip++;
 	      conv.val = pixarray[QUANT_GET_COLOR(qtable,rd,gr,bl)];
+#if WORDS_BIGENDIAN
 	      if (outimg->byte_order == MSBFirst)
 		for (q = 4-byte_cnt; q < 4; q++) *dp++ = conv.cp[q];
 	      else
+		for (q = 3; q >= 4-byte_cnt; q--) *dp++ = conv.cp[q];
+#else
+	      if (outimg->byte_order == MSBFirst)
+		for (q = byte_cnt-1; q >= 0; q--) *dp++ = conv.cp[q];
+	      else
 		for (q = 0; q < byte_cnt; q++) *dp++ = conv.cp[q];
+#endif
 	    }
 	}
       xfree(qtable);
 		bl = *ip++ >> (8 - bbits);
 
 	      conv.val = (rd << rshift) | (gr << gshift) | (bl << bshift);
+#if WORDS_BIGENDIAN
 	      if (outimg->byte_order == MSBFirst)
 		for (q = 4-byte_cnt; q < 4; q++) *dp++ = conv.cp[q];
 	      else
+		for (q = 3; q >= 4-byte_cnt; q--) *dp++ = conv.cp[q];
+#else
+	      if (outimg->byte_order == MSBFirst)
+		for (q = byte_cnt-1; q >= 0; q--) *dp++ = conv.cp[q];
+	      else
 		for (q = 0; q < byte_cnt; q++) *dp++ = conv.cp[q];
+#endif
 	    }
 	}
     }  
   }
 }
 #ifndef HAVE_TTY
-Lisp_Object Vstdio_str;
-
 Lisp_Object
 tty_semi_canonicalize_console_connection (Lisp_Object connection,
 					  Error_behavior errb)
 DWORD  data_size = UNINIT_LONG;
 
 /* Cached info about the .bss section in the executable.  */
-#ifndef DUMP_SEPARATE_SECTION
-PUCHAR bss_start = 0;
-DWORD  bss_size = 0;
-#endif
+PUCHAR bss_start = UNINIT_PTR;
+DWORD  bss_size = UNINIT_LONG;
 
 #ifdef HAVE_NTGUI
 HINSTANCE hinst = NULL;
     }
 
 #ifndef DUMP_SEPARATE_SECTION
-  if (!bss_start)
+  if (bss_start == UNINIT_PTR)
     {
       /* Starting with MSVC 4.0, the .bss section has been eliminated
 	 and appended virtually to the end of the .data section.  Our
 	+ data_section->VirtualAddress;
       bss_size = (char*)&my_ebss - (char*)bss_start;
     }
+#else
+  bss_size = 0;
 #endif
 }
 
 emacs_major_version=21
 emacs_minor_version=0
 emacs_beta_version=
-xemacs_codename="Zhong Wei"
+xemacs_codename="Benadir"
 infodock_major_version=4
 infodock_minor_version=0
 infodock_build_version=1