Merge lp:~kamalmostafa/ubuntu/lucid/omhacks/fix-521164-ftbfs into lp:ubuntu/lucid/omhacks

Proposed by Kamal Mostafa
Status: Merged
Merged at revision: not available
Proposed branch: lp:~kamalmostafa/ubuntu/lucid/omhacks/fix-521164-ftbfs
Merge into: lp:ubuntu/lucid/omhacks
Diff against target: 41 lines (+10/-2)
3 files modified
debian/changelog (+6/-0)
debian/control (+2/-1)
omhacks/sysfs.c (+2/-1)
To merge this branch: bzr merge lp:~kamalmostafa/ubuntu/lucid/omhacks/fix-521164-ftbfs
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+19208@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-01-10 13:07:45 +0000
3+++ debian/changelog 2010-02-12 22:18:15 +0000
4@@ -1,3 +1,9 @@
5+omhacks (0.8-1ubuntu1) lucid; urgency=low
6+
7+ * Fix FTBFS: sysfs.c open with O_CREAT needs 3 arguments (LP: #521164)
8+
9+ -- Kamal Mostafa <kamal@whence.com> Fri, 12 Feb 2010 12:40:17 -0800
10+
11 omhacks (0.8-1) unstable; urgency=low
12
13 * New upstream release
14
15=== modified file 'debian/control'
16--- debian/control 2010-01-10 13:07:45 +0000
17+++ debian/control 2010-02-12 22:18:15 +0000
18@@ -1,7 +1,8 @@
19 Source: omhacks
20 Section: misc
21 Priority: extra
22-Maintainer: Enrico Zini <enrico@debian.org>
23+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
24+XSBC-Original-Maintainer: Enrico Zini <enrico@debian.org>
25 Build-Depends: debhelper (>= 7), cmake (>= 2.6), help2man, linux-libc-dev
26 Standards-Version: 3.8.3
27 Homepage: http://git.debian.org/?p=pkg-fso/omhacks.git;a=blob;f=README
28
29=== modified file 'omhacks/sysfs.c'
30--- omhacks/sysfs.c 2010-01-10 13:07:45 +0000
31+++ omhacks/sysfs.c 2010-02-12 22:18:15 +0000
32@@ -191,7 +191,8 @@
33 size_t ssize = strlen(str);
34 ssize_t count;
35 int fd = -1;
36- fd = open(pathname, O_WRONLY | O_CREAT);
37+ fd = open(pathname, O_WRONLY | O_CREAT,
38+ S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR|S_IWGRP|S_IWOTH);
39 if (fd < 0) return fd;
40 count = write(fd, str, ssize);
41 if (count != ssize)

Subscribers

People subscribed via source and target branches

to all changes: