projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kdbus] Do not set body message if signature field is empty
[platform/upstream/glib.git]
/
gio
/
glocalvfs.c
diff --git
a/gio/glocalvfs.c
b/gio/glocalvfs.c
index
cd535e3
..
b0bae9c
100644
(file)
--- a/
gio/glocalvfs.c
+++ b/
gio/glocalvfs.c
@@
-13,9
+13,7
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Author: Alexander Larsson <alexl@redhat.com>
*/
*
* Author: Alexander Larsson <alexl@redhat.com>
*/
@@
-28,12
+26,11
@@
#include "gvfs.h"
#include <gio/gdummyfile.h>
#include <sys/types.h>
#include "gvfs.h"
#include <gio/gdummyfile.h>
#include <sys/types.h>
-#ifdef
HAVE_PWD_H
+#ifdef
G_OS_UNIX
#include <pwd.h>
#endif
#include <string.h>
#include <pwd.h>
#endif
#include <string.h>
-#include "gioalias.h"
struct _GLocalVfs
{
struct _GLocalVfs
{
@@
-156,7
+153,7
@@
g_local_vfs_parse_name (GVfs *vfs,
user_prefix = g_strdup (g_get_home_dir ());
else
{
user_prefix = g_strdup (g_get_home_dir ());
else
{
-#ifdef
HAVE_PWD_H
+#ifdef
G_OS_UNIX
struct passwd *passwd_file_entry;
char *user_name;
struct passwd *passwd_file_entry;
char *user_name;