Skip to contentSkip to conversation

ktimers subsystem

ANNOUNCE Sid Boyce 2 participants 3 messages Sep 25, 2005 – Sep 26, 2005

lore
Share & tools
lore

Sid Boyce

author
#0 lore raw

OT, but something that's been bugging me for quite a while. I cut and paste the patch from the email to a file ktimers.patch. "# patch -l -p1 <ktimer.patch" and it returns ---
(Patch is indented 1 space.)
patching file fs/exec.c
patch: **** malformed patch at line 16: }

If I prepend 2 tabs to the line, it complains about line 17, I do the same to line 17 and on it moves to the next. from the manpage it reads like the "-l" should take care of the tabs so it only compares the text. Can anyone suggest how to apply the patch? Googling didn't help.
Regards
Sid.

Signature · 3 lines
Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#1 lore raw
Quoted 11 lines · Sid Boyce

OT, but something that's been bugging me for quite a while. I cut and paste the patch from the email to a file ktimers.patch. "# patch -l -p1 <ktimer.patch" and it returns ---
(Patch is indented 1 space.)
patching file fs/exec.c
patch: **** malformed patch at line 16: }

If I prepend 2 tabs to the line, it complains about line 17, I do the same to line 17 and on it moves to the next. from the manpage it reads like the "-l" should take care of the tabs so it only compares the text.
Can anyone suggest how to apply the patch? Googling didn't help.

Save the entire email as a text file and apply it. Cut and paste usually introduces white space damage.

author
#2 lore raw
Quoted 10 lines · Zwane Mwaikambo
Quoted 7 lines · Sid Boyce

OT, but something that's been bugging me for quite a while. I cut and paste the patch from the email to a file ktimers.patch. "# patch -l -p1 <ktimer.patch" and it returns --- (Patch is indented 1 space.)
patching file fs/exec.c
patch: **** malformed patch at line 16: }

Quoted 10 lines
Quoted 4 lines

If I prepend 2 tabs to the line, it complains about line 17, I do the same to line 17 and on it moves to the next. from the manpage it reads like the "-l" should take care of the tabs so it only compares the text.
Can anyone suggest how to apply the patch? Googling didn't help.

Save the entire email as a text file and apply it. Cut and paste usually introduces white space damage.

Thanks.
regards
Sid.

Signature · 3 lines
Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks