History

tweaks to rtop and ptor docs and temp file name in chuck shell

Ge Wang committed 5 years ago

Commit 87a4d271 parent fa23f1e2 files · +4 −3Browse files

Showing the changes to src/core/chuck_shell.cpp (1 of 2 files). Show all

Unified · Split

src/core/chuck_shell.cpp+2−1
@@ -602,7 +602,8 @@ void Chuck_Shell::do_code( string & code, string & out, string command ) · 601 unmodified lines
602602 #if defined(__PLATFORM_LINUX__) || defined(__MACOSX_CORE__)
603603 char tmp_dir[] = "/tmp";
604604 char * tmp_filepath = new char [32];
605− strncpy( tmp_filepath, "/tmp/chuck_file.XXXXXX", 32 );
605+ // 1.4.0.2: changed chuck_file.XXXXXX to chuck_shell.XXXXXX
606+ strncpy( tmp_filepath, "/tmp/chuck_shell.XXXXXX", 32 );
606607 int fd = mkstemp( tmp_filepath );
607608 if( fd == -1 )
608609 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t