SUMMARY: Emacs 21.1 compile on 5.1A

From: McGuinness Todd <mcguinness_at_nagra.com>
Date: Fri, 23 Nov 2001 13:16:27 +0100

Ok here is what I needed to do to get Emacs 21.1 to compile on 5.1A. Thanks
to Olle Eriksson and of course Richard Stallman!

Modify the following functions in the regex.c file:

regcomp (preg, pattern, cflags)
*del regex_t *preg;
*del const char *pattern;
ins regex_t *__restrict preg;
ins const char *__restrict pattern;

regexec (preg, string, nmatch, pmatch, eflags)
*del const regex_t *preg;
*del const char *string;
ins const regex_t *__restrict preg;
ins const char *__restrict string;



-----Original Message-----
From: Olle Eriksson [mailto:olle_at_cb.uu.se]
Sent: vendredi, 23. novembre 2001 12:22
To: McGuinness Todd
Subject: Re: Emacs 21.1 compile on 5.1A



One more try:

Try to apply the fix below both to regcomp and regexec in regexp.c



>From rms_at_gnu.org Fri Nov 23 12:19:08 2001
Date: Fri, 2 Nov 2001 10:23:13 -0700 (MST)
From: Richard Stallman <rms_at_gnu.org>
To: monnier+gnu/emacs/hackers_at_RUM.cs.yale.edu
Cc: olle_at_cb.uu.se, eliz_at_is.elta.co.il, emacs-hackers_at_gnu.org
Subject: Re: problem with regex.c

     regcomp (preg, pattern, cflags)
    - regex_t *preg;
    - const char *pattern;
    + regex_t *__restrict preg;
    + const char *__restrict pattern;
    ...

If this solution works, please install it.

On Fri, 23 Nov 2001, McGuinness Todd wrote:

> Hi all,
>
> Anyone have any luck with this install? I am running into (char) unsigned
> char issues in the regex.c
>
> Cheers,
>
> Todd M. McGuinness
> Systems Engineer
> ____________________________
> NAGRAVISION SA
> Kudelski Group
> ____________________________
> Tel. : +41 21 732 03 11
> Direct: +41 21 732 0623
> Fax : +41 21 732 03 00
> E-mail : mcguinness_at_nagra.com
>
>
>
Received on Fri Nov 23 2001 - 12:17:29 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT