mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
cd4a8fb9bc
- 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
12 lines
421 B
Plaintext
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 ];
|