linux-um archives
 help / color / mirror / Atom feed
From: Dan Shearer <dan@shearer.org>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: Mapping con=pts to a port instead of con=port
Date: Sat, 24 Jan 2004 18:56:57 +1030	[thread overview]
Message-ID: <20040124082657.GI4203@erizo.shearer.org> (raw)
In-Reply-To: <20040124050440.GF4203@erizo.shearer.org>

Let's get the versions right. Patch is actually:

--- tndCfgParse.l.orig
+++ tndCfgParse.l    
@@ -132,7 +132,8 @@
 [Oo][Nn]      { return(YY_ON); }
 [Oo][Ff][Ff]  { return(YY_OFF); }
  
-"/dev/"[.A-Za-z][.A-Za-z0-9_-]* { strcpy(yylval.s, yytext); return(YY_DEVICE); }
+"/dev/"[.A-Za-z][.A-Za-z0-9_-]*|"/dev/pts/"[0-9]{1,5} { strcpy(yylval.s, yytext); return(YY_DEVICE); }
+
 [0-9A-Za-z_-]+ { strcpy(yylval.s, yytext); return(YY_IDENT); }
 .              { return(yytext[0]); }


-- 
Dan Shearer
dan@shearer.org


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-01-26  3:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-24  5:04 [uml-devel] Mapping con=pts to a port instead of con=port Dan Shearer
2004-01-24  8:26 ` Dan Shearer [this message]
2004-01-28  4:39 ` Jeff Dike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040124082657.GI4203@erizo.shearer.org \
    --to=dan@shearer.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox