* RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one
@ 2012-01-19 16:16 Tim Deegan
2012-01-26 15:45 ` Tim Deegan
0 siblings, 1 reply; 4+ messages in thread
From: Tim Deegan @ 2012-01-19 16:16 UTC (permalink / raw)
To: xen-devel
Having an absolute path in a #include confuses distcc's pump mode.
Since AFAICS OpenBSD's stdarg handling uses the builtins, I think we
should just treat it like we do NetBSD.
I don't have an OpenBSD box to test on, though. :( Any OpenBSD
enthusiasts care to comment?
Tim.
diff --git a/xen/include/xen/stdarg.h b/xen/include/xen/stdarg.h
index 57e2c0e..cb870ac 100644
--- a/xen/include/xen/stdarg.h
+++ b/xen/include/xen/stdarg.h
@@ -1,9 +1,7 @@
#ifndef __XEN_STDARG_H__
#define __XEN_STDARG_H__
-#if defined(__OpenBSD__)
-# include "/usr/include/stdarg.h"
-#elif defined (__NetBSD__)
+#if defined(__OpenBSD__) || defined(__NetBSD__)
typedef __builtin_va_list va_list;
# define va_start(ap, last) __builtin_stdarg_start((ap), (last))
# define va_end(ap) __builtin_va_end(ap)
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one
2012-01-19 16:16 RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one Tim Deegan
@ 2012-01-26 15:45 ` Tim Deegan
2012-01-27 10:09 ` Christoph Egger
0 siblings, 1 reply; 4+ messages in thread
From: Tim Deegan @ 2012-01-26 15:45 UTC (permalink / raw)
To: xen-devel
At 16:16 +0000 on 19 Jan (1326989786), Tim Deegan wrote:
> Having an absolute path in a #include confuses distcc's pump mode.
> Since AFAICS OpenBSD's stdarg handling uses the builtins, I think we
> should just treat it like we do NetBSD.
>
> I don't have an OpenBSD box to test on, though. :( Any OpenBSD
> enthusiasts care to comment?
No complaints, and the new header compiles on OpenBSD, so I've applied it.
Cheers,
Tim.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one
2012-01-26 15:45 ` Tim Deegan
@ 2012-01-27 10:09 ` Christoph Egger
2012-01-27 10:26 ` Tim Deegan
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Egger @ 2012-01-27 10:09 UTC (permalink / raw)
To: Tim Deegan; +Cc: xen-devel
On 01/26/12 16:45, Tim Deegan wrote:
> At 16:16 +0000 on 19 Jan (1326989786), Tim Deegan wrote:
>> Having an absolute path in a #include confuses distcc's pump mode.
>> Since AFAICS OpenBSD's stdarg handling uses the builtins, I think we
>> should just treat it like we do NetBSD.
>>
>> I don't have an OpenBSD box to test on, though. :( Any OpenBSD
>> enthusiasts care to comment?
>
> No complaints, and the new header compiles on OpenBSD, so I've applied it.
... the commit message does not match what the actually patch does.
You mixed up FreeBSD with NetBSD. :-)
Christoph
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one
2012-01-27 10:09 ` Christoph Egger
@ 2012-01-27 10:26 ` Tim Deegan
0 siblings, 0 replies; 4+ messages in thread
From: Tim Deegan @ 2012-01-27 10:26 UTC (permalink / raw)
To: Christoph Egger; +Cc: xen-devel
At 11:09 +0100 on 27 Jan (1327662553), Christoph Egger wrote:
> On 01/26/12 16:45, Tim Deegan wrote:
> >At 16:16 +0000 on 19 Jan (1326989786), Tim Deegan wrote:
> >>Having an absolute path in a #include confuses distcc's pump mode.
> >>Since AFAICS OpenBSD's stdarg handling uses the builtins, I think we
> >>should just treat it like we do NetBSD.
> >>
> >>I don't have an OpenBSD box to test on, though. :( Any OpenBSD
> >>enthusiasts care to comment?
> >
> >No complaints, and the new header compiles on OpenBSD, so I've applied it.
>
> ... the commit message does not match what the actually patch does.
> You mixed up FreeBSD with NetBSD. :-)
Augh, so I have!
Tim.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-27 10:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 16:16 RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one Tim Deegan
2012-01-26 15:45 ` Tim Deegan
2012-01-27 10:09 ` Christoph Egger
2012-01-27 10:26 ` Tim Deegan
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).