Skip navigation.
 
mlRe: How to deal with long pathnames in Cocoa ?
FROM : Ondra Cada
DATE : Wed Jan 16 20:25:33 2002

Lance,

>>>>>> Lance Bland (LB) wrote at Wed, 16 Jan 2002 10:17:45 -0500:
LB> >Do please file a bugreport.
LB>
LB> Look at the file /usr/include/sys/syslimits.h
LB>
LB> and this line:
LB>
LB> #define PATH_MAX                1024  /* max bytes in pathname */
LB>
LB> and you will understand.

Nope. The bug is not in the fact that longer paths are not valid -- that's 
quite all right --, but in the fact that if one tries to use them from the 
GUI it crashes the current application! That is unacceptable: the code should 
raise a decent exception (to be catched, at the very worst, at the main app 
event loop level), and NEVER EVER crash!
---
Ondra Cada
OCSoftware:    <email_removed>              http://www.ocs.cz
2K Development: o.<email_removed>  http://www.2kdevelopment.cz
private        <email_removed>            http://www.ocs.cz/oc


Related mailsAuthorDate
mlHow to deal with long pathnames in Cocoa ? Stéphane Sudre Jan 16, 15:26
mlRe: How to deal with long pathnames in Cocoa ? Ondra Cada Jan 16, 15:57
mlRe: How to deal with long pathnames in Cocoa ? Lance Bland Jan 16, 16:17
mlRe: How to deal with long pathnames in Cocoa ? Stéphane Sudre Jan 16, 16:22
mlRe: How to deal with long pathnames in Cocoa ? Clark S. Cox III Jan 16, 18:52
mlRe: How to deal with long pathnames in Cocoa ? John C. Randolph Jan 16, 19:01
mlRe: How to deal with long pathnames in Cocoa ? Andrew Mortensen Jan 16, 20:09
mlRe: How to deal with long pathnames in Cocoa ? Chris Parker Jan 16, 20:11
mlRe: How to deal with long pathnames in Cocoa ? Ondra Cada Jan 16, 20:25
mlRe: How to deal with long pathnames in Cocoa ? Chris Hanson Jan 16, 21:27
mlRe: How to deal with long pathnames in Cocoa ? Lance Bland Jan 16, 22:18
mlRe: How to deal with long pathnames in Cocoa ? Rosyna Jan 16, 22:41
mlRe: How to deal with long pathnames in Cocoa ? Rainer Brockerhoff Jan 16, 22:41