[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I found a bug with Makefile
From: |
Albert Le Batteux |
Subject: |
Re: I found a bug with Makefile |
Date: |
Mon, 25 Jan 2016 19:25:25 +0000 (GMT) |
Sorry for all the missing information.
so :
make --version : GNU Make 3.81 This program built for i386-apple-darwin11.3.0
OSX el capitan v 10.11.3
i sent you my project in a zip file.
How it's work :
(with the error)
> make exe
> move a little (with arrow, select some element with spacebar)
> press ctrl + z to send a SIGTSTP signal
> back in the shell press fg to come back.
> ctrl + z again and you will see, when you'll fg back
you will have a error in terminal.c with if (tcsetattr(0, TCSADRAIN, term) < 0)
(without error)
> make
> ./ft_select aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz
> press ctrl + z then fg as long as you wish !
without problem ...
i spent 4 days loosing my times for finding this .. --'
All the best,
Le 25 janvier 2016 à 19:06, address@hidden a écrit :
Albert Le Batteux writes:
> Hello !
> I have really no idea about who i am talking !
>
> I am a french student programmer, and making a school project with termcaps
> named ft_select (you can find many of this project on github)
> It's a termcaps introdution by creating a small selecting item menu.
>
> I always lunch my program with a Makefile rule like `make exe` (it's easier and
> faster)
> but it's create that error on tcsetattr() !
>
>
> `Interrupted system call` on errno from `tcsetattr()`
>
>
> Maybe start a program with make create a fake environment.. ? i don't know ..
>
> i put my question on StackOverflow : http://stackoverflow.com/questions/
> 34992713/launch-command-with-makefile?noredirect=1#comment57723426_34992713
>
> By curiosity, if you can explain me why ?
>
> Cordially,
>
Please provide the Makefile, the host OS you are using, and the
version of Make you are using (make --version).
--
Cole's Law: Thinly sliced cabbage.
ft_select.zip
Description: Zip archive