bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] jobs.c not checking HAVE_SYS_PARAM_H


From: John E. Malmberg
Subject: Re: [patch] jobs.c not checking HAVE_SYS_PARAM_H
Date: Wed, 12 Oct 2011 18:26:56 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12

I posted this to the gmane.comp.shells.bash.bugs newsgroup two days ago, but have not seen any response.

Are postings to there by non-subscribers not making to the mailing list?

On 10/10/2011 10:44 PM, John E. Malmberg wrote:
In the bash 4.2 source:

jobs.c is not checking HAVE_SYS_PARAM_H.

This prevents it from compiling on VMS which does not supply this header.

Regards,
-John
wb8tyw@qsl.network
Personal Opinion Only


$ diff -ub a/jobs.c b/jobs.c
--- a/jobs.c 2011-09-26 22:28:17.000000000 -0500
+++ b/jobs.c 2011-10-05 21:52:01.000000000 -0500
@@ -45,7 +45,9 @@

#include "filecntl.h"
#include <sys/ioctl.h>
+#ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
+#endif

#if defined (BUFFERED_INPUT)
# include "input.h"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]