Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2004-03-30 18:41:08 +0400
committerKent Mein <mein@cs.umn.edu>2004-03-30 18:41:08 +0400
commit2b27a909f022ba568a7404d5283f70f8a569ff0e (patch)
tree7205976f405dfa980612e1167938fa1c2591c628 /source
parent137e82f0e6429290919b0bce065fc30ee139d82f (diff)
Fixed the fix I did earlyer. (Move var declaration up in the function
to where it should be) Darn SGI ;) Kent
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/storage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index 2c68957a2da..19f6f8096fe 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -320,7 +320,7 @@ void BLI_adddirstrings()
struct direntry * file;
struct tm *tm;
-
+ struct passwd *pwuser;
file = &files[0];
@@ -355,7 +355,6 @@ void BLI_adddirstrings()
#ifdef WIN32
strcpy(files[num].owner,"user");
#else
- struct passwd *pwuser;
pwuser = getpwuid(files[num].s.st_uid);
strcpy(files[num].owner, pwuser->pw_name);
#endif