svn commit: samba r6408 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

tpot at samba.org tpot at samba.org
Thu Apr 21 01:46:18 GMT 2005


Author: tpot
Date: 2005-04-21 01:46:18 +0000 (Thu, 21 Apr 2005)
New Revision: 6408

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6408

Log:
Fix compile error lurking where PATH_MAX is not defined.  Bugzilla #2560.

Modified:
   branches/SAMBA_3_0/source/smbd/vfs.c
   trunk/source/smbd/vfs.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/vfs.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/vfs.c	2005-04-21 01:40:44 UTC (rev 6407)
+++ branches/SAMBA_3_0/source/smbd/vfs.c	2005-04-21 01:46:18 UTC (rev 6408)
@@ -894,7 +894,7 @@
 #ifdef PATH_MAX
 				safe_strcpy(resolved_name_buf, tmp_fname, PATH_MAX);
 #else
-				pstrcpy(pstring resolved_name_buf, tmp_fname);
+				pstrcpy(resolved_name_buf, tmp_fname);
 #endif
 				resolved_name = resolved_name_buf;
 #endif

Modified: trunk/source/smbd/vfs.c
===================================================================
--- trunk/source/smbd/vfs.c	2005-04-21 01:40:44 UTC (rev 6407)
+++ trunk/source/smbd/vfs.c	2005-04-21 01:46:18 UTC (rev 6408)
@@ -894,7 +894,7 @@
 #ifdef PATH_MAX
 				safe_strcpy(resolved_name_buf, tmp_fname, PATH_MAX);
 #else
-				pstrcpy(pstring resolved_name_buf, tmp_fname);
+				pstrcpy(resolved_name_buf, tmp_fname);
 #endif
 				resolved_name = resolved_name_buf;
 #endif



More information about the samba-cvs mailing list