Questions tagged [patch]

A patch is a piece of software designed to fix problems with, or update a computer program or its supporting data. This includes fixing security vulnerabilities and other bugs, and improving the usability or performance.

Programmers publish and apply patches in various forms. Because proprietary software authors withhold their source code, their patches are distributed as binary executables instead of source. This type of patch modifies the program executable—the program the user actually runs—either by modifying the binary file to include the fixes or by completely replacing it.

Patches can also circulate in the form of source code modifications. In these cases, the patches consist of textual differences between two source code files. These types of patches commonly come out of open source projects. In these cases, developers expect users to compile the new or changed files themselves.

Because the word "patch" carries the connotation of a small fix, large fixes may use different nomenclature. Bulky patches or patches that significantly change a program may circulate as "service packs" or as "software updates". Microsoft Windows NT and its successors (including Windows 2000, Windows XP, and later versions) use the "service pack" terminology.

In several Unix-like systems, particularly Linux, updates between releases are delivered as new software packages. These updates are in the same format as the original installation so they can be used either to update an existing package in-place (effectively patching) or be used directly for new installations.

2809 questions
1
vote
0 answers

Updating SQLite DB with MSI?

We have a product with 3 main components 1) a client application 2) a network server 3) Datasets, mostly containing (read-only - from the customer's perspective) documents stored in BLOB fields within a SQLite DB The client application can access…
Dave Halsall
  • 123
  • 4
1
vote
1 answer

Making a backup creator

I am helping develop a program that makes an easy way to backup a specific file format in the form of an ips patch. We want it to compare 2 files, one in the program folder with a specific name(for ease) and then another that's user selected, which…
1
vote
0 answers

Creating and applying a patch file?

Ok so I've done a little research on the subject, but I've only found a way to create a patch in c. diff -aru oldFile newFile 2>&1 | tee Patch.GBP Now would this work for c#? Also I want to make the patches name have the current date/time. That code…
1
vote
1 answer

extract class or jsp files from compiled package to send as patch for deployment

I have java web application which is sent as ear for web-sphere deployment . But in order to avoid downtime for minor patch fix we have to send the class file or jsp change at times we use ant and jenkins to build , has someone used any script to…
anthriksh2000
  • 233
  • 2
  • 4
  • 11
1
vote
1 answer

How do I apply a patch that contains a file that doesn't exist?

I'm applying a patch to an svn working copy. In the patch file contains a new file. Patch would normally return something like this: can't find file to patch at input line 344 Perhaps you used the wrong -p or --strip option? The text leading up to…
drecute
  • 748
  • 4
  • 11
  • 29
1
vote
3 answers

setting UAC settings of a file in C#

i want to give a file(already present on the client computer .exe) permissions to always execute with administrative permissions. please note that the file i wants to give permissions is already on target machine. and i want to change permissions…
Inam Jameel
  • 237
  • 1
  • 7
  • 13
1
vote
2 answers

Difference between patch and update

On creating Installers, I came across both patch and upgrade. Whats is the major difference between a patch and and upgrade? Is a patch similar to update?
Arun Francis
  • 43
  • 1
  • 1
  • 8
1
vote
3 answers

REST Design - PATCH for a specific update

I have a resource which represents a set of physical devices. Calling GET v1/devices/ yields the following result: [ { "MacAddress": "DD-22-33-15-15-66", "Name": "Test Device", "State": "Approved" }, { "MacAddress":…
Dave New
  • 38,496
  • 59
  • 215
  • 394
1
vote
2 answers

Netlogo : spawning a turtle on a certain patch with a certain pcolor

I'm working on a Simulation of a Stadion. I have created several rows with pcolor = 35. Now I need my number of turtles to spawn on the patches with pcolor = 35, but nowhere else. They also need to spawn randomly on those patches. My code for this…
finjou
  • 21
  • 2
  • 5
1
vote
2 answers

GSON creating an Array of Objects

I am trying to create a patchRequest of the format : '[ { "op": "replace", "path": "/path1", "value": "val1" }, { "op": "replace", "path": "/path2", "value": [ { "name": "val2" } ] } ]' I…
CodeMonkey
  • 2,265
  • 9
  • 48
  • 94
1
vote
1 answer

List of moved files from patch

I have a patch file generated from git. Is there any possibility to get list of moved (or renamed) files from it? I need this because I want to apply this patch to other version control system and if I do the simple remove/create I will lost all…
Pawel Faron
  • 312
  • 2
  • 9
1
vote
1 answer

How to create patch only for modified files with xDelta?

For example i have files in three folders: +-------------------+---------------------------------+-------------+ | Folder1 | Folder2 | Patches …
1
vote
0 answers

How do I patch eclipse?

Eclipse is giving me an error that has been deemed a bug some time ago and the patch is available (here: https://git.eclipse.org/r/#/c/16201/). The new Eclipse has this issue fixed, but I am using Nvidia Nsight, which is unfortunately is built on…
Mewa
  • 502
  • 1
  • 9
  • 24
1
vote
2 answers

Patches occupied by turtle shape in NetLogo

I would like a little bit of help with understanding and using patch shape and size vs origin. I am trying to mark the patches that are exactly under a specific turtle shape. For example, if the turtle is a rectangle of (w x h) I would like to…
1
vote
1 answer

There is a collection of patches for gcc?

The linux kernel project tries to collect all the useful patches in a single place, they are not hard to locate if you need one, with gcc I can't locate a resource, online or offline, with the official releases or with the development snapshots,…
user2485710
  • 9,451
  • 13
  • 58
  • 102