Custom Query (245 matches)
Results (7 - 9 of 245)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#285 | fixed | Add env.var. for entering unix penthouse | ||
Description |
Currently, in order to better support the Unix-like file system structure (which in turn simplifies porting of many Unix software to OS/2) the
However, this technique still requires one change to the original Unix sources: you have to replace each
I suggest to extend UNIXROOT support by changing the path rewriter so that it will always treat paths starting with
The only thing that we will lose with such a change is the original meaning of |
|||
#260 | fixed | Add global argc and argv pointers | ||
Description |
Since r3645 (AFAIU), spawn() passes some hidden arguments to the started executable if it is a kLIBC-based one. In some cases this makes problems for other applications. One of such examples is Odin-based applications (e.g. OpenJDK). In Odin, KERNEL32.DLL needs to process the command line. Since the DLL can't currently access the main() arguments, it has to access the command line directly using PIB pointers and this makes those hidden arguments (in particular the "kLIBC" signature) visible to the application which it totally does not expect. In particular, java.exe will simply fail with the message like "cannot filnd class kLIBC". For now I have to add a hack to Odin that cuts out the "kLIBC" signature from the command line. But this hack depends on kLIBC internals and will not work if these internals change. A proper way will be to provide global argc and argv pointers that will let any DLL access the command line post-processed by kLIBC in a way it needs. |
|||
#263 | fixed | After a very high number of fork/system/popen calls | ||
Description |
On my sever with a "cron" type process running fork/system/popens very frequently. The end result is that after so long any program that uses LIBC065 will fail to start with a "LIBC Error: Couldn't register process in shared memory!" Anything that is already started or does not use LIBC065 just sails along merrily. Although the ones that do use it may hang when you try and shutdown. On my laptop I can reproduce the first type by using "ps" but if I change it to a "hello world" program I get the "nothing will shut down" problem. I think the problem has been around for a long time as I have *never* had uptime on the server of more than three weeks - I think LIBC065 has just made it worse - I never saw that libc error message before 65 came along. The following program shows the problem: #include <os2.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <errno.h> int main(int argc, char argv) {
} and #include <os2.h> #include <string.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char argv) {
} It usually blows around 60,000. Suspect 65535 problem? I complied the above with EMX and got bored with it at 70,000+ |