1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ac,v 1.1 2001/03/12 16:06:00 wiz Exp $
--- proc.c.orig Mon Nov 16 18:12:26 1998
+++ proc.c
@@ -867,12 +867,13 @@
char *p;
char *buf = server->packet;
int result;
+ const word o_attr = aSYSTEM | aHIDDEN;
smb_lock_server(server);
retry:
p = smb_setup_header(server, SMBunlink, 1, 2 + len);
- WSET(buf, smb_vwv0, 0);
+ WSET(buf, smb_vwv0, o_attr);
smb_encode_ascii(p, path, len);
if ((result = smb_request_ok(server, SMBunlink, 0, 0)) < 0) {
|