IIRC, on POSIX systems, // is treated as /, but // in the beginning of the path has special meanings, such as samba share which uses \\ on Windows. So, if the first two characters are //, I think they should be kept. If // is found in path, it should be treated as /. Any comments? Besides, do we need to introduce more standard URI parsing by using some RFC comforming lib which is small enough?
On Thu, Jun 10, 2010 at 3:51 AM, Marty Jack <[email protected]> wrote: > As a general rule in Unix-like systems, // in a path is the same as /. So > for example you could also say /usr/share//applications. This makes it > easier when you are concatenating things together, so you don't have to be > looking for and removing extra slashes. > > On 06/09/2010 01:18 PM, Josef Reidinger wrote: >> Hi, >> I check where is problem with bug 3012747 [1]. And found that implementation >> of libfm doesn't expect more then one beginning slash in its structure. I >> can fix it[attachment] with resolving it same as '/' , but I am not sure if >> it is correct as posix specify it as it can be implementation specific >> handling (that is reason why I am not commit it). Do you thing that it is >> expected behavior or on some posix systems is expected different behavior >> for path like //tmp ??? >> >> Josef >> >> [1] >> http://sourceforge.net/tracker/?func=detail&aid=3012747&group_id=156956&atid=801864 >> >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> >> >> >> _______________________________________________ >> Lxde-list mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/lxde-list > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Lxde-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lxde-list > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
