bugAVR Downloader/UploaDEr - Bugs: bug #47550, Linux GPIO broken

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47550: Linux GPIO broken

Submitted by:  None
Submitted on:  Sun 27 Mar 2016 07:24:40 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Valentin Milea
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer hardware: 
Device type: 

Mon 28 Mar 2016 05:30:19 PM UTC, comment #1:

Ouch. Thanks for reporting!

Fixed in r1388.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sun 27 Mar 2016 07:24:40 PM UTC, original submission:

snprintf() is being used in linuxgpio.c to convert unsigned GPIO numbers. A recent commit has changed the format from "%d" to "%ud". "%u" is a valid conversion specifier, while the trailing 'd' ends up being printed (e.g. '17d' instead of '17').

This causes GPIO setup to fail:
Can't export GPIO 17, already exported/busy?: Invalid argument

Please replace "%ud" with "%u".

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Mar 2016 05:30:19 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1