GNU MIX Development Kit - Patches: patch #9774, Make tape devices rewind to start...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9774: Make tape devices rewind to start when rewound past start
Submitter: | Kevin Brunelle <brunk23> | ||
Submitted: | Tue 19 Mar 2019 09:54:00 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | jao | Open/Closed: | Open |
Wed 20 Mar 2019 12:10:15 AM UTC, comment #1: |
Jose Antonio Ortega Ruiz <jao> |
Tue 19 Mar 2019 09:54:00 PM UTC, original submission:
According to the specification, if M < 0, the tape is skipped backwards M blocks, or to the beginning of the tape, whichever comes first. In the implementation, we don't check to verify that we aren't seeking past the beginning of the file. This causes fseek(3) to fail, and it leaves us at the position we were at.
|
Kevin Brunelle <brunk23> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-03-20 | jao | Status | None | Done | |
Assigned to | None | jao | |||
2019-03-19 | brunk23 | Attached File | - | Added tape-ioc-error-demo.mixal, #46586 | |
Attached File | - | Added tape-ioc-error-patch.txt, #46587 |
Powered by Savane 3.13-758e.
Corresponding source code
Patch applied to master. Thanks!