Ludovic Courtès 6c5790a2fa
uuid: 'fat-uuid->string' preserves leading zeros.
Fixes <https://bugs.gnu.org/35582>.
Reported by sirgazil <sirgazil@zoho.com>.

Previously, leading zeros would be removed, leading to an "invalid"
UUID:

  (uuid->string (uuid "00CA-050E" 'fat32))
  ⇒ "CA-50E"
  (string->uuid "CA-50E" 'fat32)
  ⇒ #f

* gnu/system/uuid.scm (fat-uuid->string): Pad digits with zeros.
* tests/uuid.scm ("uuid, FAT32, leading zeros preserved"): New test.
2019-05-07 12:18:44 +02:00
..
2018-09-04 17:25:11 +02:00
2017-01-26 13:49:56 +01:00
2019-03-16 18:15:13 +01:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2015-11-26 22:35:01 +01:00
2018-09-04 17:25:11 +02:00
2019-03-23 18:15:36 +01:00
2015-10-19 10:10:47 +02:00
2018-09-07 11:40:22 +02:00
2019-04-10 17:09:47 +02:00
2019-05-06 23:21:33 +02:00
2019-02-05 22:33:06 +01:00
2018-09-04 17:25:11 +02:00
2017-09-28 13:10:10 +02:00
2018-10-29 00:13:38 +01:00
2018-10-18 23:46:33 -04:00
2019-03-24 00:13:53 +01:00
2019-04-10 17:09:47 +02:00
2017-06-15 17:03:19 +02:00
2018-05-10 14:53:56 +02:00
2018-05-13 13:29:27 +02:00
2017-11-17 10:47:49 +01:00