Changeset 48959 in vbox for trunk/src/bldprogs
- Timestamp:
- Oct 7, 2013 10:10:40 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89659
- Location:
- trunk/src/bldprogs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/bin2c.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/bldprogs/filesplitter.cpp
r42414 r48959 40 40 /** 41 41 * Calculates the line number for a file position. 42 * 42 * 43 43 * @returns Line number. 44 44 * @param pcszContent The file content. … … 48 48 { 49 49 unsigned long cLine = 0; 50 while ( *pcszContent 50 while ( *pcszContent 51 51 && (uintptr_t)pcszContent < (uintptr_t)pcszPos) 52 52 { … … 63 63 64 64 /** 65 * Writes an error message. 66 * 65 * Writes an error message. 66 * 67 67 * @returns RTEXITCODE_FAILURE. 68 68 * @param pcszFormat Error message. … … 83 83 84 84 /** 85 * Opens the makefile list for writing. 86 * 85 * Opens the makefile list for writing. 86 * 87 87 * @returns Exit code. 88 88 * @param pcszPath The path to the file. … … 110 110 111 111 /** 112 * Adds the given file to the makefile list. 113 * 112 * Adds the given file to the makefile list. 113 * 114 114 * @returns Exit code. 115 115 * @param pFile The file stream of the makefile list. … … 132 132 133 133 /** 134 * Closes the makefile list. 135 * 134 * Closes the makefile list. 135 * 136 136 * @returns Exit code derived from @a rc. 137 137 * @param pFile The file stream of the makefile list. … … 148 148 149 149 /** 150 * Reads in a file. 151 * 150 * Reads in a file. 151 * 152 152 * @returns Exit code. 153 153 * @param pcszFile The path to the file. … … 199 199 200 200 /** 201 * Checks whether the sub-file already exists and has the exact 202 * same content. 203 * 201 * Checks whether the sub-file already exists and has the exact 202 * same content. 203 * 204 204 * @returns @c true if the existing file matches exactly, otherwise @c false. 205 205 * @param pcszFilename The path to the file. … … 209 209 static bool compareSubFile(const char *pcszFilename, const char *pcszSubContent, size_t cchSubContent) 210 210 { 211 struct stat FileStat; 211 struct stat FileStat; 212 212 if (stat(pcszFilename, &FileStat)) 213 213 return false; … … 230 230 231 231 /** 232 * Writes out a sub-file. 233 * 232 * Writes out a sub-file. 233 * 234 234 * @returns exit code. 235 235 * @param pcszFilename The path to the sub-file. … … 258 258 /** 259 259 * Does the actual file splitting. 260 * 260 * 261 261 * @returns exit code. 262 262 * @param pcszOutDir Path to the output directory. 263 * @param pcszContent The content to split up. 263 * @param pcszContent The content to split up. 264 264 * @param pFileList The file stream of the makefile list. Can be NULL. 265 265 */ … … 292 292 const char *pcszEndQuote = (const char *)memchr(pcszStartFilename, '\"', pcszLineAfterBegin - pcszStartFilename); 293 293 if (!pcszEndQuote) 294 return printErr("Can't parse filename after begin-file marker (line %lu).\n", 294 return printErr("Can't parse filename after begin-file marker (line %lu).\n", 295 295 lineNumber(pcszContent, s_szBeginMarker)); 296 296 … … 298 298 const char *pcszEnd = strstr(pcszLineAfterBegin, s_szEndMarker); 299 299 if (!pcszEnd) 300 return printErr("No matching end-line marker for begin-file marker found (line %lu).\n", 300 return printErr("No matching end-line marker for begin-file marker found (line %lu).\n", 301 301 lineNumber(pcszContent, s_szBeginMarker)); 302 302 … … 329 329 } while (rc == 0 && pcszSearch); 330 330 331 printf("filesplitter: Out of %lu files: %lu rewritten, %lu unchanged. (%s)\n", 331 printf("filesplitter: Out of %lu files: %lu rewritten, %lu unchanged. (%s)\n", 332 332 cFilesWritten + cFilesUnchanged, cFilesWritten, cFilesUnchanged, pcszOutDir); 333 333 return rc; -
trunk/src/bldprogs/scmstream.cpp
r41217 r48959 1359 1359 } 1360 1360 1361 1362 -
trunk/src/bldprogs/scmsubversion.cpp
r41966 r48959 1060 1060 } 1061 1061 1062 1063
Note:
See TracChangeset
for help on using the changeset viewer.