|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: sendmail ;o)
From: Daniel Jacobowitz (drow
FALSE.ORG)Date: Wed Jul 12 2000 - 23:57:04 CDT
- Next message: Nathan Einwechter: "Re: Updated Default Account Database"
- Previous message: info: "Re: The AOL Spyware"
- In reply to: Slawek: "sendmail ;o)"
- Next in thread: Slawek: "Re: sendmail ;o)"
- Next in thread: Kev: "Re: sendmail ;o)"
- Reply: Daniel Jacobowitz: "Re: sendmail ;o)"
- Reply: Slawek: "Re: sendmail ;o)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jul 12, 2000 at 11:54:01AM +0200, Slawek wrote:
> Well it's about the same like in finger - even "better" ;) .. snprintf does
> not null terminate :)
So, I've been guilty of this a time or two myself, so I felt I should
correct this. snprintf() in most cases DOES null terminate - there are
probably some platforms where it does not, but it usually does.
You may be thinking of strncpy(), which does not.
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
| Debian GNU/Linux Developer __ Carnegie Mellon University |
| dan
debian.org | | dmj+
andrew.cmu.edu |
\--------------------------------/ \--------------------------------/
- Next message: Nathan Einwechter: "Re: Updated Default Account Database"
- Previous message: info: "Re: The AOL Spyware"
- In reply to: Slawek: "sendmail ;o)"
- Next in thread: Slawek: "Re: sendmail ;o)"
- Next in thread: Kev: "Re: sendmail ;o)"
- Reply: Daniel Jacobowitz: "Re: sendmail ;o)"
- Reply: Slawek: "Re: sendmail ;o)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]