Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-03-29 23:17:55

eduardoarnoldh
Member
Registered: 2014-03-13
Posts: 2

XFCE4-terminal serious bug

Hello.

After spending hours of work thinking my C code was with some kind of problem I realized it was a bug with XFCE4 terminal.
I am using Arch Linux with XFCE 4.10.

I have a C code compiled and I can call it from within the terminal by using:

./a.out

or by calling xfce-terminal:

xfce4-terminal -H -e "./a.out"

The result should, obviously, be the same. However, the second one doesn't show all the text info as the first one does, after some point it freezes.

To reproduce the error, my C code was:

void main()
{
        FILE* f = fopen("tmp.txt", "r");
        char c;
        
        while((c = fgetc(f)) != EOF )
                putchar(c);
        
}

The tmp.txt file is any file, preferably test with one with more than 1000 lines and more than 60kb, this will do. In my opinion it has something to do with the H argument, that's the hold one. Perhaps it's failing to recognize when the process finishes.

Last edited by eduardoarnoldh (2014-03-29 23:28:32)

Offline

#2 2014-03-30 01:19:09

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 560
Website

Re: XFCE4-terminal serious bug

While posting it here will tell other users what is happening to have it fixed file a bug report at https://bugzilla.xfce.org/

Offline

Board footer

Powered by FluxBB