[dovecot-cvs] dovecot/src/lib mountpoint.c,1.4.2.5,1.4.2.6

tss at dovecot.org tss at dovecot.org
Wed May 9 11:58:58 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv22403

Modified Files:
      Tag: branch_1_0
	mountpoint.c 
Log Message:
Compile fix for Tru64.



Index: mountpoint.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/mountpoint.c,v
retrieving revision 1.4.2.5
retrieving revision 1.4.2.6
diff -u -d -r1.4.2.5 -r1.4.2.6
--- mountpoint.c	4 Nov 2006 23:04:37 -0000	1.4.2.5
+++ mountpoint.c	9 May 2007 08:58:56 -0000	1.4.2.6
@@ -58,7 +58,11 @@
 
 	point_r->device_path = p_strdup(pool, buf.f_mntfromname);
 	point_r->mount_path = p_strdup(pool, buf.f_mntonname);
+#ifdef __osf__ /* Tru64 */
+	point_r->type = p_strdup(pool, getvfsbynumber(buf.f_type));
+#else
 	point_r->type = p_strdup(pool, buf.f_fstypename);
+#endif
 	point_r->block_size = buf.f_bsize;
 	return 1;
 #else



More information about the dovecot-cvs mailing list