summaryrefslogtreecommitdiff
path: root/lang/gnu-apl/files/patch-src_InputFile.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gnu-apl/files/patch-src_InputFile.hh')
-rw-r--r--lang/gnu-apl/files/patch-src_InputFile.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/gnu-apl/files/patch-src_InputFile.hh b/lang/gnu-apl/files/patch-src_InputFile.hh
new file mode 100644
index 000000000000..22b4b8898eb4
--- /dev/null
+++ b/lang/gnu-apl/files/patch-src_InputFile.hh
@@ -0,0 +1,11 @@
+--- src/InputFile.hh.orig 2019-06-23 12:39:20 UTC
++++ src/InputFile.hh
+@@ -42,7 +42,7 @@ struct InputFile
+ InputFile(const UTF8_string & _filename, FILE * _file,
+ bool _test, bool _echo, bool _is_script, LX_mode LX)
+ : file (_file),
+- filename (&_filename[0], _filename.size()),
++ filename (_filename),
+ test (_test),
+ echo (_echo),
+ is_script(_is_script),