lkml.org 
[lkml]   [1998]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectSimple devpts fix against 2.1.116

Does it really make sense for mounting devpts to bomb if you don't specify
any options? I'm no devpts expert but this works for me.


--- linux-2.1.116/fs/devpts/inode.c Wed Aug 19 19:14:55 1998
+++ linux/fs/devpts/inode.c Wed Aug 19 22:46:56 1998
@@ -82,7 +82,6 @@
umode_t mode = 0600;
char *this_char, *value;

- if ( !options ) return 1;
for (this_char = strtok(options,","); this_char; this_char =
strtok(NULL,",")) {
if ((value = strchr(this_char,'=')) != NULL)
*value++ = 0;

- Chris
--------------------------------------------------------------------------------
Chris Atenasio (chrisa@ultranet.com) -- Friends dont let friends use Windows.
Send me mail with subject "send pgp key" or "word of the day" for autoresponse.




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.547 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site