Parent Directory | Revision Log | Revision Graph | Patch
revision 1.1 by edhill, Tue Aug 26 20:45:25 2003 UTC | revision 1.2 by edhill, Tue Nov 23 15:52:35 2004 UTC | |
---|---|---|
# | Line 39 | Line 39 |
39 | #endif | #endif |
40 | ||
41 | extern int errno; | extern int errno; |
42 | extern char *malloc(); | /* extern char *malloc(); */ |
43 | extern char *getenv(); | extern char *getenv(); |
44 | ||
45 | int overwrite_files = 0; | int overwrite_files = 0; |
# | Line 75 char *os_genid(void) | Line 75 char *os_genid(void) |
75 | } | } |
76 | } | } |
77 | ||
78 | result = malloc(25+strlen(hostname)); | result = (char *)malloc(25+strlen(hostname)); |
79 | sprintf(result, "%d.%d@%s", pid, curtime++, hostname); | sprintf(result, "%d.%d@%s", pid, curtime++, hostname); |
80 | return result; | return result; |
81 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.22 |