pkgsrc/net/sharity-light/patches/patch-ac
2001-03-12 16:05:59 +00:00

19 lines
547 B
Text

$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) {