Changes needed in the mac terminal port due to globals changes.
This commit is contained in:
@@ -203,8 +203,8 @@ gotlock:
|
||||
if (fd == -1) {
|
||||
error("cannot creat lock file (%s).", fq_lock);
|
||||
} else {
|
||||
if (write(fd, (genericptr_t) &hackpid, sizeof hackpid)
|
||||
!= sizeof hackpid) {
|
||||
if (write(fd, (genericptr_t) &g.hackpid, sizeof g.hackpid)
|
||||
!= sizeof g.hackpid) {
|
||||
error("cannot write lock (%s)", fq_lock);
|
||||
}
|
||||
if (close(fd) == -1) {
|
||||
|
||||
Reference in New Issue
Block a user