cvs commit: ALFS/nALFS/src/handlers copy.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Mon Mar 1 21:17:53 PST 2004


kpfleming    04/03/01 22:17:53

  Modified:    nALFS/src/handlers copy.c
  Log:
  restore support for <base> parameter in syntax 2.0
  
  Revision  Changes    Path
  1.24      +7 -0      ALFS/nALFS/src/handlers/copy.c
  
  Index: copy.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/copy.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- copy.c	29 Feb 2004 04:24:59 -0000	1.23
  +++ copy.c	2 Mar 2004 05:17:53 -0000	1.24
  @@ -124,6 +124,13 @@
   	int option_found = 0;
   
   	switch (param->private) {
  +	case COPY_BASE:
  +		if (data->base) {
  +			Nprint_err("<copy>: cannot specify <base> more than once.");
  +			return 1;
  +		}
  +		data->base = xstrdup(value);
  +		return 0;
   	case COPY_OPTIONS:
   		if (option_in_string("force", value)) {
   			data->force = 1;
  
  
  



More information about the alfs-log mailing list