httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/dav/main mod_dav.h props.c std_liveprop.c
Date Sat, 25 Nov 2000 23:35:06 GMT
gstein      00/11/25 15:35:06

  Modified:    src/modules/dav/fs repos.c
               src/modules/dav/main mod_dav.h props.c std_liveprop.c
  Log:
  fix spelling: "writable" is the proper form
  
  Revision  Changes    Path
  1.35      +5 -5      apache-2.0/src/modules/dav/fs/repos.c
  
  Index: repos.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/dav/fs/repos.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -u -r1.34 -r1.35
  --- repos.c	2000/11/23 12:50:30	1.34
  +++ repos.c	2000/11/25 23:35:05	1.35
  @@ -184,7 +184,7 @@
           DAV_FS_URI_MYPROPS,
           "executable",
           DAV_PROPID_FS_executable,
  -        0       /* handled special in dav_fs_is_writeable */
  +        0       /* handled special in dav_fs_is_writable */
       },
   
       { 0 }	/* sentinel */
  @@ -1730,7 +1730,7 @@
       ** exist. Just bail for this case.
       **
       ** Even though we state that the FS properties are not defined, the
  -    ** client cannot store dead values -- we deny that thru the is_writeable
  +    ** client cannot store dead values -- we deny that thru the is_writable
       ** hook function.
       */
       if (!resource->exists)
  @@ -1815,12 +1815,12 @@
       return which;
   }
   
  -static int dav_fs_is_writeable(const dav_resource *resource, int propid)
  +static int dav_fs_is_writable(const dav_resource *resource, int propid)
   {
       const dav_liveprop_spec *info;
   
   #ifndef WIN32
  -    /* this property is not usable (writeable) on the Win32 platform */
  +    /* this property is not usable (writable) on the Win32 platform */
       if (propid == DAV_PROPID_FS_executable && !resource->collection)
   	return 1;
   #endif
  @@ -1968,7 +1968,7 @@
   static const dav_hooks_liveprop dav_hooks_liveprop_fs =
   {
       dav_fs_insert_prop,
  -    dav_fs_is_writeable,
  +    dav_fs_is_writable,
       dav_fs_namespace_uris,
       dav_fs_patch_validate,
       dav_fs_patch_exec,
  
  
  
  1.31      +4 -4      apache-2.0/src/modules/dav/main/mod_dav.h
  
  Index: mod_dav.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/dav/main/mod_dav.h,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -u -r1.30 -r1.31
  --- mod_dav.h	2000/11/23 12:50:31	1.30
  +++ mod_dav.h	2000/11/25 23:35:05	1.31
  @@ -199,7 +199,7 @@
   /* Prop DB errors */
   #define DAV_ERR_PROP_BAD_MAJOR		200	/* major version was wrong */
   #define DAV_ERR_PROP_READONLY		201	/* prop is read-only */
  -#define DAV_ERR_PROP_NO_DATABASE	202	/* writeable db not avail */
  +#define DAV_ERR_PROP_NO_DATABASE	202	/* writable db not avail */
   #define DAV_ERR_PROP_NOT_FOUND		203	/* prop not found */
   #define DAV_ERR_PROP_BAD_LOCKDB		204	/* could not open lockdb */
   #define DAV_ERR_PROP_OPENING		205	/* problem opening propdb */
  @@ -696,14 +696,14 @@
   				   ap_text_header *phdr);
   
       /*
  -    ** Determine whether a given property is writeable.
  +    ** Determine whether a given property is writable.
       **
       ** ### we may want a different semantic. i.e. maybe it should be
       ** ### "can we write <value> into this property?"
       **
       ** Returns 1 if the live property can be written, 0 if read-only.
       */
  -    int (*is_writeable)(const dav_resource *resource, int propid);
  +    int (*is_writable)(const dav_resource *resource, int propid);
   
       /*
       ** This member defines the set of namespace URIs that the provider
  @@ -785,7 +785,7 @@
   
       int propid;         /* provider-local property ID */
   
  -    int is_writable;    /* is the property writeable? */
  +    int is_writable;    /* is the property writable? */
   
   } dav_liveprop_spec;
   
  
  
  
  1.18      +5 -5      apache-2.0/src/modules/dav/main/props.c
  
  Index: props.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/dav/main/props.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -u -r1.17 -r1.18
  --- props.c	2000/11/23 12:50:31	1.17
  +++ props.c	2000/11/25 23:35:06	1.18
  @@ -185,7 +185,7 @@
   #include "apr_strings.h"
   
   /*
  -** There is some rough support for writeable DAV:getcontenttype and
  +** There is some rough support for writable DAV:getcontenttype and
   ** DAV:getcontentlanguage properties. If this #define is (1), then
   ** this support is disabled.
   **
  @@ -195,7 +195,7 @@
   ** values for the response.
   ** (Handling the PUT would not be difficult, though)
   */
  -#define DAV_DISABLE_WRITEABLE_PROPS	1
  +#define DAV_DISABLE_WRITABLE_PROPS	1
   
   #define DAV_GDBM_NS_KEY		"METADATA"
   #define DAV_GDBM_NS_KEY_LEN	8
  @@ -368,12 +368,12 @@
       ** Check the liveprop provider (if this is a provider-defined prop)
       */
       if (priv->provider != NULL) {
  -        return (*priv->provider->is_writeable)(propdb->resource, propid);
  +        return (*priv->provider->is_writable)(propdb->resource, propid);
       }
   
       /* these are defined as read-only */
       if (propid == DAV_PROPID_CORE_lockdiscovery
  -#if DAV_DISABLE_WRITEABLE_PROPS
  +#if DAV_DISABLE_WRITABLE_PROPS
   	|| propid == DAV_PROPID_CORE_getcontenttype
   	|| propid == DAV_PROPID_CORE_getcontentlanguage
   #endif
  @@ -1323,7 +1323,7 @@
   
       /*
       ** The property is supposed to be stored into the dead-property
  -    ** database. Make sure the thing is truly open (and writeable).
  +    ** database. Make sure the thing is truly open (and writable).
       */
       if (propdb->deferred
   	&& (ctx->err = dav_really_open_db(propdb, 0 /* ro */)) != NULL) {
  
  
  
  1.2       +1 -1      apache-2.0/src/modules/dav/main/std_liveprop.c
  
  Index: std_liveprop.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/dav/main/std_liveprop.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- std_liveprop.c	2000/11/23 12:50:31	1.1
  +++ std_liveprop.c	2000/11/25 23:35:06	1.2
  @@ -244,7 +244,7 @@
                                              int operation, void **context,
                                              int *defer_to_dead)
   {
  -    /* all of our writeable props go in the dead prop database */
  +    /* all of our writable props go in the dead prop database */
       *defer_to_dead = 1;
   
       return NULL;
  
  
  

Mime
View raw message