Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
68f12028
Commit
68f12028
authored
Feb 09, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/misc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
f59c14e7
823d60d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
usr/gen_init_cpio.c
usr/gen_init_cpio.c
+1
-3
No files found.
usr/gen_init_cpio.c
View file @
68f12028
...
@@ -295,7 +295,6 @@ static int cpio_mkfile(const char *name, const char *location,
...
@@ -295,7 +295,6 @@ static int cpio_mkfile(const char *name, const char *location,
struct
stat
buf
;
struct
stat
buf
;
int
file
=
-
1
;
int
file
=
-
1
;
int
retval
;
int
retval
;
int
i
;
int
rc
=
-
1
;
int
rc
=
-
1
;
mode
|=
S_IFREG
;
mode
|=
S_IFREG
;
...
@@ -344,8 +343,7 @@ static int cpio_mkfile(const char *name, const char *location,
...
@@ -344,8 +343,7 @@ static int cpio_mkfile(const char *name, const char *location,
push_string
(
name
);
push_string
(
name
);
push_pad
();
push_pad
();
for
(
i
=
0
;
i
<
buf
.
st_size
;
++
i
)
fwrite
(
filebuf
,
buf
.
st_size
,
1
,
stdout
);
fputc
(
filebuf
[
i
],
stdout
);
offset
+=
buf
.
st_size
;
offset
+=
buf
.
st_size
;
push_pad
();
push_pad
();
rc
=
0
;
rc
=
0
;
...
...
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