metal3d / bashsimplecurses

A simple curses library made in bash to draw terminal interfaces
BSD 3-Clause "New" or "Revised" License
921 stars 115 forks source link

RHEL5/CentOS5 and mktemp invalid argument #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try compiling and testing on RHEL5/CentOS5 (in my case 5.6)
2.
3.

What is the expected output? What do you see instead?

i expected to see a windows in terminal, instead i see a blank window with 
occasional error ocasionalmessage about improper usage of "mktemp" command in 
create_buffer function. 

What version of the product are you using? On what operating system?
0.1 alpha

Please provide any additional information below.

For the case of RHEL5/CentOS5 and possibly fedora in RHEL based distro's in 
general, mktemp "--tmpdir" is not a valid argument. Instead, please use option 
"-p". Once replaced all seemed to work. 

Suggestion: please add a funtion that determines the mktemp version or distro 
and uses appropriate switch..

Thanks
-ilya

Original issue reported on code.google.com by techsp...@gmail.com on 4 May 2011 at 3:08

GoogleCodeExporter commented 9 years ago
ok, it seems to be a good solution. I will correct this in a few hours. Thanks 
a lot for your report.

Original comment by Metal3d on 6 May 2012 at 7:54

GoogleCodeExporter commented 9 years ago
Issue 5 has been merged into this issue.

Original comment by Metal3d on 1 Jun 2012 at 9:47

GoogleCodeExporter commented 9 years ago
Issue 8 has been merged into this issue.

Original comment by Metal3d on 1 Jun 2012 at 9:48

GoogleCodeExporter commented 9 years ago
Fixed in r30 commit - please test :)

Original comment by Metal3d on 1 Jun 2012 at 9:48