Home
last modified time | relevance | path

Searched refs:tmpFilePattern (Results 1 – 1 of 1) sorted by relevance

/trunk/main/idlc/source/
H A Didlccompile.cxx61 static sal_Char tmpFilePattern[512]; variable
148 OSL_ASSERT( sizeof(tmpFilePattern) > ( tmpPath.getLength() in makeTempName()
155 tmpFilePattern[ sizeof(tmpFilePattern)-1 ] = '\0'; in makeTempName()
156 strncpy(tmpFilePattern, tmpPath.getStr(), sizeof(tmpFilePattern)-1); in makeTempName()
157 strncat(tmpFilePattern, PATH_SEPARATOR, sizeof(tmpFilePattern)-1-strlen(tmpFilePattern)); in makeTempName()
158 strncat(tmpFilePattern, prefix.getStr(), sizeof(tmpFilePattern)-1-strlen(tmpFilePattern)); in makeTempName()
159 strncat(tmpFilePattern, "XXXXXX", sizeof(tmpFilePattern)-1-strlen(tmpFilePattern)); in makeTempName()
162 int nDescriptor = mkstemp(tmpFilePattern); in makeTempName()
165 fprintf( stderr,"idlc: couldn't create temporary file %s\n", tmpFilePattern ); in makeTempName()
171 (void) mktemp(tmpFilePattern); in makeTempName()
[all …]

Completed in 8 milliseconds