mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Changess for THINK C 4.0.
This commit is contained in:
parent
801f473a4c
commit
706eea8a06
1 changed files with 2 additions and 2 deletions
|
|
@ -102,8 +102,8 @@ askfile()
|
|||
printf("EOF\n");
|
||||
exit(1);
|
||||
}
|
||||
/* XXX The (unsigned char *) case is needed by THINK C */
|
||||
if (sscanf((unsigned char *)buf, " %s ", name) != 1) {
|
||||
/* XXX The (unsigned char *) case is needed by THINK C 3.0 */
|
||||
if (sscanf(/*(unsigned char *)*/buf, " %s ", name) != 1) {
|
||||
printf("No file\n");
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue