X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D37433858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1632620078; bh=tQKGKcspEcXLMBs4uemxBs3CXNA3fCo0XgmQQe1iZZk=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=h/Mu/R2j9uIk3RB6GFqeGtGqsJ5dYStim2fjR/Ywd0nJAYMBYhFezFE6sJtd/51s2 /0VYmJYNyRcyqhCPxdDps0Y6pHtBciorMDiU46Dh9l0k5aVhy61UHchGeoWysm8ui+ i6QY4Ha9Bn55gS5r/K/275JrxkGBic16O55JX9Lk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0489A3858403 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 18Q1XGbD013931 X-Nifty-SrcIP: [110.4.221.123] Date: Sun, 26 Sep 2021 10:33:25 +0900 To: cygwin AT cygwin DOT com Subject: Incompatible clipboard format between 32bit and 64bit cygwin Message-Id: <20210926103325.5c17eb11c3c8a56c377199a8@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hi all, I noticed that cygwin clipboard is not compatible between 32bit and 64bit cygwin. If I run 'echo AAAAAAAA > /dev/clipboard' in 32bit cygwin, and run 'cat /dev/clipboard' in 64bit cygwin, this result in cat: /dev/clipboard: Bad address This is because the structure typedef struct { timestruc_t timestamp; size_t len; char data[1]; } cygcb_t; defined in fhandler_clipboard.cc has different size. Is this the known issue? -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple