Menu

#248 posix/fcntl runs ok once, trashes bash?, rerun fails

open
nobody
posix (2)
5
2023-09-23
2017-05-28
No

on kubuntu 64bit: tried r5184, r5210
Once through, all posix tests run ok.
After tests run, bash has a problem:
touch test.tmp
rm -i test.tmp
rm: remove regular empty file 'temp'? rm: error closing file
# ^ file is not removed, not waiting for a reply.

$UNICON fcntl
./fcntl
Read failed: Resource temporarily unavailable

workaround for shell: restart bash, or:
sudo bash
exit
# ^ now rm -i test.tmp # works

Discussion

  • Charles Evans

    Charles Evans - 2021-09-21

    ubuntu focal:
    snapshot 9/6:
    rm works
    ./fcntl && echo ok
    Read failed: Resource temporarily unavailable
    ok
    (works)
    rm works
    make
    (fcntl still works)
    rm works
    ok to close this.

     
  • Charles Evans

    Charles Evans - 2023-09-23

    still ok, ubuntu budgie.
    Please close, worksforme

     

Log in to post a comment.