diff options
author | Fritz Elfert <felfert@to.com> | 2000-07-31 03:12:38 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-07-31 03:12:38 +0000 |
commit | 7fb94ed43a814788cda019c1e77314abc1626339 (patch) | |
tree | 50b86a44e2809e6fbcdcd080f2a2dc4dbc37042e /patches/mgetty-1.1.21-plp.diff | |
parent | fbb17061d3c622f0786a5d9ad41e8ccd95ef706c (diff) | |
download | plptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.gz plptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.bz2 plptools-7fb94ed43a814788cda019c1e77314abc1626339.zip |
Applied mjg-0.6 patch.
Started adding kdoc compliant documentation comments.
Added PsiTime
Diffstat (limited to 'patches/mgetty-1.1.21-plp.diff')
-rw-r--r-- | patches/mgetty-1.1.21-plp.diff | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/patches/mgetty-1.1.21-plp.diff b/patches/mgetty-1.1.21-plp.diff new file mode 100644 index 0000000..943a173 --- /dev/null +++ b/patches/mgetty-1.1.21-plp.diff @@ -0,0 +1,40 @@ +diff -ur mgetty-1.1.21/logname.c mgetty-1.1.21.new/logname.c +--- mgetty-1.1.21/logname.c Tue Sep 1 11:56:19 1998 ++++ mgetty-1.1.21.new/logname.c Sat Jan 1 17:12:11 2000 +@@ -270,6 +270,9 @@ + static int ppp_level = 0, ppp_escaped = 0; + char ppp_ch; + #endif ++#if 1 ++ static int plp_level = 0; ++#endif + + /* read character by character! */ + tio_save = *tio; +@@ -413,6 +416,26 @@ + ppp_level = 0; + ppp_escaped = 0; + } ++#endif ++#if 1 ++ if (ch == '\026') ++ { ++ plp_level = 1; ++ } ++ else if ((ch == '\020') && (plp_level == 1)) ++ { ++ plp_level = 2; ++ } ++ else if ((ch == '\002') && (plp_level == 2)) ++ { ++ strcpy (buf, "/PLP/"); ++ i=5; ++ ch = '\r'; ++ } ++ else ++ { ++ plp_level = 0; ++ } + #endif + + #ifdef JANUS |