Quick fix for smbd/trans2.c in SAMBA_2_2 - makedev test backwards
Jeremy Allison
jra at samba.org
Fri Jan 11 08:12:25 GMT 2002
On Fri, Jan 11, 2002 at 09:06:02AM -0500, Richard Bollinger wrote:
> 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
>
Got it - thanks.
Jeremy.
More information about the samba-technical
mailing list