ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/paths.c
(Generate patch)

Comparing ray/src/common/paths.c (file contents):
Revision 2.4 by greg, Tue Jul 1 21:21:40 2003 UTC vs.
Revision 2.5 by schorsch, Sun Mar 6 01:13:17 2016 UTC

# Line 149 | Line 149 | temp_fd(char *s, size_t len, char *templ)
149  
150          ts = prepare_tmpname(s, len, templ);
151          if (ts == NULL) return -1;
152 < #ifdef _WIN32
152 > #if defined(_WIN32) || defined(_WIN64)
153          ts = mktemp(ts);
154          if (ts == NULL) return -1;
155          return open(ts, O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines