Changeset View
Changeset View
Standalone View
Standalone View
editors/jove/files/patch-io.c
Show All 11 Lines | |||||
+ tmpfd = mkstemp(tfname); | + tmpfd = mkstemp(tfname); | ||||
+#else | +#else | ||||
(void) close(creat(tfname, 0600)); | (void) close(creat(tfname, 0600)); | ||||
tmpfd = open(tfname, 2); | tmpfd = open(tfname, 2); | ||||
+#endif | +#endif | ||||
#else /* MSFILESYSTEM */ | #else /* MSFILESYSTEM */ | ||||
tmpfd = open(tfname, O_CREAT|O_EXCL|O_BINARY|O_RDWR, S_IWRITE|S_IREAD); | tmpfd = open(tfname, O_CREAT|O_EXCL|O_BINARY|O_RDWR, S_IWRITE|S_IREAD); | ||||
#endif /* MSFILESYSTEM */ | #endif /* MSFILESYSTEM */ | ||||
@@ -1240,9 +1246,9 @@ int Jr_Len; /* length of Just Read Line | |||||
void | |||||
#ifdef USE_PROTOTYPES | |||||
-getline proto((daddr addr, register char *buf)) | |||||
+get_line proto((daddr addr, register char *buf)) | |||||
#else | |||||
-getline(addr, buf) | |||||
+get_line(addr, buf) | |||||
daddr addr; | |||||
register char *buf; | |||||
#endif |