summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/sh.file.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-11-30 21:05:33 +0000
committerache <ache@FreeBSD.org>2000-11-30 21:05:33 +0000
commit5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068 (patch)
treea212ee10b5214f5c4302ff44d44c2542d83cf7b6 /contrib/tcsh/sh.file.c
parentd7d472004aa5fe13bc67f9aa639952d978d342e9 (diff)
downloadFreeBSD-src-5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068.zip
FreeBSD-src-5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068.tar.gz
Initial import of slightly trimmed tcsh 6.10
Diffstat (limited to 'contrib/tcsh/sh.file.c')
-rw-r--r--contrib/tcsh/sh.file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tcsh/sh.file.c b/contrib/tcsh/sh.file.c
index 28646f1..5b8d7ba 100644
--- a/contrib/tcsh/sh.file.c
+++ b/contrib/tcsh/sh.file.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/sh.file.c,v 3.15 1997/10/02 16:36:29 christos Exp $ */
+/* $Header: /src/pub/tcsh/sh.file.c,v 3.16 2000/06/11 02:14:14 kim Exp $ */
/*
* sh.file.c: File completion for csh. This file is not used in tcsh.
*/
@@ -36,7 +36,7 @@
*/
#include "sh.h"
-RCSID("$Id: sh.file.c,v 3.15 1997/10/02 16:36:29 christos Exp $")
+RCSID("$Id: sh.file.c,v 3.16 2000/06/11 02:14:14 kim Exp $")
#ifdef FILEC
@@ -456,14 +456,14 @@ static void
beep()
{
if (adrof(STRnobeep) == 0)
-#ifndef _OSD_POSIX
+#ifdef IS_ASCII
(void) write(SHOUT, "\007", 1);
-#else /*_OSD_POSIX*/
+#else
{
unsigned char beep_ch = CTL_ESC('\007');
(void) write(SHOUT, &beep_ch, 1);
}
-#endif /*_OSD_POSIX*/
+#endif
}
/*
OpenPOWER on IntegriCloud