pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2015-03-27T17:43:33Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/4851utime on a directory fails2015-03-27T17:43:33ZPeter Bortasutime on a directory failsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4851
Reported by Tor Edvardsson <tor@roxen.com>
On Windows, utime on a directory gives the following
```
Pike v7.8 release 286 running Hilfe v3.5 (Incremental Pike Fron...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4851
Reported by Tor Edvardsson <tor@roxen.com>
On Windows, utime on a directory gives the following
```
Pike v7.8 release 286 running Hilfe v3.5 (Incremental Pike Frontend)
> object o = file_stat("test");
> utime("test", o->atime, o->mtime);
Compiler Warning: 1: Returning a void expression. Converted to zero.
utime(): Failed: Access denied
HilfeInput:1: HilfeInput()->___HilfeWrapper()
```
on a normal file this works
```
Pike v7.8 release 286 running Hilfe v3.5 (Incremental Pike Frontend)
> object o = file_stat("test.txt");
> utime("test.txt", o->atime, o->mtime);
Compiler Warning: 1: Returning a void expression. Converted to zero.
(1) Result: 0
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4826New tds module does not handle bindings2020-03-01T15:11:04ZPeter BortasNew tds module does not handle bindingsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4826
Reported by Marcus Wellhardh <wellhard@roxen.com>
The new tds database module does not work with bindings.
Code, using "tds://test:test@burns/sparq" as connect stri...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4826
Reported by Marcus Wellhardh <wellhard@roxen.com>
The new tds database module does not work with bindings.
Code, using "tds://test:test@burns/sparq" as connect string:
```
void test_char(Sql.Sql db)
{
catch {
db->query("DROP TABLE dbtest");
};
db->query("CREATE TABLE dbtest ("
" ID INT, "
" MY_CHAR CHAR(32) "
")");
db->query("INSERT INTO dbtest (ID, MY_CHAR) VALUES "
"(1, %s)", "abcdefghijklmnopqrstuvxyz");
}
```
Backtrace:
```
15: :BURNS:1 Line 1: Incorrect syntax near ':'.
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/tds.pike:186:
Sql.tds()->tds_error("15: :BURNS:1 Line 1: Incorrect syntax near ':'.\n",1
5,"","BURNS",1,"Line 1: Incorrect syntax near ':'.")
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/tds.pike:677:
Sql.tds()->Connection()->process_msg(Sql.tds()->Connection()->InPacket(),1
70)
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/tds.pike:921:
Sql.tds()->Connection()->process_default_tokens(@0=Sql.tds()->Connection()
->InPacket(),170)
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/tds.pike:1043:
Sql.tds()->Connection()->process_result_tokens(@0)
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/tds.pike:1674:
Sql.tds()->big_query()->create(Sql.tds()->compile_query())
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/tds.pike:37:
Sql.tds()->big_query()
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/Sql.pike:535:
Sql.Sql()->query("INSERT INTO dbtest (ID, MY_CHAR) VALUES (2, :arg0)","abc
defghijklmnopqrstuvxyz")
/home/wellhard/projects/dbtest/dbtest.pike:78: /main()->test_char(Sql.Sql())
/home/wellhard/projects/dbtest/dbtest.pike:411: /main()->main()
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4818Timestamp gives backtrace in oracle module2009-05-19T16:07:04ZPeter BortasTimestamp gives backtrace in oracle moduleImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4818
Reported by Marcus Wellhardh <wellhard@roxen.com>
The timestamp datatype in the oracle module does not work.
The following code:
```
void test_timestamp(Sql.Sql db...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4818
Reported by Marcus Wellhardh <wellhard@roxen.com>
The timestamp datatype in the oracle module does not work.
The following code:
```
void test_timestamp(Sql.Sql db)
{
catch {
db->query("DROP TABLE dbtest");
};
db->query("CREATE TABLE dbtest ("
" id NUMBER, "
" my_varchar2 VARCHAR2(255), "
" my_timestamp TIMESTAMP"
")");
array(mapping) res =
db->query("SELECT * "
"FROM dbtest");
}
void main()
{
Sql.Sql db = Sql.Sql("oracle://scott:tiger@SNIGEL");
test_timestamp(db);
}
```
Gives the following backtrace:
```
OCIStmtFetch:code=-1:ORA-00932: inconsistent datatypes: expected BINARY got TIMESTAMP
src/modules/Oracle/oracle.c:2591:
Sql.oracle()->compile_query()->big_typed_query()->fetch_row()
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Oracle.pmod:65:
Sql.oracle()->big_query()->fetch_row()
/tmp/dbtest/roxen/server-5.0.352/pike/lib/pike/modules/Sql.pmod/Sql.pike:372:
Sql.Sql()->res_obj_to_array(Sql.oracle()->big_query())
/home/wellhard/projects/dbtest/dbtest.pike:26:
/main()->test_timestamp(Sql.Sql())
/home/wellhard/projects/dbtest/dbtest.pike:77: /main()->main()
```
Tested with roxen-5.0.352-test-cms-rhel5_x86.sh on lemmings.roxen.comPike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4793Workaround needed for silent kill() failure in OS X2020-03-01T15:10:00ZPeter BortasWorkaround needed for silent kill() failure in OS XImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4793
Reported by Jonas Wallden <jonasw@roxen.com>
Test 349 from modules/testsuite seems to hang intermittently on OS X. A distilled test case:
class Fnord {
```
int g...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4793
Reported by Jonas Wallden <jonasw@roxen.com>
Test 349 from modules/testsuite seems to hang intermittently on OS X. A distilled test case:
class Fnord {
```
int gnapp(int t)
{
int e;
werror("#%d: STARTING\n", t);
for (e = 0; e < 7; e++) {
for (int d = 0; d < 150; d++) {
object o = Process.create_process( ({ "/bin/sleep", "99999" }) );
int err = kill(o->pid(), 9);
o->wait();
}
}
werror("#%d: DONE\n", t);
return -1;
}
array start()
{
array a = ({ });
for (int e = 0; e < 10; e++)
a += ({ thread_create(gnapp, e) });
return a;
}
};
void main()
{
werror("starting...\n");
array res = Fnord()->start()->wait() - ({ -1 });
werror("res: %O\n", res);
}
```
With tracing enabled in signal_handler.c we've determined that the kill() call in f_kill() returns without error but doesn't terminate the targeted process. The problem has yet to be reduced to a standalone C program, but one hypothesis is that the forked /bin/sleep has not yet started completely before the SIGKILL signal is delivered and that the OS X kernel therefore disregards the signal.Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4773Protocols.HTTP.Query doesn't always remove timeout callback properly2009-06-22T12:40:53ZPeter BortasProtocols.HTTP.Query doesn't always remove timeout callback properlyImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4773
Reported by Tobias Liin <liin@roxen.com>
When using Protocols.HTTP.Query()->timed_async_fetch() both the ok callback
and the fail callback will be called, after a su...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4773
Reported by Tobias Liin <liin@roxen.com>
When using Protocols.HTTP.Query()->timed_async_fetch() both the ok callback
and the fail callback will be called, after a successful fetch.
```
### example: ###
object o;
int main() {
o = Protocols.HTTP.Query();
o->data_timeout = 4;
o->set_callbacks(req_ok, req_fail);
o->async_request("www.roxen.com", 80, "GET /index.xml HTTP/1.0");
return -1;
}
void req_ok() {
werror("req_ok(): %O\n", o);
o->timed_async_fetch(data_ok, data_fail);
}
void req_fail() {
werror("req_fail: %O()\n", o);
}
void data_ok() {
werror("data_ok: %O()\n", o);
}
void data_fail() {
werror("data_fail: %O()\n", o);
}
###############
```
The following patch for Query.pike v1.101 will fix it (I don't know if its
the best way though):
```
@@ -376,6 +376,7 @@
if (!zero_type (headers["content-length"]) &&
sizeof(buf)-datapos>=(int)headers["content-length"])
{
+ remove_call_out(async_timeout);
con->set_nonblocking(0,0,0);
request_ok(@extra_args);
}
```
It adds remove_call_out(async_timeout); in async_fetch_read() in the case
of all data having been received.Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4684Hilfe weirdness2009-11-17T17:52:30ZPeter BortasHilfe weirdnessImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4684
Reported by Jonas Wallden <jonasw@roxen.com>
```
Pike v7.8 release 146 running Hilfe v3.5 (Incremental Pike Frontend)
> mapping m = ([ 1 : "one", 2 : "two", 3 : "thr...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4684
Reported by Jonas Wallden <jonasw@roxen.com>
```
Pike v7.8 release 146 running Hilfe v3.5 (Incremental Pike Frontend)
> mapping m = ([ 1 : "one", 2 : "two", 3 : "three" ]);
> m & ({ 3 });
Compiler Error: 1: syntax error, unexpected '&'
Compiler Error: 1: Missing ';'.
Compiler Error: 2: syntax error, unexpected '&'
> (m) & ({ 3 });
(1) Result: ([ /* 1 element */
3: "three"
])
>
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4651pass variable contains null character to postgres may cause SQL error2009-04-16T14:11:39ZPeter Bortaspass variable contains null character to postgres may cause SQL errorImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4651
Reported by Eiichiro ITANI, <emu@ceres.dti.ne.jp>
I'm not sure this is bug, or wrong usage of tag.
It cause SQL error to throw query postgres with array variable.
S...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4651
Reported by Eiichiro ITANI, <emu@ceres.dti.ne.jp>
I'm not sure this is bug, or wrong usage of tag.
It cause SQL error to throw query postgres with array variable.
Suppose test.html contains these lines.
```
<emit source="sql" host="postgres-server"
query="SELECT :v AS v" bindings="v=form.v">
&_.v;
</emit>
```
Then, accessing
http://host/test.html?v=1&v=2
causes error
RXML run error: Query failed: ERROR: unterminated quoted string at or near
"'1"
LINE 1: SELECT '1
^
| <emit bindings="v=form.v" host="postgres-server" query="SELECT :v as v"
source="sql">
That error happened because null character directry passed to postgres server.
Of course, I should check and sanitize form.v to be plain string.
And I also noticed, accessing
http://host/test.html?v=abc%00def
this would make reply just "abc". I checked query log of postgres, and
found that query
as follows:
BEGIN
DECLARE _pikecursor CURSOR FOR SELECT 'abc' as v
FETCH 64 IN _pikecursor
FETCH 64 IN _pikecursor
COMMIT
Characters after null chopped.
Aren't they quoting problem of postgresql binding?Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4632Locale problems while building Pike2009-04-16T14:11:39ZPeter BortasLocale problems while building PikeImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4632
Reported by @zino
A Polish developer runs who ran "make" got this output:
```
Compiling tmodule.c
sed -e 's![^ -~]lib_prefix[^ -~]!/home/opera/instalki/pike-current...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4632
Reported by @zino
A Polish developer runs who ran "make" got this output:
```
Compiling tmodule.c
sed -e 's![^ -~]lib_prefix[^ -~]!/home/opera/instalki/pike-current/build/
linux-2.6.27-7-generic-x86_64/lib!' -e 's![^ -~]share_prefix[^ -~]!/home/
opera/instalki/pike-current/lib!' -e 's![^ -~]include_prefix[^ -~]!/home/
opera/instalki/pike-current/build/linux-2.6.27-7-generic-x86_64/bundles/
include/pike!' -e 's,x,x,' </home/opera/instalki/pike-current/lib/
master.pike.in >master.pike
sed: -e expression #1, char 99: Invalid range end
make[2]: *** [master.pike] Error 1
make[1]: *** [_make_in_builddir] Error 2
make: *** [compile] Error 2
```
With the following environment:
Ununtu
sed 4.1.5
make 3.61
tcsh 6.14.00-7ubutu1
LANG=pl_PL.UTF-8
LC_MESSAGES=C
The following patch from Piotr Smyrak fixes it, but I'm unsure about the
implications for legacy systems:
```
--- src/Makefile.in.orig 2008-11-07 15:26:57.000000000 +0100
+++ src/Makefile.in 2008-11-07 15:27:50.000000000 +0100
@@ -924,7 +924,7 @@
then u=s,x,x,; \
else u='s/^#undef PIKE_MODULE_RELOC/#define PIKE_MODULE_RELOC
1/'; \
fi; \
- LC_CTYPE=C; LC_LANG=C; export LC_CTYPE LC_LANG;
+ LC_CTYPE=C; LC_COLLATE=C; export LC_CTYPE LC_COLLATE; \
cmd="sed -e 's![^ -~]lib_prefix[^ -~]!`echo '$(TMP_LIBDIR)' | ./
posix_to_native.sh`!' \
-e 's![^ -~]share_prefix[^ -~]!`echo '$(LIBDIR_SRC)' | ./
posix_to_native.sh`!' \
-e 's![^ -~]include_prefix[^ -~]!`echo '$(TMP_BUILDDIR)/bundles/
include/pike' | ./posix_to_native.sh`!' \
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4605Comparing NaN with bignums yields FPE2009-11-17T19:08:26ZPeter BortasComparing NaN with bignums yields FPEImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4605
Reported by Martin Karlgren <marty@roxen.com>
```
Pike v7.4 release 528 running Hilfe v3.5 (Incremental Pike Frontend)
> float kNAN = sscanf("\x7f\xf8\0\0\0\0\0\0", ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4605
Reported by Martin Karlgren <marty@roxen.com>
```
Pike v7.4 release 528 running Hilfe v3.5 (Incremental Pike Frontend)
> float kNAN = sscanf("\x7f\xf8\0\0\0\0\0\0", "%8F", float _NAN) && _NAN;
> pow(2, 32) > kNAN;
Floating point exception
```
$ uname -a
Darwin gabrielle.roxen.com 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23
00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386 i386Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4579Hyperactive Directory Administrator does not work in 7.82009-04-16T14:11:39ZPeter BortasHyperactive Directory Administrator does not work in 7.8Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4579
Reported by @zino
Bills Hyperactive Directory Administrator (http://hww3.riverweb.com/
hdadmin/#download) that hasn't been updated since 2002 does not work with
7.8,...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4579
Reported by @zino
Bills Hyperactive Directory Administrator (http://hww3.riverweb.com/
hdadmin/#download) that hasn't been updated since 2002 does not work with
7.8, or 7.6 for that matter. The web page states it's been tested with
7.4.20, but even trying to run it in compatibility mode gives the same
resolver problem:
```
% ~/bin/pike77/bin/pike -M. -V 7.4.20 hdadmin.pike
util.pike:33:Trying to inherit placeholder program (resolver problem).
hdadmin.pike:31:Error finding program
hdadmin.pike:31:Illegal program pointer.
```
Granted, it will probably fail due to lack of GTK on all modern systems,
but that is another problem.
Caveat emptor: The 7.7 I'm using is slightly old and I haven't tried with
7.4. Just jotting it down for future study.Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4577switch() on types not working even when `==() succeeds2020-03-01T15:06:56ZPeter Bortasswitch() on types not working even when `==() succeedsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4577
Reported by Jonas Wallden <jonasw@roxen.com>
```
class Abstract { };
class Fruit { inherit Abstract; };
class Color { inherit Abstract; };
void main()
{
Fruit ban...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4577
Reported by Jonas Wallden <jonasw@roxen.com>
```
class Abstract { };
class Fruit { inherit Abstract; };
class Color { inherit Abstract; };
void main()
{
Fruit banana = Fruit();
Color yellow = Color();
werror("Is banana a fruit? %O\n", object_program(banana) == Fruit);
werror("Is yellow a fruit? %O\n", object_program(yellow) == Fruit);
switch (object_program(banana)) {
case Fruit:
werror("Yes, banana is still a fruit.\n");
break;
default:
werror("Banana is a... uh, don't remember.\n");
break;
}
}
```
Interestingly enough the program works if the inherit of Abstract is removed from the Fruit class.Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4576Parser.XML.Validating bails out with error for invalid content within nameles...2009-04-16T14:11:39ZPeter BortasParser.XML.Validating bails out with error for invalid content within nameless contextImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4576
Reported by Erik Forsberg, Opera Software <forsberg@opera.com>
Running this example script:
```
--begin example--
#!/usr/bin/env pike
class MyValidatingParser {
...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4576
Reported by Erik Forsberg, Opera Software <forsberg@opera.com>
Running this example script:
```
--begin example--
#!/usr/bin/env pike
class MyValidatingParser {
inherit Parser.XML.Validating;
string get_external_entity(string sysid, string|void pubid,
int|void unparsed, mixed ... extra)
{
Standards.URI uri = Standards.URI(sysid);
if(uri->scheme == "http") {
Protocols.HTTP.Query q = Protocols.HTTP.get_url(uri);
if(q->status == 200)
return q->data();
}
return 0;
}
}
int main(int argc, array(string) argv)
{
string example = #"
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml>
<card id=\"menu\" title=\"title\">
not allowed here
</card>
</wml>";
int num_errors=0;
MyValidatingParser p = MyValidatingParser();
p->parse(example,
lambda(string kind, string name, mapping attributes,
array|string contents,mapping(string:mixed) info) {
if(kind=="error") {
werror("Error: %s, character position: %d\n",
contents, info->location);
num_errors++;
}
});
if(!num_errors) write("Validated ok.\n");
return num_errors;
}
--end example--
```
I get the following traceback:
```
--begin traceback--
sprintf: Wrong type for argument 2: expected string, got int.
/usr/local/pike/7.7.85/lib/modules/Parser.pmod/XML.pmod/
Validating.pike:262:
/main()->MyValidatingParser()->__lambda_65649_2_line_261("Invalid
content
for element
%s.",0)
/usr/local/pike/7.7.85/lib/modules/Parser.pmod/XML.pmod/
Validating.pike:391:
/main()->MyValidatingParser()->validate
("",0,0,"\n"
"not allowed here\n",mapping[1],/main()->__lambda_65637_0_line_33,
({}))
export/spare/pike/data/pikefarm/out_work/7.7/Pike/7.7/src/modules/Parser/
xml.cmod:943:
/main()->MyValidatingParser()->Context()->parse_xml
()
validate_xml.pike:3:
/main()->MyValidatingParser()->parse(/main()->MyValidatingParser()-
>Contex
t
())
/usr/local/pike/7.7.85/lib/modules/Parser.pmod/XML.pmod/
Validating.pike:444:
/main()->MyValidatingParser()->parse
("\n"
"<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN
\"\n"
" \"http://www.wapforum.org/DTD/wml_1.1.xml\">
\n"
"<wml>
\n"
"<card id=\"menu\" title=\"title\">
\n"
"not allowed here
\n"
"</"+[13],@0)
validate_xml.pike:40:
/main()->main(1,({"/home/forsberg/dev/validate_xml.pike"}))
--end traceback--
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4575ODBC is broken on Windows2009-04-16T14:11:39ZPeter BortasODBC is broken on WindowsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4575
Reported by Marcus Wellhardh <wellhard@roxen.com>
When trying to create a odbc connection on Windows the server crashes.
Tested on 4.5.241 and 4.5.277.
```
C:\Progr...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4575
Reported by Marcus Wellhardh <wellhard@roxen.com>
When trying to create a odbc connection on Windows the server crashes.
Tested on 4.5.241 and 4.5.277.
```
C:\Program Files\Roxen Internet Software\Roxen
CMS-4.5.277\server-4.5.277\pike\bin>pike
Pike v7.4 release 562 running Hilfe v3.5 (Incremental Pike Frontend)
> object db = Sql.Sql("odbc://test:test@rt3");
Unexpected error from thread function: 6
Backtrace at time of fatal:
Sql.odbc: object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Sql.pmod/odbc.pike)->create("rt3","","test","test")
C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Sql.pmod/Sql.pike:230:
object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Sql.pmod/Sql.pike)->create("CENSORED",UNDEFINED,"test","CENSORED",UNDEFINED)
HilfeInput:1: object(HilfeInput)->__INIT()
C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1890:
object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1961)->hilfe_compile("object
db = Sql.Sql(\"odbc://test:test@rt3\");\nmixed ___HilfeWrapper() { return
db; }","db")
C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1368:
object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1961)->add_hilfe_variable("object","db
= Sql.Sql(\"odbc://test:test@rt3\")","db")
C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1681:
object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1961)->parse_expression(object(C:/Program
Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:724))
C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1319:
object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1961)->add_buffer("object
db = Sql.Sql(\"odbc://test:test@rt3\");")
C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1270:
object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1961)->add_input_line("object
db = Sql.Sql(\"odbc://test:test@rt3\");")
C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:2043:
object(C:/Program Files/Roxen Internet Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod:1961)->create()
object_program(Tools.Hilfe): object(C:/Program Files/Roxen Internet
Software/Roxen
CMS-4.5.277/server-4.5.277/pike/lib/modules/Tools.pmod/Hilfe.pmod)->StdinHilfe()
```Pike 7.4Henrik (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/4564precompile.sh installed with incorrect permissions2009-04-16T14:11:39ZPeter Bortasprecompile.sh installed with incorrect permissionsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4564
Reported by @zino
precompile.sh is installed without execute permissions in 7.7 which breaks
building of some external modules:
/usr/local/pike/7.7.157/include/pike...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4564
Reported by @zino
precompile.sh is installed without execute permissions in 7.7 which breaks
building of some external modules:
/usr/local/pike/7.7.157/include/pike/precompile.sh --cache precompile.pike
>"upnp.c" "upnp.cmod" || { rm "upnp.c"; exit 1; }
/bin/sh: /usr/local/pike/7.7.157/include/pike/precompile.sh: Permission
deniedPike 7.8Peter BortasPeter Bortashttps://git.lysator.liu.se/pikelang/pike/-/issues/4560Protocols.HTTP.http_encode_query() does not encode strings correctly2009-04-16T14:11:39ZPeter BortasProtocols.HTTP.http_encode_query() does not encode strings correctlyImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4560
Reported by Martin Karlgren <marty@roxen.com>
According to RFC 3986, section 2.5, the last paragraph, URI (sub)strings
should first be UTF-8-encoded and then percent...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4560
Reported by Martin Karlgren <marty@roxen.com>
According to RFC 3986, section 2.5, the last paragraph, URI (sub)strings
should first be UTF-8-encoded and then percent-encoded. That's not the case
with queries returned by http_encode_query().
```
Example:
> Protocols.HTTP.http_encode_query( ([ "foo":"räksmörgås" ]) );
(6) Result: "foo=r\344ksm\366rg\345s"
```
Expected result:
"foo=r%c3%a4ksm%c3%b6rg%c3%a5s"Pike 7.8https://git.lysator.liu.se/pikelang/pike/-/issues/4525Overflow error in mktime when sizeof(time_t) > sizeof(INT_TYPE)2009-04-16T14:11:39ZPeter BortasOverflow error in mktime when sizeof(time_t) > sizeof(INT_TYPE)Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4525
Reported by Henry Umansky, Princeton University <humansky@princeton.edu>
Found a bug with the <date> tag. If you enter an ISO time of 1901-01-01
hh:mm, you get the w...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4525
Reported by Henry Umansky, Princeton University <humansky@princeton.edu>
Found a bug with the <date> tag. If you enter an ISO time of 1901-01-01
hh:mm, you get the wrong output.
Ex:
<date iso-time="1901-01-01 13:15" />
outputs (incorrectly):
15:45, December the 13th, 1901
<date iso-time="2001-01-01 13:15" />
outputs (correctly):
13:15, January the 1st, 2001Pike 7.4https://git.lysator.liu.se/pikelang/pike/-/issues/4483Protocols.SMTP.Client()->send_message() lets bare LF's slip through2022-08-28T23:33:13ZPeter BortasProtocols.SMTP.Client()->send_message() lets bare LF's slip throughImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4483
Reported by Mathias Södermark <mathias@roxen.com>
Protocols.SMTP.Client()->send_message() does not convert bare LF's to CR-LF
or throw an error that they are not all...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4483
Reported by Mathias Södermark <mathias@roxen.com>
Protocols.SMTP.Client()->send_message() does not convert bare LF's to CR-LF
or throw an error that they are not allowed.Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4465Pike-7.7 fails to build on MacOSX (Darwin 9.1.0) PPC2009-11-19T15:08:41ZPeter BortasPike-7.7 fails to build on MacOSX (Darwin 9.1.0) PPCImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4465
Reported by Philip Yi, Self <philipyi@mac.com>
Build loops on processing Gmp module. Attached is the last part of huge compilelog.txtImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4465
Reported by Philip Yi, Self <philipyi@mac.com>
Build loops on processing Gmp module. Attached is the last part of huge compilelog.txtPike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4464Pike-7.6 Does Not Build on MacOSX (Darwin 9.1.0) PPC2009-04-16T14:11:39ZPeter BortasPike-7.6 Does Not Build on MacOSX (Darwin 9.1.0) PPCImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4464
Reported by Philip Yi, Self <philipyi@mac.com>
Please see the Pikefarm result under machine iMac.local.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4464
Reported by Philip Yi, Self <philipyi@mac.com>
Please see the Pikefarm result under machine iMac.local.Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbström