[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55161] Cannot open multiple files from Google

From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #55161] Cannot open multiple files from Google Drive File Stream in the editor
Date: Tue, 15 Oct 2019 02:39:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36

Follow-up Comment #20, bug #55161 (project octave):

Alright, I attached the file with the working check as mentioned in comment

retval = (hfi1.dwVolumeSerialNumber == hfi2.dwVolumeSerialNumber
          && hfi1.nFileIndexHigh == hfi2.nFileIndexHigh
          && hfi1.nFileIndexLow == hfi2.nFileIndexLow
          && hfi1.nFileSizeHigh == hfi2.nFileSizeHigh
          && hfi1.nFileSizeLow == hfi2.nFileSizeLow
          && hfi1.ftLastWriteTime.dwLowDateTime ==
          && hfi1.ftLastWriteTime.dwHighDateTime ==

The reason for this Windows API code to be used might be, that it is sponsored
2009 by StackOverflow to address those many absurd ways of specifying case
insensitive, abbreviated, ..., paths in MS Windows:


Torsten, your suggestion is to rely on the canonical path only to check for
equality?  I was fine with it, the alternative by "GetFileInformationByHandle"
is error prone too, as shown by this bug report.

(file #47672)

Additional Item Attachment:

File name: main_works.cc                  Size:2 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]