c***@CSIC.UMD.EDU
2005-03-03 16:19:30 UTC
when i run the
patching commands i
get:
Reversed (or
previously applied)
patch detected!
Assume -R? [n]
i tried just
pressing enter and
it creates reject
files. if i type yes
then i get the
patching completed.
but after looking at
the files, i.e.
kthread.c i think it
just overwrote the
file with my p2
files.
i did:
#
$ cd
~/project2/src/geekos
$ diff -u -r .
~/project3/src/geekos
them into project 3
base:
$ cd
~/project3/src/geekos
$ patch -p0 <
~/diff.patch
$ rm *orig
any help? or is it
just better to go
into all the files
of project2 and copy
the code into
project3 files:
syscall.c kthread.c
main.c elf.c
userseg.c user.c
patching commands i
get:
Reversed (or
previously applied)
patch detected!
Assume -R? [n]
i tried just
pressing enter and
it creates reject
files. if i type yes
then i get the
patching completed.
but after looking at
the files, i.e.
kthread.c i think it
just overwrote the
file with my p2
files.
i did:
#
$ cd
~/project2/src/geekos
$ diff -u -r .
~/project3/src/geekos
~/diff.patch
# And then integratethem into project 3
base:
$ cd
~/project3/src/geekos
$ patch -p0 <
~/diff.patch
$ rm *orig
any help? or is it
just better to go
into all the files
of project2 and copy
the code into
project3 files:
syscall.c kthread.c
main.c elf.c
userseg.c user.c