c4a25f6b2a
This is a new port for the libirman library for use with Evation's Irman infrared reciever. PR: ports/50443 Submitted by: Douglas K. Rand <rand@meridian-enviro.com>
17 lines
402 B
Text
17 lines
402 B
Text
--- irio.c-orig Sat Mar 29 20:26:57 2003
|
|
+++ irio.c Sat Mar 29 20:27:12 2003
|
|
@@ -91,14 +91,6 @@
|
|
return -1;
|
|
}
|
|
|
|
- /* lock the file for ourselves */
|
|
- if (flock(portfd, LOCK_EX | LOCK_NB) < 0) {
|
|
- /* unable to get lock */
|
|
- close(portfd);
|
|
- portfd = 0;
|
|
- return -1;
|
|
- }
|
|
-
|
|
/* get port attributes, store in oldterm */
|
|
if (tcgetattr(portfd, &oldterm) < 0) {
|
|
close(portfd);
|