Skip to content
Snippets Groups Projects
Commit 51c5352c authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix for Stdio.FILE->pipe

Rev: lib/modules/Stdio.pmod/module.pmod:1.74
parent 538a897f
Branches
Tags
No related merge requests found
// $Id: module.pmod,v 1.73 2000/01/12 04:28:32 mast Exp $ // $Id: module.pmod,v 1.74 2000/01/22 02:33:50 hubbe Exp $
import String; import String;
...@@ -537,11 +537,11 @@ class FILE { ...@@ -537,11 +537,11 @@ class FILE {
return file::open_socket(); return file::open_socket();
} }
object pipe() object pipe(void|int flags)
{ {
bpos=0; bpos=0;
b=""; b="";
return file::pipe(); return query_num_arg() ? file::pipe(flags) : file::pipe();
} }
int assign(object foo) int assign(object foo)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment