[6936] in Athena Bugs
7.2 delete will not compile under ultrix4.0 & AFS
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Tue Jan 22 14:48:10 1991
From: epeisach@ATHENA.MIT.EDU
Date: Tue, 22 Jan 91 14:16:11 -0500
To: bugs@ATHENA.MIT.EDU
The problem is that the vice ioctl definition depends on the build
environment. Under ultrix3.1,
_IOW(V, id, struct ViceIoctl)
is used and under
Ultrix 4:
_IOW('V', id, struct ViceIoctl)
To fix, you need to include afs/param.h.
This is already fixes in our source tree....
*** /tmp/,RCSt1011237 Tue Jan 22 14:13:21 1991
--- util.c Tue Jan 22 14:10:07 1991
***************
*** 1,6 ****
/*
* $Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/bin.athena/delete/RCS/util.c,v $
! * $Author: jik $
*
* This program is a replacement for rm. Instead of actually deleting
* files, it marks them for deletion by prefixing them with a ".#"
--- 1,6 ----
/*
* $Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/bin.athena/delete/RCS/util.c,v $
! * $Author: epeisach $
*
* This program is a replacement for rm. Instead of actually deleting
* files, it marks them for deletion by prefixing them with a ".#"
***************
*** 11,17 ****
*/
#if (!defined(lint) && !defined(SABER))
! static char rcsid_util_c[] = "$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/bin.athena/delete/RCS/util.c,v 1.18 90/09/26 03:47:37 jik Exp $";
#endif
#include <stdio.h>
--- 11,17 ----
*/
#if (!defined(lint) && !defined(SABER))
! static char rcsid_util_c[] = "$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/bin.athena/delete/RCS/util.c,v 1.19 91/01/22 14:09:42 epeisach Exp $";
#endif
#include <stdio.h>
***************
*** 33,38 ****
--- 33,39 ----
#include <errno.h>
#ifdef AFS_MOUNTPOINTS
#include <sys/ioctl.h>
+ #include <afs/param.h>
#include <afs/vice.h>
#include <afs/venus.h>
#endif