bopen(byte *name, uns mode, uns buffer)
{
struct fastbuf *b;
- int fd = sh_open(name, mode, 0666);
+ int fd;
+
+ if (!buffer)
+ return bopen_mm(name, mode);
+ fd = sh_open(name, mode, 0666);
if (fd < 0)
die("Unable to %s file %s: %m",
(mode & O_CREAT) ? "create" : "open", name);