From 7ec9ee0e05c902022dc4629b5605b0fc93980deb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 17 Dec 2007 07:18:30 +0100 Subject: [PATCH] Remove t_doschar.c (This used to be commit b89f87242b9c949401f3fa9b352211906cb76895) --- source3/Makefile.in | 5 ----- source3/torture/t_doschar.c | 41 ------------------------------------- 2 files changed, 46 deletions(-) delete mode 100644 source3/torture/t_doschar.c diff --git a/source3/Makefile.in b/source3/Makefile.in index c70ad6cfbb4..21fc8cebf76 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -1717,11 +1717,6 @@ bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ tortur bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o $(CC) $(FLAGS) -o $@ $(DYNEXP) torture/t_stringoverflow.o -L./bin -lbigballofmud -bin/t_doschar@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_doschar.o - $(CC) $(FLAGS) -o $@ $(DYNEXP) $(LIBS) torture/t_doschar.o -L ./bin -lbigballofmud -bin/t_push_ucs2@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_push_ucs2.o - $(CC) $(FLAGS) -o $@ $(DYNEXP) $(LIBS) torture/t_push_ucs2.o -L ./bin -lbigballofmud - bin/timelimit@EXEEXT@: script/tests/timelimit.o @echo Linking $@ @$(CC) $(FLAGS) -o $@ $(DYNEXP) script/tests/timelimit.o diff --git a/source3/torture/t_doschar.c b/source3/torture/t_doschar.c deleted file mode 100644 index 46444b2c01f..00000000000 --- a/source3/torture/t_doschar.c +++ /dev/null @@ -1,41 +0,0 @@ -/* - Samba - Unix SMB/CIFS implementation - Test harness for check_dos_char - Copyright (C) Martin Pool 2003 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -#include "includes.h" - - -/* - * Just print out DOS validity or not for every character. - * - * DOS validity for a Unicode character set means that it can be - * represented in DOS codepage, and that the DOS character maps back - * to the same Unicode character. - * - * This depends on which DOS codepage is configured. - */ - int main(void) -{ - smb_ucs2_t i; - - for (i = 0; i < 0xffff; i++) { - printf("%d %d\n", (int) i, (int) check_dos_char(i)); - } - - return 0; -} -- 2.34.1