.
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=82
This commit is contained in:
parent
07f1c2b810
commit
65338939a1
@ -1,4 +1,27 @@
|
|||||||
--- .dummy
|
--- libconsole.c
|
||||||
+++ .dummy 2010-10-21 09:54:55.000000000 +0000
|
+++ libconsole.c 2010-10-29 15:16:44.691925956 +0000
|
||||||
@@ -0,0 +1 @@
|
@@ -707,11 +707,12 @@ static void parselog(unsigned char *buf,
|
||||||
+Just a dummy, remove for a real patch
|
static void copylog(const unsigned char *buf, const size_t s)
|
||||||
|
{
|
||||||
|
lock(&llock);
|
||||||
|
- if (!nl) {
|
||||||
|
+ if (!nl)
|
||||||
|
addlog('\n');
|
||||||
|
- nl = 1;
|
||||||
|
- }
|
||||||
|
storelog(buf, s);
|
||||||
|
+ if (buf[s-1] != '\n')
|
||||||
|
+ addlog('\n');
|
||||||
|
+ nl = 1;
|
||||||
|
unlock(&llock);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -770,7 +771,7 @@ void prepareIO(void (*rfunc)(int), void
|
||||||
|
(void)mkfifo(fifo_name, 0600);
|
||||||
|
errno = 0;
|
||||||
|
if (!stat(fifo_name, &st) && S_ISFIFO(st.st_mode)) {
|
||||||
|
- if ((fdfifo = open(fifo_name, O_RDONLY|O_NOCTTY|O_CLOEXEC)) < 0)
|
||||||
|
+ if ((fdfifo = open(fifo_name, O_RDWR|O_NOCTTY|O_CLOEXEC)) < 0)
|
||||||
|
warn("can not open named fifo %s: %s\n", fifo_name, strerror(errno));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 29 17:20:56 CEST 2010 - werner@suse.de
|
||||||
|
|
||||||
|
- Add newline after blogger message
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 27 12:46:16 CEST 2010 - werner@suse.de
|
Wed Oct 27 12:46:16 CEST 2010 - werner@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user