From 00cabb2346fb11c5568b6c7a038c313ae293a0c2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 20 Mar 2002 00:58:23 +0000 Subject: Ensure we get a real fd when opening for set file allocation. Jeremy. --- source/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/smbd') diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index 660363a7f13..6aee06cc00c 100644 --- a/source/smbd/trans2.c +++ b/source/smbd/trans2.c @@ -2140,7 +2140,7 @@ static int call_trans2setfilepathinfo(connection_struct *conn, return -1; } - new_fsp = open_file_shared(conn, fname, &sbuf, + new_fsp = open_file_shared1(conn, fname, &sbuf,FILE_WRITE_DATA, SET_OPEN_MODE(DOS_OPEN_RDWR), (FILE_FAIL_IF_NOT_EXIST|FILE_EXISTS_OPEN), 0, 0, &access_mode, &action); -- cgit