diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-11-03 08:59:40 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-11-03 08:59:40 +0800 |
commit | 3dbeda8a6470c9991fa8fd060605859e1092fdee (patch) | |
tree | fecd55a362e66ba3822bbde3ad9a0e57195f5934 /x11/gdm/files/extra-patch-daemon_slave.c | |
parent | a630da85187d28dbf0d663540d84f4c0cbf30398 (diff) | |
download | marcuscom-ports-3dbeda8a6470c9991fa8fd060605859e1092fdee.tar marcuscom-ports-3dbeda8a6470c9991fa8fd060605859e1092fdee.tar.gz marcuscom-ports-3dbeda8a6470c9991fa8fd060605859e1092fdee.tar.bz2 marcuscom-ports-3dbeda8a6470c9991fa8fd060605859e1092fdee.tar.lz marcuscom-ports-3dbeda8a6470c9991fa8fd060605859e1092fdee.tar.xz marcuscom-ports-3dbeda8a6470c9991fa8fd060605859e1092fdee.tar.zst marcuscom-ports-3dbeda8a6470c9991fa8fd060605859e1092fdee.zip |
Update to 2.21.1. Parts of this were done by ahze.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9905 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/files/extra-patch-daemon_slave.c')
-rw-r--r-- | x11/gdm/files/extra-patch-daemon_slave.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/gdm/files/extra-patch-daemon_slave.c b/x11/gdm/files/extra-patch-daemon_slave.c new file mode 100644 index 000000000..b493dcd80 --- /dev/null +++ b/x11/gdm/files/extra-patch-daemon_slave.c @@ -0,0 +1,26 @@ +--- daemon/slave.c.orig 2007-09-17 10:45:50.000000000 -0400 ++++ daemon/slave.c 2007-09-25 13:42:06.000000000 -0400 +@@ -373,8 +373,7 @@ + break; + } + +- if G_UNLIKELY (d->xsession_errors_bytes >= MAX_XSESSION_ERRORS_BYTES || +- got_xfsz_signal) ++ if G_UNLIKELY (got_xfsz_signal) + continue; + + /* write until we succeed in writing something */ +@@ -397,13 +396,6 @@ + + d->xsession_errors_bytes += r; + +- if G_UNLIKELY (d->xsession_errors_bytes >= MAX_XSESSION_ERRORS_BYTES && +- ! got_xfsz_signal) { +- VE_IGNORE_EINTR (write (d->xsession_errors_fd, +- "\n...Too much output, ignoring rest...\n", +- strlen ("\n...Too much output, ignoring rest...\n"))); +- } +- + /* there wasn't more then buf available, so no need to try reading + * again, unless we really want to */ + if (r < sizeof (buf) && ! read_until_eof) |