[openbeos] redundant files
- From: Kobi Lurie <k_lurie@xxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Fri, 28 Feb 2003 23:37:56 +0200
I've noticed there are a few files in the repository
(3 i think)
that consist of one include. why do they exist?
lock.h trackeraddon.h and byteorder.h
they also have the exact same name as another file in the directory with only a
change of case.
also, this might confuse some versions of cvs (or filesystems - windows is
problematic) and possibly cause bad code to be generated.
for example: lock.h is part of obfs but there's also another lock.h in the
develop directory, since the cvs checkout downloaded only one such file
(sensitive file name case) so one might try to fix it by editing and changing
them,
which will introduce bad code in such a critical piece - a filesystem.
please update. Thanks.
I also have a suggestion:
I think in debug compiled code, we can have a printf that will show the
filename and line number where the error came from.
this could be really useful sometimes.
- Follow-Ups:
- [openbeos] Re: redundant files
- From: Axel =?iso-8859-1?q?D=F6rfler
- References:
- [openbeos] Re: C++ in the kernel
- From: Axel =?iso-8859-1?q?D=F6rfler
- [openbeos] Re: C++ in the kernel
- From: Ingo Weinhold
Other related posts:
- » [openbeos] redundant files
- » [openbeos] Re: redundant files
- » [openbeos] Re: redundant files
- » [openbeos] Re: redundant files
- [openbeos] Re: redundant files
- From: Axel =?iso-8859-1?q?D=F6rfler
- [openbeos] Re: C++ in the kernel
- From: Axel =?iso-8859-1?q?D=F6rfler
- [openbeos] Re: C++ in the kernel
- From: Ingo Weinhold