1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- The SetOwner() fall-back code for Kickstart 2.04 was passing the wrong

parameters to the file system. The first (dp_Arg1) should have been
  zero. Ouch.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15151 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-09-25 15:38:21 +00:00
parent 9ce2ba234f
commit b1f56b1bbe
4 changed files with 10 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: unistd_fchown.c,v 1.13 2006-04-05 06:43:56 obarthel Exp $
* $Id: unistd_fchown.c,v 1.14 2006-09-25 15:38:21 obarthel Exp $
*
* :ts=4
*
@@ -163,7 +163,7 @@ fchown(int file_descriptor, uid_t owner, gid_t group)
new_name->name[0] = len;
memmove(&new_name->name[1],fib->fib_FileName,len);
success = DoPkt(dvp->dvp_Port,ACTION_SET_OWNER,dvp->dvp_Lock,MKBADDR(new_name),(LONG)((((ULONG)owner) << 16) | (ULONG)group),0,0);
success = DoPkt(dvp->dvp_Port,ACTION_SET_OWNER,0,dvp->dvp_Lock,MKBADDR(new_name),(LONG)((((ULONG)owner) << 16) | (ULONG)group),0);
error = IoErr();
FreeDeviceProc(dvp);