]> git.pld-linux.org Git - packages/archfs.git/blob - archfs-gcc43.patch
- needed for new gcc 4.3
[packages/archfs.git] / archfs-gcc43.patch
1 diff -burNp archfs-0.5.4/layout/support.c archfs-0.5.4-dud/layout/support.c
2 --- archfs-0.5.4/layout/support.c       2007-08-17 18:44:14.000000000 +0200
3 +++ archfs-0.5.4-dud/layout/support.c   2009-02-01 15:00:28.640399603 +0100
4 @@ -71,7 +71,7 @@ int unzip_revs(char *path){
5                  gstrdel(extension);
6                 if (gmstrcpy(&mirror, tmp_file, "/", entry->d_name, 0) == -1)
7                         continue;
8 -               if ((descriptor = open(mirror, O_WRONLY | O_CREAT)) == -1)
9 +               if ((descriptor = open(mirror, O_WRONLY | O_CREAT, 0777)) == -1)
10                         continue;
11                 if (close(descriptor) == -1)
12                         continue;
This page took 0.131711 seconds and 3 git commands to generate.