/[smeserver]/rpms/cpu/sme9/cpu-1.4.3-rhel6.patch
ViewVC logotype

Annotation of /rpms/cpu/sme9/cpu-1.4.3-rhel6.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Feb 1 23:13:33 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: cpu-1_4_3-14_el6_sme, HEAD
* Fri Feb 1 2013 Shad L. Lords <slords@mail.com> 1.4.3-14.sme
- Param fix so build on rhel6 works [SME: 7271]

1 slords 1.1 diff -up cpu-1.4.3/src/util/fileaction.c.rhel6 cpu-1.4.3/src/util/fileaction.c
2     --- cpu-1.4.3/src/util/fileaction.c.rhel6 2003-02-17 16:25:37.000000000 -0700
3     +++ cpu-1.4.3/src/util/fileaction.c 2013-02-01 16:09:46.762978006 -0700
4     @@ -197,7 +197,7 @@ copy (char * directory, char * newdirect
5     }
6     close (fd1);
7    
8     - if ((fd2 = open (homefile, O_CREAT | O_EXCL | O_WRONLY)) == -1)
9     + if ((fd2 = open (homefile, O_CREAT | O_EXCL | O_WRONLY, S_IRWXU)) == -1)
10     {
11     perror ("open");
12     free (data);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed