public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] fatls shows duplicated entries with long and short names
@ 2013-10-14 16:00 Hector Palacios
  2013-10-14 16:04 ` Marek Vasut
  2013-10-14 16:07 ` Tom Rini
  0 siblings, 2 replies; 11+ messages in thread
From: Hector Palacios @ 2013-10-14 16:00 UTC (permalink / raw)
  To: u-boot

Dear Marek,

I noticed that 'fatls' displays duplicated filenames (short and long) for every file 
in the media:

# fatls mmc 0
   2083460   uimage-myplatform
   2083460   uimage~1
      1520   rootfs-dummy.jffs2
      1520   rootfs~1.jff
   3294952   uimage
   3294952   uimage

The guilty commit is ff04f6d1224d8952b566b8671222151495883073 by you, who moved the 
chksum calculation out of an if() and now the code never enters this:

#ifdef CONFIG_SUPPORT_VFAT
			else if (dols == LS_ROOT && csum == prevcksum) {
				prevcksum = 0xffff;
				dentptr++;
				continue;
			}
#endif

Could you please check?

Best regards,
--
Hector Palacios

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-11-22 23:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 16:00 [U-Boot] fatls shows duplicated entries with long and short names Hector Palacios
2013-10-14 16:04 ` Marek Vasut
2013-10-14 16:07 ` Tom Rini
2013-10-14 16:57   ` Jagan Teki
2013-10-15  7:16     ` Hector Palacios
2013-10-15  7:21       ` Jagan Teki
2013-10-15  7:26         ` Albert ARIBAUD
2013-11-22 19:31           ` drambo
2013-11-22 20:50             ` Tom Rini
2013-11-22 21:13               ` Wolfgang Denk
2013-11-22 23:30                 ` drambo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox