pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2009-04-16T14:11:39Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/832(mapping)({ ({1,2,3}), ({1,2,3}) }) crashes pike; (mapping)({}) gives type error2009-04-16T14:11:39ZPeter Bortas(mapping)({ ({1,2,3}), ({1,2,3}) }) crashes pike; (mapping)({}) gives type errorImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=832
Reported by Mirar , Idonex Heavy Industries <mirar@roxen.com>
```
> (mapping)({ ({1,2,3}) });
/users/mirar/pike/src/opcodes.c:639: Fatal error:
Internal error: o_cast...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=832
Reported by Mirar , Idonex Heavy Industries <mirar@roxen.com>
```
> (mapping)({ ({1,2,3}) });
/users/mirar/pike/src/opcodes.c:639: Fatal error:
Internal error: o_cast() left droppings on stack.
Attempting to dump backlog (may fail)...
Backtrace at time of fatal:
Optimizer:0: ___Foo4711()
/usr/local/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:76: eval()
/usr/local/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:101:
do_evaluate("mixed ___Foo4711() { return (mixed)((mapping)({ ({1,2,3})
}))
;
}\n",1)
/usr/local/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:585:
parse_statement("(mapping)({ ({1,2,3})
});")
/usr/local/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:366: do_parse()
/usr/local/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:225:
add_buffer("(mapping)({ ({1,2,3})
});\n")
/usr/local/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:605:
add_input_line("(mapping)({ ({1,2,3})
});\n")
/usr/local/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:685: create()
Hilfe: StdinHilfe()
zsh: abort pike
```
If possible, fix (mapping)({}) at the same time:
```
> array z=({});
Result: ({ })
> (mapping)z;
Bad argument 1 to mkmapping(). Expected array(mixed)
Unknown program: mkmapping("\373","\1\373\373")
-:1: ___Foo4711()
> (mapping)({});
-:1:Bad argument 1 to mkmapping(). Expected array(mixed)
```Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/831a failing read(4) crashes pike2009-04-16T14:11:39ZPeter Bortasa failing read(4) crashes pikeImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=831
Reported by Mirar , Idonex Heavy Industries <mirar@roxen.com>
After some research, this is the workaround patch (committed):
```
--- file.c 2000/10/08 19:11:03 ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=831
Reported by Mirar , Idonex Heavy Industries <mirar@roxen.com>
After some research, this is the workaround patch (committed):
```
--- file.c 2000/10/08 19:11:03 1.201
+++ file.c 2000/11/29 11:38:29
@@ -376,7 +376,14 @@
{
struct pike_string *str;
- str=begin_shared_string(r);
+
+/* WORKAROUND! FIXME! FIXME!
+ short string threshold is 16
+ /Mirar */
+
+ if (r>16)
+ str=begin_shared_string(r);
+ else
+ str=begin_shared_string(17);
SET_ONERROR(ebuf, call_free, str);
```
since begin_shared_string returns something that can't be freed if the
string is less then SHORT_STRING_THRESHOLD, 16.
/MirarPike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/828<emit source="sql"> behaves weird or crashes Roxen with Oracle DB2009-04-16T14:11:39ZPeter Bortas<emit source="sql"> behaves weird or crashes Roxen with Oracle DBImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=828
Reported by Peter J. Holzer, WSR <hjp@wsr.ac.at>
System:
Redhat Linux 6.0
Oracle 8.1.6
Roxen 2.1.166 (binary dist)
<emit source="sql"> sometimes mixes up the columns...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=828
Reported by Peter J. Holzer, WSR <hjp@wsr.ac.at>
System:
Redhat Linux 6.0
Oracle 8.1.6
Roxen 2.1.166 (binary dist)
<emit source="sql"> sometimes mixes up the columns (e.g., with
query="select * from user_tables" &_.TABLE_NAME contains the name
of the values of the TABLESPACE_NAME column.
For some other queries Roxen crashes with a segmentation fault: For
example, in table pages with
Name Null? Type
-------------------------- -------- --------------
PAGE_ID NOT NULL NUMBER(10)
URL NOT NULL VARCHAR2(500)
and some other columns,
```
<emit source="sql" host="enkur2" query="select page_id from pages where
page_id < 40" >
&_.PAGE_ID;
</emit>
```
gives the expected result, while "select page_id, url ..." causes a
segfault (No core file, unfortunately, but I should be able to get a
backtrace with gdb.Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/793GetWindowsDirectory() needed2009-04-16T14:11:39ZPeter BortasGetWindowsDirectory() neededImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=793
Reported by Johan Schön <js@roxen.com>
Roxen needs a wrapper for the (pretty simple)
win32 function GetWindowsDirectory():
http://msdn.microsoft.com/library/psdk/sys...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=793
Reported by Johan Schön <js@roxen.com>
Roxen needs a wrapper for the (pretty simple)
win32 function GetWindowsDirectory():
http://msdn.microsoft.com/library/psdk/sysmgmt/sysinfo_4k55.htmPike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/754catch{} catches continue2009-04-16T14:11:39ZPeter Bortascatch{} catches continueImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=754
Reported by Martin Stjernholm <mast@roxen.com>
The following program writes five lines. If the catch block around the if
statement is removed, three lines are written...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=754
Reported by Martin Stjernholm <mast@roxen.com>
The following program writes five lines. If the catch block around the if
statement is removed, three lines are written instead. I think it should be
that way in either case.
```
int main()
{
for (int i = 0; i < 5; i++) {
catch {
if (i > 2) continue;
};
werror ("i = %d\n", i);
}
}
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/721bug with final and inherit2009-04-16T14:11:39ZPeter Bortasbug with final and inheritImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=721
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
```
I have 4 files:
a.pike: void foo();
b.pike: void foo();
c.pike:
inherit "a";
inherit "b";
final void foo(...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=721
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
```
I have 4 files:
a.pike: void foo();
b.pike: void foo();
c.pike:
inherit "a";
inherit "b";
final void foo() {
write("bar\n");
}
d.pike: inherit "c";
main() {
object o = new("d");
o->foo();
}
```
When I put all classes in one file it works, but
when each class is in a separate file it says "illegal to
redefine nomask function foo".Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/712float is missing in type definition using +, * or -2009-04-16T14:11:39ZPeter Bortasfloat is missing in type definition using +, * or -Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=712
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
int|float sqr(int|float x)
{
return x * x;
}
float f(float x)
{
return sqr(x) + sq...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=712
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
int|float sqr(int|float x)
{
return x * x;
}
float f(float x)
{
return sqr(x) + sqr(x);
} // ^-- can be e.g. +, * or -...
-:8:Wrong return type.
-:8:Expected: float
-:8:Got : int
^^^ should be int|float
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/711Type resolver bug: float is missing in type definition2009-04-16T14:11:39ZPeter BortasType resolver bug: float is missing in type definitionImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=711
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
void main()
{
array a = ({});
lambda(array(float) b) {} (map(a, `*, 1.0));
}
-:4:B...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=711
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
void main()
{
array a = ({});
lambda(array(float) b) {} (map(a, `*, 1.0));
}
-:4:Bad argument 1 to __lambda_65583_0.
-:4:Expected: function(array(float) : zero)
-:4:Got : function(array(string | array) : void | mixed)
^^^^^^^^^^^^^^-- float is missing
```Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/710Result from `<=(0.0, 2.0, 1.0) is messed up2009-04-16T14:11:39ZPeter BortasResult from `<=(0.0, 2.0, 1.0) is messed upImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=710
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
The last call should return 1.
```
Pike v7.1 release 11 running Hilfe v2.0 (Incremental Pike F...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=710
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
The last call should return 1.
```
Pike v7.1 release 11 running Hilfe v2.0 (Incremental Pike Frontend)
> `<=(0.0, 2.0, 1.0);
Result: 0
> !`<=(0.0, 2.0, 1.0);
Result: 0
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/705Parser.HTML makes Hilfe dump core.2009-04-16T14:11:39ZPeter BortasParser.HTML makes Hilfe dump core.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=705
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Pike v7.1 release 11 running Hilfe v2.0 (Incremental Pike Frontend)
> object p = Parser.HTML();
Result: ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=705
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
Pike v7.1 release 11 running Hilfe v2.0 (Incremental Pike Frontend)
> object p = Parser.HTML();
Result: object
> p->_set_data_callback(lambda(mixed ... foo) { return; });
Result: object
> p->feed("<br>");
/net/lister/export/mast/7.1/src/modules/Parser/html.c:1304: Fatal error:
internal error: tail not found in feed (put_out_feed_range)
Attempting to dump backlog (may fail)...
Backtrace at time of fatal:
module.HTML: feed(0)
-:1: ___Foo4711()
/i/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:103: do_evaluate("mixed
___Foo4711() { return (mixed)(p->feed(\"<br>\")); }\n",1)
/i/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:585:
parse_statement("p->feed(\"<br>\");")
/i/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:366: do_parse()
/i/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:225:
add_buffer("p->feed(\"<br>\");\n")
/i/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:605:
add_input_line("p->feed(\"<br>\");\n")
/i/pike/7.1.11/lib/modules/Tools.pmod/Hilfe.pmod:685: create()
Hilfe: StdinHilfe()
Abort (core dumped)
```Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/703PiGTK _still_ doesn't work in 7.02009-04-16T14:11:39ZPeter BortasPiGTK _still_ doesn't work in 7.0Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=703
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
This is on a Mandrake 7.1 system with helix-gnome installed. Pike 7.1
_does_ work, but the 7.0 pro...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=703
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
This is on a Mandrake 7.1 system with helix-gnome installed. Pike 7.1
_does_ work, but the 7.0 problem that has been reported many times still
stands.
```
load_module("/usr/local/pike/7.0.271/lib/modules/___GTK.so") failed:
/usr/local/pike/7.0.271/lib/modules/___GTK.so: undefined symbol:
pgtk_gnome_applet_widget_bind_events
/usr/local/pike/7.0.271/lib/master.pike:377:
```
low_findprog("/usr/local/pike/7.0.271/lib/modules/___GTK",".so",0)
Gnome applet widget problems it seems.Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/701OCI_DEFAULT not defined in Oracle 7.2009-04-16T14:11:39ZPeter BortasOCI_DEFAULT not defined in Oracle 7.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=701
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
config.log for Oracle 7/Solaris 2.5.1 says:
```
configure:1258: checking for working Oracle...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=701
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
config.log for Oracle 7/Solaris 2.5.1 says:
```
configure:1258: checking for working Oracle libs
configure:1275:
/home/distmaker/Distmaker/2.1/build/pike.sol2.5.1/build/smartlink gcc -c
-I/i/oracle/7.3.4/oci/include -I/i/oracle/7.3.4/rdbms/demo/
-I/i/oracle/7.3.4/rdbms/public/ -I/i/oracle/7.3.4/network/public/
-I/i/oracle/7.3.4/plsql/public -I/i/oracle/7.3.4/otrace/public
-I/home/distmaker/Distmaker/2.1/link/sol2.5.1/include -I/usr/local/include
-I/home/distmaker/Distmaker/2.1/build/pike.sol2.5.1/pike/src
-I/home/distmaker/Distmaker/2.1/build/pike.sol2.5.1/build conftest.c 1>&5
configure:1266: oci.h: No such file or directory
configure: failed program was:
#line 1264 "configure"
#include "confdefs.h"
```
#include <oci.h>
int main() {
```
OCIInitialize(OCI_DEFAULT,0,0,0,0);
```
; return 0; }Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/690GC stage 90: Object count wrong before gc; expected 1869, got 1870.2009-04-16T14:11:39ZPeter BortasGC stage 90: Object count wrong before gc; expected 1869, got 1870.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=690
Reported by @grubba
Latest Pike 7.1 compiled with dmalloc (autobuild):
```
/tmp/autobuild-dm/pike7.1-20001108232206.tar/src/gc.c:1994: Fatal error:
Pike was in GC st...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=690
Reported by @grubba
Latest Pike 7.1 compiled with dmalloc (autobuild):
```
/tmp/autobuild-dm/pike7.1-20001108232206.tar/src/gc.c:1994: Fatal error:
Pike was in GC stage 90 when this fatal occured:
Object count wrong before gc; expected 1869, got 1870.
Attempting to dump backlog (may fail)...
Backtrace at time of fatal:
testsuite: Test 5538 (shift 1):1: a()
/tmp/autobuild-dm/pike7.1-20001108232206.tar/bin/test_pike.pike:572:
main(3,({"/tmp/autobuild-dm/pike7.1-20001108232206.tar/bin/test_pike.pike","modules/CommonLog/module_testsuite","modules/Gdbm/module_testsuite","modules/Gettext/module_testsuite",,,35}))
SIGABRT 6* abort (generated by abort(3) routine)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
si_errno [0]: Error 0
si_code [-1]: SI_LWP [pid: 24783, uid: 997]
stackpointer=FFBEE6A8
"Finalizer" (TID:0x196630c, sys_thread_t:0x1966250, state:CW, thread_t:
t@7, threadID:0xfde91d78, stack_bottom:0xfde92000, stack_size:0x20000)
prio=8
[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:106)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:128)
[3] java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:175)
-------------------
"Reference Handler" (TID:0x26cf0cc, sys_thread_t:0x26cf010, state:CW,
thread_t: t@6, threadID:0xfdec1d78, stack_bottom:0xfdec2000,
stack_size:0x20000) prio=10
[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:107)
-------------------
"Signal dispatcher" (TID:0x1725a9c, sys_thread_t:0x17259e0, state:MW,
thread_t: t@5, threadID:0xfdef1d78, stack_bottom:0xfdef2000,
stack_size:0x20000) prio=10
-------------------
"main" (TID:0x20b728c, sys_thread_t:0x20b71d0, state:R, thread_t: t@1,
threadID:0x12e2100, stack_bottom:0xffbf0000, stack_size:0x20000) prio=5
*current thread*
```
-------------------
Abort - core dumpedPike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/684Pike on NT busy waits2009-04-16T14:11:39ZPeter BortasPike on NT busy waitsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=684
Reported by Ronald Perrella, BellSouth.COM <ron.perrella@bellsouth.com>
I have noticed that after starting Roxen as a service on NT and
Windows/2000, the pike program...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=684
Reported by Ronald Perrella, BellSouth.COM <ron.perrella@bellsouth.com>
I have noticed that after starting Roxen as a service on NT and
Windows/2000, the pike program starts eating up CPU time. It is not a
large amount but it seems to use time even when the server is getting NO
hits.
In addition, the pike process uses 10mb of RAM. This seems kind of high
but is not important to me.
I am using the Roxen 2.1.135 version (according to the Version file.)Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/673Typo in Sql.pmod/sql_result.pike2009-04-16T14:11:39ZPeter BortasTypo in Sql.pmod/sql_result.pikeImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=673
Reported by @grubba
```
From: hollydog@urbi.com.br
To: roxen@roxen.com
Date: Tue, 7 Nov 2000 20:23:29 GMT
Subject: little bug in Sql.pmod
```
I found a little bug in...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=673
Reported by @grubba
```
From: hollydog@urbi.com.br
To: roxen@roxen.com
Date: Tue, 7 Nov 2000 20:23:29 GMT
Subject: little bug in Sql.pmod
```
I found a little bug in Sql.pmod/sql_result.pike :
in line 104, instead
```
master_res->seek(index);
```
should be
```
master_res->seek(skip);
```
Bye,
Marcio
Aguiar
---------------------------------------------
Este email foi enviado pelo webmail da Urbi Network.
http://www.urbi.com.br/Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/660Hilfe sessions rendered unusable after certain errors2009-04-16T14:11:39ZPeter BortasHilfe sessions rendered unusable after certain errorsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=660
Reported by Johan H Sundström, IDA <jhs@pike.ida.liu.se>
After entering an improper line like the one in this example, the
interactive pike session is rendered useles...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=660
Reported by Johan H Sundström, IDA <jhs@pike.ida.liu.se>
After entering an improper line like the one in this example, the
interactive pike session is rendered useless, since every new entered line
of pike code will get the same error from then on.
```
Pike v7.1 release 11 running Hilfe v2.0 (Incremental Pike Frontend)
> int x,int y;
> "Ah, shoot.";
-:2:int is a reserved word.
-:6:parse error
-:6:Missing ']'.
> dump
int :0
y :0
x :0
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/655ld: Invalid loader fixup in text space needed in output file2009-04-16T14:11:39ZPeter Bortasld: Invalid loader fixup in text space needed in output fileImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=655
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
linking _Image_TTF
ld: Invalid loader fixup in text space needed in output file for symbol
...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=655
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
linking _Image_TTF
ld: Invalid loader fixup in text space needed in output file for symbol
"$000003BD" in input file
"/home/distmaker/Distmaker/2.1/link/hpux11/lib/libttf.a(freetype.o)"
Linking failed:
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/bin/smartlink ld -b -o
module.sl image_ttf.o -R/home/distmaker/Distmaker/2.1/link/hpux11/lib
-L/home/distmaker/Distmaker/2.1/link/hpux11/lib -R/usr/local/lib
-L/usr/local/lib -ldld -lrt -lnsl -lm -lpthread -lttf
/i/gcc/2.95.2/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/libgcc.a -lc
/i/gcc/2.95.2/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/libgcc.a
cp: cannot access module.so: No such file or directory
make[2]: *** [dummy] Error 1
```Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/651Name space pollution part 22009-04-16T14:11:39ZPeter BortasName space pollution part 2Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=651
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
This one causes numerous problems with embedded PHP. spider.c defines a
non-static variable "empty...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=651
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
This one causes numerous problems with embedded PHP. spider.c defines a
non-static variable "empty_string". This is also used all over PHP4, where
it's supposed to be a (char *)"". Naturally, this is BAD. Two patches will
be attached. Please apply ASAP.Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/650Upon loading Oracle: Can't shl_load() a library containing Thread Local Storage2009-04-16T14:11:39ZPeter BortasUpon loading Oracle: Can't shl_load() a library containing Thread Local StorageImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=650
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
Oracle bugs out on Hopper:
```
$ ORACLE_HOME=/i/oracle/8.1.6 bin/pike
Pike v7.0 release 264 ru...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=650
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
Oracle bugs out on Hopper:
```
$ ORACLE_HOME=/i/oracle/8.1.6 bin/pike
Pike v7.0 release 264 running Hilfe v2.0 (Incremental Pike Frontend)
> Oracle;
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
Storage: /usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Result: object
>
```Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/649src/port.c:507: `HUGE' undeclared (first use in this function)2009-04-16T14:11:39ZPeter Bortassrc/port.c:507: `HUGE' undeclared (first use in this function)Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=649
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
echo /home/distmaker/Distmaker/2.1/build/pike.hpux11/build/smartlink gcc
-I. -I/home/distma...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=649
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
echo /home/distmaker/Distmaker/2.1/build/pike.hpux11/build/smartlink gcc
-I. -I/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src
-I/usr/local/include
-I/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src
-I/home/distmaker/Distmaker/2.1/build/pike.hpux11/build
-I/usr/local/include
-I/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src
-I/home/distmaker/Distmaker/2.1/build/pike.hpux11/build -W -Wall
-Wpointer-arith -Wno-unused -c
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src/port.c -o port.o
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src/port.c: In
function `STRTOD':
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src/port.c:403:
warning: subscript has type `char'
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src/port.c:416:
warning: subscript has type `char'
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src/port.c:507: `HUGE'
undeclared (first use in this function)
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src/port.c:507: (Each
undeclared identifier is reported only once
/home/distmaker/Distmaker/2.1/build/pike.hpux11/pike/src/port.c:507: for
each function it appears in.)
make[1]: *** [port.o] Error 1
make[1]: Leaving directory
`/home/distmaker/Distmaker/2.1/build/pike.hpux11/build'
make: *** [all] Error 2
```Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbström