diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-17 07:18:30 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-17 07:18:30 +0100 |
commit | 7ec9ee0e05c902022dc4629b5605b0fc93980deb (patch) | |
tree | 94f508085728c17d7e350154c7bd9813679c801e /source3 | |
parent | 26daf2b479d1e6833f417b5d6c3d073ec0828935 (diff) | |
download | samba-7ec9ee0e05c902022dc4629b5605b0fc93980deb.tar.gz samba-7ec9ee0e05c902022dc4629b5605b0fc93980deb.tar.bz2 samba-7ec9ee0e05c902022dc4629b5605b0fc93980deb.zip |
Remove t_doschar.c
(This used to be commit b89f87242b9c949401f3fa9b352211906cb76895)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/Makefile.in | 5 | ||||
-rw-r--r-- | source3/torture/t_doschar.c | 41 |
2 files changed, 0 insertions, 46 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index c70ad6cfbb..21fc8cebf7 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 46444b2c01..0000000000 --- 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 <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; -} |