cvs commit: ALFS/nALFS/src/handlers build.c mkdir.c owner.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Tue Mar 2 20:54:14 PST 2004


kpfleming    04/03/02 21:54:14

  Modified:    nALFS/src/handlers build.c mkdir.c owner.c
  Log:
  fix compile errors and warnings
  
  Revision  Changes    Path
  1.18      +3 -1      ALFS/nALFS/src/handlers/build.c
  
  Index: build.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/build.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- build.c	29 Feb 2004 04:24:47 -0000	1.17
  +++ build.c	3 Mar 2004 04:54:14 -0000	1.18
  @@ -35,8 +35,10 @@
   #include "backend.h"
   #include "logging.h"
   
  -static int build_setup(const element_s * element)
  +static int build_setup(element_s * const element)
   {
  +	(void) element;
  +
   	return 0;
   }
   
  
  
  
  1.21      +2 -2      ALFS/nALFS/src/handlers/mkdir.c
  
  Index: mkdir.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/mkdir.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- mkdir.c	3 Mar 2004 03:57:05 -0000	1.20
  +++ mkdir.c	3 Mar 2004 04:54:14 -0000	1.21
  @@ -169,8 +169,8 @@
   static const struct handler_parameter mkdir_parameters_ver2[] = {
   	{ .name = "options", .private = MKDIR_OPTION },
   	{ .name = "base", .private = MKDIR_BASE },
  -	{ .name = "dir", .private = OPTION_NAMES },
  -	{ .name = "permissions", .private = OPTION_PERMISSIONS },
  +	{ .name = "dir", .private = MKDIR_NAMES },
  +	{ .name = "permissions", .private = MKDIR_PERMISSIONS },
   	{ .name = NULL }
   };
   
  
  
  
  1.20      +1 -1      ALFS/nALFS/src/handlers/owner.c
  
  Index: owner.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/owner.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- owner.c	3 Mar 2004 03:57:05 -0000	1.19
  +++ owner.c	3 Mar 2004 04:54:14 -0000	1.20
  @@ -131,7 +131,7 @@
   		}
   		data->group = xstrdup(value);
   		return 0;
  -	case OWNER_OPTION:
  +	case OWNER_OPTIONS:
   		if (!strcmp("recursive", value)) {
   			data->recursive = 1;
   			return 0;
  
  
  



More information about the alfs-log mailing list