From: KING, K. (ATTSI) <KK...@at...> - 2011-04-27 12:20:44
|
I have a question on patching. Is there a faq to explain the versioning and file names used? Is there a faq for devmon that is not in the e-mail archives? Thanks. > > Index: dm_templates.pm > =================================================================== > --- dm_templates.pm (revision 20) > +++ dm_templates.pm (working copy) > @@ -518,7 +518,7 @@ > }; > > $func_type eq 'delta' and do { > - $temp =~ s/\s*\{\s*\S+?\}(\s*\d*)\s*//; > + $temp =~ s/\s*\{\s*\S+?\s*\}(?:\s+\d+)?\s*//; > do_log("DELTA transform only a single oid (plus an " . > "optional limit) at $trans_file, line $l_num", 0) > and next LINE if $temp ne ''; > Index: dm_tests.pm > =================================================================== > --- dm_tests.pm (revision 20) > +++ dm_tests.pm (working copy) > @@ -266,7 +266,7 @@ > > # Extract our transform options > my ($dep_oid, $limit) = ($1, $2 || 0) > - if $oid_h->{'trans_data'} =~ /\{(.+)\}(\s*:\s*(\d+))?/; > + if $oid_h->{'trans_data'} =~ /\{\s*(.+?)\s*\}(?:\s+(\d+))?/; > my $dep_oid_h = \%{$oids->{$dep_oid}}; > > # Check our parent oids for any errors info/devmon-support |