mirror of
https://gitlab.com/klmp200/fish.git
synced 2024-12-22 07:41:08 +00:00
C++ NAZI
This commit is contained in:
parent
de18074b89
commit
c0e130cb71
@ -20,7 +20,7 @@ pipe_redirection * getRedirection(){
|
||||
if (redirection == NULL){
|
||||
redirection = (pipe_redirection*) malloc(sizeof(pipe_redirection));
|
||||
if (redirection == NULL) crash();
|
||||
redirection->file_name = strdup(template);
|
||||
redirection->file_name = strdup((char*) template);
|
||||
redirection->tmp_file = mkstemp(redirection->file_name);
|
||||
redirection->to_use = 0;
|
||||
redirection->read = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user