ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/ptytty_wrapper.C
Revision: 1.6
Committed: Fri Dec 27 15:03:42 2013 UTC (10 years, 6 months ago) by sf-exg
Content type: text/plain
Branch: MAIN
Changes since 1.5: +1 -1 lines
Log Message:
Enable PTYTTY_REENTRANT.

Without it urxvtd is unable to write utmp entries when using --fork, as
the running process is not the parent of the ptytty helper process.

File Contents

# User Rev Content
1 sf-exg 1.1 #include <config.h>
2     #include "rxvt.h"
3    
4 sf-exg 1.6 #define PTYTTY_REENTRANT 1
5 root 1.3
6 sf-exg 1.1 #define PTYTTY_FATAL rxvt_fatal
7     #define PTYTTY_WARN rxvt_warn
8    
9     #include "logging.C"
10     #include "proxy.C"
11     #include "ptytty.C"