comparison src/fileio.c @ 5474:4dee0387b9de

Merged with trunk.
author Mats Lidell <matsl@xemacs.org>
date Tue, 29 Mar 2011 00:02:47 +0200
parents 0af042a0c116 3889ef128488
children 56144c8593a8
comparison
equal deleted inserted replaced
5473:ac37a5f7e5be 5474:4dee0387b9de
607 607
608 In addition, this function makes an attempt to choose a name that 608 In addition, this function makes an attempt to choose a name that
609 does not specify an existing file. To make this work, PREFIX should 609 does not specify an existing file. To make this work, PREFIX should
610 be an absolute file name. 610 be an absolute file name.
611 611
612 This function is analagous to mktemp(3) under POSIX, and as with it, there 612 This function is analogous to mktemp(3) under POSIX, and as with it, there
613 exists a race condition between the test for the existence of the new file 613 exists a race condition between the test for the existence of the new file
614 and its creation. See `make-temp-file' for a function which avoids this 614 and its creation. See `make-temp-file' for a function which avoids this
615 race condition by specifying the appropriate flags to `write-region'. 615 race condition by specifying the appropriate flags to `write-region'.
616 */ 616 */
617 (prefix)) 617 (prefix))