MAGIC Magic Mailing List
 
 

From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu)
Date: Sun Aug 19 2001 - 17:04:06 EDT

  • Next message: Siamak Modjtahedi: "(magic -d OGL) AND Searching"

    Dear Prakash,
    
       If you downloaded the CVS source since sometime in July, you will
    have the correct file locking routines.  I don't think this is true
    of the tar.gz distribution.
       File locking is implemented in such a way that user's who don't
    want it (which is probably the majority) won't be bothered by its
    habits, such as creating local directories for managing timestamps.
    For this reason, file locking, even when enabled in the compilation
    configuration, is not enabled at run-time until the "master file
    locking directory" is created in $CAD_HOME.  Nothing needs to be put
    in this directory---magic will do that part---but $CAD_HOME/flock/
    must exist, as its presence is what tells magic to go ahead with the
    file locking system.
       I may need to look closer at the code, though, because if it says
    "Directory "/flock" not available", this indicates that it could not
    find either an environment variable $CAD_HOME or a directory ~cad/.
    You will probably have to make sure that you set environment variable
    $CAD_HOME before starting magic.
       More detailed information on the locking mechanism can be found
    in the magic source tree under
    
    	doc/textfiles/locking.txt
    
       Please let me know if you have any difficulties with the system,
    which has not been thoroughly exercised.  For that matter, please
    let me know if you *don't* have any difficulties with the system,
    too.
    					Regards,
    					Tim
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo