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

Contents of /rpms/cpu/sme10/cpu-1.4.3-rhel6.patch

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


Revision 1.1 - (show annotations) (download)
Thu Feb 4 12:17:43 2016 UTC (8 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: cpu-1_4_3-14_el7_sme, HEAD
sme10 branch

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