Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Systems744
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
SHREYANSH JAIN
Systems744
Commits
e4ca1df5
Commit
e4ca1df5
authored
Aug 16, 2019
by
desiredeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
final sach
parent
ace2580e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
assignment1/a.out
assignment1/a.out
+0
-0
assignment1/myshell
assignment1/myshell
+0
-0
assignment1/myshell.c
assignment1/myshell.c
+2
-2
No files found.
assignment1/a.out
deleted
100755 → 0
View file @
ace2580e
File deleted
assignment1/myshell
View file @
e4ca1df5
No preview for this file type
assignment1/myshell.c
View file @
e4ca1df5
...
@@ -348,9 +348,9 @@ int main(int argc, char *argv[])
...
@@ -348,9 +348,9 @@ int main(int argc, char *argv[])
if
(
argc
==
2
)
if
(
argc
==
2
)
{
{
fp
=
fopen
(
argv
[
1
],
"r"
);
fp
=
fopen
(
argv
[
1
],
"r"
);
if
(
fp
<
0
)
if
(
fp
==
NULL
)
{
{
printf
(
"ERROR:File doesn't exist"
);
printf
(
"ERROR:File doesn't exist
\n
"
);
return
-
1
;
return
-
1
;
}
}
}
}
...
...
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