D Unleashed - The Blooper List


Chapter 23 - Writing Common Gateway Interface (CGI) Applications in C



Type Page Error Correction Reported By
Typographical 1059 Duplicate sentence: "To specify listings we use the OPTION tag." Remove one of the duplicate sentences (but not both!).
Typographical 1062 NULL should be monospaced Change to NULL
Typographical 1063 NULL should be monospaced Change to NULL
Typographical 1065 NULL should be monospaced Change to NULL
Technical 1072 if((Match = strchr(Hex, *s)) != NULL) Change to if((Match = strchr(Hex, toupper((unsigned char)*s))) != NULL) - note that this problem occurs twice on this page; please also ensure that you #include <ctype.h>!
Typographical 1077 NULL should be monospaced Change to NULL
Technical 1084 The example explanation given indicates the hostname as www.mcp.com but the breakdown of the variable as it goes through the system() function uses 127.0.0.1; those hosts should be identical. Unless you happen to be on the mcp.com webserver (and with a funky hosts file at that) that probably won't be the case. The 127.0.0.1 line needs to be replaced to read "ping -c4 www.mcp.com; cat /etc/passwd" Chad Dixon




Back to index