comparison src/w32.c @ 15279:a073669046b1

(get_volume_info): Always update *pPath correctly, even if UNC header is incomplete.
author Karl Heuer <kwzh@gnu.org>
date Wed, 22 May 1996 00:36:27 +0000
parents 53bb2499db2a
children ea444efb0b95
comparison
equal deleted inserted replaced
15278:dc5e711a109e 15279:a073669046b1
721 if (IS_DIRECTORY_SEP (*name) && --slashes == 0) 721 if (IS_DIRECTORY_SEP (*name) && --slashes == 0)
722 break; 722 break;
723 *str++ = *name++; 723 *str++ = *name++;
724 } 724 }
725 while ( *name ); 725 while ( *name );
726
727 if (slashes > 1)
728 return FALSE;
729 726
730 *str++ = '\\'; 727 *str++ = '\\';
731 *str = 0; 728 *str = 0;
732 } 729 }
733 730