Hello,
I got strange differences between the startup of pike 7.4 release 13 and pike 7.3 release 60
pike 7.3.30 doing a line like pike -I server/include/ -M server/libraries/ -P server server/server.pike will start "server.pike"
pike 7.4.13 will return with:
Pike: Couldn't find script to execute ("/home/balduin/cs133/pike4/steam/-M")
pwd is: /home/balduin/cs133/pike4/steam doing
pike --include-path=./server/include/ --module-path=./server/libraries/ --program-path=server ./server/server.pike
on the other hand will work properly.
yet pike --help will report the short forms as still valid
--- Ludger
It should work. Seems like Getopt.pmod got broken in revision 1.22:
revision 1.22 date: 2002/11/15 02:57:35; author: nilsson; state: Exp; lines: +170 -238 Refreshed.
Perhaps a little too refreshing behavior, Nilsson?
/ Martin Stjernholm, Roxen IS
Previous text:
2003-01-29 14:57: Subject: pike startup
Hello,
I got strange differences between the startup of pike 7.4 release 13 and pike 7.3 release 60
pike 7.3.30 doing a line like pike -I server/include/ -M server/libraries/ -P server server/server.pike will start "server.pike"
pike 7.4.13 will return with:
Pike: Couldn't find script to execute ("/home/balduin/cs133/pike4/steam/-M")
pwd is: /home/balduin/cs133/pike4/steam doing
pike --include-path=./server/include/ --module-path=./server/libraries/ --program-path=server ./server/server.pike
on the other hand will work properly.
yet pike --help will report the short forms as still valid
--- Ludger
/ Brevbäraren
Could be. I did however write a few tests (a hundred or so) to prevent breakage.
/ Martin Nilsson (Åskblod)
Previous text:
2003-02-01 17:38: Subject: pike startup
It should work. Seems like Getopt.pmod got broken in revision 1.22:
revision 1.22 date: 2002/11/15 02:57:35; author: nilsson; state: Exp; lines: +170 -238 Refreshed.
Perhaps a little too refreshing behavior, Nilsson?
/ Martin Stjernholm, Roxen IS
Just a note: I didn't draw that conclusion just from the log message; I've tested that 1.21 works and 1.22 doesn't. Apparently it's the spaces between short options and their values that is the problem.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-02-01 17:42: Subject: pike startup
Could be. I did however write a few tests (a hundred or so) to prevent breakage.
/ Martin Nilsson (Åskblod)
I'm not at all surprised that there are bugs. Some bugs however has to do with the way Getopt is used (since I fixed bugs in the old implementation that didn't matter that much if you used it in the wrong way).
/ Martin Nilsson (Åskblod)
Previous text:
2003-02-01 17:48: Subject: pike startup
Just a note: I didn't draw that conclusion just from the log message; I've tested that 1.21 works and 1.22 doesn't. Apparently it's the spaces between short options and their values that is the problem.
/ Martin Stjernholm, Roxen IS
pike-devel@lists.lysator.liu.se