diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-27 05:35:02 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-27 05:35:02 +0000 |
commit | 3c1e8187bd172877bf56c1e0bdb1a6919f7238a2 (patch) | |
tree | 328e0c638176215a6453c736bcc20d1b7da82ff5 /winsup/cygwin/cygwin-shilka | |
parent | dfb2ac80888863ce2fc6767c3aebc506bc2cf658 (diff) | |
download | cygnal-3c1e8187bd172877bf56c1e0bdb1a6919f7238a2.tar.gz cygnal-3c1e8187bd172877bf56c1e0bdb1a6919f7238a2.tar.bz2 cygnal-3c1e8187bd172877bf56c1e0bdb1a6919f7238a2.zip |
* cygwin-shilka: Remove '#line directives' or suffer debugging oddities. Use
-length option so that device prefixes are used.
* devices.cc: Regenerate.
* syscalls.cc (ttyname): Add debugging output.
Diffstat (limited to 'winsup/cygwin/cygwin-shilka')
-rwxr-xr-x | winsup/cygwin/cygwin-shilka | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/cygwin-shilka b/winsup/cygwin/cygwin-shilka index 8306cef7d..433d9b5df 100755 --- a/winsup/cygwin/cygwin-shilka +++ b/winsup/cygwin/cygwin-shilka @@ -1,6 +1,8 @@ -#!/bin/sh -x +#!/bin/sh c="$(basename $1 .shilka).c" -shilka -strip -no-definitions $1 && \ +shilka -length -strip -no-definitions $1 && \ sed -e '1,4d' -e '/KR_reset.*;/d' -e '/KR_output_statistics.*;/d' \ - -e '/KR_reset.*)/,/}/d' -e '/KR_output_statistics.*)/,/}/d' "$c" > $2 && + -e '/KR_reset.*)/,/}/d' -e '/KR_output_statistics.*)/,/}/d' \ + -e '/# *line/d' "$c" > $2 && rm -f "$c" +# -e "s%$c"'"%'"$2"'"%g' |