Subversion Repositories filter_foundry

Rev

Rev 184 | Rev 192 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 184 Rev 189
Line 147... Line 147...
147
static OSErr copyplist(FSSpec *fss, short dstvol, long dstdir){
147
static OSErr copyplist(FSSpec *fss, short dstvol, long dstdir){
148
        static char *key = "com.telegraphics.FilterFoundry";
148
        static char *key = "com.telegraphics.FilterFoundry";
149
        static unsigned char *fname="\pInfo.plist";
149
        static unsigned char *fname="\pInfo.plist";
150
        char *buf,*save,*p;
150
        char *buf,*save,*p;
151
        short rn,dstrn,i,n,m;
151
        short rn,dstrn,i,n,m;
-
 
152
        FILEPOS eof;
152
        long eof,count;
153
        FILECOUNT count;
153
        OSErr e;
154
        OSErr e;
154
 
155
 
155
        if( !(e = HCreate(dstvol,dstdir,fname,'pled','TEXT')) ){
156
        if( !(e = HCreate(dstvol,dstdir,fname,'pled','TEXT')) ){
156
                if( !(e = HOpenDF(dstvol,dstdir,fname,fsWrPerm,&dstrn)) ){
157
                if( !(e = HOpenDF(dstvol,dstdir,fname,fsWrPerm,&dstrn)) ){
157
                        if( !(e = FSpOpenDF(fss,fsRdPerm,&rn)) ){
158
                        if( !(e = FSpOpenDF(fss,fsRdPerm,&rn)) ){