diff options
Diffstat (limited to 'win32/stdio.c')
-rw-r--r-- | win32/stdio.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/win32/stdio.c b/win32/stdio.c index 47d977f76c4ac..634879eb26d78 100644 --- a/win32/stdio.c +++ b/win32/stdio.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/stdio.c,v 1.11 2012/03/05 14:03:23 christos Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -460,12 +459,6 @@ int nt_creat(const char *filename, int mode) { else if (!_stricmp(filename,"/dev/null") ){ filename = "NUL"; } - else if (!_stricmp(filename,"/dev/clipboard")) { - retval = create_clip_writer_thread(); - if (retval == INVHL) - return -1; - goto get_fd; - } retval = CreateFile(filename, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, @@ -478,7 +471,6 @@ int nt_creat(const char *filename, int mode) { errno = EACCES; return -1; } -get_fd: fd = __nt_open_osfhandle((intptr_t)retval,_O_BINARY); if (fd <0) { //should never happen @@ -516,10 +508,6 @@ int nt_open(const char *filename, int perms,...) { else if (!lstrcmp(filename,"/dev/null") ){ filename = "NUL"; } - else if (!_stricmp(filename,"/dev/clipboard")) { - retval = create_clip_reader_thread(); - goto get_fd; - } security.nLength = sizeof(security); security.lpSecurityDescriptor = NULL; security.bInheritHandle = FALSE; @@ -577,7 +565,6 @@ int nt_open(const char *filename, int perms,...) { if (perms & O_APPEND) { SetFilePointer(retval,0,NULL,FILE_END); } -get_fd: fd = __nt_open_osfhandle((intptr_t)retval,_O_BINARY); if (fd <0) { //should never happen |