Protocols.HTTP.Server problem with the Calendar module
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3110
Reported by Marek Habersack, The Caudium Group grendel@caudium.net
when Pike is installed with the --traditional parameter passed to install.pike, the line below (given either in a script or in hilfe) gives a longish backtrace (see the attachment):
Protocols.HTTP.Server.http_date(1);
The function above contains the following code:
Calendar.ISO_UTC.Second(time)->format_http();
When the offending line is preceeded by executing the above code by hand, the backtrace doesn't occur. Since ISO_UTC is a 'magic' index in the Calendar module, I suppose there's some confusion with path resolving, although I cannot find the reason why this is happening. When Pike is installed with the --new-style (the default) parameter, nothing of the above occurs.