Rev 7626 | Rev 7668 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7626 | Rev 7666 | ||
---|---|---|---|
Line 1680... | Line 1680... | ||
1680 | 1680 | ||
1681 | FILE *CreateOutPut(char *ext,char *mode) |
1681 | FILE *CreateOutPut(char *ext,char *mode) |
1682 | { |
1682 | { |
1683 | char buf[256]; |
1683 | char buf[256]; |
- | 1684 | FILE *diskout; |
|
- | 1685 | if (comfile == file_meos) |
|
- | 1686 | sprintf(buf,"%s",rawfilename); |
|
1684 | FILE *diskout; |
1687 | else |
1685 | sprintf(buf,"%s.%s",rawfilename,ext); |
1688 | sprintf(buf,"%s.%s",rawfilename,ext); |
1686 | if((diskout=fopen(buf,mode))==NULL){ |
1689 | if((diskout=fopen(buf,mode))==NULL){ |
1687 | ErrOpenFile(buf); |
1690 | ErrOpenFile(buf); |
1688 | exit(e_notcreateoutput); |
1691 | exit(e_notcreateoutput); |