On Wed, 2005-07-20 at 13:45, Jasse Jansson wrote:
> On Jul 20, 2005, at 10:26 PM, UNIX admin wrote:
> 
> >
> > 1. you patch the source code if necessary
> 
> Is there a 'recommended' format for patches in the Solaris environment?

patches to what ?

If you are talking about Solaris the binary product then patches are
special types of SVR4 packages.

If you are talking about source code then yes what you wrote about
diff and patch is what is normally done just like on other systems
that have diff and patch.

> Is this the correct commands to create a patch:

Depends, what the patch is intended for.  Is this for creating
a patch to send to a sponsor for a bug fix ?  If so yes, if not
what are you trying to achieve ?

>      diff -u old_file new_file
> 
> and to apply the patch:
> 
>      patch -i patch_file file_to_be_patched
> 
> or is there some other tricks that I should be aware of?

Why do you think there are other tricks ?  Did something not
work like you expected it too ?


-- 
Darren J Moffat

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to