rbabel@babylon.rmt.sub.org (Ralph Babel) (03/07/91)
In article <1991Mar8.005140.24418@watdragon.waterloo.edu>, ccplumb@rose.uwaterloo.ca (Colin Plumb) writes: > Lock("", MODE_OLDFILE); ^^^^^^^^^^^^ Make that "ACCESS_READ". Ralph
jdickson@jato.jpl.nasa.gov (Jeff Dickson) (03/08/91)
Hi. I'm interested in obtaining a copy of the lock that corresponds to my current working directory. My thinking is to take CommandDir in the CLI structure, and send an ACTION_COPY_DIR DOS packet to the message port identified within it as fl_Task. CommandDir itself would be passed as DOS argument one. How does this sound? Jeff
ccplumb@rose.uwaterloo.ca (Colin Plumb) (03/08/91)
jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) wrote: > Hi. I'm interested in obtaining a copy of the lock that corresponds >to my current working directory. The easiest way to get a (new) lock on the current directory is to Lock("", MODE_OLDFILE); i.e. ask for a lock on the null filename. -- -Colin
jdickson@jato.jpl.nasa.gov (Jeff Dickson) (03/09/91)
In article <1991Mar8.005140.24418@watdragon.waterloo.edu> ccplumb@rose.uwaterloo.ca (Colin Plumb) writes: >The easiest way to get a (new) lock on the current directory is to >Lock("", MODE_OLDFILE); >i.e. ask for a lock on the null filename. >-- > -Colin I was after the non DOS library way of doing it.