Changeset fa38804 in buchla-68k for libcio/filesys.c


Ignore:
Timestamp:
07/14/2017 04:18:35 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ace9ee7
Parents:
1efe224
Message:

Removed form-feed comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/filesys.c

    r1efe224 rfa38804  
    4040int32_t _berrno;                        /* BIOS error number */
    4141
    42 /*
    43 
    44 */
    45 
    46 
    4742/*
    4843   =============================================================================
     
    7974}
    8075
    81 /*
    82 
    83 */
    84 
    8576/*
    8677   =============================================================================
     
    9788        return(BIOS(B_RDWR, 0, (int8_t *)bufad, bpp->fsiz, fatsec, 0));
    9889}
    99 
    100 /*
    101 
    102 */
    10390
    10491/*
     
    135122}
    136123
    137 /*
    138 
    139 */
    140 
    141124/*
    142125   =============================================================================
     
    171154                return(IO_EOF);
    172155        }
    173 /*
    174 
    175 */
     156
    176157        /* update clsec and curlsn and see if we need a new cluster */
    177158
     
    216197                return(IO_EOF);
    217198
    218 /*
    219 
    220 */
    221 
    222199        } else {
    223200
     
    234211}
    235212
    236 /*
    237 
    238 */
    239 
    240213/*
    241214   =============================================================================
     
    271244}
    272245
    273 /*
    274 
    275 */
    276 
    277246/*
    278247   =============================================================================
     
    307276        return(DE_NULL);        /* couldn't find an available entry */
    308277}
    309 
    310 /*
    311 
    312 */
    313278
    314279/*
     
    330295}
    331296
    332 /*
    333 
    334 */
    335 
    336297/*
    337298   =============================================================================
     
    370331        fcp->modefl &= ~FC_EOF;                 /* turn off the EOF flag */
    371332
    372 /*
    373 
    374 */
    375 
    376333#if DEBUGIT
    377334        if (fsdebug) {
     
    398355        }
    399356
    400 /*
    401 
    402 */
     357
    403358        for (nc = 0; nc < rcls; nc++) {         /* follow the FAT chain */
    404359
     
    437392}
    438393
    439 /*
    440 
    441 */
    442 
    443394/*
    444395   =============================================================================
     
    477428                acls = ncls;                    /* point at the next one */
    478429        }
    479 
    480 /*
    481 
    482 */
    483430
    484431        dp->flen = 0L;                          /* file length = 0 */
     
    501448}
    502449
    503 /*
    504 
    505 */
    506 
    507450/*
    508451   =============================================================================
     
    524467}
    525468
    526 /*
    527 
    528 */
    529 
    530469/*
    531470   =============================================================================
     
    570509                        pc = ac;
    571510                }
    572 
    573 /*
    574 
    575 */
    576511
    577512#if     DEBUGIT
     
    614549        }
    615550}
    616 
    617 /*
    618 
    619 */
    620551
    621552/*
     
    640571}
    641572
    642 /*
    643 
    644 */
    645 
    646573/*
    647574   =============================================================================
     
    706633                _fatmod = FALSE;
    707634        }
    708 /*
    709 
    710 */
     635
    711636        if (!_dirin) {          /* access the root directory */
    712637
     
    723648        return(SUCCESS);
    724649}
    725 
    726 /*
    727 
    728 */
    729650
    730651/*
     
    774695                }
    775696
    776 /*
    777 
    778 */
    779 
    780697        } else {
    781698
     
    810727                        return(IO_ERR);
    811728                }
    812 
    813 /*
    814 
    815 */
    816729
    817730                /* truncate the file if requested */
     
    866779}
    867780
    868 /*
    869 
    870 */
    871 
    872781/*
    873782   =============================================================================
     
    893802                return(FAILURE);
    894803
    895 /*
    896 
    897 */
     804
    898805        /* check the file name for length */
    899806
     
    926833                return(FAILURE);
    927834
    928 /*
    929 
    930 */
     835
    931836        /* clear the file name and extension in the FCB to blanks */
    932837
     
    963868        }
    964869
    965 /*
    966 
    967 */
    968 
    969870        /* set the flags in the FCB and exit */
    970871
     
    999900}
    1000901
    1001 /*
    1002 
    1003 */
    1004 
    1005902/*
    1006903   =============================================================================
     
    1043940
    1044941                                }
    1045 
    1046 /*
    1047 
    1048 */
    1049942
    1050943                        } else {
     
    1079972}
    1080973
    1081 /*
    1082 
    1083 */
    1084 
    1085974/*
    1086975   =============================================================================
     
    11291018}
    11301019
    1131 /*
    1132 
    1133 */
    1134 
    11351020/*
    11361021   =============================================================================
Note: See TracChangeset for help on using the changeset viewer.