develooper Front page | perl.perl5.porters | Postings from January 2001

[PATCH: perl@8482] minor typos in some dl_$foo.xs files

Thread Next
From:
Peter Prymmer
Date:
January 19, 2001 18:40
Subject:
[PATCH: perl@8482] minor typos in some dl_$foo.xs files
Message ID:
Pine.OSF.4.10.10101191841080.61505-100000@aspara.forte.com

I noticed some typographical errors, one (aix) potentially user visible
and one (dlopen) hardly noticable at all.  Nevertheless:

diff -ru perl.8482_orig/ext/DynaLoader/dl_aix.xs perl.8482/ext/DynaLoader/dl_aix.xs
--- perl.8482_orig/ext/DynaLoader/dl_aix.xs	Fri Jan 19 18:34:45 2001
+++ perl.8482/ext/DynaLoader/dl_aix.xs	Fri Jan 19 18:33:37 2001
@@ -305,7 +305,7 @@
 		p++;
 	switch(atoi(s)) {
 	case L_ERROR_TOOMANY:
-		strcat(errbuf, "to many errors");
+		strcat(errbuf, "too many errors");
 		break;
 	case L_ERROR_NOLIB:
 		strcat(errbuf, "can't load library");
diff -ru perl.8482_orig/ext/DynaLoader/dl_dlopen.xs perl.8482/ext/DynaLoader/dl_dlopen.xs
--- perl.8482_orig/ext/DynaLoader/dl_dlopen.xs	Fri Jan 19 18:34:23 2001
+++ perl.8482/ext/DynaLoader/dl_dlopen.xs	Fri Jan 19 18:34:02 2001
@@ -112,7 +112,7 @@
 	    SaveError("%s",dlerror()) ;
 
    Note that SaveError() takes a printf format string. Use a "%s" as
-   the first parameter if the error may contain and % characters.
+   the first parameter if the error may contain any % characters.
 
 */
 
End of Patch.

Peter Prymmer




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About