Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #197976
| From | Curt <curty@free.fr> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Wine error message |
| Date | 2018-07-25 11:10 +0200 |
| Message-ID | <wfnXY-36e-17@gated-at.bofh.it> (permalink) |
| References | <we1G9-5fY-1@gated-at.bofh.it> <weIBs-82r-23@gated-at.bofh.it> <wfcJb-3Ep-15@gated-at.bofh.it> |
| Organization | Unorganized |
On 2018-07-24, Richard Owlett <rowlett@cloud85.net> wrote:
>
> I was vainly attempting to determine that what I saw on my console was a
> WINE or an APPLICATION error message.
>
Looks like it's coming from wine.
https://github.com/wine-mirror/wine/blob/master/dlls/shell32/trash.c
static BOOL TRASH_MoveFileToBucket(TRASH_BUCKET *pBucket, const char *unix_path)
{
struct stat file_stat;
char *trash_file_name = NULL;
char *trash_path = NULL;
BOOL ret = TRUE;
if (lstat(unix_path, &file_stat)==-1)
return FALSE;
if (!file_good_for_bucket(pBucket, &file_stat))
return FALSE;
trash_file_name = create_trashinfo(pBucket->info_dir, unix_path);
if (trash_file_name == NULL)
return FALSE;
trash_path = SHAlloc(strlen(pBucket->files_dir)+strlen(trash_file_name)+1);
if (trash_path == NULL) goto error;
lstrcpyA(trash_path, pBucket->files_dir);
lstrcatA(trash_path, trash_file_name);
if (rename(unix_path, trash_path)==0)
{
TRACE("rename succeeded\n");
goto cleanup;
}
/* TODO: try to manually move the file */
ERR("Couldn't move file\n");
**********************
--
Boris sober and Boris drunk are such different people, they’ve never even met.
-- Sergei Dovlatov, Pushkin Hills
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Wine error message Richard Owlett <rowlett@cloud85.net> - 2018-07-21 17:10 +0200
Re: Wine error message floris <jkfloris@dds.nl> - 2018-07-23 15:00 +0200
Re: Wine error message Richard Owlett <rowlett@cloud85.net> - 2018-07-24 23:10 +0200
Re: Wine error message Curt <curty@free.fr> - 2018-07-25 11:10 +0200
Re: Wine error message Richard Owlett <rowlett@cloud85.net> - 2018-07-25 12:30 +0200
Re: Wine error message floris <jkfloris@dds.nl> - 2018-07-25 13:10 +0200
Re: Wine error message Gour <gour@atmarama.com> - 2018-08-04 13:00 +0200
Re: Wine error message Carl Fink <carlf@panix.com> - 2018-08-04 13:20 +0200
Re: Wine error message Carl Fink <carlf@panix.com> - 2018-08-04 14:00 +0200
Re: Wine error message Gour <gour@atmarama.com> - 2018-08-05 08:20 +0200
Re: Wine error message Gour <gour@atmarama.com> - 2018-08-04 14:00 +0200
csiph-web