Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Remove while(1) loop made redundant by [239b4c1362]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | redundant-while-loop |
| Files: | files | file ages | folders |
| SHA3-256: |
f36e8886c0092f2cff651f241586d482 |
| User & Date: | preben 2023-09-27 19:43:05.832 |
Context
|
2023-09-28
| ||
| 13:43 | Remove an unnecessary while() loop. ... (check-in: 225abb37df user: drh tags: trunk) | |
|
2023-09-27
| ||
| 19:43 | Remove while(1) loop made redundant by [239b4c1362]. ... (Closed-Leaf check-in: f36e8886c0 user: preben tags: redundant-while-loop) | |
|
2023-09-19
| ||
| 22:03 | Correction of simple typos in patch usage text. ... (check-in: 9b10bf4575 user: mgagnon tags: trunk) | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
2002 2003 2004 2005 2006 2007 2008 |
}else{
zPath = mprintf("%s", zPathInfo);
}
/* Make g.zPath point to the first element of the path. Make
** g.zExtra point to everything past that point.
*/
| < | | | | | | | < < | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 |
}else{
zPath = mprintf("%s", zPathInfo);
}
/* Make g.zPath point to the first element of the path. Make
** g.zExtra point to everything past that point.
*/
g.zPath = &zPath[1];
for(i=1; zPath[i] && zPath[i]!='/'; i++){}
if( zPath[i]=='/' ){
zPath[i] = 0;
g.zExtra = &zPath[i+1];
}else{
g.zExtra = 0;
}
if( g.zExtra ){
/* CGI parameters get this treatment elsewhere, but places like getfile
** will use g.zExtra directly.
** Reminder: the login mechanism uses 'name' differently, and may
** eventually have a problem/collision with this.
**
|
| ︙ | ︙ |