+2004-07-30 Erez Zadok <ezk@play.cs.columbia.edu>
+
+ * include/am_xdr_func.h: cannot have field-less structure; put a
+ dummy field in.
+
+ * conf/autofs/autofs_solaris_v2_v3.c (xdr_autofs_rddirargs): cast
+ 2nd arg of xdr_u_int to a u_int*, not int*.
+ (autofs_mount_2_req): don't use C++ // comments.
+
2004-07-30 Erez Zadok <ezk@cs.sunysb.edu>
* m4/macros/{try_compile_anyfs,check_field}.m4: include
* SUCH DAMAGE.
*
*
- * $Id: autofs_solaris_v2_v3.c,v 1.37 2004/01/06 03:56:20 ezk Exp $
+ * $Id: autofs_solaris_v2_v3.c,v 1.38 2004/07/30 21:13:07 ezk Exp $
*
*/
{
if (!xdr_string(xdrs, &objp->rda_map, AUTOFS_MAXPATHLEN))
return (FALSE);
- if (!xdr_u_int(xdrs, (int *) &objp->rda_offset))
+ if (!xdr_u_int(xdrs, (u_int *) &objp->rda_offset))
return (FALSE);
- if (!xdr_u_int(xdrs, (int *) &objp->rda_count))
+ if (!xdr_u_int(xdrs, (u_int *) &objp->rda_count))
return (FALSE);
return (TRUE);
}
mf = mp->am_mnt;
new_mp = mf->mf_ops->lookup_child(mp, m->name + m->isdirect, &err, VLOOK_CREATE);
if (new_mp && err < 0) {
- //new_mp->am_transp = transp;
+ /* new_mp->am_transp = transp; */
new_mp = mf->mf_ops->mount_child(new_mp, &err);
}
if (new_mp == NULL) {
* SUCH DAMAGE.
*
*
- * $Id: am_xdr_func.h,v 1.14 2004/01/06 03:56:20 ezk Exp $
+ * $Id: am_xdr_func.h,v 1.15 2004/07/30 21:13:07 ezk Exp $
*
*/
struct am_LOOKUP3resfail {
#if 0
post_op_attr dir_attributes;
+#else
+ char dummy; /* cannot have an empty declaration */
#endif
};
typedef struct am_LOOKUP3resfail am_LOOKUP3resfail;