~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to src/VBox/RDP/client/serial.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-07-03 18:43:49 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20110703184349-st29q1gm3a80nqmc
Tags: 4.0.10-dfsg-1
* New upstream release.
  - Fixes VT-x detection on Linux 3.0 hosts. (LP: #799253)
* Don't disable the hardware performance counter in the init script, not
  needed anymore since VirtualBox 4.0.0.
* Add 31-multiarch-dri-path.patch to fix 3d guest acceleration with the
  multiarched mesa package.
* Use new Provides scheme for xorg video and input drivers. (Closes: #631612)
* Add 32-disable-guest-version-check.patch to disable notifications about
  outdated guest additions.
* Link against the static gsoap++ library to fix FTBFS. (Closes: #632368)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- c-basic-offset: 8 -*-
2
2
   rdesktop: A Remote Desktop Protocol client.
3
3
 
4
 
   Copyright (C) Matthew Chapman 1999-2007
 
4
   Copyright (C) Matthew Chapman <matthewc.unsw.edu.au> 1999-2008
5
5
 
6
 
   This program is free software; you can redistribute it and/or modify
 
6
   This program is free software: you can redistribute it and/or modify
7
7
   it under the terms of the GNU General Public License as published by
8
 
   the Free Software Foundation; either version 2 of the License, or
 
8
   the Free Software Foundation, either version 3 of the License, or
9
9
   (at your option) any later version.
10
10
 
11
11
   This program is distributed in the hope that it will be useful,
14
14
   GNU General Public License for more details.
15
15
 
16
16
   You should have received a copy of the GNU General Public License
17
 
   along with this program; if not, write to the Free Software
18
 
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
17
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
18
*/
20
19
 
21
20
/*
281
280
 
282
281
        pser_inf->stop_bits = (ptermios->c_cflag & CSTOPB) ? STOP_BITS_2 : STOP_BITS_1;
283
282
        pser_inf->parity =
284
 
                (ptermios->
285
 
                 c_cflag & PARENB) ? ((ptermios->
286
 
                                       c_cflag & PARODD) ? ODD_PARITY : EVEN_PARITY) : NO_PARITY;
 
283
                (ptermios->c_cflag & PARENB) ? ((ptermios->c_cflag & PARODD) ? ODD_PARITY :
 
284
                                                EVEN_PARITY) : NO_PARITY;
287
285
        switch (ptermios->c_cflag & CSIZE)
288
286
        {
289
287
                case CS5: