MAGIC Magic Mailing List
 
 

From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu)
Date: Mon Apr 16 2001 - 09:50:13 EDT

  • Next message: John Wood: "subscribe"

    Dear Jeff,
       That bug looks like my fault.  I started out with Michael Godfrey's
    code as-is, but then I noticed the (to me) undesirable behavior that
    the file lock code would create a flock/ directory everywhere you
    started up magic, whether or not you wanted file locking.  I changed
    the ordering of several blocks of code, but never completely tested
    the result.  Looks like in this case, it should be
    	lfile = fopen(cur_path, "w");
    which means that it looks for the presence of a "flock_list" directory,
    which is the way to tell magic that you want file locking on a particular
    project.
    						---Tim
    
    P.S. Apologies to Mike Godfrey for mangling his code. . .
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo