diff options
author | Kanogin Alex | 2016-01-17 18:46:34 +0300 |
---|---|---|
committer | Kanogin Alex | 2016-01-17 18:46:34 +0300 |
commit | 16e6e97b7f695931da39bf259b6f5946a21b9d04 (patch) | |
tree | f501e8b0ff85f19b27a7d4578b707bceebb83db2 /gcc-4.6.patch | |
download | aur-16e6e97b7f695931da39bf259b6f5946a21b9d04.tar.gz |
Initial commit
Diffstat (limited to 'gcc-4.6.patch')
-rw-r--r-- | gcc-4.6.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gcc-4.6.patch b/gcc-4.6.patch new file mode 100644 index 000000000000..48e7575d4bb0 --- /dev/null +++ b/gcc-4.6.patch @@ -0,0 +1,32 @@ +diff -Naur src/openl2tp-1.8/usl/usl_timer.c src/openl2tp-1.8-fixed/usl/usl_timer.c +--- src/openl2tp-1.8/usl/usl_timer.c 2011-07-04 23:04:55.000000000 +0400 ++++ src/openl2tp-1.8-fixed/usl/usl_timer.c 2011-07-04 23:08:01.000000000 +0400 +@@ -88,14 +88,13 @@ + */ + void usl_timer_tick(void) + { +- int result; + char msg = '\0'; + + usl_tick++; + + if (!usl_tick_pending) { + usl_tick_pending = 1; +- result = write(usl_tick_pipe[1], &msg, sizeof(msg)); ++ write(usl_tick_pipe[1], &msg, sizeof(msg)); + } + } + +@@ -112,11 +111,10 @@ + struct usl_ord_list_head *tmp; + struct usl_list_head *iwalk; + struct usl_list_head *itmp; +- int result; + char msg; + USL_LIST_HEAD(expire_list); + +- result = usl_fd_read(usl_tick_pipe[0], &msg, sizeof(msg)); ++ usl_fd_read(usl_tick_pipe[0], &msg, sizeof(msg)); + usl_tick_pending = 0; + + usl_list_for_each(walk, tmp, &usl_timer_list) { |