--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: xbase-clients: xrdb: problem parsing comments
- From: Jeff Sheinberg <jeffsh@erols.com>
- Date: Tue, 30 Jan 2001 20:12:47 -0500 (EST)
- Message-id: <20010131011247.3660415D4A@eden-hda7.my.local>
Package: xbase-clients
Version: 4.0.2-1
Severity: normal
Hi,
The following transcript shows two problems that xrdb has when
parsing comments,
1. At !124 the error message `:1: unterminated comment' is
printed, but I see no syntax error here.
2. After !124 is completed, xrdb returns a successful, ie, 0
error status to the shell, inspite of printing an error
message. As you can see at !127, I have my shell setup to
always print the exit status of the command just run when
it has a non-zero value.
123 jeff ~ $ echo '! /usr/X11R6/include/X11/bitmaps/*'
! /usr/X11R6/include/X11/bitmaps/*
124 jeff ~ $ echo '! /usr/X11R6/include/X11/bitmaps/*' | xrdb -merge
:1: unterminated comment
125 jeff ~ $ echo '! /usr/X11R6/include/X11/bitmaps/'
! /usr/X11R6/include/X11/bitmaps/
126 jeff ~ $ echo '! /usr/X11R6/include/X11/bitmaps/' | xrdb -merge
127 jeff ~ $ false
--> exit status 1
Thanks,
--
Jeff Sheinberg <jeffsh@erols.com>
-- System Information
Debian Release: woody/testing
Kernel Version: Linux eden-hda7.my.local 2.2.18 #1 Fri Jan 12 21:23:37 EST 2001 i586 unknown
Versions of the packages xbase-clients depends on:
ii cpp 2.95.2-20 The GNU C preprocessor.
ii libc6 2.2-6 GNU C Library: Shared libraries and Timezone
ii libfreetype6 2.0.1-1 FreeType 2 font engine, shared library files
ii libncurses5 5.0-6.0potato1 Shared libraries for terminal handling
ii libxaw7 4.0.2-1 X Athena widget set library
ii xlibs 4.0.2-1 X Window System client libraries
ii mesag3 3.1-17 A 3-D graphics library which uses the OpenGL
^^^ (Provides virtual package libgl1)
--- End Message ---