aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-19 22:55:15 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-19 22:55:15 +0530
commit74a7303c2339eee146fd436849c61fe1bf506e30 (patch)
tree321894506b06fddbabfabfb397e535d64ca30e31 /exec.cpp
parentd8a99917386146f47fc178c80b1d07f9e94aa121 (diff)
Modified functions in function.h/.cpp to use wcstring instead wchar_t*, other files also modified to use wcstring.
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index e0590d37..38202925 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -441,7 +441,7 @@ static int setup_child_process( job_t *j, process_t *p )
call. Only use it in the execve error handler which calls exit
right afterwards, anyway.
*/
-static wchar_t *get_interpreter( const wchar_t *file )
+static wchar_t *get_interpreter( const wcstring &file )
{
string_buffer_t sb;
FILE *fp = wfopen( file, "r" );