locking file region

locking file region

Post by Anton Che » Sat, 02 Sep 1995 04:00:00

Hi all,

I am trying to protect records with a file by lockf and/or fcntl
function.  The locked file region, however, can still be overwritten
by stdio call like fprintf (unlike the counterpart in the PC world).
Is there a wya to get around the problem.  I would appreciate any
ideas or comments.

Life is like a box of chocolate (owned by someone else).


1. X Regions crash (GC Clip regions)

Anyone got XPolygonRegion working?
r = XPolygonRegion(pts, 3, EvenOddRule);

The process halts here.???
GDB tells me that the system is stuck in an Xlib routine
called InsertionSort().
Now, inserting and sorting three or four points shouldn't take
forever (and then crash).
Any ideas? (tried closed and non-closed paths)


Linux FREE BBS V.Fast 24,000bps.  Ottawa, Canada. (613)-829-1941

2. FTAPE Will Not Compile

3. More mail file locking questions (lockf, NFS, /var/spool/mail/*.lock)

4. Real Audio problems -- Error #50

5. Locked files - who has it locked?

6. trying to install wu-ftpd-2_4_2b18vr14-2_i386.rpm

7. "Can't read lock file /tmp/.X0-lock"

8. help with variables

9. modem locked but I can't find the lock file

10. Apache: Cannot open lock file: /usr/logs/httpd.lock.10064

11. Shared memory region - too many open files

12. how to remove a lock from a locked file?

13. Shared memory region - too many open files