[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. hurd-release-0-2-3353-g980e211
From: |
Samuel Thibault |
Subject: |
[SCM] Hurd branch, master, updated. hurd-release-0-2-3353-g980e211 |
Date: |
Fri, 27 Apr 2012 13:37:22 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 980e2112cf7a987df40b3157a417ad0e3a831476 (commit)
from 69bd9b1d600debf7b758cc7f8353b747430259b4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 980e2112cf7a987df40b3157a417ad0e3a831476
Author: Samuel Thibault <address@hidden>
Date: Fri Apr 27 15:32:39 2012 +0200
Add MSG_PEEK support to pflocal
* libpipe/pq.h (packet_peek): Declare new function.
* libpipe/pq.c (packet_read): Move code to new `packet_fetch' function,
call it
with `remove' set to 1.
(packet_fetch): New function with code from `packet_read', but do not remove
data if `remove' is 0.
(packet_peek): New function, calls `packet_fetch' with `remove' set to 0.
* libpipe/dgram.c (dgram_read): When MSG_PEEK is in *flags, do not dequeue
and only peek data.
* libpipe/seqpack.c (seqpack_read): Likewise.
* libpipe/stream.c (stream_read): Likewise.
* pflocal/socket.c (S_socket_recv): Pass MSG_PEEK flag to libpipe.
-----------------------------------------------------------------------
Summary of changes:
libpipe/dgram.c | 12 ++++++++++--
libpipe/pq.c | 37 ++++++++++++++++++++++++++++++-------
libpipe/pq.h | 7 +++++++
libpipe/seqpack.c | 13 +++++++++++--
libpipe/stream.c | 13 +++++++++++--
pflocal/socket.c | 2 +-
6 files changed, 70 insertions(+), 14 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. hurd-release-0-2-3353-g980e211,
Samuel Thibault <=