Hi,

On Wed, Jan 17, 2007 at 09:01:54AM -0600, Ryan Underwood wrote:
> FAM is missing the debug API that some external FAM-using modules
> such as SGI::FAM for Perl depend upon.  It's IMO useless, but
> important for build compatibility.
> 
> --- gamin-0.1.8/libgamin/fam.h        2005-03-15 06:01:03.000000000 -0600
> +++ asdf/libgamin/fam.h       2007-01-16 21:09:52.000000000 -0600
> @@ -190,6 +190,18 @@
>  extern int FAMErrno;
>  
>  /**
> + * FAMDebugLevel
> + *
> + * Currently unimplemented as in the SGI FAM.  Exists only for
> + * compatibility.
> + */
> +extern int FAMDebugLevel     (FAMConnection *fc,
> +                              int level);
> +#define FAM_DEBUG_OFF 0
> +#define FAM_DEBUG_ON  1
> +#define FAM_DEBUG_VERBOSE 2
> +
> +/**
>   * FamErrList:
>   *
>   * In case FAMErrno is set, FAMErrlist is a global string array indexed
> diff -ur gamin-0.1.8/libgamin/gam_api.c asdf/libgamin/gam_api.c
> --- gamin-0.1.8/libgamin/gam_api.c    2006-10-25 11:13:43.000000000 -0500
> +++ asdf/libgamin/gam_api.c   2007-01-16 20:34:25.000000000 -0600
> @@ -1529,4 +1529,11 @@
>      }
>      return(ret);
>  }
> +
> +/* This doesn't do anything in FAM either, here only for completeness */
> +int
> +FAMDebugLevel(FAMConnection *fc, int level)
> +{
> +     return(1);
> +}
>  #endif

Did you discuss this with gamin upstream?  If those aren't implemented
in FAM either, shouldn't maybe rather the FAM wrapper be changed?


Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to