Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #197980

Re: Wine error message

From Richard Owlett <rowlett@cloud85.net>
Newsgroups linux.debian.user
Subject Re: Wine error message
Date 2018-07-25 12:30 +0200
Message-ID <wfpdn-3Qu-7@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> <wfnXY-36e-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/25/2018 04:04 AM, Curt wrote:
> 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");
>      **********************
> 

Thank you.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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