mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
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 ];
|