Warning fix/Future proofing
Bug #309744 reported by
Michael D. Adams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Low
|
Abdulaziz Ghuloum |
Bug Description
The following change fixes a warning and future proofs the code against the possibility that "helpstring" includes a "%" in it in the future.
=== modified file 'src/scheme-
--- src/scheme-script.c 2008-10-18 21:49:20 +0000
+++ src/scheme-script.c 2008-12-19 15:40:39 +0000
@@ -37,7 +37,7 @@
arguments ... as (command-line)\n\
\n\
Consult the Ikarus Scheme User's Guide for more details.\n\n";
- fprintf(stderr, helpstring);
+ fprintf(stderr, "%s", helpstring);
}
int main(int argc, char** argv){
Related branches
Changed in ikarus: | |
milestone: | none → 0.0.4 |
To post a comment you must log in.
Fixed in 1722. Thanks.