Article View: comp.mail.mush
Article #2Re: Strange things in mush (already patch#5 on SunOS4.1.2)
From: Bart Schaefer
Date: Tue, 27 Oct 1992 19:17
Date: Tue, 27 Oct 1992 19:17
29 lines
1134 bytes
1134 bytes
On Oct 27, 8:16am, Bart Schaefer wrote:
} Subject: Re: Strange things in mush (already patch#5 on SunOS4.1.2)
}
} } The new xcreat() code has an off by one error which stops the lock
} } code from working
}
} Patch appended.
Oops. The ! line in this hunk:
} --- 170,176 ----
} }
} }
} off_intr();
} ! if (lockfd < 0) {
} if (cnt)
} print("done.\n");
} (void) close(lockfd);
} ***************
should of course read
if (lockfd > -1) {
Sorry about that ...
--
Bart Schaefer Vice President, Engineering
schaefer@z-code.com Z-Code Software Corporation
Technical Details
Message-ID:
<9210271117.ZM22350@z-code.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Newsgroups: comp.mail.mush Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines From: schaefer@z-code.z-code.COM (Bart Schaefer) Subject: Re: Strange things in mush (already patch#5 on SunOS4.1.2) Message-ID: <9210271117.ZM22350@z-code.com> Sender: root@athena.mit.edu (Wizard A. Root) Reply-To: schaefer@z-code.z-code.com Organization: The Internet Date: Tue, 27 Oct 1992 19:17:56 GMT Lines: 29