Thus spake Warner Losh ([EMAIL PROTECTED]):
> /* That's OK */
> #if 0
> That's not
> #endif
Lol. I'd like to see one who does such things :)
Alex
--
cat: /home/alex/.sig: No such file or directory
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body o
On Wed, Jun 28, 2000 at 11:31:55AM +1000, Bruce Evans wrote:
> 1) Don't "comment out" dead code. Remove it.
> 2) Use only #if 0 to "comment out code. Comments are unsuitable for
>"commenting out" code in general, because the code might contain
>comments, and they are harder to edit and r
In message <[EMAIL PROTECTED]> Alexander Langer writes:
: Thus spake Dan Papasian ([EMAIL PROTECTED]):
:
: > > > + // un-needed.
: > > > + // memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
: > > > + // *name_dir_end = 'r';
: > > Use /* */ comments or #if 0.
:
On Tue, 27 Jun 2000, Alexander Langer wrote:
> Thus spake Clive Lin ([EMAIL PROTECTED]):
>
> > - memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> > - *name_dir_end = 'r';
> > + // un-needed.
> > + // memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> >
On Tue, Jun 27, 2000 at 06:14:31PM +0200, Alexander Langer wrote:
> Thus spake Dan Papasian ([EMAIL PROTECTED]):
>
> > > > + // un-needed.
> > > > + // memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> > > > + // *name_dir_end = 'r';
> > > Use /* */ comments or
Thus spake Dan Papasian ([EMAIL PROTECTED]):
> > > + // un-needed.
> > > + // memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> > > + // *name_dir_end = 'r';
> > Use /* */ comments or #if 0.
> Actually, there was just a discussion on comp.lang.c about how
> they aren't interchan
On Tue, Jun 27, 2000 at 05:38:21PM +0200, Alexander Langer wrote:
> Thus spake Clive Lin ([EMAIL PROTECTED]):
>
> > - memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> > - *name_dir_end = 'r';
> > + // un-needed.
> > + // memcpy(name_dir_end + 1, name_dir_end, strlen(nam
Thus spake Clive Lin ([EMAIL PROTECTED]):
> - memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> - *name_dir_end = 'r';
> + // un-needed.
> + // memcpy(name_dir_end + 1, name_dir_end, strlen(name_dir_end) + 1);
> + // *name_dir_end = 'r';
Use /* */ comments o
Hi,
Here is the diff for badsect(8) to recognize character device (IFCHR)
rather than block device (IFBLK), since there's no block device in current.
I don't know if there's any difference bewteen block and character
device. So, I surly don't know if this will screw up any disk. But, it