--On Wednesday, November 05, 2003 04:23:35 -0500 Bruce Momjian
<[EMAIL PROTECTED]> wrote:
Peter Eisentraut wrote:
Larry Rosenman writes:
> You can reduce the example down to
>
>extern char *strcpy(char *, const char *);
>
>static void f(char *p, int n){
> strcpy(p+n,"");
>
Peter Eisentraut wrote:
> Larry Rosenman writes:
>
> > You can reduce the example down to
> >
> > extern char *strcpy(char *, const char *);
> >
> > static void f(char *p, int n){
> >strcpy(p+n,"");
> > }
> > void g(void){
> >f(0, 0);
> > }
> >
> > compi
Larry Rosenman writes:
> You can reduce the example down to
>
> extern char *strcpy(char *, const char *);
>
> static void f(char *p, int n){
> strcpy(p+n,"");
> }
> void g(void){
> f(0, 0);
> }
>
> compile with cc -O -Kinline
I've installed
--On Monday, November 03, 2003 23:24:19 +0100 Peter Eisentraut
<[EMAIL PROTECTED]> wrote:
Larry Rosenman writes:
> I'll try and write the patch as you suggest.
Here's a patch as you suggested:
Isn't there a way to write a test that actually triggers the bug we're
trying to work around?
Here is
Larry Rosenman writes:
> > I'll try and write the patch as you suggest.
> Here's a patch as you suggested:
Isn't there a way to write a test that actually triggers the bug we're
trying to work around?
--
Peter Eisentraut [EMAIL PROTECTED]
---(end of broadcast)---
--On Monday, November 03, 2003 23:24:19 +0100 Peter Eisentraut
<[EMAIL PROTECTED]> wrote:
Larry Rosenman writes:
> I'll try and write the patch as you suggest.
Here's a patch as you suggested:
Isn't there a way to write a test that actually triggers the bug we're
trying to work around?
Not tha
--On Sunday, November 02, 2003 17:23:59 -0600 Larry Rosenman
<[EMAIL PROTECTED]> wrote:
--On Sunday, November 02, 2003 18:17:26 -0500 Tom Lane
<[EMAIL PROTECTED]> wrote:
Larry Rosenman <[EMAIL PROTECTED]> writes:
+# version check for the 7.1.3UP3 compiler (version 401200310):
+cat >conftest.c
--On Sunday, November 02, 2003 18:17:26 -0500 Tom Lane <[EMAIL PROTECTED]>
wrote:
Larry Rosenman <[EMAIL PROTECTED]> writes:
+# version check for the 7.1.3UP3 compiler (version 401200310):
+cat >conftest.c <<__EOF__
+int main(int argc, char **argv)
+#if __SCO_VERSION__ >=3D 401200310
+#error go
Larry Rosenman <[EMAIL PROTECTED]> writes:
> +# version check for the 7.1.3UP3 compiler (version 401200310):
> +cat >conftest.c <<__EOF__
> +int main(int argc, char **argv)
> +#if __SCO_VERSION__ >=3D 401200310
> +#error good compiler
> +#else
> +#error bad compiler
> +#endif
> +__EOF__
> + $CC co
--On Sunday, November 02, 2003 15:29:37 -0600 Larry Rosenman
<[EMAIL PROTECTED]> wrote:
I'll try and write the patch as you suggest.
Here's a patch as you suggested:
Index: src/template/unixware
===
RCS file: /projects/cvsroot/pg
--On Sunday, November 02, 2003 23:05:21 +0100 Peter Eisentraut
<[EMAIL PROTECTED]> wrote:
Larry Rosenman writes:
The problem is MOST people will **NOT** be able to get the fixed compiler
as it's on the Upgrade Pack path (PAY FOR), and **NOT** the Maintenance
Pack path (Free).
Why did they upgr
Larry Rosenman writes:
> The problem is MOST people will **NOT** be able to get the fixed compiler
> as it's on the Upgrade Pack path (PAY FOR), and **NOT** the Maintenance
> Pack path (Free).
Why did they upgrade to the broken compiler in the first place, and why
doesn't SCO provide free fixes f
--On Sunday, November 02, 2003 22:26:40 +0100 Peter Eisentraut
<[EMAIL PROTECTED]> wrote:
Larry Rosenman writes:
Since peter objects to my methods, what is an ACCEPTABLE way to detect
the 7.1.3UP3 compiler?
One POSSIBLE way to do this properly is to write a test that
1) Uses $CC, $CFLAGS, and
Larry Rosenman writes:
> Since peter objects to my methods, what is an ACCEPTABLE way to detect
> the 7.1.3UP3 compiler?
One POSSIBLE way to do this properly is to write a test that
1) Uses $CC, $CFLAGS, and related variables rather than hardcoding 'cc -O'.
2) Names any test files conftest.*, s
Since peter objects to my methods, what is an ACCEPTABLE way to detect
the 7.1.3UP3 compiler?
I'd like to get this fixed for RC1.
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs D
15 matches
Mail list logo