diff -ruN old/mc-4.5.36/Specfile new/mc-4.5.37/Specfile --- old/mc-4.5.36/Specfile Wed Jul 7 02:43:31 1999 +++ new/mc-4.5.37/Specfile Mon Jul 12 23:57:18 1999 @@ -1,5 +1,5 @@ # Note that this is NOT a relocatable package -%define ver 4.5.36 +%define ver 4.5.37 %define rel 1 %define prefix /usr diff -ruN old/mc-4.5.36/VERSION new/mc-4.5.37/VERSION --- old/mc-4.5.36/VERSION Wed Jul 7 02:43:31 1999 +++ new/mc-4.5.37/VERSION Mon Jul 12 23:57:18 1999 @@ -1 +1 @@ -#define VERSION "4.5.36" +#define VERSION "4.5.37" diff -ruN old/mc-4.5.36/configure new/mc-4.5.37/configure --- old/mc-4.5.36/configure Wed Jul 7 02:43:31 1999 +++ new/mc-4.5.37/configure Mon Jul 12 23:57:18 1999 @@ -588,7 +588,7 @@ PACKAGE=mc -VERSION=4.5.36 +VERSION=4.5.37 cat >> confdefs.h < + + * gdesktop.c (icon_drag_data_received): Use desktop directory here + not the fullname when invoking gdnd_perform_drop as this is what + the code expects. + + * gnome-file-property-dialog.c (perm_group_new): Patch from + Germano Leichsenring that fixes the + display of groups for non-root users. + +1999-07-07 + + * mc.keys.in.in: updated a few values. + 1999-07-01 Federico Mena Quintero * gcorba.c (corba_create_window): Ensure that the directory we diff -ruN old/mc-4.5.36/gnome/gdesktop.c new/mc-4.5.37/gnome/gdesktop.c --- old/mc-4.5.36/gnome/gdesktop.c Wed Jul 7 02:43:43 1999 +++ new/mc-4.5.37/gnome/gdesktop.c Mon Jul 12 23:57:31 1999 @@ -1921,7 +1921,7 @@ return; } - if (gdnd_perform_drop (context, data, full_name, fe)) + if (gdnd_perform_drop (context, data, desktop_directory, fe)) desktop_reload_icons (FALSE, 0, 0); file_entry_free (fe); diff -ruN old/mc-4.5.36/gnome/gnome-file-property-dialog.c new/mc-4.5.37/gnome/gnome-file-property-dialog.c --- old/mc-4.5.36/gnome/gnome-file-property-dialog.c Wed Jul 7 02:43:44 1999 +++ new/mc-4.5.37/gnome/gnome-file-property-dialog.c Mon Jul 12 23:57:31 1999 @@ -900,7 +900,7 @@ gentry = gtk_entry_new (); gtk_widget_set_sensitive (gentry, FALSE); grp = getgrgid (fp_dlg->st.st_gid); - gtk_entry_set_text (GTK_ENTRY (gentry), grpname); + gtk_entry_set_text (GTK_ENTRY (gentry), grp->gr_name); } return gentry; } diff -ruN old/mc-4.5.36/gnome/mc.keys.in.in new/mc-4.5.37/gnome/mc.keys.in.in --- old/mc-4.5.36/gnome/mc.keys.in.in Wed Jul 7 02:43:40 1999 +++ new/mc-4.5.37/gnome/mc.keys.in.in Mon Jul 12 23:57:30 1999 @@ -77,6 +77,11 @@ edit=applix %f view=applix %f +application/x-applix-word + open=applix %f + edit=applix %f + view=applix %f + application/x-compressed-tar fm-open=%cd %p#utar fm-view=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf - @@ -287,6 +292,10 @@ icon-filename=@icondir@/gnome-application-x-cc-source.png text/x-comma-separated-values: + open=gnumeric %f + view=gnumeric %f + +text/tab-separated-values open=gnumeric %f view=gnumeric %f diff -ruN old/mc-4.5.36/mc.spec new/mc-4.5.37/mc.spec --- old/mc-4.5.36/mc.spec Wed Jul 7 02:43:31 1999 +++ new/mc-4.5.37/mc.spec Mon Jul 12 23:57:18 1999 @@ -1,5 +1,5 @@ # Note that this is NOT a relocatable package -%define ver 4.5.36 +%define ver 4.5.37 %define rel 1 %define prefix /usr diff -ruN old/mc-4.5.36/po/mc.pot new/mc-4.5.37/po/mc.pot --- old/mc-4.5.36/po/mc.pot Wed Jul 7 02:43:52 1999 +++ new/mc-4.5.37/po/mc.pot Mon Jul 12 23:57:47 1999 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 1999-07-04 12:08-0500\n" +"POT-Creation-Date: 1999-07-12 22:57-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff -ruN old/mc-4.5.36/vfs/smbfs.c new/mc-4.5.37/vfs/smbfs.c --- old/mc-4.5.36/vfs/smbfs.c Wed Jul 7 02:43:32 1999 +++ new/mc-4.5.37/vfs/smbfs.c Mon Jul 12 23:57:20 1999 @@ -1162,6 +1162,8 @@ while (dentry) { if (strcmp(text, dentry->text) == 0) { memcpy(buf, &dentry->my_stat, sizeof(struct stat)); + memcpy(&single_entry->my_stat, &dentry->my_stat, + sizeof(struct stat)); return 0; } dentry = dentry->next; @@ -1188,6 +1190,8 @@ return -1; } #endif + if (!single_entry) /* when found, this will be written too */ + single_entry = g_new (dir_entry, 1); if (search_dir_entry(current_info->entries, mypath, buf) == 0) return 0; /* now try to identify mypath as PARENT dir */ @@ -1207,6 +1211,7 @@ bzero(&fake_stat, sizeof(struct stat)); fake_stat.st_mode = S_IFDIR | S_IRUSR | S_IRGRP | S_IROTH; memcpy(buf, &fake_stat, sizeof(struct stat)); + memcpy(&single_entry->my_stat, &fake_stat, sizeof(struct stat)); g_free(mdp); g_free(mpp); DEBUG(1, (" PARENT:found in %s\n", current_info->dirname)); @@ -1230,6 +1235,7 @@ bzero(&fake_stat, sizeof(struct stat)); fake_stat.st_mode = S_IFDIR | S_IRUSR | S_IRGRP | S_IROTH; memcpy(buf, &fake_stat, sizeof(struct stat)); + memcpy(&single_entry->my_stat, &fake_stat, sizeof(struct stat)); g_free(mpp); DEBUG(1, (" CURRENT:found in %s\n", current_info->dirname)); return 0; @@ -1684,8 +1690,10 @@ /* use left over from previous get_remote_stat, if available */ if (single_entry) memcpy(buf, &single_entry->my_stat, sizeof(struct stat)); -/* my_errno = EOPNOTSUPP; - return -1; */ + else { /* single_entry not set up: bug */ + return -EFAULT; + my_errno = -EFAULT; + } return 0; }