diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp index a1ea22b..0d75eee 100644 --- a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp +++ b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | |||
@@ -308,7 +308,10 @@ void LLScriptScriptCodeChunk::build(FILE *efp, FILE *bcfp) | |||
308 | set_register(mCompleteCode, LREG_TM, mTotalSize); | 308 | set_register(mCompleteCode, LREG_TM, mTotalSize); |
309 | 309 | ||
310 | 310 | ||
311 | fwrite(mCompleteCode, 1, mTotalSize, bcfp); | 311 | if (fwrite(mCompleteCode, 1, mTotalSize, bcfp) != mTotalSize) |
312 | { | ||
313 | llwarns << "Short write" << llendl; | ||
314 | } | ||
312 | } | 315 | } |
313 | else | 316 | else |
314 | { | 317 | { |