pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2023-01-01T13:02:07Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/10005The fdlib changes in Pike 8.0.606 broke support for sprshd on NT.2023-01-01T13:02:07ZHenrik (Grubba) GrubbströmThe fdlib changes in Pike 8.0.606 broke support for sprshd on NT.`sprshd` works as usual with Pike 8.0.604.
In Pike 8.0.606 and later it hangs when spawning the first external binary.`sprshd` works as usual with Pike 8.0.604.
In Pike 8.0.606 and later it hangs when spawning the first external binary.Pike 8.0https://git.lysator.liu.se/pikelang/pike/-/issues/8022The compiler leaks types.2022-08-29T17:40:51ZPeter BortasThe compiler leaks types.Imported from https://youtrack.roxen.com/issue/PIKE-22
Reported by @grubba
Blocking [PIKE-20](#8020)
The resulting type from resolving the auto return type
leaked when there was more than one return statement.Imported from https://youtrack.roxen.com/issue/PIKE-22
Reported by @grubba
Blocking [PIKE-20](#8020)
The resulting type from resolving the auto return type
leaked when there was more than one return statement.https://git.lysator.liu.se/pikelang/pike/-/issues/8023The compiler crashes when compiling some files.2022-08-29T17:40:51ZPeter BortasThe compiler crashes when compiling some files.Imported from https://youtrack.roxen.com/issue/PIKE-23
Reported by @grubba
Blocking [PIKE-20](#8020)
Recovers from issue where the compiler context could come out of
sync due to syntax errors in nested classes. This could in turn
lead...Imported from https://youtrack.roxen.com/issue/PIKE-23
Reported by @grubba
Blocking [PIKE-20](#8020)
Recovers from issue where the compiler context could come out of
sync due to syntax errors in nested classes. This could in turn
lead to various obscure errors, some of which were fatal.https://git.lysator.liu.se/pikelang/pike/-/issues/3082Testsuite dump core in image module tests2009-04-16T14:11:39ZPeter BortasTestsuite dump core in image module testsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3082
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3082
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>Pike 7.4https://git.lysator.liu.se/pikelang/pike/-/issues/105Test fails for string_to_unicode2009-04-16T14:11:39ZPeter BortasTest fails for string_to_unicodeImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=105
Reported by Andreas Lange, <a.lange@home.se>
This shows up in all the latest verifications in Autobuild but only for
Solaris8 IA32.
One of the builds with this probl...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=105
Reported by Andreas Lange, <a.lange@home.se>
This shows up in all the latest verifications in Autobuild but only for
Solaris8 IA32.
One of the builds with this problem:
http://community.roxen.com/developers/autobuild/build_results/reports/pike7.1-20000824183055-sunos-5.8-i86pc.verify.txt
```
testsuite: Test 9214 (shift 0) (CRNL) failed.
1: mixed a() { return string_to_unicode("foo"); }
2: mixed b() { return "\0f\0o\0o"; }
o->a(): "\0f\0o?o"
o->b(): "\0f\0o\0o"
testsuite: Test 9215 (shift 1) (CRNL) failed.
1: mixed a() { return string_to_unicode("blä"); }
2: mixed b() { return "\0b\0l\0ä"; }
o->a(): "\0b\0l?ä"
o->b(): "\0b\0l\0ä"
Grubba's suggestion: MEMSET fails to clear the high bit here:
---
switch(in->size_shift) {
case 0:
/* Just 8bit characters */
len = in->len * 2;
out = begin_shared_string(len);
MEMSET(out->str, 0, len); /* Clear the upper (and lower) byte */
for(i = in->len; i--;) {
out->str[i * 2 + 1] = in->str[i];
}
out = end_shared_string(out);
break;
---
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2687Test bug2009-04-16T14:11:39ZPeter BortasTest bugImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2687
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Test bug. Please ignore.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2687
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Test bug. Please ignore.Pike 7.6https://git.lysator.liu.se/pikelang/pike/-/issues/10129System.TM timezone confusion2023-11-04T09:09:09ZHenrik (Grubba) GrubbströmSystem.TM timezone confusionFrom LysLysKOM 26017901:
```
26017901 2023-10-12 17:13 /39 rader/ ceder (-) Per Cederqvist
Mottagare: Pike (-) developers forum <21425>
Ärende: System.TM timezone confusion
------------------------------------------------------------
``...From LysLysKOM 26017901:
```
26017901 2023-10-12 17:13 /39 rader/ ceder (-) Per Cederqvist
Mottagare: Pike (-) developers forum <21425>
Ärende: System.TM timezone confusion
------------------------------------------------------------
```
System.TM does not work as advertised. The documentation says that
the timezone will be UTC when you supply a number to the constructor,
but that does not appear to be the case. Note how the timezone is
CEST no matter how I initialize the TM object, but the reported hours
differ:
```
$ pike
Pike v9.0 release 1 running Hilfe v3.5 (Incremental Pike Frontend)
> mixed t = System.TM(1697121800);
> t;
(1) Result: System.TM(Thu Oct 12 15:43:20 2023 CEST)
> t->gmtime(1697121800);
(2) Result: 1
> t;
(3) Result: System.TM(Thu Oct 12 15:43:20 2023 CEST)
> t->localtime(1697121800);
(4) Result: 1
> t;
(5) Result: System.TM(Thu Oct 12 16:43:20 2023 CEST)
```
The result (5) makes sense: it matches what I would expect. But
the hour should be set to 14, not 15:
```
> mixed c = Calendar.ISO.Second(1697121800);
> c->set_timezone("UTC");
> c;
(5) Result: Second(Thu 12 Oct 2023 16:43:20 CEST)
> mixed u = c->set_timezone("UTC");
> u;
(6) Result: Second(Thu 12 Oct 2023 14:43:20 UTC)
```
This also agrees with my private utility for converting a time_t value
to the local timezone and UTC (this one is written in Python):
```
$ time_t2date 1697121800
2023-10-12 16:43:20 CEST
2023-10-12 14:43:20 GMT
```
Tested on the current master, and a few older Pike versions.
```
(26017901) /ceder (-) Per Cederqvist/---------------
```Pike 8.0https://git.lysator.liu.se/pikelang/pike/-/issues/8103System.normalize_path() fails on UTF-8 path.2018-05-14T13:42:27ZPeter BortasSystem.normalize_path() fails on UTF-8 path.Imported from https://youtrack.roxen.com/issue/PIKE-103
Reported by @grubba
```
Path normalization failure for "testdir0/test_x_put_copy_move_delete/åÅäÄöÖæÆüÜñÑ@":
normalize_path: File not found.
-:1: System.normalize_path...Imported from https://youtrack.roxen.com/issue/PIKE-103
Reported by @grubba
```
Path normalization failure for "testdir0/test_x_put_copy_move_delete/åÅäÄöÖæÆüÜñÑ@":
normalize_path: File not found.
-:1: System.normalize_path("C:/disttest/install test/ws_6_2/var/testsuite/webdav/testdir0/test_x_put_copy_move_delete/Ã¥Ã\205äÃ\204öÃ\226æÃ\206üÃ\234ñÃ\221@")
C:/disttest/install test/ws_6_2/server-6.2.128/modules/filesystems/filesystem.pike (b7348cf2):56: RoxenModule(Test server 1/filesystem1. 1)->normalize_path("C:/disttest/install test/ws_6_2/var/testsuite/webdav/testdir0/test_x_put_copy_move_delete/Ã¥Ã\205äÃ\204öÃ\226æÃ\206üÃ\234ñÃ\221@")
C:/disttest/install test/ws_6_2/server-6.2.128/modules/filesystems/filesystem.pike (b7348cf2):538: RoxenModule(Test server 1/filesystem1. 1)->low_real_path("testdir0/test_x_put_copy_move_delete/åÅäÄöÖæÆüÜñÑ@",RequestID(/webdav/testdir0/test_x_put_copy_move_delete/))
C:/disttest/install test/ws_6_2/server-6.2.128/modules/filesystems/filesystem.pike (b7348cf2):573: RoxenModule(Test server 1/filesystem1. 1)->real_path("testdir0/test_x_put_copy_move_delete/åÅäÄöÖæÆüÜñÑ@",@0=RequestID(/webdav/testdir0/test_x_put_copy_move_delete/))
C:/disttest/install test/ws_6_2/server-6.2.128/modules/filesystems/filesystem.pike (b7348cf2):448: RoxenModule(Test server 1/filesystem1. 1)->stat_file("testdir0/test_x_put_copy_move_delete/åÅäÄöÖæÆüÜñÑ@",@0)
/disttest/install test/ws_6_2/server-6.2.128/base_server/module.pike (85b3b74c):587: RoxenModule(Test server 1/filesystem1. 1)->query_property_set("testdir0/test_x_put_copy_move_delete/åÅäÄöÖæÆüÜñÑ@",@0)
/disttest/install test/ws_6_2/server-6.2.128/base_server/module.pike (85b3b74c):642: RoxenModule(Test server 1/filesystem1. 1)->recurse("testdir0/test_x_put_copy_move_delete/åÅäÄöÖæÆüÜñÑ@",2147483646)
/disttest/install test/ws_6_2/server-6.2.128/base_server/module.pike (85b3b74c):667: RoxenModule(Test server 1/filesystem1. 1)->recurse("testdir0/test_x_put_copy_move_delete/",2147483646)
/disttest/install test/ws_6_2/server-6.2.128/base_server/module.pike (85b3b74c):677: RoxenModule(Test server 1/filesystem1. 1)->recurse_find_properties("testdir0/test_x_put_copy_move_delete/","DAV:propname",2147483647,@0,UNDEFINED)
C:/disttest/install test/ws_6_2/server-6.2.128/modules/misc/webdav.pike (eda515f2):713: RoxenModule(Test server 1/webdav1. 0)->__lambda_67143_2_line_711("testdir0/test_x_put_copy_move_delete/","/webdav/",2147483647,RoxenModule(Test server 1/filesystem1. 1),@0)
C:/disttest/install test/ws_6_2/server-6.2.128/modules/misc/webdav.pike (eda515f2):877: RoxenModule(Test server 1/webdav1. 0)->handle_webdav(@0)
C:/disttest/install test/ws_6_2/server-6.2.128/modules/misc/webdav.pike (eda515f2):186: RoxenModule(Test server 1/webdav1. 0)->first_try(@0)
/disttest/install test/ws_6_2/server-6.2.128/base_server/configuration.pike (01144b2c):2726: Configuration(Test server 1)->handle_request(@0,UNDEFINED)
/disttest/install test/ws_6_2/server-6.2.128/protocols/http.pike (74651ff3):3247: RequestID(/webdav/testdir0/test_x_put_copy_move_delete/)->handle_request()
/disttest/install test/ws_6_2/server-6.2.128/protocols/http.pike (74651ff3):3178: RequestID(/webdav/testdir0/test_x_put_copy_move_delete/)->handle_request_from_queue()
/disttest/install test/ws_6_2/server-6.2.128/base_server/roxen.pike (3e153f19):734: roxen()->handler_thread(13)
```https://git.lysator.liu.se/pikelang/pike/-/issues/8042System Inotify attempts to call destructed functions2020-03-22T16:59:46ZPeter BortasSystem Inotify attempts to call destructed functionsImported from https://youtrack.roxen.com/issue/PIKE-42
Reported by KG Sterneberg <kg@roxen.com>
```
Unknown program: destructed object->function(1,32768,0,"")
pike/lib/modules/System.pmod/_Inotify.so:1: System._Inotify._Instance()->po...Imported from https://youtrack.roxen.com/issue/PIKE-42
Reported by KG Sterneberg <kg@roxen.com>
```
Unknown program: destructed object->function(1,32768,0,"")
pike/lib/modules/System.pmod/_Inotify.so:1: System._Inotify._Instance()->poll()
-:1: Pike.Backend(0)->`()(3600.0)
```Pike 8.0https://git.lysator.liu.se/pikelang/pike/-/issues/3995Syntax error with constant within function gives segmentation fault2009-04-16T14:11:39ZPeter BortasSyntax error with constant within function gives segmentation faultImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3995
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
foo.pike:
```
int main(int argc, array argv)
{
constant settings = ([
"thumb":([ "small...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3995
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
foo.pike:
```
int main(int argc, array argv)
{
constant settings = ([
"thumb":([ "small":([ "maxwidth":100,
"maxheight":100
])
]);
]);
return 0;
}
```
gives:
```
$ pike foo.pike
/tmp/foo.pike:7:Missing ']'.
/tmp/foo.pike:7:syntax error, unexpected ';', expecting ')'
/tmp/foo.pike:7:Missing ')'.
Segmenteringsfel
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/8229Sync fixes from REP.SqlTools.SqlTable to Pike's SqlTable.pike (and then remov...2020-03-05T18:08:44ZPeter BortasSync fixes from REP.SqlTools.SqlTable to Pike's SqlTable.pike (and then remove REP.SqlTools.SqlTable)Imported from https://youtrack.roxen.com/issue/PIKE-229
Reported by KG Sterneberg <kg@roxen.com>Imported from https://youtrack.roxen.com/issue/PIKE-229
Reported by KG Sterneberg <kg@roxen.com>https://git.lysator.liu.se/pikelang/pike/-/issues/2815Symlink detection broken in Stdio.Stat2009-04-16T14:11:39ZPeter BortasSymlink detection broken in Stdio.StatImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2815
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
bash-2.03$ cd Pike/7.3/src/
bash-2.03$ ls -la Pike.pmod
lrwxrwxrwx 1 nilsson nilsson 56 Nov 1...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2815
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
```
bash-2.03$ cd Pike/7.3/src/
bash-2.03$ ls -la Pike.pmod
lrwxrwxrwx 1 nilsson nilsson 56 Nov 1 20:33 Pike.pmod ->
/home/nilsson/Pike/7.3/lib/modules/Parser.pmod/Pike.pmod
bash-2.03$ pike
Pike v7.3 release 14 running Hilfe v3.1 (Incremental Pike Frontend)
> object x=file_stat("Pike.pmod");
> x->mode;
Result 1: 33204
> x->islnk;
Result 2: 0
```Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/448Symbols missing when compiling --without-bugnums.2009-04-16T14:11:39ZPeter BortasSymbols missing when compiling --without-bugnums.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=448
Reported by @grubba
/home/grubba/src/Pike7.1/build/darwin/smartlink cc -I.
-I/home/grubba/src/Pike7.1/src -I/home/grubba/src/Pike7.1/src
-I/home/grubba/src/Pike7.1/bu...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=448
Reported by @grubba
/home/grubba/src/Pike7.1/build/darwin/smartlink cc -I.
-I/home/grubba/src/Pike7.1/src -I/home/grubba/src/Pike7.1/src
-I/home/grubba/src/Pike7.1/build/darwin -g -framework Zip -O2 -pipe -W
-Wall -Wno-unused -Wcomment -Wformat -Wimplicit-function-declaration
-Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts
-Wno-long-long language.o security.o bignum.o interpret.o constants.o
cpp.o fdlib.o cyclic.o array.o backend.o callback.o encode.o docode.o
dynamic_buffer.o dynamic_load.o error.o fd_control.o fsort.o gc.o
hashtable.o lex.o multiset.o signal_handler.o pike_types.o main.o mapping.o
pike_memory.o module.o module_support.o object.o opcodes.o operators.o
port.o program.o rusage.o stralloc.o stuff.o threads.o version.o queue.o
builtin.o svalue.o las_t.o builtin_functions_t.o peep_t.o `cat
modules/linker_options` -o tpike
/usr/bin/ld: Undefined symbols:
_int64_from_bignum
_is_bignum_objectPike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/8115Support throwing errors through the sass compiler.2018-06-20T10:47:34ZPeter BortasSupport throwing errors through the sass compiler.Imported from https://youtrack.roxen.com/issue/PIKE-115
Reported by @grubbaImported from https://youtrack.roxen.com/issue/PIKE-115
Reported by @grubbahttps://git.lysator.liu.se/pikelang/pike/-/issues/3755Support for TLS 1.12009-04-16T14:11:39ZPeter BortasSupport for TLS 1.1Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3755
Reported by @grubba
```
From: "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
Organization: Opera Software AS
To: "grubba@roxen.com" <grubba@ro...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3755
Reported by @grubba
```
From: "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
Organization: Opera Software AS
To: "grubba@roxen.com" <grubba@roxen.com>,
"nilsson@roxen.com" <nilsson@roxen.com>, "bill@roxen.com"
<bill@roxen.com>
Cc: Yngve N. Pettersen <yngve@opera.com>, Developer Opera Software ASA:
Date: Sun, 04 Jul 2004 19:35:57 +0200
Subject: Roxen/Pike is not TLS (Transport Layer Security) forward
compatible with TLS 1.1
```
Hi,
I noticed your names in recent updates of the file "handshake.pike" file
of the Roxen/Pike CVS repository, and I am sending this email directly to
you as I assume you would be the ones to handle this report anyway. Just
in case I'm writing this in English.
I am a developer with Opera Software ASA, and one of my work areas is the
Opera browser's SSL/TLS protocol support.
I've recently been testing Opera's new TLS 1.1 implementation (presently
an IETF draft status document) and have unfortunately found that the
Roxen/Pike server is not (at least according to my understanding) properly
implementing RFC 2246.
The result is that no TLS 1.1 capable client is able to connect to a
Roxen/Pike TLS server, *unless* TLS 1.1 is disabled.
If I read the source at
http://community.roxen.com/_internal/cvsview!0/94970/1.49/1/handshake.pike
correctly, any version number higher than 3.1 (TLS 1.0) will result in a
closed connection.
RFC 2246 (and the SSL v3 specification before it) clearly states (RFC 2246
sec. 7.4.1.2 and 7.4.1.3):
client_version
The version of the TLS protocol by which the client wishes to
communicate during this session. This should be the latest
(highest valued) version supported by the client. For this
version of the specification, the version will be 3.1
server_version
This field will contain the lower of that suggested by the client
in the client hello and the highest supported by the server. For
this version of the specification, the version is 3.1
Similar language exists in the TLS 1.1 draft, except the version number is
3.2.
This means that a client even if the client sends version 3.0 the server
should respond with 3.0, but it also imply that if the client sends
version 3.2 the server should send 3.1 (if TLS 1.0 is the highest version
supported).
According to my reading, Roxen/Pike does not do this at present, it just
terminates the connection.
What your code should do is to keep the version number sent by the client
in a separate version number storage, as it is needed to validate the RSA
encrypted premaster secret message block (RFC 2246 sec 7.4.7.1), and then
set the actual version number to be used to the lowest version number of
the higest supported by the client and the highest supported by the
server. In your case that means falling back to TLS 1.0.
IMO you should fix this problem as soon as possible.
I expect that TLS 1.1 will become an RFC within 3-12 months (just my
opinion, something might delay it), and Opera will most likely start
shipping final versions with TLS 1.1 shortly afterwards. AFAIK there are
at least two TLS 1.1 capable software libraries available: GnuTLS and
cryptolib.
References:
TLS 1.0: http://www.ietf.org/rfc/rfc2246.txt
TLS 1.1 draft:
http://www.ietf.org/internet-drafts/draft-ietf-tls-rfc2246-bis-06.txt
--
Sincerely,
Yngve N. Pettersen
********************************************************************
Senior Developer Email: yngve@opera.com
Opera Software ASA http://www.opera.com/
Phone: +47 24 16 42 60 Fax: +47 24 16 40 01
********************************************************************Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2480Support for SSL "no certificates" error.2009-04-16T14:11:39ZPeter BortasSupport for SSL "no certificates" error.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2480
Reported by @grubba
```
From: "Bill.Welliver@fairchildsemi.com" <Bill.Welliver@fairchildsemi.com>
To: "pike@roxen.com" <pike@roxen.com>
Date: Thu, 1 Nov 2001 13:36:2...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2480
Reported by @grubba
```
From: "Bill.Welliver@fairchildsemi.com" <Bill.Welliver@fairchildsemi.com>
To: "pike@roxen.com" <pike@roxen.com>
Date: Thu, 1 Nov 2001 13:36:20 -0500
Subject: Patches
```
I've been working on a project using PiGTK and the LDAP client in Pike, and
along the way I made some fixes and additions. I'd like to contribute these
to the pike source, if they're suitable. There are 3 patches in this
message.
Item 1: without this patch, a server that requests a certificate of a
client is sent a fatal handshake error. According to the SSL3 spec, we can
just return a "no certificates" message, and let the server deal with that
(usually the request is made to do authentication against the cert).
--- lib/modules/SSL.pmod/handshake.pike.orig Wed Oct 24 15:15:30 2001
+++ lib/modules/SSL.pmod/handshake.pike Wed Oct 24 15:06:22 2001
```
@@ -1038,10 +1039,13 @@
array(int) cert_types = input->get_var_uint_array(1, 1);
// int num_distinguished_names = input->get_uint(2);
// array(string) distinguished_names =
- send_packet(Alert(ALERT_fatal, ALERT_unexpected_message, version[1],
- "SSL.session->handle_handshake: unexpected
message\n",
+// send_packet(Alert(ALERT_fatal, ALERT_unexpected_message,
version[1],
+// "SSL.session->handle_handshake: unexpected message\n",
+// backtrace()));
+ send_packet(Alert(ALERT_warning, ALERT_no_certificate, version[1],
+ "", backtrace()));
- return -1;
+// return -1;
}
break;
```Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/496su -c "make install" fails2009-04-16T14:11:39ZPeter Bortassu -c "make install" failsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=496
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Trying to build Pike in "luser-mode" and then installing with su -c "make
install" fails
```
[ian@barbarella buil...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=496
Reported by Ian Delahorne, Roxen IS <ian@roxen.com>
Trying to build Pike in "luser-mode" and then installing with su -c "make
install" fails
```
[ian@barbarella build]$ su -c "make install"
Password:
/home/ian/cvs/Pike/7.1/src/build/pike -DNOT_INSTALLED
-m/home/ian/cvs/Pike/7.1/src/build/master.pike
/home/ian/cvs/Pike/7.1/src/pike-module.in
--fixate=/home/ian/cvs/Pike/7.1/src/pike-module.in \
--set='make=make' --set='make_flags=' \
--set='prefix=/usr/local' --set='pike=/usr/local/bin/pike' \
--set='include_path=/usr/local/include/pike' \
--set='lib_prefix=/home/ian/cvs/Pike/7.1/src/build/lib'
--set='share_prefix=/home/ian/cvs/Pike/7.1/lib' \
--output=pike-module
Couldn't open file pike-module.
/home/ian/cvs/Pike/7.1/src/pike-module.in:157:
main(10,({"/home/ian/cvs/Pike/7.1/src/pike-module.in",0,0,0,0,0,0,0,0,0}))
make: *** [pike-module] Error 10
[ian@barbarella build]$
```Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/7494Subtraction of multisets containing objects is broken in Pike 8.0.81.2015-05-11T17:32:36ZPeter BortasSubtraction of multisets containing objects is broken in Pike 8.0.81.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7494
Reported by @grubba
```
Pike v7.8 release 923 running Hilfe v3.5 (Incremental Pike Frontend)
> class Foo(int a) { int `<(mixed x) { return objectp(x) && (a < x->a); ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7494
Reported by @grubba
```
Pike v7.8 release 923 running Hilfe v3.5 (Incremental Pike Frontend)
> class Foo(int a) { int `<(mixed x) { return objectp(x) && (a < x->a); } }
> multiset m = (< @map(allocate(5), Foo) >);
> m - (< 0 >);
(1) Result: (< /* 5 elements */
HilfeInput()->Foo(),
HilfeInput()->Foo(),
HilfeInput()->Foo(),
HilfeInput()->Foo(),
HilfeInput()->Foo()
>)
Pike v8.0 release 81 running Hilfe v3.5 (Incremental Pike Frontend)
> class Foo(int a) { int `<(mixed x) { return objectp(x) && (a < x->a); } }
> multiset m = (< @map(allocate(5), Foo) >);
> m - (< 0 >);
(1) Result: (< >)
```Pike 8.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4573String indexing error2009-04-16T14:11:39ZPeter BortasString indexing errorImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4573
Reported by Jonas Wallden <jonasw@roxen.com>
"foobar"[1..Int.NATIVE_MAX] no longer works as it did in 7.4.
```
Pike v7.8 release 24 running Hilfe v3.5 (Incremental ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4573
Reported by Jonas Wallden <jonasw@roxen.com>
"foobar"[1..Int.NATIVE_MAX] no longer works as it did in 7.4.
```
Pike v7.8 release 24 running Hilfe v3.5 (Incremental Pike Frontend)
> "foobar"[1..Int.NATIVE_MAX];
(1) Result: ""
> "foobar"[1..Int.NATIVE_MAX - 1];
(2) Result: "oobar"
>
```
Compare this with 7.4 (with the max int expanded since it's not available as a constant):
```
running Hilfe v3.5 (Incremental Pike Frontend)
> "foobar"[1..0x7fffffff];
(1) Result: "oobar"
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/8202Stringify Thread.MutexKey in backtraces2020-03-05T18:00:29ZPeter BortasStringify Thread.MutexKey in backtracesImported from https://youtrack.roxen.com/issue/PIKE-202
Reported by Jonas Walldén <jonasw@roxen.com>
The improved `_sprintf()` in `Thread.MutexKey` is not visible in backtraces since that code excludes certain objects to avoid unwanted...Imported from https://youtrack.roxen.com/issue/PIKE-202
Reported by Jonas Walldén <jonasw@roxen.com>
The improved `_sprintf()` in `Thread.MutexKey` is not visible in backtraces since that code excludes certain objects to avoid unwanted references. It would be helpful if the stringified form of the object is substituted instead in `low_backtrace()` (where it currently inserts a `FakeObject` placeholder).