9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] palmld fix
@ 2002-03-24  4:56 Geoff Collyer
  0 siblings, 0 replies; only message in thread
From: Geoff Collyer @ 2002-03-24  4:56 UTC (permalink / raw)
  To: 9fans

Colin DeVilbiss found a bug in palmld; I used NAMELEN instead of the
maximum length of a Palm file name component.  Here's my version of
his fix:

28a29
> 	Maxpalmname = 32,	/* bytes */
229c230
< 	int maxfull = NAMELEN - 1 + strlen(ext) + 1;
---
> 	int maxfull = Maxpalmname + strlen(ext) + 1;

I've updated the distribution,
http://www.collyer.net/~geoff/9/palmld.tar.gz.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-24  4:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-24  4:56 [9fans] palmld fix Geoff Collyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).