Remove t_doschar.c
authorVolker Lendecke <vl@samba.org>
Mon, 17 Dec 2007 06:18:30 +0000 (07:18 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 17 Dec 2007 06:18:30 +0000 (07:18 +0100)
(This used to be commit b89f87242b9c949401f3fa9b352211906cb76895)

source3/Makefile.in
source3/torture/t_doschar.c [deleted file]

index c70ad6cfbb4eeee233a4ad6a045d56c609167316..21fc8cebf76a09e59a21766713cace50e211ac6c 100644 (file)
@@ -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 (file)
index 46444b2..0000000
+++ /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 <http://www.gnu.org/licenses/>.
-*/
-
-#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;
-}