Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
b288eb88
Commit
b288eb88
authored
Sep 08, 2011
by
Hisham Muhammad
Browse files
minor change to improve portability
parent
3e265ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
htop.c
View file @
b288eb88
...
@@ -285,7 +285,7 @@ int main(int argc, char** argv) {
...
@@ -285,7 +285,7 @@ int main(int argc, char** argv) {
setlocale
(
LC_CTYPE
,
getenv
(
"LC_ALL"
));
setlocale
(
LC_CTYPE
,
getenv
(
"LC_ALL"
));
/* Parse arguments */
/* Parse arguments */
while
((
opt
=
getopt_long
_only
(
argc
,
argv
,
"hvCs:d:u:"
,
long_opts
,
&
opti
)))
{
while
((
opt
=
getopt_long
(
argc
,
argv
,
"hvCs:d:u:"
,
long_opts
,
&
opti
)))
{
if
(
opt
==
EOF
)
break
;
if
(
opt
==
EOF
)
break
;
switch
(
opt
)
{
switch
(
opt
)
{
case
'h'
:
case
'h'
:
...
...
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