Quick fix for smbd/trans2.c in SAMBA_2_2 - makedev test backwards

Richard Bollinger rabollinger at attbi.com
Fri Jan 11 06:10:03 GMT 2002


Heres a quick fix for last night's SAMBA_2_2 cvs of smbd/trans2.c... the test was backwards:

--- ../source/smbd/trans2.c Fri Jan 11 07:16:21 2002
+++ ./smbd/trans2.c Fri Jan 11 09:01:06 2002
@@ -2519,7 +2519,7 @@
  * a new info level should be used for mknod. JRA.
  */
 
-#if defined(HAVE_MAKEDEV_FN)
+#if ! defined(HAVE_MAKEDEV_FN)
  return(ERROR_DOS(ERRDOS,ERRnoaccess));
 #else /* HAVE_MAKEDEV_FN */
  uint32 file_type = IVAL(pdata,0);


Rich Bollinger





More information about the samba-technical mailing list