zsh-workers
 help / color / mirror / code / Atom feed
* Strange signals.h
@ 1995-10-10  0:57 Jean-Christophe Boggio
  1995-10-10  6:33 ` Erwin van Eijk
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe Boggio @ 1995-10-10  0:57 UTC (permalink / raw)
  To: zsh-list


Following my previous problem, I looked at the file "signals.h" in the src
directory and found it strange.

/* signals.h */
/* architecture-customized signals.h for zsh 2.5.03
 * for architecture "i486",
 * automagically generated by buildzsh -- do not edit */
/* if all this is wrong, blame csh ;-) */

#define SIGCOUNT       1

#ifdef GLOBALS

char *sigmsg[SIGCOUNT+2] = {
	"done",
	"SIG",
	NULL
};

char *sigs[SIGCOUNT+4] = {
	"EXIT",
	"",
	"ZERR",
	"DEBUG",
	NULL
};

#else

extern char *sigs[SIGCOUNT+4],*sigmsg[SIGCOUNT+2];

#endif

-- 
Jean-Christophe Boggio				cat@gestalt.freenix.fr
Pascal and Linux addict, Dos and Windows independent programmer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange signals.h
  1995-10-10  0:57 Strange signals.h Jean-Christophe Boggio
@ 1995-10-10  6:33 ` Erwin van Eijk
  0 siblings, 0 replies; 2+ messages in thread
From: Erwin van Eijk @ 1995-10-10  6:33 UTC (permalink / raw)
  To: Jean-Christophe Boggio; +Cc: zsh-list

On Tue, 10 Oct 1995, Jean-Christophe Boggio wrote:
> Following my previous problem, I looked at the file "signals.h" in the src
> directory and found it strange.
> /* signals.h */
> /* architecture-customized signals.h for zsh 2.5.03
>  * for architecture "i486",
>  * automagically generated by buildzsh -- do not edit */
> /* if all this is wrong, blame csh ;-) */
> #define SIGCOUNT       1

Are you using a linux kernel somewhere in the 1.3.* then the cause of 
your trouble is that the definition of the signals was moved to 
/usr/include/asm/signals.h /usr/include/linux/signals.h only has an 
#include  in it. The patch i used was:

configure.in: 348-351
for SIGNAL_H in /usr/include/bsd/sys/signal.h   dnl Next
+		/usr/include/asm/signal.h	dnl Linux, new kernel
                /usr/include/linux/signal.h     dnl Linux
                /usr/include/sys/signal.h       dnl Almost everybody else
                /dev/null;                      dnl Just in case we fall through

It fixed the problem for me after I ran configure again, that is....

 \
  \ /\   +----------------------+   I do not fear computers. 
  ( )    | Erwin J. van Eijk    |   I fear the lack of them.
_( * )_	 | wabbit@corner.iaf.nl |
         +----------------------+             --Isaac Asimov


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-10-10 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-10-10  0:57 Strange signals.h Jean-Christophe Boggio
1995-10-10  6:33 ` Erwin van Eijk

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).