arosc.library - fix crash when fseek is used on fopen(directory)
commit3d82a4af02456ed4732bd00c660261c507a430f2
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 30 Jun 2013 08:10:18 +0000 (30 08:10 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 30 Jun 2013 08:10:18 +0000 (30 08:10 +0000)
tree7e64f9b69fc32fc53cff5205d3545b3c2f72832e
parentf933306da4bdd668691b1a73ed945e2f3037db9c
arosc.library - fix crash when fseek is used on fopen(directory)

If directory is fopened, the file handler is really a lock and calling
Flush/Seek on a lock causes a crash.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@47617 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/clib/fseek.c