Re: cd9660 and fcntl (shared locks)

2003-02-11 Thread Clark C. Evans
This patch which Terry gave a while back works beautyfully for my needs and hasn't given me any problems. I was wondering if it could be applied to the main trunk? I'm asking beacause maintaining the patch (and a separate build) isn't ideal. Below is an updated patch which seems to work well

cd9660 and fcntl (shared locks)

2002-11-18 Thread Clark C. Evans
When I open a file mounted via cd9660 as O_RDONLY and then flock(fd,LOCK_SH) it returns invalid argument; is there a reason why the cd-rom file system can't just return success here, make flock a no-op that is always successful? There are many cases where you want general code to use shared

Re: cd9660 and fcntl (shared locks)

2002-11-18 Thread Terry Lambert
Clark C. Evans wrote: When I open a file mounted via cd9660 as O_RDONLY and then flock(fd,LOCK_SH) it returns invalid argument; is there a reason why the cd-rom file system can't just return success here, make flock a no-op that is always successful? There are many cases where you want