1258:a12e102ff67f | 1259:7bc999fe285d |
---|---|
137 break; | 137 break; |
138 case SEEK_SET: | 138 case SEEK_SET: |
139 npos = 0; | 139 npos = 0; |
140 break; | 140 break; |
141 default: | 141 default: |
142 errno = EINVAL; | |
142 return -1; | 143 return -1; |
143 } | 144 } |
144 | 145 |
145 size_t opos = npos; | 146 size_t opos = npos; |
146 npos += offset; | 147 npos += offset; |