diff options
-rw-r--r-- | dmake/dbug/dbug/dbug.c | 2 | ||||
-rw-r--r-- | dmake/dmake.c | 2 | ||||
-rw-r--r-- | dmake/dmstring.c | 2 | ||||
-rw-r--r-- | dmake/make.c | 2 | ||||
-rw-r--r-- | dmake/path.c | 2 | ||||
-rw-r--r-- | dmake/rulparse.c | 2 | ||||
-rw-r--r-- | dmake/sysintf.c | 2 | ||||
-rw-r--r-- | guw/guw.cc | 2 | ||||
-rw-r--r-- | solenv/bin/modules/installer/control.pm | 12 | ||||
-rw-r--r-- | solenv/bin/modules/installer/javainstaller.pm | 4 | ||||
-rw-r--r-- | solenv/bin/modules/installer/packagepool.pm | 8 | ||||
-rw-r--r-- | solenv/bin/modules/installer/regmerge.pm | 16 | ||||
-rw-r--r-- | solenv/bin/modules/installer/scpzipfiles.pm | 4 | ||||
-rw-r--r-- | solenv/bin/modules/installer/scriptitems.pm | 10 | ||||
-rw-r--r-- | solenv/bin/modules/installer/servicesfile.pm | 52 | ||||
-rw-r--r-- | solenv/bin/modules/installer/windows/idtglobal.pm | 10 | ||||
-rw-r--r-- | solenv/bin/modules/installer/windows/msiglobal.pm | 38 | ||||
-rw-r--r-- | solenv/bin/modules/installer/windows/sign.pm | 4 | ||||
-rw-r--r-- | solenv/bin/modules/installer/worker.pm | 2 | ||||
-rw-r--r-- | solenv/bin/modules/installer/xpdinstaller.pm | 12 | ||||
-rw-r--r-- | solenv/bin/modules/packager/work.pm | 2 | ||||
-rw-r--r-- | solenv/bin/transform_description.pl | 2 |
22 files changed, 96 insertions, 96 deletions
diff --git a/dmake/dbug/dbug/dbug.c b/dmake/dbug/dbug/dbug.c index c212161f6cac..6262f89431dd 100644 --- a/dmake/dbug/dbug/dbug.c +++ b/dmake/dbug/dbug/dbug.c @@ -235,7 +235,7 @@ LOCAL BOOLEAN DoProfile (); /* Check if profiling is enabled */ /* Supplied in Sys V runtime environ */ LOCAL char *strtok (); /* Break string into tokens */ -LOCAL char *strrchr (); /* Find last occurance of char */ +LOCAL char *strrchr (); /* Find last occurrence of char */ /* * The following local variables are used to hold the state information diff --git a/dmake/dmake.c b/dmake/dmake.c index 52db2b6049da..4a4dd6fd2212 100644 --- a/dmake/dmake.c +++ b/dmake/dmake.c @@ -292,7 +292,7 @@ char **argv; HASHPTR hp; /* This cleans the .SILENT setting */ hp = Def_macro(".SILENT", "", M_EXPANDED); - /* This overrides the bitmask for further occurences of + /* This overrides the bitmask for further occurrences of * .SILENT to "no bits allowed", see bit variables in the * set_macro_value() definition in dag.c. * The bitmask is already set by Create_macro_vars() in diff --git a/dmake/dmstring.c b/dmake/dmstring.c index 9659fc406768..53068a9deba0 100644 --- a/dmake/dmstring.c +++ b/dmake/dmstring.c @@ -200,7 +200,7 @@ char *str; PUBLIC char * DmStrPbrk( s1, s2 )/* ==================== - find first occurence of char in s2 in string s1. + find first occurrence of char in s2 in string s1. Returns a pointer to the first occurrence. NOTE '\0' is considered part of s2 and a pointer to it is returned if no other chars match. */ diff --git a/dmake/make.c b/dmake/make.c index 67af0653d35f..ebff575d5c8e 100644 --- a/dmake/make.c +++ b/dmake/make.c @@ -1254,7 +1254,7 @@ Exec_commands( cp )/* The function returns 0, if the command is executed and has successfully returned, and it returns 1 if the command is executing but has not yet - returned or -1 if an error occured (Return value from Do_cmnd()). + returned or -1 if an error occurred (Return value from Do_cmnd()). Macros that are found in recipe lines are expanded in this function, in parallel builds this can mean they are expanded before the previous recipe diff --git a/dmake/path.c b/dmake/path.c index ead163394175..d50b7593eec1 100644 --- a/dmake/path.c +++ b/dmake/path.c @@ -181,7 +181,7 @@ char *path; #ifdef HAVE_DRIVE_LETTERS - /* Change all occurences from DirBrkStr to *DirSepStr. This assumes + /* Change all occurrences from DirBrkStr to *DirSepStr. This assumes * that when HAVE_DRIVE_LETTERS is set the directory separator is * either '\' or '/'. */ if (*DirSepStr == '/') diff --git a/dmake/rulparse.c b/dmake/rulparse.c index 471c83577d18..4f909c90b7ac 100644 --- a/dmake/rulparse.c +++ b/dmake/rulparse.c @@ -1194,7 +1194,7 @@ CELLPTR prereq; * definitions for the %-target members are stored in the prerequisites * list of the master target. */ /* This relies on target->ce_prq being NULL if this is the first - * occurence of this %-target and therefore not yet having a %-target + * occurrence of this %-target and therefore not yet having a %-target * master. */ match = FALSE; for(edl=target->ce_prq; !match && edl != NIL(LINK); edl=edl->cl_next) { diff --git a/dmake/sysintf.c b/dmake/sysintf.c index d7b482a3e405..bed71916a1cd 100644 --- a/dmake/sysintf.c +++ b/dmake/sysintf.c @@ -278,7 +278,7 @@ int last; /* Last recipe line in target. */ DB_RETURN( 0 ); } - /* Stop making the rest of the recipies for this target if an error occured + /* Stop making the rest of the recipies for this target if an error occurred * but the Continue (-k) flag is set to build as much as possible. */ if ( target->ce_attr & A_ERROR ) { if ( last ) { diff --git a/guw/guw.cc b/guw/guw.cc index ea7c84d5cf4e..ef6e5eb93f9b 100644 --- a/guw/guw.cc +++ b/guw/guw.cc @@ -641,7 +641,7 @@ void rep_subn_cyg(string &argument) regfree(&re); } -// Replace all occurences of subexpression number "subexp" with "repl" +// Replace all occurrences of subexpression number "subexp" with "repl" void rep_subn( string &argument, const char *pattern, int subexp, const char repl) { int status, pos=0; diff --git a/solenv/bin/modules/installer/control.pm b/solenv/bin/modules/installer/control.pm index f81d17350afa..fc14cad0390d 100644 --- a/solenv/bin/modules/installer/control.pm +++ b/solenv/bin/modules/installer/control.pm @@ -341,11 +341,11 @@ sub check_logfile # Errors are all errors, but not the Windows installer table "Error.idt" my $compareline = $line; - $compareline =~ s/Error\.idt//g; # removing all occurences of "Error.idt" - $compareline =~ s/Error\.mlf//g; # removing all occurences of "Error.mlf" - $compareline =~ s/Error\.ulf//g; # removing all occurences of "Error.ulf" - $compareline =~ s/Error\.idl//g; # removing all occurences of "Error.idl" - $compareline =~ s/Error\.html//g; # removing all occurences of "Error.html" + $compareline =~ s/Error\.idt//g; # removing all occurrences of "Error.idt" + $compareline =~ s/Error\.mlf//g; # removing all occurrences of "Error.mlf" + $compareline =~ s/Error\.ulf//g; # removing all occurrences of "Error.ulf" + $compareline =~ s/Error\.idl//g; # removing all occurrences of "Error.idl" + $compareline =~ s/Error\.html//g; # removing all occurrences of "Error.html" if ( $compareline =~ /\bError\b/i ) { @@ -358,7 +358,7 @@ sub check_logfile { my $line = "\n*********************************************************************\n"; push(@output, $line); - $line = "ERROR: The following errors occured in packaging process:\n\n"; + $line = "ERROR: The following errors occurred in packaging process:\n\n"; push(@output, $line); for ( my $i = 0; $i <= $#errors; $i++ ) diff --git a/solenv/bin/modules/installer/javainstaller.pm b/solenv/bin/modules/installer/javainstaller.pm index 6cc71c2f2eb7..43a7a9736d71 100644 --- a/solenv/bin/modules/installer/javainstaller.pm +++ b/solenv/bin/modules/installer/javainstaller.pm @@ -374,7 +374,7 @@ sub convert_licenstring ####################################################### # Adding the license file into the java file # In the template java file there are two -# occurences of INSTALLSDK_GUI_LICENSE +# occurrences of INSTALLSDK_GUI_LICENSE # and INSTALLSDK_CONSOLE_LICENSE ####################################################### @@ -425,7 +425,7 @@ sub make_systemcall { $infoline = "ERROR: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - $error_occured = 1; + $error_occurred = 1; } else { diff --git a/solenv/bin/modules/installer/packagepool.pm b/solenv/bin/modules/installer/packagepool.pm index d4032b7db17e..c3f3a91d2bd3 100644 --- a/solenv/bin/modules/installer/packagepool.pm +++ b/solenv/bin/modules/installer/packagepool.pm @@ -743,7 +743,7 @@ sub package_is_up_to_date log_pool_info(0); # removing new package from installation set - if ( $newpackagepath ne "" ) { remove_package_from_installset($newpackagepath); } # A file was copied and a problem occured with pooling + if ( $newpackagepath ne "" ) { remove_package_from_installset($newpackagepath); } # A file was copied and a problem occurred with pooling $package_is_up_to_date = 4; # repeat this package return $package_is_up_to_date; @@ -756,7 +756,7 @@ sub package_is_up_to_date log_pool_info(1); # removing new package from installation set - if ( $newpackagepath ne "" ) { remove_package_from_installset($newpackagepath); } # A file was copied and a problem occured with pooling + if ( $newpackagepath ne "" ) { remove_package_from_installset($newpackagepath); } # A file was copied and a problem occurred with pooling $package_is_up_to_date = 4; # repeat this package return $package_is_up_to_date; @@ -914,7 +914,7 @@ sub put_content_into_pool } # Before the new package is renamed in the pool, it has to be checked, if this process still has the lock for this package. - # Check, if lock file still exists and if this process is the owner. Otherwise a pool error occured. + # Check, if lock file still exists and if this process is the owner. Otherwise a pool error occurred. if ( ! -f $installer::globals::poollockfilename ) { unlink $uniquedestination; # removing file from pool @@ -936,7 +936,7 @@ sub put_content_into_pool push( @installer::globals::logfileinfo, $infoline); # Before the lock file in the pool can be removed, it has to be checked, if this process is still the owner of this lock file. - # Check, if lock file still exists and if this process is the owner. Otherwise a pool error occured. + # Check, if lock file still exists and if this process is the owner. Otherwise a pool error occurred. if ( ! -f $installer::globals::poollockfilename ) { log_pool_info(0); diff --git a/solenv/bin/modules/installer/regmerge.pm b/solenv/bin/modules/installer/regmerge.pm index 193d77073e37..2f31a0bbc64c 100644 --- a/solenv/bin/modules/installer/regmerge.pm +++ b/solenv/bin/modules/installer/regmerge.pm @@ -219,20 +219,20 @@ sub merge_files my $prefix = $databasefile->{'NativeServicesURLPrefix'}; # TODO: "NativeServicesURLPrefix" or "JavaServicesURLPrefix" - my $error_occured = 0; + my $error_occurred = 0; for ( my $i = 0; $i <= $#{$registerfiles}; $i++ ) { my $registerfile = $databasedir . $installer::globals::separator . $i . ".tmp"; - open (IN, '<', $registerfiles->[$i]) or $error_occured = 1; - open (OUT, '>', $registerfile) or $error_occured = 1; + open (IN, '<', $registerfiles->[$i]) or $error_occurred = 1; + open (OUT, '>', $registerfile) or $error_occurred = 1; while (<IN>) { s/^ComponentName=/ComponentName=$prefix/; - print OUT $_ or $error_occured = 1; + print OUT $_ or $error_occurred = 1; } - close IN or $error_occured = 1; - close OUT or $error_occured = 1; + close IN or $error_occurred = 1; + close OUT or $error_occurred = 1; my $systemcall = $regmergefile . " -v " . $databasedest . " " . $registerfile . " 2\>\&1 |"; @@ -271,7 +271,7 @@ sub merge_files { $infoline = "ERROR: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - $error_occured = 1; + $error_occurred = 1; } else { @@ -280,7 +280,7 @@ sub merge_files } } - return $error_occured; + return $error_occurred; } ################################################################ diff --git a/solenv/bin/modules/installer/scpzipfiles.pm b/solenv/bin/modules/installer/scpzipfiles.pm index bcfd49e0b145..cb0e6408e565 100644 --- a/solenv/bin/modules/installer/scpzipfiles.pm +++ b/solenv/bin/modules/installer/scpzipfiles.pm @@ -45,7 +45,7 @@ sub replace_all_ziplistvariables_in_file { my $line = ${$fileref}[$i]; - if ( $line =~ /^.*\$\{\w+\}.*$/ ) # only occurence of ${abc} + if ( $line =~ /^.*\$\{\w+\}.*$/ ) # only occurrence of ${abc} { my $key; @@ -73,7 +73,7 @@ sub replace_all_ziplistvariables_in_rtffile { my $line = ${$fileref}[$i]; - if ( $line =~ /^.*\$\\\{\w+\\\}.*$/ ) # only occurence of $\{abc\} + if ( $line =~ /^.*\$\\\{\w+\\\}.*$/ ) # only occurrence of $\{abc\} { for ( my $j = 0; $j <= $#{$variablesref}; $j++ ) { diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm index 8a2e6158096c..f0b0318e1d14 100644 --- a/solenv/bin/modules/installer/scriptitems.pm +++ b/solenv/bin/modules/installer/scriptitems.pm @@ -1335,7 +1335,7 @@ sub remove_Files_Without_Sourcedirectory my $infoline; - my $error_occured = 0; + my $error_occurred = 0; my @missingfiles = (); push(@missingfiles, "ERROR: The following files could not be found: \n"); @@ -1360,7 +1360,7 @@ sub remove_Files_Without_Sourcedirectory push( @installer::globals::logfileinfo, $infoline); push(@missingfiles, "ERROR: File not found: $filename\n"); - $error_occured = 1; + $error_occurred = 1; next; # removing this file from list, if sourcepath is empty } @@ -1372,7 +1372,7 @@ sub remove_Files_Without_Sourcedirectory push( @installer::globals::logfileinfo, $infoline); push(@missingfiles, "ERROR: File not found: $filename\n"); - $error_occured = 1; + $error_occurred = 1; next; # removing this file from list, if sourcepath is empty } @@ -1395,7 +1395,7 @@ sub remove_Files_Without_Sourcedirectory $infoline = "\n"; push( @installer::globals::logfileinfo, $infoline); - if ( $error_occured ) + if ( $error_occurred ) { for ( my $i = 0; $i <= $#missingfiles; $i++ ) { print "$missingfiles[$i]"; } installer::exiter::exit_program("ERROR: Missing files", "remove_Files_Without_Sourcedirectory"); @@ -2025,7 +2025,7 @@ sub quoting_illegal_filenames } ############################################################################ -# Removing multiple occurences of same module. +# Removing multiple occurrences of same module. ############################################################################ sub optimize_list diff --git a/solenv/bin/modules/installer/servicesfile.pm b/solenv/bin/modules/installer/servicesfile.pm index 892b5af28180..b068bb6ef398 100644 --- a/solenv/bin/modules/installer/servicesfile.pm +++ b/solenv/bin/modules/installer/servicesfile.pm @@ -129,18 +129,18 @@ sub register_unocomponents installer::logger::include_header_into_logfile("Registering UNO components:"); - my $error_occured = 0; + my $error_occurred = 0; my $filestring = ""; for ( my $i = 0; $i <= $#{$unocomponents}; ++$i ) { - my $local_error1_occured = 0; - my $local_error2_occured = 0; + my $local_error1_occurred = 0; + my $local_error2_occurred = 0; my $sourcepath = make_file_url(${$unocomponents}[$i]->{'sourcepath'}); my $urlprefix = ${$unocomponents}[$i]->{'NativeServicesURLPrefix'}; if (defined($urlprefix)) { - $local_error1_occured = call_regcomp($regcompfileref, $servicesfile, $sourcepath, $urlprefix); + $local_error1_occurred = call_regcomp($regcompfileref, $servicesfile, $sourcepath, $urlprefix); } else { @@ -150,14 +150,14 @@ sub register_unocomponents if (length($filestring) > $installer::globals::unomaxservices || ($i == $#{$unocomponents} && $filestring ne "")) { - $local_error2_occured = call_regcomp($regcompfileref, $servicesfile, $filestring, $nativeservicesurlprefix); + $local_error2_occurred = call_regcomp($regcompfileref, $servicesfile, $filestring, $nativeservicesurlprefix); $filestring = ""; } - if (( $local_error1_occured ) || ( $local_error2_occured )) { $error_occured = 1; } + if (( $local_error1_occurred ) || ( $local_error2_occured )) { $error_occured = 1; } } - return $error_occured; + return $error_occurred; } sub call_regcomp @@ -165,7 +165,7 @@ sub call_regcomp my ($regcompfileref, $servicesfile, $filestring, $urlprefix) = @_; my @regcompoutput = (); - my $error_occured = 0; + my $error_occurred = 0; my $systemcall = "$$regcompfileref -register -r ".fix_cygwin_path($servicesfile)." -c " . $installer::globals::quote . $filestring . $installer::globals::quote . " -wop=" . $installer::globals::quote . $urlprefix . $installer::globals::quote . " 2\>\&1 |"; @@ -184,7 +184,7 @@ sub call_regcomp { $infoline = "ERROR: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - $error_occured = 1; + $error_occurred = 1; } else { @@ -192,7 +192,7 @@ sub call_regcomp push( @installer::globals::logfileinfo, $infoline); } - return $error_occured; + return $error_occurred; } ################################################################ @@ -210,7 +210,7 @@ sub register_javacomponents installer::pathanalyzer::get_path_from_fullqualifiedname($ure_internal_java_dir_ref); if ( $$ure_internal_java_dir_ref eq "" ) { installer::exiter::exit_program("Could not determine URE_INTERNAL_JAVA_DIR when registering Java components!", "register_javacomponents"); } - my $error_occured = 0; + my $error_occurred = 0; my $do_register = 1; if (!( $installer::globals::solarjava )) { $do_register = 0; } @@ -245,7 +245,7 @@ sub register_javacomponents if ($returnvalue) { $infoline = "ERROR: $systemcall\n"; - $error_occured = 1; + $error_occurred = 1; } else { @@ -263,7 +263,7 @@ sub register_javacomponents } } - return $error_occured; + return $error_occurred; } @@ -311,7 +311,7 @@ sub register_pythoncomponents installer::logger::include_header_into_logfile("Registering python UNO components:"); - my $error_occured = 0; + my $error_occurred = 0; my $counter = 0; my $systemcall = ""; @@ -386,7 +386,7 @@ sub register_pythoncomponents { $infoline = "ERROR: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - $error_occured = 1; + $error_occurred = 1; } else { @@ -402,7 +402,7 @@ sub register_pythoncomponents } } - return $error_occured; + return $error_occurred; } ################################################################ @@ -454,15 +454,15 @@ sub register_all_components } } - $uno_error_occured = 0; - $java_error_occured = 0; - $python_error_occured = 0; + $uno_error_occurred = 0; + $java_error_occurred = 0; + $python_error_occurred = 0; - if ( $#unocomponents > -1 ) { $uno_error_occured = register_unocomponents($allvariableshashref, \@unocomponents, $regcompfileref, $servicesfile, $nativeservicesurlprefix); } - if ( $#javacomponents > -1 ) { $java_error_occured = register_javacomponents($allvariableshashref, \@javacomponents, $regcompfileref, $servicesfile, $regcomprdb, $javaservicesurlprefix); } - if ( $#pythoncomponents > -1 ) { $python_error_occured = register_pythoncomponents(\@pythoncomponents, $regcompfileref, $servicesfile, $includepatharrayref); } + if ( $#unocomponents > -1 ) { $uno_error_occurred = register_unocomponents($allvariableshashref, \@unocomponents, $regcompfileref, $servicesfile, $nativeservicesurlprefix); } + if ( $#javacomponents > -1 ) { $java_error_occurred = register_javacomponents($allvariableshashref, \@javacomponents, $regcompfileref, $servicesfile, $regcomprdb, $javaservicesurlprefix); } + if ( $#pythoncomponents > -1 ) { $python_error_occurred = register_pythoncomponents(\@pythoncomponents, $regcompfileref, $servicesfile, $includepatharrayref); } - if ( $uno_error_occured || $java_error_occured || $python_error_occured ) { $registererrorflag = 1; } + if ( $uno_error_occurred || $java_error_occured || $python_error_occured ) { $registererrorflag = 1; } return $registererrorflag; } @@ -741,7 +741,7 @@ sub collect_all_services_gids my ($filesarrayref) = @_; my @databasegids = (); - my $error_occured = 0; + my $error_occurred = 0; my @error_files = (); for ( my $i = 0; $i <= $#{$filesarrayref}; $i++ ) @@ -756,11 +756,11 @@ sub collect_all_services_gids else { push(@error_files, $onefile->{'gid'}); - $error_occured = 1; + $error_occurred = 1; } } - if ( $error_occured ) + if ( $error_occurred ) { my $infoline = "ERROR: Style UNO_COMPONENT is set, but no RegistryID is assigned!\n"; push( @installer::globals::logfileinfo, $infoline); diff --git a/solenv/bin/modules/installer/windows/idtglobal.pm b/solenv/bin/modules/installer/windows/idtglobal.pm index cfbea7959386..0c468d2606fc 100644 --- a/solenv/bin/modules/installer/windows/idtglobal.pm +++ b/solenv/bin/modules/installer/windows/idtglobal.pm @@ -2064,7 +2064,7 @@ sub get_customaction_position ########################################################################## # Setting the position of CustomActions in sequence tables. -# Replacing all occurences of "POSITIONTEMPLATE_" +# Replacing all occurrences of "POSITIONTEMPLATE_" ########################################################################## sub set_positions_in_table @@ -2074,7 +2074,7 @@ sub set_positions_in_table my $infoline = "\nSetting positions in table \"$tablename\".\n"; push(@installer::globals::logfileinfo, $infoline); - # Step 1: Resolving all occurences of "POSITIONTEMPLATE_end" + # Step 1: Resolving all occurrences of "POSITIONTEMPLATE_end" my $lastposition = get_last_position_in_sequencetable($sequencetable); @@ -2090,9 +2090,9 @@ sub set_positions_in_table } } - # Step 2: Resolving all occurences of "POSITIONTEMPLATE_abc" or "POSITIONTEMPLATE_behind_abc" + # Step 2: Resolving all occurrences of "POSITIONTEMPLATE_abc" or "POSITIONTEMPLATE_behind_abc" # where abc is the name of the reference Custom Action. - # This has to be done, until there is no more occurence of POSITIONTEMPLATE (success) + # This has to be done, until there is no more occurrence of POSITIONTEMPLATE (success) # or there is no replacement in one circle (failure). my $template_exists = 0; @@ -2147,7 +2147,7 @@ sub set_positions_in_table } } while (( $template_exists ) && ( $template_replaced )); - # An error occured, because templates still exist, but could not be replaced. + # An error occurred, because templates still exist, but could not be replaced. # Reason: # 1. Wrong name of CustomAction in scp2 (typo?) # 2. Circular dependencies of CustomActions (A after B and B after A) diff --git a/solenv/bin/modules/installer/windows/msiglobal.pm b/solenv/bin/modules/installer/windows/msiglobal.pm index 159867f03fd2..f369d5925536 100644 --- a/solenv/bin/modules/installer/windows/msiglobal.pm +++ b/solenv/bin/modules/installer/windows/msiglobal.pm @@ -1005,9 +1005,9 @@ sub create_transforms my $infoline = "Systemcall: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - # Problem: msitran.exe in version 4.0 always returns "1", even if no failure occured. + # Problem: msitran.exe in version 4.0 always returns "1", even if no failure occurred. # Therefore it has to be checked, if this is version 4.0. If yes, if the mst file - # exists and if it is larger than 0 bytes. If this is true, then no error occured. + # exists and if it is larger than 0 bytes. If this is true, then no error occurred. # File Version of msitran.exe: 4.0.6000.16384 has checksum: "b66190a70145a57773ec769e16777b29". # Same for msitran.exe from wntmsci12: "aa25d3445b94ffde8ef0c1efb77a56b8" @@ -1052,13 +1052,13 @@ sub create_transforms } else { - $infoline = "Filesize indicates that an error occured.\n"; + $infoline = "Filesize indicates that an error occurred.\n"; push( @installer::globals::logfileinfo, $infoline); } } else { - $infoline = "File $transformfile does not exist -> An error occured.\n"; + $infoline = "File $transformfile does not exist -> An error occurred.\n"; push( @installer::globals::logfileinfo, $infoline); } } @@ -2076,8 +2076,8 @@ sub read_saved_mappings { my @errorlines = (); my $errorstring = ""; - my $error_occured = 0; - my $file_error_occured = 0; + my $error_occurred = 0; + my $file_error_occurred = 0; my $dir_error = 0; my $idtdir = $installer::globals::previous_idt_dir; @@ -2101,28 +2101,28 @@ sub read_saved_mappings if ( exists($installer::globals::savedmapping{"$2/$5"})) { - if ( ! $file_error_occured ) + if ( ! $file_error_occurred ) { $errorstring = "\nErrors in $idtfile: \n"; push(@errorlines, $errorstring); } $errorstring = "Duplicate savedmapping{" . "$2/$5}\n"; push(@errorlines, $errorstring); - $error_occured = 1; - $file_error_occured = 1; + $error_occurred = 1; + $file_error_occurred = 1; } if ( exists($installer::globals::savedrevmapping{$lc1})) { - if ( ! $file_error_occured ) + if ( ! $file_error_occurred ) { $errorstring = "\nErrors in $idtfile: \n"; push(@errorlines, $errorstring); } $errorstring = "Duplicate savedrevmapping{" . "$lc1}\n"; push(@errorlines, $errorstring); - $error_occured = 1; - $file_error_occured = 1; + $error_occurred = 1; + $file_error_occurred = 1; } my $shortname = $4 || ''; @@ -2136,15 +2136,15 @@ sub read_saved_mappings if (( $shortname ne '' ) && ( index($shortname, '~') > 0 ) && ( exists($installer::globals::savedrev83mapping{$shortname}) )) { - if ( ! $file_error_occured ) + if ( ! $file_error_occurred ) { $errorstring = "\nErrors in $idtfile: \n"; push(@errorlines, $errorstring); } $errorstring = "Duplicate savedrev83mapping{" . "$shortname}\n"; push(@errorlines, $errorstring); - $error_occured = 1; - $file_error_occured = 1; + $error_occurred = 1; + $file_error_occurred = 1; } $installer::globals::savedmapping{"$2/$5"} = "$1;$shortname"; @@ -2176,15 +2176,15 @@ sub read_saved_mappings if ( exists($installer::globals::saved83dirmapping{$1}) ) { - if ( ! $dir_error_occured ) + if ( ! $dir_error_occurred ) { $errorstring = "\nErrors in $idtfile: \n"; push(@errorlines, $errorstring); } $errorstring = "Duplicate saved83dirmapping{" . "$1}\n"; push(@errorlines, $errorstring); - $error_occured = 1; - $dir_error_occured = 1; + $error_occurred = 1; + $dir_error_occurred = 1; } $installer::globals::saved83dirmapping{$1} = $4; @@ -2196,7 +2196,7 @@ sub read_saved_mappings # Analyzing errors - if ( $error_occured ) + if ( $error_occurred ) { for ( my $i = 0; $i <= $#errorlines; $i++ ) { diff --git a/solenv/bin/modules/installer/windows/sign.pm b/solenv/bin/modules/installer/windows/sign.pm index 0a99fe4cfa4c..8fb7b3fe13a0 100644 --- a/solenv/bin/modules/installer/windows/sign.pm +++ b/solenv/bin/modules/installer/windows/sign.pm @@ -629,9 +629,9 @@ sub cabinet_cosistency_check } else { - $infoline = "ERROR: Problem occured calling diff.exe (File: $lastfile)\n"; + $infoline = "ERROR: Problem occurred calling diff.exe (File: $lastfile)\n"; push( @installer::globals::logfileinfo, $infoline); - installer::exiter::exit_program("ERROR: Problem occured calling diff.exe (File: $lastfile) !", "cabinet_cosistency_check"); + installer::exiter::exit_program("ERROR: Problem occurred calling diff.exe (File: $lastfile) !", "cabinet_cosistency_check"); } } } diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm index 8cf25bf6d6b3..3c5ecd67eac3 100644 --- a/solenv/bin/modules/installer/worker.pm +++ b/solenv/bin/modules/installer/worker.pm @@ -475,7 +475,7 @@ sub analyze_and_save_logfile if ( $installer::globals::creating_windows_installer_patch ) { $installer::globals::creating_windows_installer_patch = 0; } - # Exiting the packaging process, if an error occured. + # Exiting the packaging process, if an error occurred. # This is important, to get an error code "-1", if an error was found in the log file, # that did not break the packaging process diff --git a/solenv/bin/modules/installer/xpdinstaller.pm b/solenv/bin/modules/installer/xpdinstaller.pm index 5a26ab0c4d81..d87ccfa3e8c9 100644 --- a/solenv/bin/modules/installer/xpdinstaller.pm +++ b/solenv/bin/modules/installer/xpdinstaller.pm @@ -443,8 +443,8 @@ sub get_forceintoupdate_value } ################################################### -# Substituting all occurences of "<" by "<" -# and all occurences of ">" by ">" +# Substituting all occurrences of "<" by "<" +# and all occurrences of ">" by ">" ################################################### sub replace_brackets_in_string @@ -458,7 +458,7 @@ sub replace_brackets_in_string } ################################################### -# Substituting all occurences of "\uUXYZ" by +# Substituting all occurrences of "\uUXYZ" by # "&#xUXYZ;", because the use xml saxparser does # not know anything about this encoding. Therfore # the xml file can keep standard encoding "UTF-8" @@ -884,7 +884,7 @@ sub make_systemcall { $infoline = "ERROR: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - $error_occured = 1; + $error_occurred = 1; } else { @@ -927,13 +927,13 @@ sub make_systemcall_allowing_error { $infoline = "WARNING: Failed system call: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - $error_occured = 1; + $error_occurred = 1; } else { $infoline = "ERROR: $systemcall\n"; push( @installer::globals::logfileinfo, $infoline); - $error_occured = 1; + $error_occurred = 1; } } else diff --git a/solenv/bin/modules/packager/work.pm b/solenv/bin/modules/packager/work.pm index ae0c743a635f..014d53b19efe 100644 --- a/solenv/bin/modules/packager/work.pm +++ b/solenv/bin/modules/packager/work.pm @@ -293,7 +293,7 @@ sub do_broadcast print "cmd_bcst -s 18 \@$tmpfile_name\n"; unlink "$tmpfile_name"; - if ( $returnvalue ) # an error occured + if ( $returnvalue ) # an error occurred { if (!($packager::globals::ignoreerrors)) { packager::exiter::exit_program("ERROR: Packing not successful!", "do_broadcast"); } } diff --git a/solenv/bin/transform_description.pl b/solenv/bin/transform_description.pl index 87dcb21deb53..9a7f850713dd 100644 --- a/solenv/bin/transform_description.pl +++ b/solenv/bin/transform_description.pl @@ -130,7 +130,7 @@ sub explain print STDOUT "\n"; print STDOUT " The following transformations are done at the moment:\n"; print STDOUT " - duplicate all lines containing #LANG#, for ever token of \$WITH_LANG\n"; - print STDOUT " replacing every occurance of \$LANG with a token\n"; + print STDOUT " replacing every occurrence of \$LANG with a token\n"; print STDOUT "\n"; print STDOUT " And yes, the functionality of this script should be\n"; print STDOUT " - moved to solenv/inc/tg_ext.mk\n"; |