version 1.5, 2013/05/30 09:10:13
|
version 1.7, 2014/02/08 22:06:17
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | Copyright 2004 - 2014 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 92 ioFreePTY(int ptyfd, const char *ttyname)
|
Line 92 ioFreePTY(int ptyfd, const char *ttyname)
|
|
|
if (ptyfd != -1) |
if (ptyfd != -1) |
close(ptyfd); |
close(ptyfd); |
if (ttyname) { | if (*ttyname) { |
chown(ttyname, (uid_t) 0, (gid_t) 0); |
chown(ttyname, (uid_t) 0, (gid_t) 0); |
chmod(ttyname, (mode_t) 0666); |
chmod(ttyname, (mode_t) 0666); |
} |
} |