- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Patch
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 01:28 AM
12-19-2001 01:28 AM
Patch
I have a diff -c patchfile but when applying it I get the following problem :
# patch < ucd-hpux-patch
Hmm... Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** acconfig.h.SAV Sat Oct 6 03:01:41 2001
|--- acconfig.h Fri Oct 12 17:55:13 2001
--------------------------
Patching file acconfig.h using Plan A...
Hunk #1 succeeded at 304.
Hunk #2 succeeded at 312.
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** s/hpux.h.SAV Tue Jul 27 02:06:47 1999
|--- s/hpux.h Fri Nov 9 17:36:18 2001
--------------------------
File to patch:
How can I resolve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 03:34 AM
12-19-2001 03:34 AM
Re: Patch
Is the patch correctly modifying the files you expect it to?
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 03:50 AM
12-19-2001 03:50 AM
Re: Patch
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 04:04 AM
12-19-2001 04:04 AM
Re: Patch
P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 04:46 AM
12-19-2001 04:46 AM
Re: Patch
If no original file is specified on the command line, patch will try
to figure out from the leading garbage what the name of the file to
edit is. In the header of a context diff, the filename is found from
lines beginning with ``***'' or ``---'', with the shortest name of an
existing file winning.
:
If no filename can be intuited from
the leading garbage, you will be asked for the name of the file to
patch.
So it appears for some reason that patch can't find the s/hpux.h file, which is strange. Can you run a tusc trace on the patch command to find out where its looking for this file?
Regards,
Steve