Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
1d11cb68
Unverified
Commit
1d11cb68
authored
Oct 07, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
terminal: s/MAXPATHLEN/PATH_MAX/g
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
1963eb8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
terminal.h
src/lxc/terminal.h
+3
-2
No files found.
src/lxc/terminal.h
View file @
1d11cb68
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdio.h>
#include "list.h"
#include "list.h"
#include "macro.h"
#include "ringbuf.h"
#include "ringbuf.h"
struct
lxc_container
;
struct
lxc_container
;
...
@@ -36,7 +37,7 @@ struct lxc_epoll_descr;
...
@@ -36,7 +37,7 @@ struct lxc_epoll_descr;
struct
lxc_terminal_info
{
struct
lxc_terminal_info
{
/* the path name of the slave side */
/* the path name of the slave side */
char
name
[
MAXPATHLEN
];
char
name
[
PATH_MAX
];
/* the file descriptor of the master */
/* the file descriptor of the master */
int
master
;
int
master
;
...
@@ -89,7 +90,7 @@ struct lxc_terminal {
...
@@ -89,7 +90,7 @@ struct lxc_terminal {
struct
lxc_terminal_info
proxy
;
struct
lxc_terminal_info
proxy
;
struct
lxc_epoll_descr
*
descr
;
struct
lxc_epoll_descr
*
descr
;
char
*
path
;
char
*
path
;
char
name
[
MAXPATHLEN
];
char
name
[
PATH_MAX
];
struct
termios
*
tios
;
struct
termios
*
tios
;
struct
lxc_terminal_state
*
tty_state
;
struct
lxc_terminal_state
*
tty_state
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment