Subject: Re: [PATCH v2 1/2] Introduce the function strip_path_suffix()

From: Johannes Sixt <[email-masked]>
Date: Thu, 19 Feb 2009 21:26:55 +0100

Johannes Schindelin schrieb:
> +/* sets prefix if the suffix matches */

/*
  * If path ends with suffix (complete path components), returns the
  * part before suffix (sans trailing directory separators).
  * Otherwise returns NULL.
  */

> +char *strip_path_suffix(const char *path, const char *suffix)

Looks good otherwise.

-- Hannes