[bug #53165] The strings in linuxgpio use %ud instead of %u or %d

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #53165] The strings in linuxgpio use %ud instead of %u or %d

Kevin Cuzner-2
URL:
  <http://savannah.nongnu.org/bugs/?53165>

                 Summary: The strings in linuxgpio use %ud instead of %u or %d
                 Project: AVR Downloader/UploaDEr
            Submitted by: adal
            Submitted on: Thu 15 Feb 2018 07:51:22 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: what?
        Originator Email:
             Open/Closed: Open
                 Release: 6.3
         Discussion Lock: Any
     Programmer hardware: linux
             Device type: raspberry pi

    _______________________________________________________

Details:

This causes sysfs to give a EINVAL error (e.g. when trying to export a GPIO
pin) because pin numbers like "10d" get printed instead of "10". There are
four cases of this in linuxgpio.c.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53165>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #53165] The strings in linuxgpio use %ud instead of %u or %d

Kevin Cuzner-2
Follow-up Comment #1, bug #53165 (project avrdude):

linuxgpio.c rev 1388 addresses this

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53165>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #53165] The strings in linuxgpio use %ud instead of %u or %d

Kevin Cuzner-2
Update of bug #53165 (project avrdude):

                  Status:                    None => Duplicate              
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #2:

Duplicate for bug #47550

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53165>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev