diff options
author | Kent Mein <mein@cs.umn.edu> | 2004-03-30 18:41:08 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2004-03-30 18:41:08 +0400 |
commit | 2b27a909f022ba568a7404d5283f70f8a569ff0e (patch) | |
tree | 7205976f405dfa980612e1167938fa1c2591c628 /source/blender/blenlib/intern/storage.c | |
parent | 137e82f0e6429290919b0bce065fc30ee139d82f (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/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 3 |
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 |