🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9846

Re: Nombre de fichero temporal

#9846
From: Ignacio Arenaza
Date: Sat, 27 Apr 2002 10:42
34 lines
2272 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Fernando" == Fernando Arbeiza <arbeizaf@ono.com> writes:

    Fernando> 	Nada m�s que una cosa, mirando en la p�gina del manual
    Fernando> de tempnam:

Por seguir el hilo, de la pagina de mkstemp :)

BUGS
       The  old behaviour (creating a file with mode 0666) may be
       a security risk, especially since other Unix flavours  use
       0600, and somebody might overlook this detail when porting
       programs.

       Don't use this function, use tmpfile(3) instead. It's bet�
       ter defined and more portable.

Vamos, que tampoco uses mkstemp, sino tmpfile :)

Saludos. I�aki.
- -- 
  Get PGP/GPG Keys at  http://www.escomposlinux.org/iarenaza/pgpkey.html
  I use free software / Yo uso software libre

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG

iD8DBQE8yoCAZXLnGT1HLgcRAo6UAJ9HPWYdhNXRRitdXG6D0YhhPIQ/PgCfWiML
Sfy7+8/VjfV9j15Y+/zIO60=
=BlTy
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <87lmb9zam5.fsf@eb2ebu.ampr.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-98-107-123.uc.nombres.ttd.ES!not-for-mail
References: <jUfy8.38408$Om1.458394@telenews.teleline.es> <3Iiy8.42873$Om1.502924@telenews.teleline.es> <slrnackqld.26a.arbeizaf@jupiter.olimpo>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,cee040cfc12a34b
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-04-27 03:55:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-98-107-123.uc.nombres.ttd.ES!not-for-mail
From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Nombre de fichero temporal
Date: 27 Apr 2002 12:42:10 +0200
Organization: Servidor NNTP de eb2ebu.ampr.org
Lines: 34
Sender: linuxero@62-36-172-81.dialup.uni2.es
Message-ID: <87lmb9zam5.fsf@eb2ebu.ampr.org>
References: <jUfy8.38408$Om1.458394@telenews.teleline.es> <3Iiy8.42873$Om1.502924@telenews.teleline.es> <slrnackqld.26a.arbeizaf@jupiter.olimpo>
NNTP-Posting-Host: 213-98-107-123.uc.nombres.ttd.es (213.98.107.123)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1019904905 10543782 213.98.107.123 (16 [64988])
X-Orig-Path: antonio.escomposlinux.org!marmolejo.escomposlinux.org!eriador.escomposlinux.org!eb2ebu.ampr.org!not-for-mail
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7