Qnx RTP problem...

I just got a CD from a magazine containing QNX RTOS yesterday, realized the
problem as soon as i was about to use the package manager, it couldn’t find
any packages from the repository dirs… problem was all files on the CD was
UPPERCASE… and in a subdir… (cd contained the complete dist).

so i copied the qnx dir to the hd, used a program to change all files to
lowercase(including dir’s).

and burned the cd again, and yes, the package dir is now found, but i can
only see a text editor and backdrops… now to my question… shouldn’t
there be more? what could be messed up?

help… please…

regards

I have had problems with my package manager too. Mine keeps chaning the
directories of repositories that I have added. So it wouldnt suprise me if
you have found a small bugette. It seems there are many lurking around.

Nick :slight_smile:

“Edguy” <edguy@swipnet.se> wrote in message news:9cc2ml$e3j$1@inn.qnx.com

I just got a CD from a magazine containing QNX RTOS yesterday, realized
the
problem as soon as i was about to use the package manager, it couldn’t
find
any packages from the repository dirs… problem was all files on the CD
was
UPPERCASE… and in a subdir… (cd contained the complete dist).

so i copied the qnx dir to the hd, used a program to change all files to
lowercase(including dir’s).

and burned the cd again, and yes, the package dir is now found, but i can
only see a text editor and backdrops… now to my question… shouldn’t
there be more? what could be messed up?

help… please…

regards
\

I’ve been writing simple program in C. Maybe it’s stupid questions, but I
don’t know why:

I can’t change current directory using function chdir(const char* path)

I tried to give various paths like “/” or “/root” or “/usr/share/”. I was
logged as root. I use gcc compiler.

I can’t change priority of my process.

First getprio returns 0. It’s ok, because it’s default priority level for
new processes.
Second I try to lower the prioriy using setprio(PRIO_PROCESS, 0, 5)
Then getrpio returns 0 again, but setrpio doesn’t returns error. :frowning:

On Thu, 7 Jun 2001 13:43:01 +0200, “Dariusz Borkowski”
<borkows@uci.agh.edu.pl> wrote:

I’ve been writing simple program in C. Maybe it’s stupid questions, but I
don’t know why:

I can’t change current directory using function chdir(const char* path)

I tried to give various paths like “/” or “/root” or “/usr/share/”. I was
logged as root. I use gcc compiler.

When a program starts, it is given its own environment.

The chdir() call operates in that environment. It has no effect for
the shell that launched the program.

I can’t change priority of my process.

First getprio returns 0. It’s ok, because it’s default priority level for
new processes.

In QRTP the priority 0 is the priority of the idle process
and should not be used.

Second I try to lower the prioriy using setprio(PRIO_PROCESS, 0, 5)
Then getrpio returns 0 again, but setrpio doesn’t returns error. > :frowning:

The setprio function has 2 parameters. Both functions

are deprecated in favour of sched_*() family. They are left for
programs ported from QNX4. Nevertheless, I’ve verified they work.
Could you post your program?

ako