Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
6 views

xdelta3 fails to decode on block device

I'm trying to use xdelta3 to bring a remote block device into sync with a local one. I'm able to easily generate a xdelta3 patch file using the command: xdelta3 -e -B 33554432 -v -9 -I 0 -s ...
1
vote
1answer
48 views

How do I know which kernel version will have a bug fix I need? [closed]

Possible Duplicate: Given a git patch id, how to find out which kernel release contains it? I encountered a bug in one of the newer kernel versions. There is no workaround; if I want to ...
0
votes
2answers
53 views

Running “patch” without generating *.orig and *.rej files

Is it possible to tell patch not to generate .orig and .rej files? I find it extremely annoying that patch creates these.
1
vote
1answer
37 views

Tab completion when `patch` asks for filename

When the patch command doesn't find the file to patch, it asks for a filename. Is there any way to get this to use tab complete?
4
votes
3answers
74 views

Smart way to perform a similar replacement (not simple enough for diff) in multiple files?

I have a bunch of files (45, so too many to edit them manually without going crazy) which all require the same changes (as seen in the three diffs at the end of this question). Most tools used for ...
3
votes
3answers
79 views

How to make and apply (patch) one side diff?

I want to make a shell script that updates a config file. The file present on the server has information, like various IP addresses. The new file has more code, from new configs added to the system, ...
4
votes
1answer
81 views

Patch without changing owner and group

I've got a file owned by a non-root user: # ls -l example.php -rw------- 1 foo bar ... example.php I just applied a patch with a command like patch -p0 <<-EOF --- .../example.php.orig ...
2
votes
2answers
65 views

how to include a new file into a patch

I try to make a patch as introduced here. Say I have two directories pp1(modified version) and pp0(clean version), I make a patch file pp0.patch with the diff command: diff -crB pp0 pp1 > ...
0
votes
1answer
48 views

Good ways to host or distribute my patch for the Linux Kernel Mailing List

I have an approximately 1500 line patch for the Linux kernel - introducing a new file system. I have lots of problems with posting a patch straight to the kernel mailing list (gmail mangles the ...
0
votes
0answers
22 views

Dead ALFA after patching

I was trying some patches for ALFA RTL8187. Now my ALFA doesn't work anymore after I rebooted my PC. I used Ubuntu 10.10.
2
votes
2answers
677 views

“Malformed patch” error while applying the diff to wget source with patch

I would like to apply this patch so I copied code beginning at "Index: src/options.h" and ending with "+@item" and put it into a new file created in wget's source code folder. Then I did: $ patch -p0 ...
1
vote
1answer
230 views

Patching a file (in this case dwm) and failed hunks

I'm trying to add the transparency patch to dwm. I downloaded the .diff file and in my dwm directory ran this: max@linux-vwzy:~/misc/dwm/dwm-5.9> patch < dwm-transparency.diff patching file ...
1
vote
2answers
188 views

When patching what's the difference between arguments -p0 and -p1?

What's the difference between patch -p0 and patch -p1? Is there any difference at all?
4
votes
1answer
125 views

merge that works at word granularity instead of line

The old diff, patch, and merge programs, and their modern descendents in the form of version control systems work great for managing source code that can be edited concurrently by multiple people. ...
5
votes
3answers
611 views

Meaning of patching binary files?

I am trying to understand what it means by patching binary files in an example from the manpage of xxd: Patch the date in the file xxd.1 % echo "0000037: 3574 68" | xxd -r - xxd.1 % xxd -s 0x36 -l 13 ...

1 2
15 30 50 per page