/*
- * $Id: file.c,v 1.47 2002-08-16 00:42:56 didg Exp $
+ * $Id: file.c,v 1.48 2002-08-20 19:40:43 srittau Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
const int noadouble;
struct adouble *adp;
{
- struct ofork *opened;
char adsrc[ MAXPATHLEN + 1];
int len, rc;
/* all this stuff is so that we can unwind a failed operation
* properly. */
+#ifdef CNID_DB
err_temp_to_dest:
+#endif
/* rename dest to temp */
renamefile(upath, temp, temp, vol_noadouble(vol), adsp);
of_rename(vol, curdir, upath, curdir, temp);
/*
- * $Id: fork.c,v 1.30 2002-06-17 18:23:03 didg Exp $
+ * $Id: fork.c,v 1.31 2002-08-20 19:40:45 srittau Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
struct stat lst, *lstp;
#endif /* !USE_LASTDID */
struct stat st;
- struct extmap *em;
- char *data, *nameoff = NULL, *upath;
- int bit = 0;
- u_int32_t aint;
- u_int16_t ashort;
+ char *upath;
+ u_int32_t aint;
struct adouble *adp;
- struct dir *dir;
- struct vol *vol;
+ struct dir *dir;
+ struct vol *vol;
if ( ad_hfileno( ofork->of_ad ) == -1 ) {
adp = NULL;
/*
- * $Id: volume.c,v 1.29 2002-08-20 05:36:08 jmarcus Exp $
+ * $Id: volume.c,v 1.30 2002-08-20 19:40:44 srittau Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
}
-int wincheck(struct vol *vol, const char *path)
+int wincheck(const struct vol *vol, const char *path)
{
int len;
/*
- * $Id: volume.h,v 1.11 2002-03-24 17:45:29 jmarcus Exp $
+ * $Id: volume.h,v 1.12 2002-08-20 19:40:45 srittau Exp $
*
* Copyright (c) 1990,1994 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#define MSWINDOWS_BADCHARS ":\t\\/<>*?|\""
#define MSWINDOWS_CODEPAGE "maccode.iso8859-1"
-int wincheck(struct vol *vol, const char *path);
+int wincheck(const struct vol *vol, const char *path);
#define AFPVOLSIG_FLAT 0x0001 /* flat fs */
#define AFPVOLSIG_FIX 0x0002 /* fixed ids */