| To: | austin-group-l@xxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [1003.1(2008)/Issue 7 0000177]: mismatch between example descriptionand code |
| From: | shwaresyst@xxxxxxx |
| Date: | Tue, 03 Nov 2009 22:41:53 -0500 |
| References: | <2f0d6649cb44769ff8aefcdb06b80d5e@xxxxxx> |
|
Actually, the tab was there, but not in its escaped form as you've
proposed, and I agree it should be listed as. -----Original Message----- From: Austin Group Bug Tracker <noreply@xxxxxx> To: austin-group-l@xxxxxx Sent: Tue, Nov 3, 2009 5:32 pm Subject: [1003.1(2008)/Issue 7 0000177]: mismatch between example description and code The following issue has been SUBMITTED. ====================================================================== http://austingroupbugs.net/view.php?id=177 ====================================================================== Reported By: Don Cragun Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 177 Category: System Interfaces Type: Error Severity: Editorial Priority: normal Status: Under Review Name: Don Cragun Organization: N/A User Reference: strtok() example Section: strtok() Page Number: 2041 Line Number: 64700-64701 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2009-11-03 22:32 UTC Last Modified: 2009-11-03 22:32 UTC ====================================================================== Summary: mismatch between example description and code Description: P2041, L64688-64689 says that the code presented below looks for combinations of <space>, <tab>, or <new-line> characters, but the code on L64700-64701 doesn't include <tab>. Desired Action: <pre> Change: key = strtok(line, " \n"); data = strtok(NULL, " \n"); on P2041, L64700 to: key = strtok(line, " \t\n"); data = strtok(NULL, " \t\n"); </pre> ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2009-11-03 22:32 Don Cragun New Issue 2009-11-03 22:32 Don Cragun Status New => Under Review 2009-11-03 22:32 Don Cragun Assigned To => ajosey 2009-11-03 22:32 Don Cragun Name => Don Cragun 2009-11-03 22:32 Don Cragun Organization => N/A 2009-11-03 22:32 Don Cragun User Reference => strtok() example 2009-11-03 22:32 Don Cragun Section => strtok() 2009-11-03 22:32 Don Cragun Page Number => 2041 2009-11-03 22:32 Don Cragun Line Number => 64700-64701 2009-11-03 22:32 Don Cragun Interp Status => --- ====================================================================== |
| Previous by Date: | Re: fgets/strtok and LINE_MAX, shwaresyst |
|---|---|
| Next by Date: | Re: fgets/strtok and LINE_MAX, Don Cragun |
| Previous by Thread: | [1003.1(2008)/Issue 7 0000177]: mismatch between example description and code, Austin Group Bug Tracker |
| Next by Thread: | [1003.1(2008)/Issue 7 0000177]: mismatch between example description and code, Austin Group Bug Tracker |
| Indexes: | [Date] [Thread] [All Lists] |