Commit e0e0205b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(lock_file_owner_name): Always initialize the_pw.

parent 87a3fd19
......@@ -166,6 +166,9 @@ lock_file_owner_name (lfname)
if (lstat (lfname, &s) == 0)
the_pw = getpwuid (s.st_uid);
else
the_pw = 0;
return (the_pw == 0 ? Qnil : build_string (the_pw->pw_name));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment