GNU bug report logs - #6346
23.1; set-process-datagram-address failure?

Previous Next

Package: emacs;

Reported by: Jason Feng <jfeng <at> ozbert.com>

Date: Thu, 3 Jun 2010 20:56:02 UTC

Severity: normal

Found in version 23.1

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6346 in the body.
You can then email your comments to 6346 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6346; Package emacs. (Thu, 03 Jun 2010 20:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Feng <jfeng <at> ozbert.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 03 Jun 2010 20:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jason Feng <jfeng <at> ozbert.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; set-process-datagram-address failure?
Date: Thu, 3 Jun 2010 13:10:17 -0700
I was trying the following elisp, and ended up with an unexpected result...

(setq udp-cl
      (make-network-process
       :name "baz" :buffer nil
       :service 53 :host "64.68.192.10"
       :family 'ipv4 :filter (lambda (p s)
			       (print s))
       :type 'datagram
       :coding 'binary))

(process-datagram-address udp-cl)
 => [64 68 192 10 53]
(set-process-datagram-address udp-cl (process-datagram-address udp-cl))
 => [64 68 192 10 53]
(process-datagram-address udp-cl)
 => [0 0 0 0 53]

Can anybody else duplicate this?

In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2010-03-25 on palmer, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''





Reply sent to Andreas Schwab <schwab <at> linux-m68k.org>:
You have taken responsibility. (Thu, 03 Jun 2010 22:56:02 GMT) Full text and rfc822 format available.

Notification sent to Jason Feng <jfeng <at> ozbert.com>:
bug acknowledged by developer. (Thu, 03 Jun 2010 22:56:02 GMT) Full text and rfc822 format available.

Message #10 received at 6346-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Jason Feng <jfeng <at> ozbert.com>
Cc: 6346-done <at> debbugs.gnu.org
Subject: Re: bug#6346: 23.1; set-process-datagram-address failure?
Date: Fri, 04 Jun 2010 00:55:35 +0200
Jason Feng <jfeng <at> ozbert.com> writes:

> I was trying the following elisp, and ended up with an unexpected result...
>
> (setq udp-cl
>       (make-network-process
>        :name "baz" :buffer nil
>        :service 53 :host "64.68.192.10"
>        :family 'ipv4 :filter (lambda (p s)
> 			       (print s))
>        :type 'datagram
>        :coding 'binary))
>
> (process-datagram-address udp-cl)
>  => [64 68 192 10 53]
> (set-process-datagram-address udp-cl (process-datagram-address udp-cl))
>  => [64 68 192 10 53]
> (process-datagram-address udp-cl)
>  => [0 0 0 0 53]

Thanks, I have installed a patch.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Jul 2010 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.