mainOATH Toolkit - Support: sr #108643, patch to compile liboath on windows

 
 

sr #108643: patch to compile liboath on windows

Submitter:  Nikos Mavrogiannopoulos <nmav>
Submitted:  Mon 01 Sep 2014 01:30:14 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  jas
Open/Closed:  Open Operating System:  Microsoft Windows
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 27 Aug 2016 02:57:42 PM UTC, comment #4: 

Unfortunately I no longer actively develop this win32 app.

Nikos Mavrogiannopoulos <nmav>
Sat 27 Aug 2016 12:48:12 PM UTC, comment #3: 

The 2.6.2 release uses latest gnulib.  Does it fix this problem?  Thanks.

Simon Josefsson <jas>
Group administrator
Mon 15 Sep 2014 10:34:47 PM UTC, comment #2: 

Yes by updating gnulib with the new modules I could compile. fcntl() doesn't exist in windows as far as I know. For locking windows has LockFile(), but that does work only with its CreateFile() and friends type of functions.

However, according to
http://en.wikipedia.org/wiki/File_locking#In_Microsoft_Windows
byte-range locks are enforced by the read()/write() API in windows.

Nikos Mavrogiannopoulos <nmav>
Thu 11 Sep 2014 07:46:31 PM UTC, comment #1: 

Hi Nikos.  Thanks -- is updating gnulib enough to fix this?  Why doesn't fcntl work in Windows?

/Simon

Simon Josefsson <jas>
Group administrator
Mon 01 Sep 2014 01:30:14 PM UTC, original submission:  

Hello,
 The following two patches can be used to compile liboath in windows.

Nikos Mavrogiannopoulos <nmav>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jas (Posted a comment)
  • -email is unavailable- added by nmav (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-27 jas StatusNone In Progress
    2014-09-11 jas Assigned toNone jas
    2014-09-01 nmav Attached File- Added 0001-updated-gnulib-and-added-fsync-and-strptime.patch, #32009
        Attached File- Added 0002-do-not-use-fcntl-in-windows.patch, #32010

    Back to the top

    Powered by Savane 3.13-269c.
    Corresponding source code