zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH 3.1.5-pws-6 + 5132: Re: patch 5132 breaks pws-6
Date: Mon, 01 Feb 1999 13:55:07 +0100	[thread overview]
Message-ID: <9902011255.AA57575@ibmth.df.unipi.it> (raw)
In-Reply-To: "Helmut Jarausch"'s message of "Mon, 01 Feb 1999 13:03:30 NFT." <jarausch-990201130329.A03694@numa1>

Helmut Jarausch wrote:
> Hi,
> 
> first patches 5132 and 5133 are hard to apply. What 'patch' is required
> for that.

I think it was just the ChangeLog, which I haven't been keeping up to
date anyway, so I removed those hunks.

> Having applied it (by hand), zsh fails to build.
> 
> In  Src/init.c
> 
> the preprocessor variable UNLINKED_XMOD_zle  gets defined in 
> zshxmods.h
> 
> but is used already in  init.pro, which gets included by zsh.mdh.

This time, I think there's an easy fix:  the definition we want is in
the non-GLOBAL_PROTOTYPES section of init.pro, which isn't used from
zsh.mdh, only when init.pro is directly included.  So the answer is
simply to move down the #include for that.  Luckily this doesn't seem a
problem in other source files.  I think this is a good system, so I'll
put this in pws-7 whenever.

--- Src/init.c.proto	Mon Feb  1 09:42:01 1999
+++ Src/init.c	Mon Feb  1 13:40:57 1999
@@ -28,10 +28,11 @@
  */
 
 #include "zsh.mdh"
-#include "init.pro"
 
 #include "zshpaths.h"
 #include "zshxmods.h"
+
+#include "init.pro"
 
 /**/
 int noexitct = 0;

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


  reply	other threads:[~1999-02-01 12:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-01 12:03 Helmut Jarausch
1999-02-01 12:55 ` Peter Stephenson [this message]
1999-02-01 17:09 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9902011255.AA57575@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).