From 26eee7328031f78b063ab71265ef4fddc8619c72 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 11 Dec 2000 23:01:26 +0000 Subject: Fix fucking CVS conflicts because fucking CVS is a fucking big doofus - Federico svn path=/trunk/; revision=6920 --- libical/scripts/mkderivedparameters.pl | 2 +- libical/scripts/mkderivedproperties.pl | 3 ++- libical/scripts/mkderivedvalues.pl | 13 +++++++------ libical/scripts/mkrestrictiontable.pl | 6 +++++- 4 files changed, 15 insertions(+), 9 deletions(-) (limited to 'libical/scripts') diff --git a/libical/scripts/mkderivedparameters.pl b/libical/scripts/mkderivedparameters.pl index 2b505c878a..5715220ea3 100755 --- a/libical/scripts/mkderivedparameters.pl +++ b/libical/scripts/mkderivedparameters.pl @@ -272,6 +272,6 @@ EOM if ($opt_h){ print <){ my @v = split(/\t+/,$_); my $value = shift @v; + my $mode = shift @v; my $type = shift @v; my $comment = join(" ",@v); @@ -284,7 +285,7 @@ if ($opt_p) if ($opt_h){ print <) my @v = split(/\t+/,$_); my $value = shift @v; + my $mode = shift @v; my $type = shift @v; my $comment = join(" ",@v); @@ -155,7 +156,7 @@ while() $union_data = $lc; } - if ($opt_c) { + if ($opt_c && $mode eq "std") { print <data.v_${union_data}!=0) {free(impl->data.v_${union_data});}\n"; +print" if(impl->data.v_${union_data}!=0) {free((void*)impl->data.v_${union_data});}\n"; } print <data.v_${union_data} - str = strdup(temp); + str = icalmemory_strdup(temp); return str; } @@ -306,7 +307,7 @@ if ($opt_p) if ($opt_h){ print <) if(!$sub) { $sub = "0"; + } else { + $sub = "icalrestriction_".$sub; } if($prop ne "NONE"){ - print(" \{ICAL_METHOD_${method},ICAL_${targetcomp}_COMPONENT,ICAL_${prop}_PROPERTY,ICAL_RESTRICTION_${restr},$sub\},\n"); + print(" \{ICAL_METHOD_${method},ICAL_${targetcomp}_COMPONENT,ICAL_${prop}_PROPERTY,ICAL_RESTRICTION_${restr},$sub},\n"); } } @@ -80,6 +82,8 @@ while() if(!$sub) { $sub = "0"; + } else { + $sub = "icalrestriction_".$sub; } -- cgit