1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net/netatalk/files/patch-ah
Stefan Bethke cd4a8fb9bc Minor additions and fix-ups:
- filenames of Custom Icons for folders ("Icon^M") are properly escaped
- Honors CFLAGS
- package can actually be installed elswhere (pkg_add -p)
- man pages are compressed and properly linked
1998-09-09 01:31:06 +00:00

12 lines
421 B
Plaintext

--- etc/afpd/desktop.c.orig Tue Aug 25 21:59:28 1998
+++ etc/afpd/desktop.c Tue Aug 25 22:00:23 1998
@@ -429,7 +429,7 @@
m = mpath;
u = upath;
while ( *m != '\0' ) {
- if ( !isascii( *m ) || *m == '/' || ( i == 0 && *m == '.' )) {
+ if ( !isprint( (unsigned char)*m ) || *m == '/' || ( i == 0 && *m == '.' )) {
*u++ = ':';
*u++ = hexdig[ ( *m & 0xf0 ) >> 4 ];
*u++ = hexdig[ *m & 0x0f ];