comparison src/fileio.c @ 4383:1e04b9c8125b

Correct the make-temp-name docstring. Take the opportunity to correct the format of ChangeLog. 2008-01-03 Aidan Kehoe <kehoea@parhasard.net> * fileio.c (Fmake_temp_name): Correct the comment to cross reference to make-temp-file, and not to this function.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 03 Jan 2008 22:36:04 +0100
parents 5e526366d533
children 732b87cfabf2
comparison
equal deleted inserted replaced
4382:12ff8dc2b57e 4383:1e04b9c8125b
626 does not specify an existing file. To make this work, PREFIX should 626 does not specify an existing file. To make this work, PREFIX should
627 be an absolute file name. 627 be an absolute file name.
628 628
629 This function is analagous to mktemp(3) under POSIX, and as with it, there 629 This function is analagous to mktemp(3) under POSIX, and as with it, there
630 exists a race condition between the test for the existence of the new file 630 exists a race condition between the test for the existence of the new file
631 and its creation. See `make-temp-name' for a function which avoids this 631 and its creation. See `make-temp-file' for a function which avoids this
632 race condition by specifying the appropriate flags to `write-region'. 632 race condition by specifying the appropriate flags to `write-region'.
633 */ 633 */
634 (prefix)) 634 (prefix))
635 { 635 {
636 static const char tbl[64] = 636 static const char tbl[64] =