Re: [PATCH 1/1] fat: correct sign for deletion mark

2023-08-03 Thread Tom Rini
On Wed, Jul 26, 2023 at 10:33:13AM +0200, Heinrich Schuchardt wrote: > The FAT file systems uses character '\xe5' to mark a deleted directory > entry. If a file name starts with this character, it is substituted by > '\x05' in the directory entry. > > While (signed char)'\xe5' is a negative

Re: [PATCH 1/1] fat: correct sign for deletion mark

2023-07-26 Thread Simon Glass
On Wed, 26 Jul 2023 at 02:33, Heinrich Schuchardt wrote: > > The FAT file systems uses character '\xe5' to mark a deleted directory > entry. If a file name starts with this character, it is substituted by > '\x05' in the directory entry. > > While (signed char)'\xe5' is a negative number 0xe5 is

[PATCH 1/1] fat: correct sign for deletion mark

2023-07-26 Thread Heinrich Schuchardt
The FAT file systems uses character '\xe5' to mark a deleted directory entry. If a file name starts with this character, it is substituted by '\x05' in the directory entry. While (signed char)'\xe5' is a negative number 0xe5 is a positive integer number. We therefore have define a constant