mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
Added support for locking using flock(2) (now default)
Fixes #26 Old-style UUCP-lockdir code is maintained. Preferred locking style is selected via the Makefile
This commit is contained in:
10
Makefile
10
Makefile
@ -16,9 +16,15 @@ CPPFLAGS += -DTTY_Q_SZ=$(TTY_Q_SZ)
|
||||
## Comment this out to disable high-baudrate support
|
||||
CPPFLAGS += -DHIGH_BAUD
|
||||
|
||||
## Normally you should NOT enable both: UUCP-style and flock(2)
|
||||
## locking.
|
||||
|
||||
## Comment this out to disable locking with flock
|
||||
CPPFLAGS += -DUSE_FLOCK
|
||||
|
||||
## Comment these out to disable UUCP-style lockdirs
|
||||
UUCP_LOCK_DIR=/var/lock
|
||||
CPPFLAGS += -DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\"
|
||||
#UUCP_LOCK_DIR=/var/lock
|
||||
#CPPFLAGS += -DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\"
|
||||
|
||||
## Comment these out to disable "linenoise"-library support
|
||||
SEND_RECEIVE_HISTFILE = .picocom_send_receive
|
||||
|
Reference in New Issue
Block a user