equal
deleted
inserted
replaced
496 If any of the environment variables ST_TMPDIR or TMPDIR is set, |
496 If any of the environment variables ST_TMPDIR or TMPDIR is set, |
497 its value defines the temp directory. |
497 its value defines the temp directory. |
498 Notice, that no file is created by this - only a unique name |
498 Notice, that no file is created by this - only a unique name |
499 is generated. |
499 is generated. |
500 |
500 |
501 DO NOT USE THIS FOR PLAIN FILES - IT IS UNSECURE use FileStream>>#newTemporary" |
501 DO NOT USE THIS FOR PLAIN FILES - IT IS UNSECURE use FileStream>>#newTemporary |
|
502 (the insecurity is due to a small chance for some other program to open/create |
|
503 the file, as only a name is generated here. However, chances are small as the name |
|
504 is reasonably random - but for security relevant applications, this may be relevant) |
|
505 " |
502 |
506 |
503 ^ self newTemporaryIn:(self tempDirectory) |
507 ^ self newTemporaryIn:(self tempDirectory) |
504 |
508 |
505 " |
509 " |
506 Filename newTemporary |
510 Filename newTemporary |
6041 ! ! |
6045 ! ! |
6042 |
6046 |
6043 !Filename class methodsFor:'documentation'! |
6047 !Filename class methodsFor:'documentation'! |
6044 |
6048 |
6045 version |
6049 version |
6046 ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.425 2014-07-11 00:16:10 cg Exp $' |
6050 ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.426 2014-07-21 11:28:22 cg Exp $' |
6047 ! |
6051 ! |
6048 |
6052 |
6049 version_CVS |
6053 version_CVS |
6050 ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.425 2014-07-11 00:16:10 cg Exp $' |
6054 ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.426 2014-07-21 11:28:22 cg Exp $' |
6051 ! ! |
6055 ! ! |
6052 |
6056 |
6053 |
6057 |
6054 Filename initialize! |
6058 Filename initialize! |