1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

DevPtsFS: Do not assume there is one of it

Unfortunately, that also means it can no longer inherit from SynthFS.
This commit is contained in:
Sergey Bugaev 2019-08-16 18:46:18 +03:00 committed by Andreas Kling
parent 37cc80fb96
commit 66a0a12435
5 changed files with 188 additions and 45 deletions

View file

@ -12,9 +12,6 @@ public:
void on_master_write(const u8*, ssize_t);
unsigned index() const { return m_index; }
InodeIdentifier devpts_inode_id() const { return m_devpts_inode_id; }
void set_devpts_inode_id(InodeIdentifier inode_id) { m_devpts_inode_id = inode_id; }
private:
// ^TTY
virtual String tty_name() const override;
@ -32,6 +29,5 @@ private:
RefPtr<MasterPTY> m_master;
unsigned m_index;
InodeIdentifier m_devpts_inode_id;
String m_tty_name;
};